linux: Consolidate Linux open_by_handle_at syscall
[glibc.git] / ChangeLog
blob3e846a0506ecf51b9e7fc502c389accdfced3124
1 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4         open_by_handle_at.
5         (CFLAGS-open_by_handle_at.c): New flag.
6         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
7         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
8         file.
9         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
11         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
12         (CFLAGS-splice.c): New flag.
13         * sysdeps/unix/sysv/linux/splice.c: New file.
14         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
15         auto-generation syscall list.
16         * misc/Makefile (CFLAGS-splice.c): New rule.
18         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
19         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
20         auto-generation syscall list.
21         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
22         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
24         * misc/Makefile (CFLAGS-fsync.c): New flag.
25         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
26         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
27         syscall list.
28         * sysdeps/unix/sysv/linux/fsync.c: New file.
29         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
30         (__errno_location): Remove.
32         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
33         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
34         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
35         list.
36         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
38         * misc/Makefile (CFLAGS-msync.c): New rule.
39         * nptl/Makefile (CFLAGS-msync.c): Likewise.
40         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
41         * sysdeps/unix/sysv/linux/msync.c: New file.
43         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
44         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
45         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
46         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
47         (CFLAGS-sigsuspend.c): Remove rule.
49         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
50         (CFLAGS-tee.c): New rule.
51         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
52         auto-generated list.
53         * sysdeps/unix/sysv/linux/tee.c: New file.
55         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
56         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
57         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
58         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
59         auto-generated list.
61         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
62         auto-generated list.
63         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
64         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
66         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
67         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
69         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
70         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
71         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
72         (__NR_pause): Undefine.
73         * sysdeps/unix/sysv/linux/pause.c: New file.
74         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
75         auto-generation list.
76         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
77         Remove rule.
78         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
80 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
82         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
83         comments.
85 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
87         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
88         LD_HWCAP_MASK.
90 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
92         * manual/conf.texi: Convert @tables of annotated @items to
93         @vtables.
94         * manual/lang.texi: Likewise.
95         * manual/pattern.texi: Likewise.
96         * manual/resource.texi: Likewise.
97         * manual/socket.texi: Likewise.
99 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
101         * manual/crypt.texi: Move a comment out of an @*x list.
102         * manual/filesys.texi: Refactor some comments, one of which looks
103         like a standard.  Fix incorrectly separated standards.
104         * manual/locale.texi: Invert an annotation.
105         * manual/resource.texi: Fix incorrectly separated standards.
106         * manual/time.texi: Refactor a @vtable that obscures an
107         annotation.
108         * manual/users.texi: Refactor multiple headers to occupy a single
109         @comment.
111 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
113         * sysdeps/powerpc/powerpc64/multiarch/Makefile
114         (sysdep_routines): Add memcmp-power8.
115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
116         (memcmp): Add __memcmp_power8 to list of memcmp functions.
117         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
118         (memcmp): Add __memcmp_power8 to ifunc list.
119         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
120         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
122 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
123             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
125         * math/math.h (__MATH_TG): Extend the conditions to add
126         _Float128 support.
127         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
129 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
131         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
132         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
133         s_cosf-ppc64.
134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
137         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
139 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
141         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
142         (gen-libm-calls): Add e_exp2F to use the template.
143         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
144         * math/e_exp2_template.c: New file, renamed from
145         math/e_exp2l.c, and made into a template.
146         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
148 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
150         * elf/dl-tunable-types.h (tunable_type_code_t): New type
151         TUNABLE_TYPE_UINT_64.
152         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
153         Simplify computation of overflow.
154         (tunable_set_val_if_valid_range_signed,
155         tunable_set_val_if_valid_range_unsigned): Remove and replace
156         with this...
157         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
158         (tunable_initialize): Adjust.  Add uint64_t support.
159         (__tunable_set_val): Add uint64_t support.
160         * README.tunables: Document it.
162         * scripts/gen-tunables.awk: Recognize 'default' keyword in
163         dl-tunables.list.
164         * README.tunables: Document it.
166 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
168         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
169         * sysdeps/posix/preadv64.c: Likewise.
170         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
171         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
172         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
173         * sysdeps/posix/pwritev64.c: Likewise.
174         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
175         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
176         * sysdeps/posix/preadv_common.c: New file.
177         * sysdeps/posix/pwritev_common.c: Likewise.
179 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
181         * sysdeps/generic/math-type-macros-float128.h
182         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
183         wrapper templates.
185 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
186             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
188         * include/complex.h (__kernel_casinhf128): New declaration.
189         * include/float.h: New file.
190         * include/math.h (__finitef128): Add a hidden def.
191         (__isinff128): Likewise.
192         (__isnanf128): Likewise.
193         (__fpclassify): Likewise.
194         (__issignalling): Likewise.
195         (__expf128): Likewise.
196         (__expm1f128): Likewise.
198         * sysdeps/generic/fix-fp-int-convert-overflow.h:
199         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
200         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
202         * sysdeps/generic/math-type-macros-float128.h: New file.
204         * sysdeps/generic/math_private.h: Include bits/floatn.h and
205         math_private_calls.h for _Float128.
206         (__isinff128): New inline implementation used when GCC < 7.0,
207         since in this case __builtin_isinf_sign is broken.
208         (fabsf128): New inline implementation that calls the builtin.
209         (__EXPR_FLT128): New macro.
210         (min_of_type): Optionally include _Float128 types too.
212         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
213         Declare for _Float128.
214         (__kernel_rem_pio2): Likewise.
216         * sysdeps/ieee754/ldbl-opt/s_sin.c:
217         (__DECL_SIMD_sincos_disablef128): New macro.
219 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
221         * math/math.h: Include bits/math-finite.h for float128.
222         (__MATH_DECLARING_FLOATN): Define to control declaration of
223         float128 functions.
224         * math/bits/math-finite.h (pow10): Do not declare for float128.
225         (gamma): Likewise.
226         (scalb): Likewise.
228 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
229             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
231         * bits/floatn.h: New file.
232         * bits/huge_val_flt128.h: Likewise.
234         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
235         (__DECL_SIMD_sinf128): Likewise.
236         (__DECL_SIMD_sincosf128): Likewise.
237         (__DECL_SIMD_logf128): Likewise.
238         (__DECL_SIMD_expf128): Likewise.
239         (__DECL_SIMD_powf128): Likewise.
241         * math/Makefile (headers): Install bits/floatn.h and
242         bits/huge_val_flt128.h.
244         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
245         defined.
247         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
248         (isnan, gamma, nexttoward, scalb): Only define if not
249         __MATH_DECLARING_FLOATN.
250         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
251         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
252         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
253         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
255         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
256         Include bits/cmathcalls.h to get the declarations of _Float128
257         versions of complex functions.
258         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
259         Define macro.
261         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
262         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
263         get the declarations of _Float128 versions of math functions.
264         (__MATH_DECLARING_FLOATN): New macro to control declaration of
265         _FloatN types.
266         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
267         is type-generic, so use it without __MATH_TG.
268         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
269         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
270         _Float128 type and GCC < 7.0, otherwise use the builtin.
271         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
272         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
273         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
274         New _GNU_SOURCE enabled macros.
276 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
278         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
279         (signbitf): Likewise.
280         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
281         Likewise.
282         (signbitl): Likewise.
283         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
284         Likewise.
285         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
286         (signbitl): Likewise.
287         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
289 2017-05-12  Florian Weimer  <fweimer@redhat.com>
291         [BZ #21386]
292         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
293         parent PID.  The assertion in the child is incorrect with PID
294         namespaces.
296 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
298         * sysdeps/unix/sysv/linux/kernel-features.h
299         (__ASSUME_STATFS_F_FLAGS): Remove macro.
300         * sysdeps/unix/sysv/linux/internal_statvfs.c
301         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
303 2017-05-11  Zack Weinberg  <zackw@panix.com>
305         * Makerules: New subdir configuration variables 'tests-internal'
306         and 'test-internal-extras'.  Test files in these categories will
307         still be compiled with MODULE_NAME=nonlib.  Test files in the
308         existing categories (tests, xtests, test-srcs, test-extras) are
309         now compiled with MODULE_NAME=testsuite.
310         New subdir configuration variable 'modules-names-tests'.  Files
311         which are in both 'modules-names' and 'modules-names-tests' will
312         be compiled with MODULE_NAME=testsuite instead of
313         MODULE_NAME=extramodules.
314         (gen-as-const-headers): Move to tests-internal.
315         (do-tests-clean, common-mostlyclean): Support tests-internal.
316         * Makeconfig (built-modules): Add testsuite.
317         * Makefile: Change libof-check-installed-headers-c and
318         libof-check-installed-headers-cxx to 'testsuite'.
319         * Rules: Likewise.  Support tests-internal.
320         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
321         Remove extra-modules.mk.
323         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
324         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
325         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
326         very top of the file and rationalize their order.
327         If MODULE_NAME is not defined at all, define IS_IN to always be
328         false, and don't define _ISOMAC.
329         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
330         true, define _ISOMAC and suppress everything else in this file,
331         starting with the inclusion of config.h.
332         Do check for inappropriate definitions of __OPTIMIZE__ and
333         __FAST_MATH__ here, but only if _ISOMAC is not defined.
334         Correct some out-of-date commentary.
336         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
337         and _Mlong_double_ before including math.h.
338         * include/string.h: If _ISOMAC is defined, don't expose
339         _STRING_ARCH_unaligned. Move a comment to a more appropriate
340         location.
342         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
343         * include/time.h, include/unistd.h, include/wchar.h: No need to
344         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
346         * misc/sys/cdefs.h (__NTHNL): New macro.
347         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
348         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
350         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
351         defined, for HAVE_TUNABLES.
352         * inet/tst-checks-posix.c: No need to define _ISOMAC.
353         * intl/tst-gettext2.c: Provide own definition of N_.
354         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
355         * math/test-signgam-main.c: No need to define _ISOMAC.
356         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
357         * stdlib/tst-strtod1i.c: ...this new file.
358         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
359         Split tests of __strtod_internal to...
360         * stdlib/tst-strtod5i.c: ...this new file.
361         * string/test-string.h: Include stdint.h. Duplicate definition of
362         inhibit_loop_to_libcall here (from libc-symbols.h).
363         * string/test-strstr.c: Provide dummy definition of
364         libc_hidden_builtin_def when including strstr.c.
365         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
366         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
367         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
368         Don't include init-arch.h.
369         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
370         Don't include init-arch.h.
372         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
373         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
374         unload, unload2, circleload1, neededtest, neededtest2,
375         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
376         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
377         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
378         ifunc tests to tests-internal.
379         Don't add $(modules-names) to test-extras.
380         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
381         Add tst-deadline to tests-static-internal.
382         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
383         tests-internal.
384         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
385         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
386         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
387         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
388         tst-sem12-static, and tst-stackguard1-static to tests-internal.
389         Link tests-internal with libpthread also.
390         Don't add $(modules-names) to test-extras.
391         * nss/Makefile: Move tst-field to tests-internal.
392         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
393         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
394         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
395         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
396         tests-internal.
397         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
398         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
399         test-get_hwcap-static to tests-internal.
400         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
401         tests-internal.
402         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
403         modules-names-tests.
405 2017-05-11  Zack Weinberg  <zackw@panix.com>
407         * libio/libio.h: Condition dummy definition of _IO_lock_t on
408         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
409         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
410         _IO_funlockfile, and _IO_ftrylockfile.  Only define
411         _IO_cleanup_region_start and _IO_cleanup_region_end if not
412         already defined.
413         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
414         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
415         appropriately.
416         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
417         Define _IO_lock_t_defined after defining _IO_lock_t.
419 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
421         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
422         void* for argument type and use VDSO_SYMBOL macro.
423         (is_sigtramp_address_rt): Likewise.
424         (__backtrace): Setup expected frame pointer address for signal
425         handling.
426         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
427         void* for argumetn type and use VSDO_SYMBOL macro.
428         (__backtrace): Setup expected frame pointer address for signal
429         handling.
431         * sysdeps/unix/sysv/linux/writev.c: New file.
433         * sysdeps/unix/sysv/linux/readv.c: New file.
435         * include/unistd.h (write): Add hidden proto.
436         * io/Makefile (CFLAGS-write.c): New define.
437         * nptl/Makefile (CFLAGS-write.c): Likewise.
438         * sysdeps/unix/sysv/linux/write.c: New file.
440         [BZ #21428]
441         * include/unistd.h (read): Add hidden proto.
442         * io/Makefile (CFLAGS-read.c): New define.
443         * nptl/Makefile (CFLAGS-read.c): Likewise.
444         * sysdeps/unix/sysv/linux/read.c: New file.
446         * io/Makefile (CFLAGS-creat.c): New rule.
447         (CFLAGS-creat64.c): Likewise.
448         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
449         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
450         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
451         * sysdeps/unix/sysv/linux/creat.c: New file.
452         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
453         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
454         auto-generated list.
455         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
457         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
458         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
459         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
460         * sysdeps/unix/sysv/linux/open.c: New file.
461         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
462         iff __WORDSIZE != 64 and use __NR_openat when available.
463         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
464         from auto-generated list.
466         * nptl/Makefile (CFLAGS-close.c): New flag.
467         * sysdeps/unix/sysv/linux/close.c: New file.
469 2017-05-11  DJ Delorie  <dj@redhat.com>
471         * MAINTAINERS: New.  Points to wiki.
473 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
475         * scripts/gen-tunables.awk: Add attribute_relro to
476         tunable_list.
478 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
480         [BZ #21457]
481         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
482         (R1): Likewise.
483         (R2): Likewise.
484         (R3): Likewise.
485         (R4): Likewise.
486         (R5): Likewise.
487         (R6): Likewise.
488         (R7): Likewise.
489         (R8): Likewise.
490         (R9): Likewise.
491         (R10): Likewise.
492         (R11): Likewise.
493         (R12): Likewise.
494         (R13): Likewise.
495         (R14): Likewise.
496         (R15): Likewise.
497         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
498         (REG_FS): Likewise.
499         (REG_ES): Likewise.
500         (REG_DS): Likewise.
501         (REG_EDI): Likewise.
502         (REG_ESI): Likewise.
503         (REG_EBP): Likewise.
504         (REG_ESP): Likewise.
505         (REG_EBX): Likewise.
506         (REG_EDX): Likewise.
507         (REG_ECX): Likewise.
508         (REG_EAX): Likewise.
509         (REG_TRAPNO): Likewise.
510         (REG_ERR): Likewise.
511         (REG_EIP): Likewise.
512         (REG_CS): Likewise.
513         (REG_EFL): Likewise.
514         (REG_UESP): Likewise.
515         (REG_SS): Likewise.
516         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
517         (R_D1): Likewise.
518         (R_D2): Likewise.
519         (R_D3): Likewise.
520         (R_D4): Likewise.
521         (R_D5): Likewise.
522         (R_D6): Likewise.
523         (R_D7): Likewise.
524         (R_A0): Likewise.
525         (R_A1): Likewise.
526         (R_A2): Likewise.
527         (R_A3): Likewise.
528         (R_A4): Likewise.
529         (R_A5): Likewise.
530         (R_A6): Likewise.
531         (R_A7): Likewise.
532         (R_SP): Likewise.
533         (R_PC): Likewise.
534         (R_PS): Likewise.
535         (fpregset_t): Likewise.
536         (MCONTEXT_VERSION): Likewise.
537         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
538         (CTX_AT): Likewise.
539         (CTX_V0): Likewise.
540         (CTX_V1): Likewise.
541         (CTX_A0): Likewise.
542         (CTX_A1): Likewise.
543         (CTX_A2): Likewise.
544         (CTX_A3): Likewise.
545         (CTX_T0): Likewise.
546         (CTX_T1): Likewise.
547         (CTX_T2): Likewise.
548         (CTX_T3): Likewise.
549         (CTX_T4): Likewise.
550         (CTX_T5): Likewise.
551         (CTX_T6): Likewise.
552         (CTX_T7): Likewise.
553         (CTX_S0): Likewise.
554         (CTX_S1): Likewise.
555         (CTX_S2): Likewise.
556         (CTX_S3): Likewise.
557         (CTX_S4): Likewise.
558         (CTX_S5): Likewise.
559         (CTX_S6): Likewise.
560         (CTX_S7): Likewise.
561         (CTX_T8): Likewise.
562         (CTX_T9): Likewise.
563         (CTX_K0): Likewise.
564         (CTX_K1): Likewise.
565         (CTX_GP): Likewise.
566         (CTX_SP): Likewise.
567         (CTX_S8): Likewise.
568         (CTX_RA): Likewise.
569         (CTX_MDLO): Likewise.
570         (CTX_MDHI): Likewise.
571         (CTX_CAUSE): Likewise.
572         (CTX_EPC): Likewise.
573         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
574         inclusion of <sys/procfs.h> on [__USE_MISC].
575         (greg_t): Condition on [__USE_MISC].
576         (gregset_t): Likewise.
577         (fpregset_t): Likewise.
578         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
579         (NGREG): Likewise.
580         (gregset_t): Likewise.
581         (REG_R0): Likewise.
582         (REG_R1): Likewise.
583         (REG_R2): Likewise.
584         (REG_R3): Likewise.
585         (REG_R4): Likewise.
586         (REG_R5): Likewise.
587         (REG_R6): Likewise.
588         (REG_R7): Likewise.
589         (REG_R8): Likewise.
590         (REG_R9): Likewise.
591         (REG_R10): Likewise.
592         (REG_R11): Likewise.
593         (REG_R12): Likewise.
594         (REG_R13): Likewise.
595         (REG_R14): Likewise.
596         (REG_R15): Likewise.
597         (struct _libc_fpstate): Likewise.
598         (fpregset_t): Likewise.
599         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
600         (NFPREG): Likewise.
601         (gregset_t): Likewise.
602         (fpregset_t): Likewise.
603         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
604         (R_D1): Likewise.
605         (R_D2): Likewise.
606         (R_D3): Likewise.
607         (R_D4): Likewise.
608         (R_D5): Likewise.
609         (R_D6): Likewise.
610         (R_D7): Likewise.
611         (R_A0): Likewise.
612         (R_A1): Likewise.
613         (R_A2): Likewise.
614         (R_A3): Likewise.
615         (R_A4): Likewise.
616         (R_A5): Likewise.
617         (R_A6): Likewise.
618         (R_A7): Likewise.
619         (R_SP): Likewise.
620         (R_PC): Likewise.
621         (R_PS): Likewise.
622         (fpregset_t): Likewise.
623         (MCONTEXT_VERSION): Likewise.
624         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
625         Likewise.
626         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
627         (REG_R1): Likewise.
628         (REG_R2): Likewise.
629         (REG_R3): Likewise.
630         (REG_R4): Likewise.
631         (REG_R5): Likewise.
632         (REG_R6): Likewise.
633         (REG_R7): Likewise.
634         (REG_R8): Likewise.
635         (REG_R9): Likewise.
636         (REG_R10): Likewise.
637         (REG_R11): Likewise.
638         (REG_R12): Likewise.
639         (REG_R13): Likewise.
640         (REG_R14): Likewise.
641         (REG_R15): Likewise.
642         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
643         of <arch/abi.h> on [__USE_MISC].
644         (greg_t): Condition on [__USE_MISC].
645         (NGREG): Likewise.
646         (gregset_t): Likewise.
648 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
650         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
651         (__pthread_rwlock_arch_t): Remove __data definition.
652         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
653         (__pthread_rwlock_arch_t): Likewise.
655 2017-05-11  Florian Weimer  <fweimer@redhat.com>
657         * resolv/inet_pton.c: Reformat in GNU style.  Remove
658         internal_function on static functions.
660 2017-05-11  Florian Weimer  <fweimer@redhat.com>
662         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
663         from format_ai_flags.
664         (format_ai_flags): New function.  Incorporate flag formatting code
665         from format_ai_one.
666         (format_ai_canonname): New function.
667         (format_ai_one): Remove flags parameter.
668         (format_ai_family): Likewise.
669         (support_format_addrinfo): Call format_ai_flags,
670         format_ai_canonname.
671         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
672         check_ai.
673         (check_ai): Call check_ai_hints.
674         (do_test): Add AI_CANONNAME tests.
676 2017-05-11  Florian Weimer  <fweimer@redhat.com>
678         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
679         (gaih_inet): Likewise.
681 2017-05-10  Andreas Schwab  <schwab@suse.de>
683         * nptl/tst-fork1.c: Include <support/test-driver.c>.
684         (main): Rename to do_test and make static.
686 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
688         * string/rawmemchr.c: Include <libc-diag.h>.
689         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
690         with size (size_t)-1.
692 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
694         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
695         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
696         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
698         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
699         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
700         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
701         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
702         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
703         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
704         * sysdeps/unix/sysv/linux/kernel-features.h
705         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
706         socket syscalls.
707         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
708         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
709         * sysdeps/unix/sysv/linux/i386/kernel-features.h
710         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
711         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
712         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
713         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
714         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
715         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
716         * sysdeps/unix/sysv/linux/sh/kernel-features.h
717         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
718         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
719         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
720         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
721         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
723 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
725         * posix/Makefile (headers): Add pthreadtypes-arch.h and
726         thread-shared-types.h.
727         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
728         specific thread definition.
729         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
730         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
731         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
732         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
733         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
734         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
735         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
736         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
737         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
738         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
739         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
740         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
741         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
742         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
743         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
744         thread definition between POSIX and C11.
745         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
746         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
747         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
748         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
749         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
750         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
751         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
752         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
753         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
754         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
755         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
756         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
757         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
758         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
759         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
760         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
761         definitions shared across all architectures.
763 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
765         * sysdeps/unix/sysv/linux/kernel-features.h
766         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
767         (__ASSUME_SENDMMSG): Likewise.
768         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
769         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
770         sendmmsg syscall if that can be assumed to be present, socketcall
771         otherwise, with no fallback for runtime failure.
773         * sysdeps/unix/sysv/linux/kernel-features.h
774         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
775         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
776         (__ASSUME_RECVMMSG): Likewise.
777         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
778         recvmmsg syscall if it can be assumed to be present, socketcall
779         otherwise, with no fallback for runtime failure.
781 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
782             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
784         * bits/libc-header-start.h:
785         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
786         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
787         * manual/creature.texi: Likewise.
789 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
790             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
792         * math/Makefile:
793         (type-float128-suffix): New variable
794         (type-float128-routines): Likewise
795         (type-float128-yes): Likewise
796         (types): Append float128 if supported
797         (types-basic): New variable to control the use of templates for
798         float, double, and long double, but not for float128 or newer types.
799         (type-basic-foreach): Likewise.
801         * sysdeps/ieee754/float128/Makeconfig: New file.
802         * sysdeps/ieee754/float128/Versions: New file.
804 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
806         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
807         Remove macro.
808         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
809         prlimit64 is always available and does not give an ENOSYS error.
810         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
811         unconditional.
812         [!__NR_prlimit64]: Remove conditional code.
813         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
814         prlimit64 is always available and does not give an ENOSYS error.
815         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
817 2017-05-09  Zack Weinberg  <zackw@panix.com>
819         * sunrpc/tst-xdrmem2.c: Include stdint.h.
821 2017-05-09  Florian Weimer  <fweimer@redhat.com>
823         [BZ #21474]
824         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
825         (__res_maybe_init): Likewise.
827 2017-05-09  Zack Weinberg  <zackw@panix.com>
829         * extra-modules.mk: Delete file.
830         * cppflags-iterator.mk: Rename to ...
831         * libof-iterator.mk: ...this.  Adjust comments.
833         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
834         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
835         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
836         Use libof-iterator.mk instead of cppflags-iterator.mk or
837         extra-modules.mk.
839         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
840         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
842 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
844         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
846 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
848         * stdio-common/vfprintf.c (EXTSIZ): Define.
849         (vfprintf): Use EXTSIZ.
850         (printf_positional): Likewise.
852 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
854         * sysdeps/unix/sysv/linux/kernel-features.h
855         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
856         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
857         <kernel-features.h>.
858         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
860         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
861         (__ASSUME_GETCPU_SYSCALL): Remove macro.
863 2017-05-08  Florian Weimer  <fweimer@redhat.com>
865         Prevent multiple deletion of temporary files.
866         * support/temp_file.c (struct temp_name_list): Add owner member.
867         (add_temp_file): Record owner.
868         (support_delete_temp_files): Delete file only if owner matches.
869         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
870         (do_prepare): Use create_temp_file instead of add_temp_file.
871         Initialize temp_fd1, temp_fd2.
872         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
873         framework remove the temporary files.
874         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
875         (do_prepare): Use create_temp_file instead of add_temp_file.
876         Initialize temp_fd1, temp_fd2, temp_fd3.
877         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
878         the test framework remove the temporary files.
879         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
880         deletion.
881         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
882         temporary directory.  It is removed by the test framework.
883         * dirent/tst-scandir.c (do_test): Likewise.
885 2017-05-08  Florian Weimer  <fweimer@redhat.com>
887         Delete temporary files in LIFO order.
888         * support/temp_file.c (struct temp_name_list): Replace q member
889         with next.
890         (add_temp_file): Add new file to front of linked list.
891         (support_delete_temp_files): Use next member.
892         (support_print_temp_files): Likewise.
894 2017-05-08  Florian Weimer  <fweimer@redhat.com>
896         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
897         sys/ultrasound.h.
898         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
900 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
902         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
903         Remove.
904         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
905         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
906         (arch_minimum_kernel): Remove.
907         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
908         * README: Update statement about Linux kernel requirements.
910 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
912         * manual/llio.texi: Add preadv and pwritev documentation.
914 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
916         [BZ #21455]
917         * bits/stdint-intn.h: New file.
918         * bits/stdint-uintn.h: Likewise.
919         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
920         bits/stdint-uintn.h.
921         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
922         <stdint.h>.
923         * posix/sys/types.h: Include <bits/stdint-intn.h>.
924         (__int8_t_defined): Do not define here.
925         (int8_t): Likewise.
926         (int16_t): Likewise.
927         (int32_t): Likewise.
928         (int64_t): Likewise.
929         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
930         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
931         <stdint.h>.
932         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
933         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
934         <bits/stdint-uintn.h>.
935         (int8_t): Do not define here.
936         (int16_t): Likewise.
937         (int32_t): Likewise.
938         (int64_t): Likewise.
939         (uint8_t): Likewise.
940         (uint16_t): Likewise.
941         (uint32_t): Likewise.
942         (uint64_t): Likewise.
943         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
944         variable.
945         (test-xfail-XPG42/netdb.h/conform): Likewise.
946         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
947         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
948         (test-xfail-UNIX98/netdb.h/conform): Likewise.
949         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
951 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
953         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
954         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
955         the above.
956         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
957         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
959 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
961         [BZ #21445]
962         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
964         [BZ #21457]
965         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
966         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
967         __glibc_reserved1.
968         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
969         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
970         (struct _fpxreg): Likewise.
971         [!__x86_64__] (struct _fpstate): Rename field reserved to
972         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
973         [__x86_64__] (struct _fpstate): Rename field padding to
974         __glibc_reserved1.
975         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
976         Rename field reserved2 to __glibc_reserved2.
977         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
978         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
979         __glibc_reserved1.
980         [__x86_64__] (struct _libc_fpstate): Rename field padding to
981         __glibc_reserved1.
983 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
985         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
986         variable name.
988 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
990         [BZ #21391]
991         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
992         Only call init_cpu_features.
993         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
994         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
995         * sysdeps/i386/dl-procinfo.h: Removed.
996         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
997         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
998         <sysdeps/x86/dl-procinfo.h>.
999         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
1000         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
1001         Include <sysdeps/x86/dl-procinfo.h> instead of
1002          <sysdeps/generic/dl-procinfo.h>.
1003         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
1004         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
1005         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
1006         (bit_cpu_MOVBE): Likewise.
1007         (bit_cpu_BMI1): Likewise.
1008         (bit_cpu_BMI2): Likewise.
1009         (index_cpu_BMI1): Likewise.
1010         (index_cpu_BMI2): Likewise.
1011         (index_cpu_LZCNT): Likewise.
1012         (index_cpu_MOVBE): Likewise.
1013         (index_cpu_POPCNT): Likewise.
1014         (reg_BMI1): Likewise.
1015         (reg_BMI2): Likewise.
1016         (reg_LZCNT): Likewise.
1017         (reg_MOVBE): Likewise.
1018         (reg_POPCNT): Likewise.
1019         * sysdeps/x86/dl-hwcap.h: New file.
1020         * sysdeps/x86/dl-procinfo.h: Likewise.
1021         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
1022         (_dl_x86_platforms): Likewise.
1024 2017-05-03  DJ Delorie  <dj@redhat.com>
1026         [BZ #21411]
1027         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
1029 2017-05-03  Phil Blundell  <pb@pbcl.net>
1031         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
1032         comments.
1034 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
1036         [BZ #20116]
1037         * nptl/pthread_create.c: Expand comments to describe
1038         semaphore-like and mutex-like uses of PD->lock.
1040 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1042         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
1043         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
1044         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
1045         auto-generation list.
1046         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1047         epoll_wait.
1048         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
1049         Remove epoll_wait.
1051         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
1052         osf_select.
1053         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
1054         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
1055         osf_select from auto-generation list.
1056         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1057         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1058         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
1059         * sysdeps/unix/sysv/linux/select.c: New file.
1061         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
1062         * sysdeps/unix/sysv/linux/poll.c: New file.
1063         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
1064         auto-generation list.
1066 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
1068         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
1069         New macro.
1071 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
1073         [BZ #21179]
1074         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
1075         R_SPARC_REGISTER relocations.
1077 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1079         * include/unistd.h (__pread): Add libc_hidden_proto.
1080         (__pread64): Likewise.
1081         (__pwrite): Likewise.
1082         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
1083         (__pread64): Remove.
1084         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
1085         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
1086         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
1088 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1092 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1094         * nptl/tst-cancel4-common.c: Use libsupport.
1095         * nptl/tst-cancel4-common.h: Likewise.
1096         * nptl/tst-cancel4.c (tf_read): Likewise.
1097         (tf_readv): Likewise.
1098         (tf_write): Likewise.
1099         (tf_writev): Likewise.
1100         (tf_sleep): Likewise.
1101         (tf_usleep): Likewise.
1102         (tf_nanosleep): Likewise.
1103         (tf_select): Likewise.
1104         (tf_pselect): Likewise.
1105         (tf_poll): Likewise.
1106         (tf_ppoll): Likewise.
1107         (tf_wait): Likewise.
1108         (tf_waitpid): Likewise.
1109         (tf_waitid): Likewise.
1110         (tf_sigpause): Likewise.
1111         (tf_sigsuspend): Likewise.
1112         (tf_sigwait): Likewise.
1113         (tf_sigwaitinfo): Likewise.
1114         (tf_sigtimedwait): Likewise.
1115         (tf_pause): Likewise.
1116         (tf_accept): Likewise.
1117         (tf_send): Likewise.
1118         (tf_recv): Likewise.
1119         (tf_recvfrom): Likewise.
1120         (tf_recvmsg): Likewise.
1121         (tf_open): Likewise.
1122         (tf_close): Likewise.
1123         (tf_pread): Likewise.
1124         (tf_pwrite): Likewise.
1125         (tf_preadv): Likewise.
1126         (tf_pwritev): Likewise.
1127         (tf_fsync): Likewise.
1128         (tf_fdatasync): Likewise.
1129         (tf_msync): Likewise.
1130         (tf_sendto): Likewise.
1131         (tf_sendmsg): Likewise.
1132         (tf_creat): Likewise.
1133         (tf_connect): Likewise.
1134         (tf_tcdrain): Likewise.
1135         (tf_msgrcv): Likewise.
1136         (tf_msgsnd): Likewise.
1137         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
1138         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
1140         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
1141         expected arguments.
1142         (do_test): Adapt to use libsupport.
1144 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
1146         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
1148         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
1149         (PF_MAX): Set to 44.
1150         (AF_SMC): New macro.
1152         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1153         kernel version to 4.11.
1155 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1157         [BZ #21280]
1158         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
1159         signal of subnormals and adjust the exponent of power of 2 down
1160         when low part has opposite sign.
1162 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1164         * sysdeps/powerpc/powerpc64le/Implies: New file.
1165         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
1166         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
1167         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
1168         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
1169         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
1170         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
1171         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
1172         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
1173         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
1174         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
1175         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
1176         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
1177         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
1178         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
1179         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
1180         * sysdeps/powerpc/preconfigure: New file.
1181         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
1182         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
1184 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
1186         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
1187         inclusion.
1188         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
1189         Remove.
1191 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
1193         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
1194         (XPG3): Rename standard to XPG4.
1195         * conform/Makefile: Likewise.
1196         * conform/list-header-symbols.pl: Likewise.
1197         * conform/data/aio.h-data: Likewise.
1198         * conform/data/arpa/inet.h-data: Likewise.
1199         * conform/data/complex.h-data: Likewise.
1200         * conform/data/ctype.h-data: Likewise.
1201         * conform/data/dlfcn.h-data: Likewise.
1202         * conform/data/fcntl.h-data: Likewise.
1203         * conform/data/fenv.h-data: Likewise.
1204         * conform/data/float.h-data: Likewise.
1205         * conform/data/fmtmsg.h-data: Likewise.
1206         * conform/data/ftw.h-data: Likewise.
1207         * conform/data/grp.h-data: Likewise.
1208         * conform/data/inttypes.h-data: Likewise.
1209         * conform/data/iso646.h-data: Likewise.
1210         * conform/data/langinfo.h-data: Likewise.
1211         * conform/data/libgen.h-data: Likewise.
1212         * conform/data/limits.h-data: Likewise.
1213         * conform/data/locale.h-data: Likewise.
1214         * conform/data/math.h-data: Likewise.
1215         * conform/data/mqueue.h-data: Likewise.
1216         * conform/data/ndbm.h-data: Likewise.
1217         * conform/data/net/if.h-data: Likewise.
1218         * conform/data/netdb.h-data: Likewise.
1219         * conform/data/netinet/in.h-data: Likewise.
1220         * conform/data/poll.h-data: Likewise.
1221         * conform/data/pthread.h-data: Likewise.
1222         * conform/data/pwd.h-data: Likewise.
1223         * conform/data/sched.h-data: Likewise.
1224         * conform/data/search.h-data: Likewise.
1225         * conform/data/semaphore.h-data: Likewise.
1226         * conform/data/signal.h-data: Likewise.
1227         * conform/data/spawn.h-data: Likewise.
1228         * conform/data/stdbool.h-data: Likewise.
1229         * conform/data/stdint.h-data: Likewise.
1230         * conform/data/stdio.h-data: Likewise.
1231         * conform/data/stdlib.h-data: Likewise.
1232         * conform/data/string.h-data: Likewise.
1233         * conform/data/strings.h-data: Likewise.
1234         * conform/data/stropts.h-data: Likewise.
1235         * conform/data/sys/mman.h-data: Likewise.
1236         * conform/data/sys/resource.h-data: Likewise.
1237         * conform/data/sys/select.h-data: Likewise.
1238         * conform/data/sys/socket.h-data: Likewise.
1239         * conform/data/sys/stat.h-data: Likewise.
1240         * conform/data/sys/statvfs.h-data: Likewise.
1241         * conform/data/sys/time.h-data: Likewise.
1242         * conform/data/sys/timeb.h-data: Likewise.
1243         * conform/data/sys/types.h-data: Likewise.
1244         * conform/data/sys/uio.h-data: Likewise.
1245         * conform/data/sys/un.h-data: Likewise.
1246         * conform/data/sys/wait.h-data: Likewise.
1247         * conform/data/syslog.h-data: Likewise.
1248         * conform/data/termios.h-data: Likewise.
1249         * conform/data/tgmath.h-data: Likewise.
1250         * conform/data/time.h-data: Likewise.
1251         * conform/data/ucontext.h-data: Likewise.
1252         * conform/data/unistd.h-data: Likewise.
1253         * conform/data/utmpx.h-data: Likewise.
1254         * conform/data/varargs.h-data: Likewise.
1255         * conform/data/wchar.h-data: Likewise.
1256         * conform/data/wctype.h-data: Likewise.
1258 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
1260         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
1261         version to 7 branch.
1263 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
1265         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
1266         earlyclobber to output operand of sqrt insn.
1267         (__ieee754_sqrtf): Ditto.
1269 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
1271         [BZ #21426]
1272         * misc/bits/types/struct_iovec.h: New file.
1273         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
1274         * include/bits/types/struct_iovec.h: New file.
1275         * bits/uio.h (struct iovec): Replace by inclusion of
1276         <bits/types/struct_iovec.h>.
1277         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
1278         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
1279         of <sys/uio.h>.
1280         * nptl/tst-cancel4.c: Include <sys/uio.h>
1281         * posix/test-errno.c: Likewise.
1282         * support/resolv_test.c: Likewise.
1283         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
1284         Remove.
1285         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1286         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1287         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1289         * conform/data/sys/socket.h-data (*_t): Allow.
1291 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1293         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
1294         assignment.
1296 2017-04-24  Daurnimator  <quae@daurnimator.com>
1297             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1299         [BZ #21340]
1300         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
1301         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
1302         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
1303         valid flags.
1304         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
1305         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
1306         POSIX_SPAWN_SETSID.
1307         * sysdeps/posix/spawni.c (__spawni): Likewise.
1308         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1309         * NEWS: Add note about POSIX_SPAWN_SETSID support.
1311 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1313         * sysdeps/generic/math_private.h: Move the declaration of many
1314         functions to sysdeps/generic/math_private_calls.h.
1315         * sysdeps/generic/math_private_calls.h: New file with the
1316         declarations of the functions removed from math_private.h
1317         macroized by floating-point type.
1319 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1321         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
1322         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
1323         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
1324         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
1325         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
1326         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
1328 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1330         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
1331         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
1332         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
1333         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
1334         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
1335         New Define.
1337 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1339         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
1340         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
1341         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
1342         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
1343         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
1344         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
1346 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1348         * sysdeps/s390/multiarch/ifunc-resolve.h
1349         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
1350         * sysdeps/s390/multiarch/8bit-generic.c
1351         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
1352         define ifunc resolvers.
1354 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1356         [BZ #20424]
1357         * manual/memory.texi (Replacing malloc): New section.
1358         (Allocating Storage For Program Data): Reference it.
1359         (The GNU Allocator): Likewise.
1361 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
1363         * stdlib/Versions (__strtod_internal): List explicitly, not as
1364         wildcard.
1365         (__strtof_internal): Likewise.
1366         (__strtold_internal): Likewise.
1367         (__strtol_internal): Likewise.
1368         (__strtoll_internal): Likewise.
1369         (__strtoul_internal): Likewise.
1370         (__strtoull_internal): Likewise.
1371         (__strtoq_internal): Likewise.
1372         (__strtouq_internal): Likewise.
1373         * wcsmbs/Versions (__wcstod_internal): Likewise.
1374         (__wcstof_internal): Likewise.
1375         (__wcstold_internal): Likewise.
1376         (__wcstol_internal): Likewise.
1377         (__wcstoll_internal): Likewise.
1378         (__wcstoul_internal): Likewise.
1379         (__wcstoull_internal): Likewise.
1381 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1383         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
1384         struct timespec definition.
1386 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1388         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
1390 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1392         * inet/rcmd.c (rresvport_af): Fix typo in comment.
1393         * inet/rexec.c (rexec_af): Likewise.
1395 2017-04-19  Zack Weinberg  <zackw@panix.com>
1397         * posix/tst-mmap-offset.c: Include stdint.h.
1398         * resolv/tst-ns_name_compress.c: Include string.h.
1399         * resolv/tst-resolv-edns.c: Include resolv.h.
1401 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1403         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
1404         with __glibc_likely.
1405         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
1406         Replace __builtin_expect with __glibc_unlikely.
1407         * resolv/res_init.c (__res_vinit): Likewise.
1408         * resolv/res_query.c (__libc_res_nquery): Likewise.
1409         * resolv/res_send.c (__libc_res_nsend): Likewise.
1411 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1413         [BZ #15722]
1414         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
1415         with SOCK_CLOEXEC.
1416         * resolv/res_send.c (send_vc, reopen): Likewise.
1417         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
1418         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
1419         Likewise.
1420         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
1421         * inet/rexec.c (rexec_af): Add comment.
1422         * inet/rcmd.c (rresvport_af): Likewise.
1424 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1426         * nscd/connections.c (have_accept4): Removed definition.
1427         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
1428         accept4 works.
1429         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
1430         ia64 because that was the first version with accept4 support.
1431         * support/Makefile (libsupport-routines): Add xaccept4.
1432         * support/xsocket.h (xaccept4): Declare.
1433         * support/xaccept4.c: New file.
1434         * socket/tst-accept4.c: New file.
1435         * socket/Makefile (tests): Add tst-accept4.
1436         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
1437         definition.
1438         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
1439         comment.
1440         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
1441         implementation is available.
1442         (accept4): Use the system call if available, otherwise use the
1443         socket call.
1444         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
1445         Set to 3.2.18.
1446         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1447         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
1448         accept4 is unconditionally available in later 3.2 stable kernels.
1449         (__ASSUME_ACCEPT4_SYSCALL): Define.
1450         * sysdeps/unix/sysv/linux/kernel-features.h
1451         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
1452         definitions.
1453         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1454         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
1456 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
1458         * conform/Makefile (tests-special): Do not make addition of
1459         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
1460         (generated): Do not make addition of $(conformtest-header-base)
1461         conditional on [$(cross-compiling) = no].
1463         [BZ #21267]
1464         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
1465         if defined by <asm/socket.h> and not previously defined.
1466         (IOCSIZE_SHIFT): Likewise.
1467         (IOC_IN): Likewise.
1468         (IOC_INOUT): Likewise.
1469         (IOC_OUT): Likewise.
1471 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
1473         [BZ #21396]
1474         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1475         Prefer_No_AVX512 if AVX512ER isn't available.
1476         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
1477         (index_arch_Prefer_No_AVX512): Likewise.
1478         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
1479         AVX512 version if Prefer_No_AVX512 is set.
1480         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
1481         Likewise.
1482         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
1483         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
1484         Likewise.
1485         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1486         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
1487         Likewise.
1488         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
1489         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
1490         Likewise.
1492 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
1494         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1495         Prefer_No_VZEROUPPER if AVX512ER is available.
1496         * sysdeps/x86/cpu-features.h
1497         (bit_cpu_AVX512PF): New.
1498         (bit_cpu_AVX512ER): Likewise.
1499         (bit_cpu_AVX512CD): Likewise.
1500         (bit_cpu_AVX512BW): Likewise.
1501         (bit_cpu_AVX512VL): Likewise.
1502         (index_cpu_AVX512PF): Likewise.
1503         (index_cpu_AVX512ER): Likewise.
1504         (index_cpu_AVX512CD): Likewise.
1505         (index_cpu_AVX512BW): Likewise.
1506         (index_cpu_AVX512VL): Likewise.
1507         (reg_AVX512PF): Likewise.
1508         (reg_AVX512ER): Likewise.
1509         (reg_AVX512CD): Likewise.
1510         (reg_AVX512BW): Likewise.
1511         (reg_AVX512VL): Likewise.
1513 2017-04-18  Florian Weimer  <fweimer@redhat.com>
1515         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
1516         O_CLOEXEC is defined.
1517         * include/fcntl.h (__have_o_cloexec): Remove declaration.
1518         * io/Makefile (aux): Remove.
1519         * io/have_o_cloexec.c: Remove file.
1520         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
1521         defined and works.
1522         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
1523         defined.
1524         * login/utmp_file.c (O_flags): Remove definition.
1525         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
1526         O_CLOEXEC works.
1527         (pututline_file): Likewise.
1528         * malloc/mtrace.c: Assume that O_CLOEXEC works.
1529         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
1530         definition.
1531         (internal_setgrent): Assume that O_CLOEXEC works.
1532         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
1533         Remove definition.
1534         (internal_setgrent): Assume that O_CLOEXEC works.
1535         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
1536         definition.
1537         (internal_setpwent): Assume that O_CLOEXEC works.
1538         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
1539         definition.
1540         (internal_setspent): Assume that O_CLOEXEC works.
1541         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
1542         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
1543         O_CLOEXEC is defined and works.
1544         * nss/Makefile (libnss_files-routines): Remove
1545         files-have_o_cloexec.
1546         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
1547         defined.
1548         * nss/nss_files/files-XXX.c (internal_setent): Assume that
1549         O_CLOEXEC is defined and works.
1550         * nss/nss_files/files-alias.c (internal_setent): Likewise.
1551         * nss/nss_files/files-have_o_cloexec.c: Remove.
1552         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
1553         defined.
1554         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
1555         and works.
1556         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
1557         definition.
1558         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
1559         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
1560         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
1561         (__opendirat, __opendir): Adjust opendir_oflags call.
1562         (check_have_o_cloexec): Remove.
1563         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
1564         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
1565         defined.
1566         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
1567         Remove definition.
1569 2017-04-18  Florian Weimer  <fweimer@redhat.com>
1571         * include/unistd.h (__have_dup3): Remove declaration.
1572         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
1573         dup3 is available.
1574         * libio/freopen64.c (freopen64): Likewise.
1575         * socket/Makefile (aux): Remove have_sock_cloexec.
1576         * socket/have_sock_cloexec.c: Remove file.
1577         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
1578         definition.
1579         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
1580         Likewise.
1581         * sysdeps/nacl/kernel-features.h: Update comment.
1583 2017-04-18  Florian Weimer  <fweimer@redhat.com>
1585         * include/unistd.h (__have_pipe2): Remove declaration.
1586         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
1587         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
1588         available.
1589         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
1590         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
1591         Remove definition.
1593 2017-04-18  Florian Weimer  <fweimer@redhat.com>
1595         * malloc/malloc.c (cfree): Turn into compat symbol.
1596         (__cfree): Remove alias.
1597         * stdlib/stdlib.h (cfree): Remove declaration.
1598         * malloc/malloc.h (cfree): Likewise.
1599         * manual/memory.texi (Freeing after Malloc): Remove cfree.
1600         * malloc/Versions (GLIBC_2.26): Add.
1602 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1604         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1605         (sysdep_routines): Add strrchr-power8.
1606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1607         (strrchr): Add __strrchr_power8 to list of strrchr functions.
1608         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
1609         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
1610         (strrchr): Add __strrchr_power8 to ifunc list.
1611         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
1613 2017-04-17  Rabin Vincent  <rabinv@axis.com>
1615         [BZ #21357]
1616         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
1617         Call free() outside of mutex.
1619 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1621         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
1622         is defined.
1623         * elf/rtld.c (process_envvars): Likewise.
1624         * sysdeps/posix/shm_open.c (shm_open): Likewise.
1625         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
1626         O_NOFOLLOW directly.
1627         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
1629 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1631         [BZ #21369]
1632         Remove EDNS fallback.
1633         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
1634         handling.
1635         * resolv/res_send.c (send_dg): Likewise.
1636         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
1637         "tcp." prefixes.
1638         (do_test): Send a "formerr."-prefixed query in an attempt to
1639         trigger EDNS fallback.
1641 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1643         [BZ #21361]
1644         Limit EDNS buffer size to 1200 bytes.
1645         * include/resolv.h (__res_nopt): Remove declaration.
1646         * resolv/Makefile (tests): tst-resolv-edns.
1647         (tst-resolv-edns): Link with -lresolv, -lpthread.
1648         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
1649         interval [512, 1200].
1650         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
1651         we can resize the buffer.
1652         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
1653         (__res_nopt): Declare.
1654         * resolv/tst-resolv-edns.c: New file.
1655         * resolv/resolv_test.h (struct resolv_edns_info): Define.
1656         (struct resolv_response_context): Add edns member.
1657         * resolv/resolv_test.c (struct query_info): Add edns member.
1658         (parse_query): Extract EDNS information from the query.
1659         (server_thread_udp_process_one): Propagate EDNS data.
1660         (server_thread_tcp_client): Likewise.
1662 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1664         [BZ #21359]
1665         * resolv/ns_name.c (ns_name_pack): Do not require an additional
1666         byte in the destination buffer.  Avoid out-of-bounds pointer
1667         arithmetic.
1668         * resolv/Makefile (tests): Add tst-ns_name_compress.
1669         (tst-ns_name_compress): Link with -lresolv.
1670         * resolv/tst-ns_name_compress.c: New file.
1671         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
1672         (response): Recognize LONG_NAME.
1673         (do_test): Add LONG_NAME tests.
1674         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
1675         for ns_name_unpack.  Add tests for ns_name_pton and
1676         ns_name_compress.
1678 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1680         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
1681         (res_nisourserver): Remove definition.
1682         (p_section, res_npquery, res_nisourserver): Remove declaration.
1683         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
1684         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
1685         ... here.
1686         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
1687         <resolv.h>.
1688         * resolv/res_query.c: Likewise.
1689         * resolv/res_debug.c (p_section): Define as static.
1691 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1693         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
1694         strncat-power8.
1695         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
1696         __strncat_power8 to ifunc list.
1697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1698         (strncat): Add __strncat_power8 to list of strncat functions.
1699         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
1701 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1703         [BZ #21270]
1704         * posix/tst-mmap-offset.c (do_prepare): New function.
1705         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
1706         (do_test_bz21270): New function.
1707         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
1708         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
1709         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
1710         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
1711         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
1712         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1713         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
1714         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
1715         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
1716         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
1717         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
1718         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1719         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1720         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1721         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
1722         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
1723         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1724         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
1725         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
1726         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
1727         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
1728         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
1729         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
1730         from auto-generation list.
1731         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
1732         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1733         * sysdeps/unix/sysv/linux/mmap.c: New file.
1734         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
1735         offsets and support for mmap2 syscall.
1737         * posix/globtest.sh: Add cleanup routine on trap 0.
1739 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1741         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
1742         implementation-specific function name and remove unneeded
1743         macros definition.
1744         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
1745         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
1746         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
1747         name if not defined and pass as parameter to macros accordingly.
1748         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1749         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1751         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
1752         implementation-specific function name and remove unneeded
1753         macros definition.
1754         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
1755         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
1756         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
1757         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
1758         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1759         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
1760         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
1761         name if not defined and pass as parameter to macros accordingly.
1762         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1763         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1764         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1765         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1766         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1767         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
1769         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
1770         implementation-specific function name and remove unneeded macros
1771         definition.
1772         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
1773         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
1774         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
1775         function name if not defined and pass as parameter to macros
1776         accordingly.
1777         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1778         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
1780         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
1781         implementation-specific function name and remove unneeded macros
1782         definition.
1783         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1784         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1785         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
1786         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1787         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
1788         not defined and pass as parameter to macros accordingly.
1789         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1790         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1791         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1792         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1794         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
1795         strcasestr implementation name and remove unneeded macros definition.
1796         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
1797         strstr implementation name and remove unneeded macros definition.
1798         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
1799         name if not defined and pass as parameter to macros accordingly.
1800         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
1802         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
1803         implementation-specific function name and remove unneeded macros
1804         definition.
1805         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
1806         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
1807         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
1808         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
1809         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
1810         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
1811         function name if not defined and pass as parameter to macros
1812         accordingly.
1813         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
1814         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
1815         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1816         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
1818         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
1819         the strlen implementation name and remove unneeded macros definition.
1820         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
1821         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1822         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
1823         the strnlen implementation name and remove unneeded macros definition.
1824         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
1825         name if not defined and pass as parameter to macros accordingly.
1826         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
1827         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1828         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1830         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
1831         the implementation-specific function name and remove unneeded
1832         macros definition.
1833         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
1834         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
1835         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1836         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1837         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
1838         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
1839         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1840         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1841         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1842         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
1843         name if not defined and pass as parameter to macros accordingly.
1844         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
1845         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1846         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1847         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1848         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1849         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
1850         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
1851         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1853         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
1854         implementation-specific function name and remove unneeded macros
1855         definition.
1856         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1857         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1858         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
1859         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
1860         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1861         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
1862         function name if not defined.
1863         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
1864         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1866 2017-04-11  Paul Clarke  <pc@us.ibm.com>
1868         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
1869         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
1870         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
1871         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
1873 2017-04-11  Florian Weimer  <fweimer@redhat.com>
1874             Zack Weinberg  <zackw@panix.com>
1876         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
1877         readdir64 as thread-safe.  Update warning about readdir_r.
1879 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1881         * sysdeps/unix/sysv/linux/x86/Implies: New file.
1882         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
1883         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
1884         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
1885         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
1886         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
1887         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1889 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
1891         * sysdeps/i386/dl-procinfo.c: Include
1892         <sysdeps/x86/dl-procinfo.c>.
1893         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1894         * sysdeps/x86/dl-procinfo.c: New file.
1896 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1898         * sysdeps/generic/math_private.h: Remove declarations of
1899         many functions that are already declared in math.h.
1900         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
1901         declaration for __frexpl.
1902         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
1903         the declarations for __scalbnl and fabsl.
1905 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
1907         [BZ #20831]
1908         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
1909         of __mprotect to change protection on the excess portion
1910         to disallow all access.
1912 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
1914         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
1915         HAS_CPU_FEATURE to check for SSE.
1916         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1917         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
1918         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
1919         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
1920         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
1921         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
1922         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
1923         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
1924         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1925         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
1926         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1927         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1928         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
1929         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
1930         (index_cpu_SSE): Likewise.
1931         (reg_SSE): Likewise.
1933 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
1935         * posix/getopt1.c: Include <config.h>, not "config.h".
1937 2017-04-07  Zack Weinberg  <zackw@panix.com>
1939         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
1940         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
1941         Mention in top-of-file boilerplate that these files are shared
1942         with gnulib.
1943         * posix/getopt.h, posix/bits/getopt_posix.h:
1944         Mention in top-of-file boilerplate that these files are NOT shared
1945         with gnulib, unlike the rest of the getopt implementation.
1947         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
1948         New files, intended to be shared with gnulib.
1949         * posix/bits/getopt_posix.h:
1950         New file, not intended to be shared with gnulib.
1951         * posix/getopt.h: Now just includes features.h,
1952         bits/getopt_core.h, and bits/getopt_ext.h.  Will
1953         no longer be shared with gnulib.
1954         * include/bits/getopt_core.h, include/bits/getopt_ext.h
1955         * include/bits/getopt_posix.h: New wrappers.
1956         * posix/Makefile: Install new headers.
1957         * posix/unistd.h, libio/stdio.h:
1958         Include bits/getopt_posix.h instead of getopt.h.
1960         * include/libc-symbols.h: For gnulib compatibility, define
1961         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
1962         _GL_ATTRIBUTE_CONST.
1963         * posix/getopt.c (_getopt_initialize): Mark argc and argv
1964         parameters with _GL_UNUSED.
1966         * posix/getopt.c: When used standalone, define __libc_use_alloca
1967         as always false and alloca to abort if called.
1968         (process_long_option): Rewrite handling of ambiguous long options
1969         to use a single boolean vector, not a linked list; use
1970         __libc_use_alloca to decide whether to allocate this using alloca.
1971         * posix/tst-getopt_long1.c: Adjust text of expected error message.
1973         * posix/getopt.c (process_long_option): New function split out
1974         from _getopt_internal_r.
1975         (_getopt_internal_r): Replace both copies of the long-option
1976         processing code with calls to process_long_option.
1977         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
1978         (do_test): Differentiate argv[0] in the two subtests.
1980         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
1981         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
1982         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
1984         * posix/getopt.h: Add backup definition of __nonnull for
1985         consistency with gnulib.  Define __getopt_argv_const to const
1986         if not already defined.
1987         (getopt): Update doc comment from gnulib.  Prototype
1988         unconditionally.  Add __nonnull annotation.
1989         (__posix_getopt): Add __nonnull annotation.
1990         (getopt_long, getopt_long_only): Use __getopt_argv_const in
1991         prototypes for consistency with gnulib.  Add __nonnull
1992         annotations.
1993         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
1994         (getopt_internal): Change 'argv' argument to type 'char **'.
1995         Remove now-unnecessary casts.
1996         (getopt, __posix_getopt): Eliminate repetition with a macro.
1997         Cast 'argv' to 'char **' when calling _getopt_internal.
1998         * posix/getopt1.c (getopt_long, getopt_long_only):
1999         Use __getopt_argv_const for consistency with gnulib.
2000         Cast 'argv' to 'char **' when calling _getopt_internal.
2001         (_getopt_long_r, _getopt_long_only_r):
2002         Change 'argv' argument to type 'char **'.
2003         (main): Constify 'long_options'.
2004         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
2005         (_getopt_long_r, _getopt_long_only_r):
2006         Change 'argv' argument to type 'char **'.
2008         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
2009         (locked_vfxprintf): New helper function. Handle arbitrary
2010         multibyte strings, not just ASCII.
2011         * include/stdio.h: Declare __fxprintf_nocancel.
2012         * posix/getopt.c: When _LIBC is defined, define fprintf to
2013         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
2014         to _IO_funlockfile.  When neither _LIBC nor
2015         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
2016         funlockfile as no-ops.
2017         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
2018         the standalone error-printing code can now be used for libc as
2019         well.  Add an flockfile/funlockfile pair around one case where
2020         the error message is printed in several chunks.  Don't use fputc.
2021         * posix/tst-getopt-cancel.c: New test.
2022         * posix/Makefile: Run it.
2024         * posix/getopt.c (_getopt_internal_r): Don't increment
2025         d->optind a second time when reporting ambiguous -W options.
2027         * posix/getopt_int.h: Include getopt.h.
2028         Use impl-namespace names for all arguments to _getopt_internal and
2029         _getopt_internal_r.
2030         Declare __ordering enum outside the struct.
2031         Harmonize comments with gnulib.
2032         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
2033         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
2034         #ifdef TEST block and make unconditional.  Do not define NULL.
2035         * posix/getopt.c: Partial merge from gnulib, covering the
2036         initial includes and global declarations, commentary, and
2037         a couple of semantically-neutral code changes.
2039         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
2040         Use '...' instead of `...' for quotation marks inside
2041         comments and strings.
2043         * config.h.in (USE_NONOPTION_FLAGS): Remove.
2044         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
2045         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2046         * posix/getopt_int.h: Likewise.
2047         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
2048         __libc_argc and __libc_argv externs, which were only used by
2049         #ifdef USE_NONOPTION_FLAGS blocks.
2050         * posix/getopt_init.c: Remove file.
2051         * posix/Makefile (routines): Remove getopt_init.
2052         * include/getopt.h: Don't declare __getopt_initialize_environment.
2053         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
2054         a comment.
2056 2017-04-07  Florian Weimer  <fweimer@redhat.com>
2058         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
2060 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2062         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
2063         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
2064         to __wrap_.udiv.
2065         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
2066         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
2068         * sysdeps/i386/symbol-hacks.h: New file.
2069         * sysdeps/m68k/symbol-hacks.h: New file.
2070         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
2071         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
2072         * sysdeps/unix/sysv/linux/i386/Makefile
2073         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
2074         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2075         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2076         * sysdeps/unix/sysv/linux/m68k/Makefile
2077         [$(subdir) = csu] (sysdep_routines): Likewise.
2078         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2079         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2081         [$(subdir) = csu] (sysdep_routines): Likewise.
2082         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2083         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2084         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2085         [$(subdir) = csu] (sysdep_routines): Likewise.
2086         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2087         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2088         * sysdeps/wordsize-32/Makefile: Remove file.
2089         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
2090         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
2092 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
2094         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
2095         (TEST_FUNCTION_ARGV): New.
2097 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2099         * elf/next.c: Import support/test-driver.c instead of
2100         test-skeleton.c and delete TEST_FUNCTION macro definition.
2101         * elf/nodelete.c: Likewise.
2102         * elf/order2.c: Likewise.
2103         * elf/tst-_dl_addr_inside_object.c: Likewise.
2104         * elf/tst-addr1.c: Likewise.
2105         * elf/tst-align.c: Likewise.
2106         * elf/tst-align2.c: Likewise.
2107         * elf/tst-audit11.c: Likewise.
2108         * elf/tst-audit12.c: Likewise.
2109         * elf/tst-audit2.c: Likewise.
2110         * elf/tst-audit9.c: Likewise.
2111         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
2112         * elf/tst-deep1.c: Likewise.
2113         * elf/tst-dl-iter-static.c: Likewise.
2114         * elf/tst-dlmodcount.c: Likewise.
2115         * elf/tst-dlmopen1.c: Likewise.
2116         * elf/tst-dlmopen2.c: Likewise.
2117         * elf/tst-dlmopen3.c: Likewise.
2118         * elf/tst-dlopen-aout.c: Likewise.
2119         * elf/tst-dlopenrpath.c: Likewise.
2120         * elf/tst-dlsym-error.c: Likewise.
2121         * elf/tst-execstack-needed.c: Likewise.
2122         * elf/tst-execstack-prog.c: Likewise.
2123         * elf/tst-execstack.c: Likewise.
2124         * elf/tst-global1.c: Likewise.
2125         * elf/tst-gnu2-tls1.c: Likewise.
2126         * elf/tst-latepthread.c: Likewise.
2127         * elf/tst-leaks1.c: Likewise.
2128         * elf/tst-linkall-static.c: Likewise.
2129         (do_test): New function.
2130         * elf/tst-nodelete-opened.c: Likewise.
2131         * elf/tst-nodelete.cc: Likewise.
2132         * elf/tst-nodelete2.c: Likewise.
2133         * elf/tst-noload.c: Likewise.
2134         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
2135         * elf/tst-order-main.c: Likewise.
2136         * elf/tst-pathopt.c: Likewise.
2137         * elf/tst-pie2.c: Likewise.
2138         * elf/tst-piemod1.c: Likewise.
2139         * elf/tst-prelink.c: Likewise.
2140         * elf/tst-protected1a.c: Likewise.
2141         * elf/tst-protected1b.c: Likewise.
2142         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
2143         and define _GNU_SOURCE macro.
2144         (cmdline_process_function): New function.
2145         * elf/tst-relsort1.c: Likewise.
2146         * elf/tst-stackguard1.c: Likewise, import getopt.h,
2147         and define _GNU_SOURCE macro.
2148         (cmdline_process_function): New function.
2149         * elf/tst-thrlock.c: Likewise.
2150         * elf/tst-tls-dlinfo.c: Likewise.
2151         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
2152         * elf/tst-tls1.c: Likewise.
2153         * elf/tst-tls10.c: Likewise.
2154         * elf/tst-tls11.c: Likewise.
2155         * elf/tst-tls12.c: Likewise.
2156         * elf/tst-tls13.c: Likewise.
2157         * elf/tst-tls14.c: Likewise.
2158         * elf/tst-tls15.c: Likewise.
2159         * elf/tst-tls16.c: Likewise.
2160         * elf/tst-tls17.c: Likewise.
2161         * elf/tst-tls18.c: Likewise.
2162         * elf/tst-tls19.c: Likewise.
2163         * elf/tst-tls2.c: Likewise.
2164         * elf/tst-tls3.c: Likewise.
2165         * elf/tst-tls4.c: Likewise.
2166         * elf/tst-tls5.c: Likewise.
2167         * elf/tst-tls6.c: Likewise.
2168         * elf/tst-tls7.c: Likewise.
2169         * elf/tst-tls8.c: Likewise.
2170         * elf/tst-tls9.c: Likewise.
2171         * elf/tst-tlsalign-extern.c: Likewise.
2172         * elf/tst-tlsalign.c: Likewise.
2173         * elf/tst-unique1.c: Likewise.
2174         * elf/tst-unique2.c: Likewise.
2175         * elf/vismain.c: Likewise.
2177 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2179         * string/test-strnlen.c (do_page_tests): New function
2180         to check length of strings ending at the page boundary.
2181         (test_main): Added call to the do_page_tests function.
2183 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2184             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2186         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2187         (sysdep_routines): Add strnlen-power8.
2188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2189         (strnlen): Add __strnlen_power8 to list of strnlen functions.
2190         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
2191         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
2192         (__strnlen): Add __strnlen_power8 to ifunc list.
2193         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
2195 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2197         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
2198         the TEST_FUNCTION macro definition.
2199         * wcsmbs/tst-mbrtowc2.c: Likewise.
2200         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2201         * wcsmbs/tst-wchar-h.c: Likewise.
2202         * wcsmbs/tst-wcpncpy.c: Likewise.
2203         * wcsmbs/tst-wcrtomb.c: Likewise.
2204         * wcsmbs/tst-wcsnlen.c: Likewise.
2205         * wcsmbs/tst-wcstof.c: Likewise.
2207 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2209         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
2210         CALL_THREAD_FCT macro usage.
2211         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
2212         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
2213         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
2215         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
2216         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2217         (__ASSUME_REQUEUE_PI): Likewise.
2218         * sysdeps/unix/sysv/linux/kernel-features.h
2219         (__ASSUME_REQUEUE_PI): Likewise.
2220         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2221         (__ASSUME_REQUEUE_PI): Likewise.
2222         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2223         (__ASSUME_REQUEUE_PI): Likewise.
2224         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2225         (__ASSUME_REQUEUE_PI): Likewise.
2227 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2229         * resolv/tst-resolv-canonname.c: New file.
2230         * resolv/Makefile (tests): Add tst-resolv-canonname.
2231         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
2233 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2235         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
2236         Declare.
2237         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
2238         (NS_MAXCDNAME): Remove definition.
2239         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
2240         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
2241         (NS_MAXCDNAME): Remove definition.
2242         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
2244 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2246         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
2247         call whose result is not used.
2249 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2251         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
2252         * resolv/Makefile (tests): Add tst-ns_name.
2253         (tst-ns_name): Link with -lresolv.
2254         (tst-ns_name.out): Depend on the input data file.
2256 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2258         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
2259         Clobber also r14.
2261 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
2263         [BZ #21253]
2264         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
2265         slack space by 32KiB.
2267 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
2269         [BZ #21338]
2270         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
2271         instead of incorrect do_set_arena_test
2273 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2275         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
2276         * math/bits/math-finite.h: Likewise.
2278 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
2280         [BZ #21289]
2281         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
2283 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2285         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
2286         non expected inotify_add_watch and quotactl return.
2288 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2290         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
2291         to int32_t.
2292         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
2293         as returning int32_t.
2295 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2297         * math/math.h: Include bits/math-finite.h once per
2298         floating-point type.
2299         * math/bits/math-finite.h: Macroize all declarations by
2300         floating-point type.
2302 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2304         [BZ #21182]
2305         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
2306         near end of a page.
2307         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
2308         overflow calculation.
2310 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
2312         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
2313         (IMPL) Call with 1 instead of 0 as argument.
2315 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2317         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
2318         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
2319         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
2320         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
2321         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
2322         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
2323         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
2324         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
2325         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
2326         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
2327         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
2328         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2329         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2330         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
2331         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2332         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2333         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2334         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2335         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
2336         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
2337         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
2338         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
2339         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
2340         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
2341         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
2342         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
2343         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
2344         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
2345         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
2346         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
2347         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
2348         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
2349         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
2350         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
2351         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
2352         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
2353         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
2354         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
2355         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
2356         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
2357         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
2358         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
2359         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
2360         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
2361         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
2362         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
2363         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
2364         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
2365         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
2366         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
2367         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
2368         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
2369         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
2370         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
2371         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
2372         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
2373         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2374         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
2375         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
2376         defined.
2377         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
2378         __NR_setgroups32 if defined.
2379         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
2380         if defined.
2381         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
2382         __NR_setresgid32 is defined.
2383         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
2384         __NR_setresuid32 if defined.
2385         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
2386         __NR_setreuid32 if defined.
2387         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
2388         defined.
2389         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
2390         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
2391         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
2392         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
2393         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
2394         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
2395         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
2396         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
2397         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
2398         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
2399         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
2400         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2401         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2402         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
2403         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2404         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2405         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2406         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2407         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
2408         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
2409         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
2410         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
2411         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
2412         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
2413         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
2414         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
2415         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
2416         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
2417         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
2418         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
2419         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
2420         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
2421         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
2422         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
2423         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
2424         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
2425         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
2426         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
2427         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
2428         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
2429         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
2430         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
2431         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
2432         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
2433         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
2434         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
2435         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
2436         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
2437         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
2438         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
2439         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
2440         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
2441         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
2442         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
2443         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
2444         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
2445         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2446         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
2447         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
2448         defined.
2449         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
2450         __NR_setgroups32 if defined.
2451         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
2452         if defined.
2453         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
2454         __NR_setresgid32 is defined.
2455         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
2456         __NR_setresuid32 if defined.
2457         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
2458         __NR_setreuid32 if defined.
2459         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
2460         defined.
2462 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
2464         [BZ #21277]
2465         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
2466         unconditionally.
2467         (IMAXBEL): Likewise.
2468         (IUTF8): Likewise.
2470 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2472         * sysdeps/aarch64/libm-test-ulps: Update.
2474 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
2476         * README.tunables: Updated descriptions.
2477         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
2478         * scripts/gen-tunables.awk: Updated the code related to the
2479         commit.
2481 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
2483         * benchtests/Makefile (string-benchset): Add memcpy-random.
2484         * benchtests/bench-memcpy-random.c: New file.
2486 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2488         * stdio-common/printf.h (register_printf_modifier): Change the
2489         order of __wur and __THROW.
2490         (register_printf_type): Likewise.
2492 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2494         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
2495         test_main ().
2496         (CMDLINE_PROCESS): Use function instead of defined macro.
2497         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
2498         <suppport/support.h> to use set_fortify_handler().
2499         * string/bug-envz1.c: Import support/test-driver.c instead of
2500         test-skeleton.c.
2501         * string/bug-strcoll2.c: Likewise.
2502         * string/bug-strtok1.c: Likewise.
2503         * string/stratcliff.c: Likewise.
2504         * string/test-ffs.c: Likewise.
2505         * string/test-memccpy.c: Likewise.
2506         * string/test-memchr.c: Likewise.
2507         * string/test-memcmp.c: Likewise.
2508         * string/test-memcpy.c: Likewise.
2509         * string/test-memmem.c: Likewise.
2510         * string/test-memmove.c: Likewise.
2511         * string/test-memrchr.c: Likewise.
2512         * string/test-memset.c: Likewise.
2513         * string/test-rawmemchr.c: Likewise.
2514         * string/test-strcasecmp.c: Likewise.
2515         * string/test-strcasestr.c: Likewise.
2516         * string/test-strcat.c: Likewise.
2517         * string/test-strchr.c: Likewise.
2518         * string/test-strcmp.c: Likewise.
2519         * string/test-strcpy.c: Likewise.
2520         * string/test-string.h: Likewise.
2521         * string/test-strlen.c: Likewise.
2522         * string/test-strncasecmp.c: Likewise.
2523         * string/test-strncat.c: Likewise.
2524         * string/test-strncmp.c: Likewise.
2525         * string/test-strncpy.c: Likewise.
2526         * string/test-strnlen.c: Likewise.
2527         * string/test-strpbrk.c: Likewise.
2528         * string/test-strrchr.c: Likewise.
2529         * string/test-strspn.c: Likewise.
2530         * string/test-strstr.c: Likewise.
2531         * string/tst-bswap.c: Likewise.
2532         * string/tst-cmp.c: Likewise.
2533         * string/tst-endian.c: Likewise.
2534         * string/tst-inlcall.c: Likewise.
2535         * string/tst-strcoll-overflow.c: Likewise.
2536         * string/tst-strfry.c: Likewise.
2537         * string/tst-strlen.c: Likewise.
2538         * string/tst-strtok.c: Likewise.
2539         * string/tst-strtok_r.c: Likewise.
2540         * string/tst-strxfrm.c: Likewise.
2541         * string/tst-strxfrm2.c: Likewise.
2542         * string/tst-svc.c: Likewise.
2543         * string/tst-svc2.c: Likewise.
2545 2017-03-22  Zack Weinberg  <zackw@panix.com>
2547         * stdio-common/bug25.c: Include stdlib.h.
2548         * support/tst-support_format_dns_packet.c: Include stdio.h,
2549         stdlib.h, and string.h.
2550         * support/tst-support_record_failure.c: Include string.h.
2551         * support/tst-support_record_failure-2.sh: Adjust line number
2552         expectations and correct a typo in an error message.
2554 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2556         [BZ #21258]
2557         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
2558         Define only if _dl_runtime_resolve is defined to
2559         _dl_runtime_resolve_sse_vex.
2560         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
2561         Fallthrough to _dl_runtime_resolve_sse_vex.
2563 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
2565         * INSTALL: Regenerated.
2567 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
2569         * config.h.in: Add LINK_OBSOLETE_NSL.
2570         * config.make.in: Add build-obsolete-nsl.
2571         * configure.ac: Add obsolete-nsl option.
2572         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
2573         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
2574         * include/rpcsvc/nislib.h: Likewise.
2575         * include/rpcsvc/ypclnt.h: Likewise.
2576         * manual/install.texi: Document --enable-obsolete-nsl.
2577         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
2578         * nis/nis_add.c: Replace libnsl_hidden_def with
2579         libnsl_hidden_nolink_def.
2580         * nis/nis_addmember.c: Likewise.
2581         * nis/nis_call.c: Likewise.
2582         * nis/nis_clone_obj.c: Likewise.
2583         * nis/nis_defaults.c: Likeise.
2584         * nis/nis_domain_of_r.c: Likewise.
2585         * nis/nis_error.c: Likewise.
2586         * nis/nis_file.c: Likewise.
2587         * nis/nis_free.c: Likewise.
2588         * nis_local_names.c: Likewise.
2589         * nis/nis_lookup.c: Likewise.
2590         * nis/nis_modify.c: Likewise.
2591         * nis/nis_print.c: Likewise.
2592         * nis/nis_remove.c: Likewise.
2593         * nis/nis_table.c: Likewise.
2594         * nis/nis_util.c: Likewise.
2595         * nis/nis_xdr.c: Likewise.
2596         * nis/yp_xdr.c: Likewise.
2597         * nis/ypclnt.c: Likewise.
2598         * nis/ypupdate_xdr.c: Likewise.
2599         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
2600         * nis/nis_clone_dir.c: Likewise.
2601         * nis/nis_clone_res.c: Likewise.
2602         * nis/nis_creategroup.c: Likewise.
2603         * nis/nis_destroygroup.c: Likewise.
2604         * nis/nis_domain_of.c: Likewise.
2605         * nis/nis_getservlist.c: Likewise.
2606         * nis/nis_ismember.c: Likewise.
2607         * nis/nis_mkdir.c: Likewise.
2608         * nis/nis_ping.c: Likewise.
2609         * nis/nis_print_group_entry.c: Likewise.
2610         * nis/nis_removemember.c: Likewise.
2611         * nis/nis_rmdir.c: Likewise.
2612         * nis/nis_server.c: Likewise.
2613         * nis/nis_subr.c: Likewise.
2614         * nis/nis_verifygroup.c: Likewise.
2616 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2618         * malloc/tst-interpose-aux.c (check_for_allocations):
2619         Move compiler barrier before free.
2621 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
2623         [BZ #21279]
2624         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
2625         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
2626         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
2627         x86_64-x32-linux.
2628         (mq_attr.mq_maxmsg): Likewise.
2629         (mq_attr.mq_msgsize): Likewise.
2630         (mq_attr.mq_curmsgs): Likewise.
2632         [BZ #21278]
2633         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
2634         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
2635         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
2636         mips-o32-linux.
2638         [BZ #21268]
2639         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
2640         if [__USE_MISC]
2641         (NL3): Likewise.
2643 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
2645         [BZ #21275]
2646         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
2647         __stack to __stackbase.
2648         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
2649         checks so we can include defined(__ia64__) first.
2651 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
2653         * sysdeps/unix/sysv/linux/ttyname.h: New file.
2654         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
2655         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
2656         Call is_pty when the link does not exist or does not match, fail
2657         with ENODEV when it returns true.
2658         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
2659         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
2660         Call is_pty when the link does not exist or does not match, fail
2661         with ENODEV when it returns true.
2663 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
2665         [BZ #16437]
2666         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
2667         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2668         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
2669         x86_64-x32-linux.
2670         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
2671         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
2672         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
2674         [BZ #21261]
2675         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
2676         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
2677         names for all fields.
2678         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
2679         for jmp_buf field renaming.
2680         (_JMPBUF_UNWINDS_ADJ): Likewise.
2682         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
2683         with allow-header.
2685 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
2687         * malloc/malloc.c (unlink): Add consistency check between size and
2688         next->prev->size, to further harden against 1-byte overflows.
2690 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
2692         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
2693         CPU_FEATURES_CPU_P.
2695 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
2697         [BZ #21259]
2698         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
2699         unconditionally, not just for [__USE_MISC].
2701         [BZ #17786]
2702         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
2703         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
2704         mips-o32-linux.
2706         [BZ #21260]
2707         * sysdeps/unix/sysv/linux/alpha/Makefile
2708         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2709         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
2711         * conform/conformtest.pl ($cross): New variable.
2712         (--cross): New command-line option.
2713         (runtest): Skip test execution when cross-compiling.
2714         * conform/Makefile (conformtest-cross): New variable.
2715         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
2716         conformtest.pl.
2718         * conform/conformtest.pl ($xfail_str): New variable.
2719         (--xfail=): New command-line option.
2720         (top level): Handle expectations starting xfail[cond]-.
2721         * conform/Makefile (conformtest-xfail): New variable.
2722         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
2723         conformtest.pl.
2725 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
2727         * conform/conformtest.pl: Use compilation instead of execution
2728         tests for testing values of constants and usability in #if.
2730 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2732         * math/auto-libm-test-in: Mark some catan and catanh as
2733         xfail-rounding:ibm128-libgcc.
2734         * math/auto-libm-test-out-catan: Regenerate.
2735         * math/auto-libm-test-out-catanh: Likewise.
2737 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
2739         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
2740         (__END_NAMESPACE_STD): Likewise.
2741         (__USING_NAMESPACE_STD): Likewise.
2742         (__BEGIN_NAMESPACE_C99): Likewise.
2743         (__END_NAMESPACE_C99): Likewise.
2744         (__USING_NAMESPACE_C99): Likewise.
2745         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
2746         undefine macro.
2747         (_Mdouble_END_NAMESPACE): Likewise.
2748         * ctype/ctype.h: Do not handle C++ namespaces.
2749         * libio/bits/stdio-ldbl.h: Likewise.
2750         * libio/stdio.h: Likewise.
2751         * locale/locale.h: Likewise.
2752         * math/bits/mathcalls.h: Likewise.
2753         * setjmp/setjmp.h: Likewise.
2754         * signal/signal.h: Likewise.
2755         * stdlib/bits/stdlib-float.h: Likewise.
2756         * stdlib/bits/stdlib-ldbl.h: Likewise.
2757         * stdlib/stdlib.h: Likewise.
2758         * string/string.h: Likewise.
2759         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2760         * time/bits/types/clock_t.h: Likewise.
2761         * time/bits/types/struct_tm.h: Likewise.
2762         * time/bits/types/time_t.h: Likewise.
2763         * time/time.h: Likewise.
2764         * wcsmbs/bits/wchar-ldbl.h: Likewise.
2765         * wcsmbs/uchar.h: Likewise.
2766         * wcsmbs/wchar.h: Likewise.
2767         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
2768         * wctype/wctype.h: Do not handle C++ namespaces.
2769         * scripts/begin-end-check.pl: Remove.
2770         * Makefile (installed-headers): Likewise.
2771         (tests-special): Do not add $(objpfx)begin-end-check.out.
2772         ($(objpfx)begin-end-check.out): Remove.
2774 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
2775             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2777         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
2778         (DL_PLATFORM_INIT): New define.
2779         (dl_platform_init): New function.
2780         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
2781         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
2782         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
2783         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
2784         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
2786 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
2788         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
2789         instead of PIC.
2791 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
2793         [BZ #21094]
2794         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
2795         24+24+24-bit pi for wider range of values around pi/2.
2796         * math/auto-libm-test-in: Add more tests of cos and tan.
2797         * math/auto-libm-test-out-cos: Regenerated.
2798         * math/auto-libm-test-out-tan: Likewise.
2800 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
2802         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
2803         (RTLD_START): Don't record stack end address in _dl_start_user.
2805 2017-03-15  Alexey Neyman  <stilor@att.net>
2807         [BZ #21088]
2808         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
2809         around definitions match those around use.
2811 2017-03-15  Alexey Neyman  <stilor@att.net>
2813         * configure.ac: Avoid empty subexpression in grep.
2814         * configure: Regenerate.
2816 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2818         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
2819         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
2820         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
2821         (test_wrp_rv): Fix format.
2822         (test_wrp_rv2): New macro.
2823         (do_test): Handle mlock return on 64 bits kernels with 32 bits
2824         binaries.
2826 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
2828         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
2829         Use a union when storing pointers.
2830         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
2831         cast result when passing to INIT_VEC_PTRS_LOOP.
2832         (VECTOR_WRAPPER_fFF_3): Likewise.
2833         (VECTOR_WRAPPER_fFF_4): Likewise.
2835 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2837         * include/bits/mathcalls-helper-functions.h: New file.
2838         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
2839         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
2840         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
2841         math/bits/mathcalls-helper-functions.h.
2842         * math/bits/mathcalls-helper-functions.h: New file.
2843         * math/math.h: Include bits/mathcalls-helper-functions.h for
2844         float, double, and long double.
2846 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2848         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
2849         instead of feraiseexcept.
2851 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2853         [BZ #21243]
2854         * support/temp_file.c (support_delete_temp_files): Add comment
2855         about ignored errors.
2857 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2859         [BZ #21244]
2860         * support/xclose.c: New file.
2861         * support/Makefile (libsupport-routines): Add xclose.
2862         * support/xunistd.h (xclose): Declare.
2863         * support/resolv_test.c (server_thread_tcp_client)
2864         (server_thread_tcp, make_server_sockets, resolv_test_start)
2865         (resolv_test_end): Call xclose instead of close.
2866         * support/support_enter_network_namespace.c
2867         (support_enter_network_namespace): Likewise.
2868         * support/support_run_diff.c (write_to_temp_file): Likewise.
2870 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2872         * support/support_format_dns_packet.c (support_format_dns_packet):
2873         Handle CNAME records in the response.  Extract RDATA names from
2874         rdata, not the whole packet.  Check AAAA record length.
2875         * support/tst-support_format_dns_packet.c: New file.
2876         * support/Makefile (tests): Add tst-support_format_dns_packet.
2877         (tst-support_format_dns_packet): Link against libresolv.
2879 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2881         [BZ #21232]
2882         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
2883         posix_fadvise64 weak_alias for static build.
2885 2017-03-14  Andreas Schwab  <schwab@suse.de>
2887         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
2888         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
2889         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
2890         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
2891         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
2892         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
2893         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
2894         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
2896 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2898         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
2899         posix error code.
2900         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2902 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2904         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
2905         no_isolate usage for SH.
2907 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
2909         [BZ #15105]
2910         [BZ #19463]
2911         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
2912         * inet/rcmd.c (rcmd_af): Likewise.
2913         * inet/rexec.c   (rexec_af): Likewise.
2914         * intl/dcigettext.c (_LIBC): Likewise.
2915         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
2916         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
2917         * locale/setlocale.c (setlocale): Likewise.
2918         * posix/spawn_faction_addopen.c
2919         (posix_spawn_file_actions_addopen): Likewise.
2920         * stdlib/putenv.c (putenv): Use __strndup.
2921         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
2922         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
2923         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
2924         (__Need_M_And_C) Remove define/undef.
2925         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
2926         (__malloc_and_calloc_defined): Remove define.
2927         * string/bits/string2.h (__strdup): Remove define.
2928         (strdup): Likewise.
2929         (__strndup): Likewise.
2930         (strndup): Likewise.
2932 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
2934         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
2935         macro.
2936         (IPV6_ADDR_PREFERENCES): Likewise.
2937         (IPV6_MINHOPCOUNT): Likewise.
2938         (IPV6_ORIGDSTADDR): Likewise.
2939         (IPV6_RECVORIGDSTADDR): Likewise.
2940         (IPV6_TRANSPARENT): Likewise.
2941         (IPV6_UNICAST_IF): Likewise.
2942         (IPV6_RECVFRAGSIZE): Likewise.
2944 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
2946         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
2948 2017-03-12  Alexey Neyman <stilor@att.net>
2950         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
2951         in R_SH_DIR32 case is always false when inlined from
2952         dl-conflict.c. Ifdef out to prevent GCC from insertin an
2954 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
2956         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2957         (__ASSUME_RECV_SYSCALL): Replace duplicate by
2958         __ASSUME_SEND_SYSCALL.
2960 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
2962         * sunrpc/Makefile: don't build and install rpcsvc header
2963         files, rpcgen and librpcsvc.a by default.
2965 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
2967         * math/auto-libm-test-out-catan: Regenerated.
2968         * math/auto-libm-test-out-catanh: Likewise.
2969         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2971 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
2973         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
2974         for long double with corrected test expectations.
2976 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2978         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
2979         Define.
2980         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2981         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
2982         * sysdeps/unix/sysv/linux/nios2/sysdep.h
2983         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2984         * sysdeps/unix/sysv/linux/tile/sysdep.h
2985         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2986         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2987         (__ASSUME_RECV_SYSCALL): Define.
2988         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2989         (__ASSUME_RECV_SYSCALL): Likewise.
2990         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2991         (__ASSUME_RECV_SYSCALL): Likewise.
2992         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2993         (__ASSUME_RECV_SYSCALL): Likewise.
2994         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2995         (__ASSUME_RECV_SYSCALL): Likewise.
2996         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2997         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
2998         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2999         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3000         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3001         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3002         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
3003         auto-generation list.
3004         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3005         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3006         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
3007         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3008         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3009         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
3010         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
3011         __ASSUME_SENDTO_SYSCALL.
3012         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
3013         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
3014         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
3016         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
3017         auto-generation list.
3018         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3019         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3020         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3021         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3022         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3023         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3024         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3025         * sysdeps/unix/sysv/linux/kernel-features.h
3026         (__ASSUME_SENDTO_SYSCALL): Define by default.
3027         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3028         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
3029         __NR_sendto.
3030         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3031         (__ASSUME_SENDTO_SYSCALL): Likewise.
3032         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3033         (__ASSUME_SENDTO_SYSCALL): Likewise.
3034         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3035         (__ASSUME_SENDTO_SYSCALL): Remove definition.
3036         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3037         (__ASSUME_SENDTO_SYSCALL): Likewise.
3038         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
3039         (__ASSUME_SENDTO_SYSCALL): Likewise.
3040         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
3042         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
3043         auto-generation list.
3044         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3045         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3046         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3047         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3048         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3049         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3050         (__ASSUME_RECV_SYSCALL): New define.
3051         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3052         (__ASSUME_RECV_SYSCALL): Likewise.
3053         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3054         (__ASSUME_RECV_SYSCALL): Likewise.
3055         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3056         (__ASSUME_RECV_SYSCALL): Likewise.
3057         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3058         (__ASSUME_RECV_SYSCALL): Likewise.
3059         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3060         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3061         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3062         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3063         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3064         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3065         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
3066         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
3067         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
3068         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
3069         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
3070         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
3072         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
3073         auto-generation list.
3074         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3075         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3076         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3077         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3078         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3079         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3080         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3081         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3082         (__ASSUME_RECVFROM_SYSCALL): Define by default.
3083         * sysdeps/unix/sysv/linux/kernel-features.h
3084         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
3085         __NR_recvfrom.
3086         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3087         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3088         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3089         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3090         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3091         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
3092         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3093         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3094         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3095         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3096         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3097         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3098         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
3100         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
3101         auto-generation list.
3102         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3103         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3104         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3105         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3106         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3107         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3108         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3109         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
3110         * sysdeps/unix/sysv/linux/kernel-features.h
3111         (__ASSUME_CONNECT_SYSCALL): Define.
3112         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3113         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
3114         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3115         (__ASSUME_CONNECT_SYSCALL): Likewise.
3116         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3117         (__ASSUME_CONNECT_SYSCALL): Likewise.
3118         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3119         (__ASSUME_CONNECT_SYSCALL): Likewise.
3121         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
3122         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
3123         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
3124         auto-generation list.
3125         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3126         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3127         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3128         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3129         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3130         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3131         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3132         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3133         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3134         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3135         * sysdeps/unix/sysv/linux/kernel-features.h
3136         (__ASSUME_ACCEPT_SYSCALL): New define.
3137         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3138         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3139         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
3140         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3141         (__ASSUME_ACCEPT_SYSCALL): Define.
3142         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3143         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3144         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3145         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3146         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3147         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3148         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3149         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3150         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
3152 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
3153             Zack Weinberg  <zackw@panix.com>
3155         * posix/test-errno.c: New file.
3156         * posix/Makefile (tests): Add test-errno.
3157         * sysdeps/unix/sysv/linux/test-errno.c: New file.
3158         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
3160 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
3162         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3164 2017-03-07  Florian Weimer  <fweimer@redhat.com>
3166         * time/tzset.c (compute_offset): Open-code min macro.
3167         (min, max, sign): Remove.
3169 2017-03-07  Florian Weimer  <fweimer@redhat.com>
3171         [BZ #15576]
3172         Remove TZNAME_MAX limit from sysconf.
3173         * include/time.h (__tzname_cur_max, __tzname_max): Remove
3174         declaration.
3175         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
3176         compute_tzname_max.
3177         (compute_tzname_max): Remove.
3178         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
3179         (update_vars): Do not update __tzname_cur_max.
3180         (tzset_internal): Remove argument.
3181         (__tzset): Adjust call to tzset_internal.
3182         (__tz_convert): Likewise.
3184         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
3185         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3186         * manual/conf.texi (Sysconf Definition): Update comment.
3188 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3190         [BZ #21209]
3191         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
3192         AT_SECURE processes.
3193         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
3194         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
3195         (test_child): Likewise.
3196         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
3198 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3200         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
3202 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3204         * sysdeps/s390/atomic-machine.h
3205         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
3206         (__arch_compare_and_exchange_val_8_acq,
3207         __arch_compare_and_exchange_val_16_acq,
3208         __arch_compare_and_exchange_val_32_acq,
3209         __arch_compare_and_exchange_val_64_acq):
3210         Delete macro.
3211         (atomic_compare_and_exchange_val_acq,
3212         atomic_compare_and_exchange_val_rel,
3213         atomic_compare_and_exchange_bool_acq,
3214         catomic_compare_and_exchange_bool_acq,
3215         atomic_exchange_acq, atomic_exchange_rel,
3216         atomic_exchange_and_add_acq,
3217         atomic_exchange_and_add_rel,
3218         catomic_exchange_and_add, atomic_or_val,
3219         atomic_or, catomic_or, atomic_bit_test_set,
3220         atomic_and_val, atomic_and, catomic_and):
3221         Define macros with help of C11 atomic builtins.
3223 2017-03-03  Justus Winter <justus@gnupg.org>
3225         * sysdeps/mach/hurd/ftruncate64.c: New file.
3226         * sysdeps/mach/hurd/truncate64.c: Likewise.
3228 2017-03-03  Florian Weimer  <fweimer@redhat.com>
3230         * time/tzfile.c (NOID): Do not define.
3231         * time/tzset.c (NOID): Likewise.
3233 2017-03-03  Florian Weimer  <fweimer@redhat.com>
3235         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
3237 2017-03-02  Florian Weimer  <fweimer@redhat.com>
3239         * elf/get-dynamic-info.h: Remove header file inclusion guard.
3241 2017-03-02  Florian Weimer  <fweimer@redhat.com>
3243         [BZ #21015]
3244         * manual/install.texi (Configuring and compiling): Document
3245         --enable-bind-now.
3246         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
3247         (build-shlib-helper): Use $(LDFLAGS-lib.so).
3248         (format.lds): Likewise.
3249         [bind-now] (LDFLAGS-c.so): Remove.
3250         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
3251         be R_X86_64_GLOB_DAT.
3252         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
3253         relocation can be R_386_GLOB_DAT.
3254         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
3255         relocaiton can be R_ALPHA_GLOB_DAT.
3256         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
3258 2017-03-01  Zack Weinberg  <zackw@panix.com>
3260         * include/libc-pointer-arith.h: New file.  Define
3261         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
3262         PTR_ALIGN_DOWN here.
3263         * include/libc-internal.h: Definitions of above macros
3264         moved from here.  Don't include libc-diag.h anymore either.
3265         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
3266         Don't include libc-internal.h.
3268         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
3269         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
3270         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
3271         * string/strcoll_l.c, sysdeps/nacl/brk.c
3272         * sysdeps/unix/clock_settime.c
3273         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
3274         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
3275         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
3276         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
3277         Don't include libc-internal.h.
3279         * elf/get-dynamic-info.h, iconv/loop.c
3280         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
3281         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
3282         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
3283         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
3284         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3285         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
3286         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3287         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
3288         * sysdeps/ieee754/ldbl-128/k_tanl.c
3289         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3290         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3291         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
3292         Include libc-diag.h instead of libc-internal.h.
3294         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
3295         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
3296         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
3297         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
3298         * sysdeps/unix/sysv/linux/spawni.c
3299         * sysdeps/x86_64/nptl/tls.h:
3300         Include libc-pointer-arith.h instead of libc-internal.h.
3302         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
3303         * sysdeps/x86_64/atomic-machine.h:
3304         Add multiple include guard.
3306         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
3307         * string/strcasestr.c: No need to include config.h.
3308         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
3309         sys/auxv.h. Don't include sysdep.h.
3310         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
3312         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
3313         DL_LOOKUP_ADDRESS.
3314         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
3315         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
3316         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
3317         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
3318         of ARTIFICIAL_LIMIT.
3319         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
3320         declaration of __clone2.
3322 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3324         * scripts/backport-support.sh (latest_commit): New file.
3326 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3328         [BZ #20257]
3329         * inet/Makefile (routines): Add deadline.
3330         (tests-static): Add tst-deadline.
3331         * inet/net-internal.h (struct deadline_current_time)
3332         (__deadline_current_time, struct deadline, __deadline_is_infinite)
3333         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
3334         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
3335         * inet/deadline.c: New file.
3336         * inet/tst-deadline.c: Likewise.
3337         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
3338         tst-udp-timeout, tst-udp-garbage.
3339         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
3340         explicitly.
3341         (tst-udp-garbage): Likewise.  Also link against thread library.
3342         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
3343         struct layout is part of the ABI.
3344         (clntudp_call): Rework timeout handling.
3345         * sunrpc/tst-udp-garbage.c: New file.
3346         * sunrpc/tst-udp-nonblocking.c: Likewise.
3347         * sunrpc/tst-udp-timeout.c: Likewise.
3349 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3351         [BZ #5010]
3352         * sunrpc/svc.c (svc_is_mapped): Remove.
3353         (svc_unregister): Obtain mapped status while the service is still
3354         registered.
3355         * sunrpc/Makefile [have-thread-library] (tests): Add
3356         tst-svc_register.
3357         (tst-svc_register): Link against libc.so explicitly and the thread
3358         library.
3359         * sunrpc/tst-svc_register.c: New file.
3361 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3363         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
3364         * sysdeps/pthread/bits/sigthread.h: Likewise.
3366 2017-02-27  Florian Weimer  <fweimer@redhat.com>
3368         [BZ #21115]
3369         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
3370         * sunrpc/Makefile (tests): Add tst-udp-error.
3371         (tst-udp-error): Link against libc.so explicitly.
3372         * sunrpc/tst-udp-error: New file.
3374 2017-02-25  Zack Weinberg  <zackw@panix.com>
3376         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
3377         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
3379         * sysdeps/generic/math_ldbl.h
3380         * sysdeps/ia64/fpu/math_ldbl.h
3381         * sysdeps/ieee754/ldbl-128/math_ldbl.h
3382         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3383         * sysdeps/ieee754/ldbl-96/math_ldbl.h
3384         * sysdeps/powerpc/fpu/math_ldbl.h
3385         * sysdeps/x86_64/fpu/math_ldbl.h:
3386         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
3387         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
3388         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
3389         Add copyright notices.
3391         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3392         Don't use EXTRACT_WORDS64.
3394         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
3395         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
3396         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
3397         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
3398         Include math_ldbl.h, not math_private.h.
3400 2017-02-25  Zack Weinberg  <zackw@panix.com>
3402         * include/libc-diag.h: New file.  Define ignore_value,
3403         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
3404         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
3406         * include/libc-internal.h: Definitions of above macros moved from
3407         here.  Include libc-diag.h.  Add copyright notice.
3409         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
3410         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
3411         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
3412         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
3413         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
3414         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
3415         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
3416         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
3417         Include libc-diag.h instead of libc-internal.h.
3419         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
3420         call to unsetenv (NULL).
3421         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
3422         call to pthread_mutexattr_destroy (NULL).
3424 2017-02-25  Zack Weinberg  <zackw@panix.com>
3426         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
3427         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
3428         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
3429         gets was removed from C++ in C++14.
3430         * include/stdio.h: Remove redundant declaration of gets.
3431         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
3432         be declared, since we are testing it.
3433         * stdio-common/Makefile (tst-gets.c): Compile with
3434         -Wno-deprecated-declarations.
3435         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
3436         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
3437         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
3438         Compile with -Wno-deprecated-declarations.
3440 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3442         * math/libm-test-support.c (check_ulp): Use LIT() around literal
3443         numbers.
3445 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3447         * resolv/tst-resolv-qtypes.c (domain):
3448         Change type to const pointer to const char.
3450 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
3452         * math/Makefile (libm-tests-generated): Remove variable.
3453         (libm-tests-base-normal): New variable.
3454         (libm-tests-base-finite): Likewise.
3455         (libm-tests-base-inline): Likewise.
3456         (libm-tests-base): Likewise.
3457         (libm-tests-normal): Likewise.
3458         (libm-tests-finite): Likewise.
3459         (libm-tests-inline): Likewise.
3460         (libm-tests-vector): Likewise.
3461         (libm-tests): Define in terms of these new variables.
3462         (libm-tests-for-type): New variable.
3463         (libm-tests.o): Move definition.
3464         (tests): Move addition of $(libm-tests).
3465         (generated): Update for new and removed libm test files.
3466         ($(objpfx)libm-test.c): Remove target.
3467         ($(objpfx)libm-have-vector-test.h): Likewise.
3468         (CFLAGS-test-double-vlen2.c): Remove variable.
3469         (CFLAGS-test-double-vlen4.c): Likewise.
3470         (CFLAGS-test-double-vlen8.c): Likewise.
3471         (CFLAGS-test-float-vlen4.c): Likewise.
3472         (CFLAGS-test-float-vlen8.c): Likewise.
3473         (CFLAGS-test-float-vlen16.c): Likewise.
3474         (CFLAGS-test-float.c): Likewise.
3475         (CFLAGS-test-float-finite.c): Likewise.
3476         (CFLAGS-libm-test-support-float.c): Likewise.
3477         (CFLAGS-test-double.c): Likewise.
3478         (CFLAGS-test-double-finite.c): Likewise.
3479         (CFLAGS-libm-test-support-double.c): Likewise.
3480         (CFLAGS-test-ldouble.c): Likewise.
3481         (CFLAGS-test-ldouble-finite.c): Likewise.
3482         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3483         (libm-test-inline-cflags): New variable.
3484         (CFLAGS-test-ifloat.c): Remove variable.
3485         (CFLAGS-test-idouble.c): Likewise.
3486         (CFLAGS-test-ildouble.c): Likewise.
3487         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
3488         dependencies.
3489         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
3490         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
3491         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
3492         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
3493         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
3494         Likewise.
3495         (dependencies on libm-test-support-*.o): Remove.
3496         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
3497         rules using iterators.
3498         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
3499         Likewise.
3500         ($(objpfx)libm-test-support-$(o).o): Likewise.
3501         ($(addprefix $(objpfx),$(filter-out $(tests-static)
3502         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
3503         instead.
3504         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
3505         define rule instead.
3506         * math/README.libm-test: Update.
3507         * math/libm-test-acos.inc: Include libm-test-driver.c.
3508         (do_test): New function.
3509         * math/libm-test-acosh.inc: Include libm-test-driver.c.
3510         (do_test): New function.
3511         * math/libm-test-asin.inc: Include libm-test-driver.c.
3512         (do_test): New function.
3513         * math/libm-test-asinh.inc: Include libm-test-driver.c.
3514         (do_test): New function.
3515         * math/libm-test-atan.inc: Include libm-test-driver.c.
3516         (do_test): New function.
3517         * math/libm-test-atan2.inc: Include libm-test-driver.c.
3518         (do_test): New function.
3519         * math/libm-test-atanh.inc: Include libm-test-driver.c.
3520         (do_test): New function.
3521         * math/libm-test-cabs.inc: Include libm-test-driver.c.
3522         (do_test): New function.
3523         * math/libm-test-cacos.inc: Include libm-test-driver.c.
3524         (do_test): New function.
3525         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
3526         (do_test): New function.
3527         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
3528         (do_test): New function.
3529         * math/libm-test-carg.inc: Include libm-test-driver.c.
3530         (do_test): New function.
3531         * math/libm-test-casin.inc: Include libm-test-driver.c.
3532         (do_test): New function.
3533         * math/libm-test-casinh.inc: Include libm-test-driver.c.
3534         (do_test): New function.
3535         * math/libm-test-catan.inc: Include libm-test-driver.c.
3536         (do_test): New function.
3537         * math/libm-test-catanh.inc: Include libm-test-driver.c.
3538         (do_test): New function.
3539         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
3540         (do_test): New function.
3541         * math/libm-test-ccos.inc: Include libm-test-driver.c.
3542         (do_test): New function.
3543         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
3544         (do_test): New function.
3545         * math/libm-test-ceil.inc: Include libm-test-driver.c.
3546         (do_test): New function.
3547         * math/libm-test-cexp.inc: Include libm-test-driver.c.
3548         (do_test): New function.
3549         * math/libm-test-cimag.inc: Include libm-test-driver.c.
3550         (do_test): New function.
3551         * math/libm-test-clog.inc: Include libm-test-driver.c.
3552         (do_test): New function.
3553         * math/libm-test-clog10.inc: Include libm-test-driver.c.
3554         (do_test): New function.
3555         * math/libm-test-conj.inc: Include libm-test-driver.c.
3556         (do_test): New function.
3557         * math/libm-test-copysign.inc: Include libm-test-driver.c.
3558         (do_test): New function.
3559         * math/libm-test-cos.inc: Include libm-test-driver.c.
3560         (do_test): New function.
3561         * math/libm-test-cosh.inc: Include libm-test-driver.c.
3562         (do_test): New function.
3563         * math/libm-test-cpow.inc: Include libm-test-driver.c.
3564         (do_test): New function.
3565         * math/libm-test-cproj.inc: Include libm-test-driver.c.
3566         (do_test): New function.
3567         * math/libm-test-creal.inc: Include libm-test-driver.c.
3568         (do_test): New function.
3569         * math/libm-test-csin.inc: Include libm-test-driver.c.
3570         (do_test): New function.
3571         * math/libm-test-csinh.inc: Include libm-test-driver.c.
3572         (do_test): New function.
3573         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
3574         (do_test): New function.
3575         * math/libm-test-ctan.inc: Include libm-test-driver.c.
3576         (do_test): New function.
3577         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
3578         (do_test): New function.
3579         * math/libm-test-erf.inc: Include libm-test-driver.c.
3580         (do_test): New function.
3581         * math/libm-test-erfc.inc: Include libm-test-driver.c.
3582         (do_test): New function.
3583         * math/libm-test-exp.inc: Include libm-test-driver.c.
3584         (do_test): New function.
3585         * math/libm-test-exp10.inc: Include libm-test-driver.c.
3586         (do_test): New function.
3587         * math/libm-test-exp2.inc: Include libm-test-driver.c.
3588         (do_test): New function.
3589         * math/libm-test-expm1.inc: Include libm-test-driver.c.
3590         (do_test): New function.
3591         * math/libm-test-fabs.inc: Include libm-test-driver.c.
3592         (do_test): New function.
3593         * math/libm-test-fdim.inc: Include libm-test-driver.c.
3594         (do_test): New function.
3595         * math/libm-test-floor.inc: Include libm-test-driver.c.
3596         (do_test): New function.
3597         * math/libm-test-fma.inc: Include libm-test-driver.c.
3598         (do_test): New function.
3599         * math/libm-test-fmax.inc: Include libm-test-driver.c.
3600         (do_test): New function.
3601         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
3602         (do_test): New function.
3603         * math/libm-test-fmin.inc: Include libm-test-driver.c.
3604         (do_test): New function.
3605         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
3606         (do_test): New function.
3607         * math/libm-test-fmod.inc: Include libm-test-driver.c.
3608         (do_test): New function.
3609         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
3610         (do_test): New function.
3611         * math/libm-test-frexp.inc: Include libm-test-driver.c.
3612         (do_test): New function.
3613         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
3614         (do_test): New function.
3615         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
3616         (do_test): New function.
3617         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
3618         (do_test): New function.
3619         * math/libm-test-hypot.inc: Include libm-test-driver.c.
3620         (do_test): New function.
3621         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
3622         (do_test): New function.
3623         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
3624         (do_test): New function.
3625         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
3626         (do_test): New function.
3627         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
3628         (do_test): New function.
3629         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
3630         (do_test): New function.
3631         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
3632         (do_test): New function.
3633         * math/libm-test-isinf.inc: Include libm-test-driver.c.
3634         (do_test): New function.
3635         * math/libm-test-isless.inc: Include libm-test-driver.c.
3636         (do_test): New function.
3637         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
3638         (do_test): New function.
3639         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
3640         (do_test): New function.
3641         * math/libm-test-isnan.inc: Include libm-test-driver.c.
3642         (do_test): New function.
3643         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
3644         (do_test): New function.
3645         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
3646         (do_test): New function.
3647         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
3648         (do_test): New function.
3649         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
3650         (do_test): New function.
3651         * math/libm-test-iszero.inc: Include libm-test-driver.c.
3652         (do_test): New function.
3653         * math/libm-test-j0.inc: Include libm-test-driver.c.
3654         (do_test): New function.
3655         * math/libm-test-j1.inc: Include libm-test-driver.c.
3656         (do_test): New function.
3657         * math/libm-test-jn.inc: Include libm-test-driver.c.
3658         (do_test): New function.
3659         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
3660         (do_test): New function.
3661         * math/libm-test-llogb.inc: Include libm-test-driver.c.
3662         (do_test): New function.
3663         * math/libm-test-llrint.inc: Include libm-test-driver.c.
3664         (do_test): New function.
3665         * math/libm-test-llround.inc: Include libm-test-driver.c.
3666         (do_test): New function.
3667         * math/libm-test-log.inc: Include libm-test-driver.c.
3668         (do_test): New function.
3669         * math/libm-test-log10.inc: Include libm-test-driver.c.
3670         (do_test): New function.
3671         * math/libm-test-log1p.inc: Include libm-test-driver.c.
3672         (do_test): New function.
3673         * math/libm-test-log2.inc: Include libm-test-driver.c.
3674         (do_test): New function.
3675         * math/libm-test-logb.inc: Include libm-test-driver.c.
3676         (do_test): New function.
3677         * math/libm-test-lrint.inc: Include libm-test-driver.c.
3678         (do_test): New function.
3679         * math/libm-test-lround.inc: Include libm-test-driver.c.
3680         (do_test): New function.
3681         * math/libm-test-modf.inc: Include libm-test-driver.c.
3682         (do_test): New function.
3683         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
3684         (do_test): New function.
3685         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
3686         (do_test): New function.
3687         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
3688         (do_test): New function.
3689         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
3690         (do_test): New function.
3691         * math/libm-test-nextup.inc: Include libm-test-driver.c.
3692         (do_test): New function.
3693         * math/libm-test-pow.inc: Include libm-test-driver.c.
3694         (do_test): New function.
3695         * math/libm-test-remainder.inc: Include libm-test-driver.c.
3696         (do_test): New function.
3697         * math/libm-test-remquo.inc: Include libm-test-driver.c.
3698         (do_test): New function.
3699         * math/libm-test-rint.inc: Include libm-test-driver.c.
3700         (do_test): New function.
3701         * math/libm-test-round.inc: Include libm-test-driver.c.
3702         (do_test): New function.
3703         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
3704         (do_test): New function.
3705         * math/libm-test-scalb.inc: Include libm-test-driver.c.
3706         (do_test): New function.
3707         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
3708         (do_test): New function.
3709         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
3710         (do_test): New function.
3711         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
3712         (do_test): New function.
3713         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
3714         (do_test): New function.
3715         * math/libm-test-signbit.inc: Include libm-test-driver.c.
3716         (do_test): New function.
3717         * math/libm-test-significand.inc: Include libm-test-driver.c.
3718         (do_test): New function.
3719         * math/libm-test-sin.inc: Include libm-test-driver.c.
3720         (do_test): New function.
3721         * math/libm-test-sincos.inc: Include libm-test-driver.c.
3722         (do_test): New function.
3723         * math/libm-test-sinh.inc: Include libm-test-driver.c.
3724         (do_test): New function.
3725         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
3726         (do_test): New function.
3727         * math/libm-test-tan.inc: Include libm-test-driver.c.
3728         (do_test): New function.
3729         * math/libm-test-tanh.inc: Include libm-test-driver.c.
3730         (do_test): New function.
3731         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
3732         (do_test): New function.
3733         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
3734         (do_test): New function.
3735         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
3736         (do_test): New function.
3737         * math/libm-test-trunc.inc: Include libm-test-driver.c.
3738         (do_test): New function.
3739         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
3740         (do_test): New function.
3741         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
3742         (do_test): New function.
3743         * math/libm-test-y0.inc: Include libm-test-driver.c.
3744         (do_test): New function.
3745         * math/libm-test-y1.inc: Include libm-test-driver.c.
3746         (do_test): New function.
3747         * math/libm-test-yn.inc: Include libm-test-driver.c.
3748         (do_test): New function.
3749         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
3750         (HAVE_VECTOR): Remove macro.
3751         (START): Do not call HAVE_VECTOR.
3752         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
3753         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
3754         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
3755         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
3756         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
3757         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
3758         * math/test-math-vector.h (FUNC_TEST): New macro.
3759         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
3760         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
3761         (double-vlen4-funcs): Likewise.
3762         (double-vlen4-avx2-funcs): Likewise.
3763         (double-vlen8-funcs): Likewise.
3764         (float-vlen4-funcs): Likewise.
3765         (float-vlen8-funcs): Likewise.
3766         (float-vlen8-avx2-funcs): Likewise.
3767         (float-vlen16-funcs): Likewise.
3768         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
3769         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
3770         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
3771         macro.
3772         (TEST_VECTOR_sin): Likewise.
3773         (TEST_VECTOR_sincos): Likewise.
3774         (TEST_VECTOR_log): Likewise.
3775         (TEST_VECTOR_exp): Likewise.
3776         (TEST_VECTOR_pow): Likewise.
3777         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
3778         Likewise.
3779         (TEST_VECTOR_sin): Likewise.
3780         (TEST_VECTOR_sincos): Likewise.
3781         (TEST_VECTOR_log): Likewise.
3782         (TEST_VECTOR_exp): Likewise.
3783         (TEST_VECTOR_pow): Likewise.
3784         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
3785         Likewise.
3786         (TEST_VECTOR_sinf): Likewise.
3787         (TEST_VECTOR_sincosf): Likewise.
3788         (TEST_VECTOR_logf): Likewise.
3789         (TEST_VECTOR_expf): Likewise.
3790         (TEST_VECTOR_powf): Likewise.
3791         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
3792         Likewise.
3793         (TEST_VECTOR_sinf): Likewise.
3794         (TEST_VECTOR_sincosf): Likewise.
3795         (TEST_VECTOR_logf): Likewise.
3796         (TEST_VECTOR_expf): Likewise.
3797         (TEST_VECTOR_powf): Likewise.
3798         * math/gen-libm-have-vector-test.sh: Remove file.
3799         * math/libm-test.inc: Likewise.
3800         * math/libm-test-support-double.c: Likewise.
3801         * math/libm-test-support-float.c: Likewise.
3802         * math/libm-test-support-ldouble.c: Likewise.
3803         * math/test-double-finite.c: Likewise.: Likewise.
3804         * math/test-double.c: Likewise.
3805         * math/test-float-finite.c: Likewise.
3806         * math/test-float.c: Likewise.
3807         * math/test-idouble.c: Likewise.
3808         * math/test-ifloat.c: Likewise.
3809         * math/test-ildouble.c: Likewise.
3810         * math/test-ldouble-finite.c: Likewise.
3811         * math/test-ldouble.c: Likewise.
3812         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3813         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
3814         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3815         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3816         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3817         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3818         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3819         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
3820         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3821         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3823 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3824            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3826         * math/Makefile: Add wrappers to gen-libm-calls.
3827         * math/w_acos_template.c: New file.
3828         * math/w_acosh_template.c: Likewise.
3829         * math/w_asin_template.c: Likewise.
3830         * math/w_atan2_template.c: Likewise.
3831         * math/w_atanh_template.c: Likewise.
3832         * math/w_cosh_template.c: Likewise.
3833         * math/w_exp10_template.c: Likewise.
3834         * math/w_exp2_template.c: Likewise.
3835         * math/w_exp_template.c: Likewise.
3836         * math/w_fmod_template.c: Likewise.
3837         * math/w_hypot_template.c: Likewise.
3838         * math/w_j0_template.c: Likewise.
3839         * math/w_j1_template.c: Likewise.
3840         * math/w_jn_template.c: Likewise.
3841         * math/w_lgamma_r_template.c: Likewise.
3842         * math/w_lgamma_template.c: Likewise.
3843         * math/w_log10_template.c: Likewise.
3844         * math/w_log2_template.c: Likewise.
3845         * math/w_log_template.c: Likewise.
3846         * math/w_pow_template.c: Likewise.
3847         * math/w_remainder_template.c: Likewise.
3848         * math/w_sinh_template.c: Likewise.
3849         * math/w_sqrt_template.c: Likewise.
3850         * math/w_tgamma_template.c: Likewise.: Likewise.
3851         * sysdeps/generic/math-type-macros-double.h
3852         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
3853         the new wrappers.
3854         * sysdeps/generic/math-type-macros-float.h: Likewise.
3855         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3857 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
3859         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
3860         New enum constant and macro.
3862         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3863         kernel version to 4.10.
3865 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
3867         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
3869 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3873 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3875         * sysdeps/powerpc/tst-set_ppr.c: New file.
3876         Implement test cases for __ppc_set_ppr_* functions.
3877         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
3878         in the list of tests.
3880 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3882         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
3883         instead of test-skeleton.c.
3884         (do_test): Replaced pthread_create and pthread_join with
3885         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
3886         Removed unneeded status variable.
3887         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
3888         instead of test-skeleton.c.
3889         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
3891 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
3893         [BZ #20313]
3894         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3895         201605L, for Unicode 9.
3897 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
3899         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
3900         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3901         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3902         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3903         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3904         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3906 2017-02-19  Zack Weinberg  <zackw@panix.com>
3908         * rt/tst-mqueue4.c: Include stdint.h.
3910 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3912         * sysdeps/arm/libm-test-ulps: Update.
3913         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3914         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3915         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3917 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3919         [BZ #21029]
3920         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
3921         * sysdeps/unix/sysv/linux/i386/Makefile
3922         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
3923         (uses-6-syscall-arguments): Remove.
3924         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
3925         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
3926         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
3927         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
3928         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
3929         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
3930         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
3931         [$(subdir) = misc] (cflags-pselect.o): Likewise.
3932         [$(subdir) = misc] (cflags-pselect.os): Likewise.
3933         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
3934         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
3935         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
3936         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
3937         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
3938         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
3939         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
3940         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
3941         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
3942         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
3943         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
3944         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
3945         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
3946         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
3947         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
3948         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
3949         Likewise.
3950         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
3951         Likewise.
3952         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
3953         Likewise.
3954         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
3955         Likewise.
3956         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
3957         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
3958         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
3959         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
3960         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
3961         ebp on inline assembly.
3962         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
3963         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3964         Set if CAN_USE_REGISTER_ASM_EBP is set.
3966 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
3968         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
3969         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
3971 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3973         * math/auto-libm-test-in: Add tests of catan and catanh.
3974         * math/auto-libm-test-out-catan: New generated file.
3975         * math/auto-libm-test-out-catanh: Likewise.
3976         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
3977         Move tests with finite inputs, except divide-by-zero cases, to
3978         auto-libm-test-in.
3979         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
3980         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
3981         (libm-test-funcs-noauto): Remove catan and catanh.
3982         * sysdeps/i386/fpu/libm-test-ulps: Update.
3983         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3986         * math/auto-libm-test-in: Add tests of casin and casinh.
3987         * math/auto-libm-test-out-casin: New generated file.
3988         * math/auto-libm-test-out-casinh: Likewise.
3989         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
3990         Move tests with finite inputs to auto-libm-test-in.
3991         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
3992         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
3993         (libm-test-funcs-noauto): Remove casin and casinh.
3994         * sysdeps/i386/fpu/libm-test-ulps: Update.
3995         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3998         * math/auto-libm-test-in: Add tests of cacos and cacosh.
3999         * math/auto-libm-test-out-cacos: New generated file.
4000         * math/auto-libm-test-out-cacosh: Likewise.
4001         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
4002         Move tests with finite inputs to auto-libm-test-in.
4003         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
4004         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
4005         (libm-test-funcs-noauto): Remove cacos and cacosh.
4006         * sysdeps/i386/fpu/libm-test-ulps: Update.
4007         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4010         Revert:
4011         2017-02-16  Zack Weinberg  <zackw@panix.com>
4013         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4014         Don't include init-arch.h.
4015         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4016         Don't include init-arch.h.
4018 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4020         [BZ #21171]
4021         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
4022         +Inf and raise divide-by-zero when x is negative.
4023         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
4024         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
4025         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
4026         -Inf and raise divide-by-zero when x = +-0.
4027         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4028         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4029         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
4030         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
4031         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4032         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4033         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4035 2017-02-16  Zack Weinberg  <zackw@panix.com>
4037         * scripts/build-many-glibcs.py (bot_build_mail): If the
4038         bot_config does not contain all of the necessary email-
4039         related settings, just print a warning and continue.
4041 2017-02-16  Zack Weinberg  <zackw@panix.com>
4043         * crypt/md5.h: Test _LIBC with #if defined, not #if.
4044         * dirent/opendir-tst1.c: Include sys/stat.h.
4045         * dirent/tst-fdopendir.c: Include sys/stat.h.
4046         * dirent/tst-fdopendir2.c: Include stdlib.h.
4047         * dirent/tst-scandir.c: Include stdbool.h.
4048         * elf/tst-auditmod1.c: Include link.h and stddef.h.
4049         * elf/tst-tls15.c: Include stdlib.h.
4050         * elf/tst-tls16.c: Include stdlib.h.
4051         * elf/tst-tls17.c: Include stdlib.h.
4052         * elf/tst-tls18.c: Include stdlib.h.
4053         * iconv/tst-iconv6.c: Include endian.h.
4054         * iconvdata/bug-iconv11.c: Include limits.h.
4055         * io/test-utime.c: Include stdint.h.
4056         * io/tst-faccessat.c: Include sys/stat.h.
4057         * io/tst-fchmodat.c: Include sys/stat.h.
4058         * io/tst-fchownat.c: Include sys/stat.h.
4059         * io/tst-fstatat.c: Include sys/stat.h.
4060         * io/tst-futimesat.c: Include sys/stat.h.
4061         * io/tst-linkat.c: Include sys/stat.h.
4062         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
4063         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
4064         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
4065         * io/tst-openat.c: Include stdbool.h.
4066         * io/tst-readlinkat.c: Include sys/stat.h.
4067         * io/tst-renameat.c: Include sys/stat.h.
4068         * io/tst-symlinkat.c: Include sys/stat.h.
4069         * io/tst-unlinkat.c: Include stdbool.h.
4070         * libio/bug-memstream1.c: Include stdlib.h.
4071         * libio/bug-wmemstream1.c: Include stdlib.h.
4072         * libio/tst-fwrite-error.c: Include stdlib.h.
4073         * libio/tst-memstream1.c: Include stdlib.h.
4074         * libio/tst-memstream2.c: Include stdlib.h.
4075         * libio/tst-memstream3.c: Include stdlib.h.
4076         * malloc/tst-interpose-aux.c: Include stdint.h.
4077         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
4078         * nptl/tst-basic7.c: Include limits.h.
4079         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
4080         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
4081         * nptl/tst-cancel4_1.c: Include stddef.h.
4082         * nptl/tst-cancel4_2.c: Include stddef.h.
4083         * nptl/tst-cond16.c: Include limits.h.
4084         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
4085         * nptl/tst-cond18.c: Include limits.h.
4086         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
4087         * nptl/tst-cond4.c: Include stdint.h.
4088         * nptl/tst-cond6.c: Include stdint.h.
4089         * nptl/tst-stack2.c: Include limits.h.
4090         * nptl/tst-stackguard1.c: Include stddef.h.
4091         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
4092         * nptl/tst-tls4moda.c: Include stddef.h.
4093         Don't include stdio.h, unistd.h, or tls.h.
4094         * nptl/tst-tls4modb.c: Include stddef.h.
4095         Don't include stdio.h, unistd.h, or tls.h.
4096         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
4097         * posix/tst-getaddrinfo2.c: Include stdio.h.
4098         * posix/tst-getaddrinfo5.c: Include stdio.h.
4099         * posix/tst-pathconf.c: Include sys/stat.h.
4100         * posix/tst-posix_fadvise-common.c: Include stdint.h.
4101         * posix/tst-preadwrite-common.c: Include sys/stat.h.
4102         * posix/tst-regex.c: Include stdint.h.
4103         Don't include spawn.h or spawn_int.h.
4104         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
4105         * posix/tst-vfork3.c: Include sys/stat.h.
4106         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
4107         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
4108         * resolv/tst-resolv-search.c: Include stdlib.h.
4109         * stdio-common/tst-fmemopen2.c: Include stdint.h.
4110         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
4111         * stdlib/test-canon.c: Include sys/stat.h.
4112         * stdlib/tst-tls-atexit.c: Include stdbool.h.
4113         * string/test-memchr.c: Include stdint.h.
4114         * string/tst-cmp.c: Include stdint.h.
4115         * sysdeps/pthread/tst-timer.c: Include stdint.h.
4116         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
4117         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
4118         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4119         Don't include init-arch.h.
4120         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4121         Don't include init-arch.h.
4122         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
4123         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
4124         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
4125         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
4126         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
4127         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
4128         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
4129         * time/clocktest.c: Include stdint.h.
4130         * time/tst-posixtz.c: Include stdint.h.
4131         * timezone/tst-timezone.c: Include stdint.h.
4133 2017-02-16  Zack Weinberg  <zackw@panix.com>
4135         * string/string.h [__USE_MISC]: Include strings.h.
4136         (__bzero, bcmp, bcopy, bzero, index, rindex)
4137         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
4138         (ffs, ffsl, ffsll): Don't declare.
4139         * string/strings.h: Do not suppress the file if string.h has
4140         already been included.
4141         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
4142         annotations.
4143         (index, rindex): Define inline forwarders even if
4144         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
4145         (ffs): Use __attribute_const__.
4146         (ffsl, ffsll): Declare here.
4147         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
4148         have now been standardized.
4149         * include/string.h (__bzero): Declare here.
4151         * bits/types.h: Move to posix/bits.
4152         * include/bits/types.h: New wrapper.
4154 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
4156         * string/bits/string2.h (strcmp): Remove define.
4157         (__strcmp_cg): Likewise.
4158         (strncmp): Likewise.
4160 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
4162         * include/string.h: Add __cplusplus check.
4164 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4166         [BZ #21134]
4167         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
4168         "divide by zero" exception when the input is zero.
4169         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
4170         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
4171         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
4172         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
4173         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4175 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
4177         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
4178         and include ...
4179         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
4180         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
4181         to, and include ...
4182         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
4183         file.
4184         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
4185         and include ...
4186         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
4187         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
4188         and include ...
4189         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
4190         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
4191         and include ...
4192         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
4193         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
4194         and include ...
4195         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
4196         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
4197         to, and include ...
4198         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
4199         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
4200         and include ...
4201         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
4203 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
4205         * math/libm-test-support.h: Do not include <math-tests-arch.h>
4206         here.
4207         * math/libm-test-support.c (libm_test_init): Do not call
4208         INIT_ARCH_EXT here.
4209         * math/libm-test-driver.c: Include <math-tests-arch.h>.
4210         (main): Call INIT_ARCH_EXT.
4212 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4214         [BZ #21130]
4215         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
4216         with the "invalid" exception raised when x is -Inf.
4217         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4219 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
4221         * string/bits/string2.h (strchr): Remove define.
4223 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
4225         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
4226         tst-avx512.
4227         (test-extras): Add tst-avx-aux and tst-avx512-aux.
4228         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
4229         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
4230         ($(objpfx)tst-sse): New rule.
4231         ($(objpfx)tst-avx): Likewise.
4232         ($(objpfx)tst-avx512): Likewise.
4233         (CFLAGS-tst-avx-aux.c): New.
4234         (CFLAGS-tst-avxmod.c): Likewise.
4235         (CFLAGS-tst-avx512-aux.c): Likewise.
4236         (CFLAGS-tst-avx512mod.c): Likewise.
4237         * sysdeps/x86_64/tst-avx-aux.c: New file.
4238         * sysdeps/x86_64/tst-avx.c: Likewise.
4239         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
4240         * sysdeps/x86_64/tst-avx512.c: Likewise.
4241         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
4242         * sysdeps/x86_64/tst-avxmod.c: Likewise.
4243         * sysdeps/x86_64/tst-sse.c: Likewise.
4244         * sysdeps/x86_64/tst-ssemod.c: Likewise.
4246 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
4248         * math/auto-libm-test-in: Add more tests of csin and csinh.
4249         * math/auto-libm-test-out-csin: Regenerated.
4250         * math/auto-libm-test-out-csinh: Likewise.
4251         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
4252         auto-libm-test-in.
4253         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
4255 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4257         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
4258         libm-compat-calls-auto.
4259         (libm-compat-calls): Likewise.
4260         (libm-compat-calls-auto): Rename to libm-compat-calls and add
4261         w_lgamma_compatF and k_standardF (merged from the items above).
4262         (libm-routines): Use libm-compat-calls, instead of
4263         libm-compat-calls-auto, with type-foreach.
4265 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
4267         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
4268         macro.
4269         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
4270         (CFLAGS-test-ifloat.c): ... this.  Remove
4271         -U__LIBC_INTERNAL_MATH_INLINES.
4272         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
4273         (CFLAGS-test-idouble.c): ... this.  Remove
4274         -U__LIBC_INTERNAL_MATH_INLINES.
4275         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
4276         (CFLAGS-test-ildouble.c): ... this.  Remove
4277         -U__LIBC_INTERNAL_MATH_INLINES.
4279 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
4281         * math/libm-test-support.c: New file.  Content from
4282         math/libm-test-driver.c.
4283         * math/libm-test-support.h: Likewise.
4284         * math/libm-test-support-double.c: New file.
4285         * math/libm-test-support-float.c: Likewise.
4286         * math/libm-test-support-ldouble.c: Likewise.
4287         * math/libm-test-driver.c: Remove main comment and header
4288         includes.  Include libm-test-support.h.
4289         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
4290         (flag_test_errno): Remove static.
4291         (flag_test_exceptions): Likewise.
4292         (flag_test_finite): Likewise.
4293         (flag_test_inline): Likewise.
4294         (flag_test_mathvec): Likewise.
4295         (test_msg): Likewise.
4296         (NO_EXCEPTION): Remove.
4297         (INVALID_EXCEPTION): Likewise.
4298         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
4299         (OVERFLOW_EXCEPTION): Likewise.
4300         (UNDERFLOW_EXCEPTION): Likewise.
4301         (INEXACT_EXCEPTION): Likewise.
4302         (INVALID_EXCEPTION_OK): Likewise.
4303         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4304         (OVERFLOW_EXCEPTION_OK): Likewise.
4305         (UNDERFLOW_EXCEPTION_OK): Likewise.
4306         (NO_INEXACT_EXCEPTION): Likewise.
4307         (EXCEPTIONS_OK): Likewise.
4308         (IGNORE_ZERO_INF_SIGN): Likewise.
4309         (TEST_NAN_SIGN): Likewise.
4310         (TEST_NAN_PAYLOAD): Likewise.
4311         (NO_TEST_INLINE): Likewise.
4312         (XFAIL_TEST): Likewise.
4313         (ERRNO_UNCHANGED): Likewise.
4314         (ERRNO_EDOM): Likewise.
4315         (ERRNO_ERANGE): Likewise.
4316         (IGNORE_RESULT): Likewise.
4317         (NON_FINITE): Likewise.
4318         (TEST_SNAN): Likewise.
4319         (NO_TEST_MATHVEC): Likewise.
4320         (__CONCATX): Likewise.
4321         (TYPE_MIN): Likewise.
4322         (TYPE_TRUE_MIN): Likewise.
4323         (TYPE_MAX): Likewise.
4324         (MIN_EXP): Likewise.
4325         (MAX_EXP): Likewise.
4326         (MANT_DIG): Likewise.
4327         (FSTR_MAX): Likewise.
4328         (ulp_idx): Likewise.
4329         (qtype_str): Remove static.
4330         (TEST_COND_binary32): Remove.
4331         (TEST_COND_binary64): Likewise.
4332         (TEST_COND_binary128): Likewise.
4333         (TEST_COND_ibm128): Likewise.
4334         (TEST_COND_intel96): Likewise.
4335         (TEST_COND_m68k96): Likewise.
4336         (TEST_COND_ibm128_libgcc): Likewise.
4337         (XFAIL_IBM128_LIBGCC): Likewise.
4338         (PAYLOAD_DIG): Likewise.
4339         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4340         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4341         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4342         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4343         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4344         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
4345         (TEST_COND_long32): Likewise.
4346         (TEST_COND_long64): Likewise.
4347         (TEST_COND_before_rounding): Likewise.
4348         (TEST_COND_after_rounding): Likewise.
4349         (ulps_file_name): Likewise.
4350         (ulps_file): Likewise.
4351         (output_ulps): Likewise.
4352         (output_dir): Likewise.
4353         (noErrors): Likewise.
4354         (noTests): Likewise.
4355         (noExcTests): Likewise.
4356         (noErrnoTests): Likewise.
4357         (verbose): Likewise.
4358         (output_max_error): Likewise.
4359         (output_points): Likewise.
4360         (ignore_max_ulp): Likewise.
4361         (max_error): Likewise.
4362         (real_max_error): Likewise.
4363         (imag_max_error): Likewise.
4364         (prev_max_error): Likewise.
4365         (prev_real_max_error): Likewise.
4366         (prev_imag_max_error): Likewise.
4367         (max_valid_error): Likewise.
4368         (TYPE_DECIMAL_DIG): Likewise.
4369         (TYPE_HEX_DIG): Likewise.
4370         (fmt_ftostr): Likewise.
4371         (compare_ulp_data): Likewise.
4372         (find_ulps): Likewise.
4373         (init_max_error): Likewise.
4374         (set_max_error): Likewise.
4375         (print_float): Likewise.
4376         (print_screen): Likewise.
4377         (print_screen_max_error): Likewise.
4378         (update_stats): Likewise.
4379         (print_function_ulps): Likewise.
4380         (print_complex_function_ulps): Likewise.
4381         (fpstack_test): Likewise.
4382         (print_max_error): Likewise.
4383         (print_complex_max_error): Likewise.
4384         (test_single_exception): Likewise.
4385         (test_exceptions): Likewise.
4386         (test_single_errno): Likewise.
4387         (test_errno): Likewise.
4388         (ULPDIFF): Likewise.
4389         (ulp): Likewise.
4390         (check_float_internal): Likewise.
4391         (check_float): Likewise.
4392         (check_complex): Likewise.
4393         (check_int): Likewise.
4394         (check_long): Likewise.
4395         (check_bool): Likewise.
4396         (check_longlong): Likewise.
4397         (check_intmax_t): Likewise.
4398         (check_uintmax_t): Likewise.
4399         (enable_test): Likewise.
4400         (matherr): Likewise.
4401         (initialize): Likewise.
4402         (options): Likewise.
4403         (doc): Remove static.
4404         (argp): Likewise.
4405         (parse_opt): Remove.
4406         (check_ulp): Likewise.
4407         (libm_test_init): Likewise.
4408         (libm_test_finish): Likewise.
4409         * math/Makefile (libm-test-support): New variable.
4410         (test-extras): Add libm-test-support files.
4411         (extra-test-objs): Likewise.
4412         (CFLAGS-libm-test-support-float.c): New variable.
4413         (CFLAGS-libm-test-support-double.c): Likewise.
4414         (CFLAGS-libm-test-support-ldouble.c): Likewise.
4415         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
4416         libm-test-support objects.
4418 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4420         * math/Makefile (libm-calls): Move w_exp...
4421         (libm-compat-calls-auto): Here.
4423         * math/w_expl.c: Add suffix "_compat" to filename.
4424         * sysdeps/ia64/fpu/w_expl.c: Likewise.
4425         * sysdeps/ia64/fpu/w_expf.c: Likewise.
4426         * sysdeps/ia64/fpu/w_exp.c: Likewise.
4427         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4428         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4429         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4430         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4431         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4433         * math/w_expl_compat.c: New file, copied from above.
4434         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
4435         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
4436         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
4437         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
4438         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4439         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4440         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4441         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4443         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
4444         to filename.
4445         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
4447         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
4448         copied from above and adjusted for the new filenames.
4449         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
4451 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4453         * math/Makefile (libm-calls): Move w_lgammaF...
4454         (libm-compat-calls-auto): Here.
4456         * math/w_lgamma.c: Add suffix "_compat2" to filename.
4457         * math/w_lgammaf.c: Likewise.
4458         * math/w_lgammal.c: Likewise.
4460         * math/w_lgamma_compat2.c: New file, copied from above.
4461         * math/w_lgammaf_compat2.c: Likewise.
4462         * math/w_lgammal_compat2.c: Likewise.
4464 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4466         * math/Makefile (libm-calls): Move w_lgammaF_r...
4467         (libm-compat-calls-auto): Here.
4469         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
4470         * math/w_lgammaf_r.c: Likewise.
4471         * math/w_lgammal_r.c: Likewise.
4472         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4473         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4474         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4476         * math/w_lgamma_r_compat.c: New file, copied from above.
4477         * math/w_lgammaf_r_compat.c: Likewise.
4478         * math/w_lgammal_r_compat.c: Likewise.
4479         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
4480         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
4481         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
4483         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
4484         to filename.
4485         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
4487         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
4488         copied from above and adjusted for the new filenames.
4489         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
4491 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
4493         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
4494         calculation in SYSCALL_ERROR_HANDLER().
4496 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
4498         * manual/contrib.texi: Fix typo.
4500 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4502         [BZ #21109]
4503         * elf/dl-tunable-types.h (tunable_callback_t): Accept
4504         tunable_val_t as argument.
4505         * elf/dl-tunables.c (__tunable_set_val): Add comment.
4506         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
4507         argument.
4508         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
4510 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
4512         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
4513         Add PTRACE_EVENT_STOP.
4514         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4515         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4516         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4517         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4518         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4519         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
4521 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
4523         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
4524         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
4525         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
4526         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
4527         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
4528         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
4529         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
4530         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
4531         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
4532         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
4534         [BZ #21112]
4535         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
4536         12 bits zero.
4537         (cp_l): Update for new value of cp_h.
4538         * math/auto-libm-test-in: Add another test of pow.
4539         * math/auto-libm-test-out-pow: Regenerated.
4541 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4543         * manual/contrib.texi: Fix typo.
4545 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4547         [BZ #15998]
4548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4549         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
4550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4552 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4554         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
4555         STRCHR as __strchr_power8.
4556         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
4557         strlen as __strlen_power8.
4559 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4561         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
4562         unaligned load for shorter strings.
4563         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
4565 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4567         * math/libm-test-driver.c (flag_test_errno): New variable.
4568         (flag_test_exceptions): Likewise.
4569         (flag_test_finite): Likewise.
4570         (flag_test_inline): Likewise.
4571         (flag_test_mathvec): Likewise.
4572         (test_msg): Likewise.
4573         (ulp_idx): Likewise.
4574         (qtype_str): Likewise.
4575         (ULP_IDX): Remove macro.
4576         (QTYPE_STR): Likewise.
4577         (find_ulps): Use ulp_idx not ULP_IDX.
4578         (print_function_ulps): Use qtype_str, printed with %s, not
4579         QTYPE_STR, printed with concatentation to format string.
4580         (print_complex_function_ulps): Likewise.
4581         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
4582         (test_errno): Use flag_test_errno not TEST_ERRNO.
4583         (enable_test): Use flag_test_inline, flag_test_finite and
4584         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
4585         TEST_MATHVEC.
4586         (libm_test_init): New function.  Factored out of main.
4587         (libm_test_finish): Likewise.
4588         (main): Call libm_test_init and libm_test_finish and move most
4589         code to those functions.
4591         * math/libm-test-driver.c (STRX): New macro.
4592         (STR): Likewise.
4593         (STR_FLOAT): Likewise.
4594         (STR_VEC_LEN): Likewise.
4595         (TEST_MSG): Likewise.  Define here instead of expecting to be
4596         defined by including file.
4597         * math/test-double-finite.c (TEST_MSG): Remove macro.
4598         * math/test-double-vlen2.h (TEST_MSG): Likewise.
4599         * math/test-double-vlen4.h (TEST_MSG): Likewise.
4600         * math/test-double-vlen8.h (TEST_MSG): Likewise.
4601         * math/test-double.c (TEST_MSG): Likewise.
4602         * math/test-float-finite.c (TEST_MSG): Likewise.
4603         * math/test-float-vlen16.h (TEST_MSG): Likewise.
4604         * math/test-float-vlen4.h (TEST_MSG): Likewise.
4605         * math/test-float-vlen8.h (TEST_MSG): Likewise.
4606         * math/test-float.c (TEST_MSG): Likewise.
4607         * math/test-idouble.c (TEST_MSG): Likewise.
4608         * math/test-ifloat.c (TEST_MSG): Likewise.
4609         * math/test-ildouble.c (TEST_MSG): Likewise.
4610         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
4611         * math/test-ldouble.c (TEST_MSG): Likewise.
4613         * math/libm-test.inc: Move all tests of individual functions to
4614         libm-test-*.inc and #include libm-test-*.c files.
4615         (acos_test_data): Remove.
4616         (acos_test): Likewise.
4617         (acosh_test_data): Likewise.
4618         (acosh_test): Likewise.
4619         (asin_test_data): Likewise.
4620         (asin_test): Likewise.
4621         (asinh_test_data): Likewise.
4622         (asinh_test): Likewise.
4623         (atan_test_data): Likewise.
4624         (atan_test): Likewise.
4625         (atanh_test_data): Likewise.
4626         (atanh_test): Likewise.
4627         (atan2_test_data): Likewise.
4628         (atan2_test): Likewise.
4629         (cabs_test_data): Likewise.
4630         (cabs_test): Likewise.
4631         (cacos_test_data): Likewise.
4632         (cacos_test): Likewise.
4633         (cacosh_test_data): Likewise.
4634         (cacosh_test): Likewise.
4635         (canonicalize_test_data): Likewise.
4636         (canonicalize_test): Likewise.
4637         (carg_test_data): Likewise.
4638         (carg_test): Likewise.
4639         (casin_test_data): Likewise.
4640         (casin_test): Likewise.
4641         (casinh_test_data): Likewise.
4642         (casinh_test): Likewise.
4643         (catan_test_data): Likewise.
4644         (catan_test): Likewise.
4645         (catanh_test_data): Likewise.
4646         (catanh_test): Likewise.
4647         (cbrt_test_data): Likewise.
4648         (cbrt_test): Likewise.
4649         (ccos_test_data): Likewise.
4650         (ccos_test): Likewise.
4651         (ccosh_test_data): Likewise.
4652         (ccosh_test): Likewise.
4653         (ceil_test_data): Likewise.
4654         (ceil_test): Likewise.
4655         (cexp_test_data): Likewise.
4656         (cexp_test): Likewise.
4657         (cimag_test_data): Likewise.
4658         (cimag_test): Likewise.
4659         (clog_test_data): Likewise.
4660         (clog_test): Likewise.
4661         (clog10_test_data): Likewise.
4662         (clog10_test): Likewise.
4663         (conj_test_data): Likewise.
4664         (conj_test): Likewise.
4665         (copysign_test_data): Likewise.
4666         (copysign_test): Likewise.
4667         (cos_test_data): Likewise.
4668         (cos_test): Likewise.
4669         (cosh_test_data): Likewise.
4670         (cosh_test): Likewise.
4671         (cpow_test_data): Likewise.
4672         (cpow_test): Likewise.
4673         (cproj_test_data): Likewise.
4674         (cproj_test): Likewise.
4675         (creal_test_data): Likewise.
4676         (creal_test): Likewise.
4677         (csin_test_data): Likewise.
4678         (csin_test): Likewise.
4679         (csinh_test_data): Likewise.
4680         (csinh_test): Likewise.
4681         (csqrt_test_data): Likewise.
4682         (csqrt_test): Likewise.
4683         (ctan_test_data): Likewise.
4684         (ctan_test): Likewise.
4685         (ctanh_test_data): Likewise.
4686         (ctanh_test): Likewise.
4687         (erf_test_data): Likewise.
4688         (erf_test): Likewise.
4689         (erfc_test_data): Likewise.
4690         (erfc_test): Likewise.
4691         (exp_test_data): Likewise.
4692         (exp_test): Likewise.
4693         (exp10_test_data): Likewise.
4694         (exp10_test): Likewise.
4695         (pow10_test): Likewise.
4696         (exp2_test_data): Likewise.
4697         (exp2_test): Likewise.
4698         (expm1_test_data): Likewise.
4699         (expm1_test): Likewise.
4700         (fabs_test_data): Likewise.
4701         (fabs_test): Likewise.
4702         (fdim_test_data): Likewise.
4703         (fdim_test): Likewise.
4704         (floor_test_data): Likewise.
4705         (floor_test): Likewise.
4706         (fma_test_data): Likewise.
4707         (fma_test): Likewise.
4708         (fmax_test_data): Likewise.
4709         (fmax_test): Likewise.
4710         (fmaxmag_test_data): Likewise.
4711         (fmaxmag_test): Likewise.
4712         (fmin_test_data): Likewise.
4713         (fmin_test): Likewise.
4714         (fminmag_test_data): Likewise.
4715         (fminmag_test): Likewise.
4716         (fmod_test_data): Likewise.
4717         (fmod_test): Likewise.
4718         (fpclassify_test_data): Likewise.
4719         (fpclassify_test): Likewise.
4720         (frexp_test_data): Likewise.
4721         (frexp_test): Likewise.
4722         (fromfp_test_data): Likewise.
4723         (fromfp_test): Likewise.
4724         (fromfpx_test_data): Likewise.
4725         (fromfpx_test): Likewise.
4726         (getpayload_test_data): Likewise.
4727         (getpayload_test): Likewise.
4728         (hypot_test_data): Likewise.
4729         (hypot_test): Likewise.
4730         (ilogb_test_data): Likewise.
4731         (ilogb_test): Likewise.
4732         (iscanonical_test_data): Likewise.
4733         (iscanonical_test): Likewise.
4734         (iseqsig_test_data): Likewise.
4735         (iseqsig_test): Likewise.
4736         (isfinite_test_data): Likewise.
4737         (isfinite_test): Likewise.
4738         (finite_test): Likewise.
4739         (isgreater_test_data): Likewise.
4740         (isgreater_test): Likewise.
4741         (isgreaterequal_test_data): Likewise.
4742         (isgreaterequal_test): Likewise.
4743         (isinf_test_data): Likewise.
4744         (isinf_test): Likewise.
4745         (isless_test_data): Likewise.
4746         (isless_test): Likewise.
4747         (islessequal_test_data): Likewise.
4748         (islessequal_test): Likewise.
4749         (islessgreater_test_data): Likewise.
4750         (islessgreater_test): Likewise.
4751         (isnan_test_data): Likewise.
4752         (isnan_test): Likewise.
4753         (isnormal_test_data): Likewise.
4754         (isnormal_test): Likewise.
4755         (issignaling_test_data): Likewise.
4756         (issignaling_test): Likewise.
4757         (issubnormal_test_data): Likewise.
4758         (issubnormal_test): Likewise.
4759         (isunordered_test_data): Likewise.
4760         (isunordered_test): Likewise.
4761         (iszero_test_data): Likewise.
4762         (iszero_test): Likewise.
4763         (j0_test_data): Likewise.
4764         (j0_test): Likewise.
4765         (j1_test_data): Likewise.
4766         (j1_test): Likewise.
4767         (jn_test_data): Likewise.
4768         (jn_test): Likewise.
4769         (lgamma_test_data): Likewise.
4770         (lgamma_test): Likewise.
4771         (gamma_test): Likewise.
4772         (llogb_test_data): Likewise.
4773         (llogb_test): Likewise.
4774         (lrint_test_data): Likewise.
4775         (lrint_test): Likewise.
4776         (llrint_test_data): Likewise.
4777         (llrint_test): Likewise.
4778         (log_test_data): Likewise.
4779         (log_test): Likewise.
4780         (log10_test_data): Likewise.
4781         (log10_test): Likewise.
4782         (log1p_test_data): Likewise.
4783         (log1p_test): Likewise.
4784         (log2_test_data): Likewise.
4785         (log2_test): Likewise.
4786         (logb_test_data): Likewise.
4787         (logb_test): Likewise.
4788         (lround_test_data): Likewise.
4789         (lround_test): Likewise.
4790         (llround_test_data): Likewise.
4791         (llround_test): Likewise.
4792         (modf_test_data): Likewise.
4793         (modf_test): Likewise.
4794         (nearbyint_test_data): Likewise.
4795         (nearbyint_test): Likewise.
4796         (nextafter_test_data): Likewise.
4797         (nextafter_test): Likewise.
4798         (nextup_test_data): Likewise.
4799         (nextup_test): Likewise.
4800         (nextdown_test_data): Likewise.
4801         (nextdown_test): Likewise.
4802         (nexttoward_test_data): Likewise.
4803         (nexttoward_test): Likewise.
4804         (pow_test_data): Likewise.
4805         (pow_test): Likewise.
4806         (remainder_test_data): Likewise.
4807         (remainder_test): Likewise.
4808         (drem_test): Likewise.
4809         (remquo_test_data): Likewise.
4810         (remquo_test): Likewise.
4811         (rint_test_data): Likewise.
4812         (rint_test): Likewise.
4813         (round_test_data): Likewise.
4814         (round_test): Likewise.
4815         (roundeven_test_data): Likewise.
4816         (roundeven_test): Likewise.
4817         (scalb_test_data): Likewise.
4818         (scalb_test): Likewise.
4819         (scalbn_test_data): Likewise.
4820         (scalbn_test): Likewise.
4821         (ldexp_test): Likewise.
4822         (scalbln_test_data): Likewise.
4823         (scalbln_test): Likewise.
4824         (setpayload_test_data): Likewise.
4825         (setpayload_test): Likewise.
4826         (setpayloadsig_test_data): Likewise.
4827         (setpayloadsig_test): Likewise.
4828         (signbit_test_data): Likewise.
4829         (signbit_test): Likewise.
4830         (sin_test_data): Likewise.
4831         (sin_test): Likewise.
4832         (sincos_test_data): Likewise.
4833         (sincos_test): Likewise.
4834         (sinh_test_data): Likewise.
4835         (sinh_test): Likewise.
4836         (sqrt_test_data): Likewise.
4837         (sqrt_test): Likewise.
4838         (tan_test_data): Likewise.
4839         (tan_test): Likewise.
4840         (tanh_test_data): Likewise.
4841         (tanh_test): Likewise.
4842         (tgamma_test_data): Likewise.
4843         (tgamma_test): Likewise.
4844         (totalorder_test_data): Likewise.
4845         (totalorder_test): Likewise.
4846         (totalordermag_test_data): Likewise.
4847         (totalordermag_test): Likewise.
4848         (trunc_test_data): Likewise.
4849         (trunc_test): Likewise.
4850         (ufromfp_test_data): Likewise.
4851         (ufromfp_test): Likewise.
4852         (ufromfpx_test_data): Likewise.
4853         (ufromfpx_test): Likewise.
4854         (y0_test_data): Likewise.
4855         (y0_test): Likewise.
4856         (y1_test_data): Likewise.
4857         (y1_test): Likewise.
4858         (yn_test_data): Likewise.
4859         (yn_test): Likewise.
4860         (significand_test_data): Likewise.
4861         (significand_test): Likewise.
4862         * math/Makefile (auto-libm-test-out-files): Remove variable.
4863         (libm-test-funcs-noauto): New variable.
4864         (libm-test-funcs-all): Likewise.
4865         (libm-test-c-auto): Likewise.
4866         (libm-test-c-noauto): Likewise.
4867         (libm-tests-generated): Add $(libm-test-c-auto) and
4868         $(libm-test-c-noauto).
4869         (generated): Do not add auto-libm-test-out.
4870         (libm-test-c-auto-obj): New variable.
4871         (libm-test-c-noauto-obj): Likewise.
4872         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
4873         ($(libm-test-c-noauto-obj)): New static pattern rule.
4874         ($(libm-test-c-auto-obj)): Likewise.
4875         (libm-test-incs): New variable.
4876         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
4877         and pass it to gen-libm-have-vector-test.sh.
4878         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
4879         be passed on command line.
4880         * math/libm-test-acos.inc: New file.  Content from
4881         math/libm-test.inc.
4882         * math/libm-test-acosh.inc: Likewise.
4883         * math/libm-test-asin.inc: Likewise.
4884         * math/libm-test-asinh.inc: Likewise.
4885         * math/libm-test-atan.inc: Likewise.
4886         * math/libm-test-atan2.inc: Likewise.
4887         * math/libm-test-atanh.inc: Likewise.
4888         * math/libm-test-cabs.inc: Likewise.
4889         * math/libm-test-cacos.inc: Likewise.
4890         * math/libm-test-cacosh.inc: Likewise.
4891         * math/libm-test-canonicalize.inc: Likewise.
4892         * math/libm-test-carg.inc: Likewise.
4893         * math/libm-test-casin.inc: Likewise.
4894         * math/libm-test-casinh.inc: Likewise.
4895         * math/libm-test-catan.inc: Likewise.
4896         * math/libm-test-catanh.inc: Likewise.
4897         * math/libm-test-cbrt.inc: Likewise.
4898         * math/libm-test-ccos.inc: Likewise.
4899         * math/libm-test-ccosh.inc: Likewise.
4900         * math/libm-test-ceil.inc: Likewise.
4901         * math/libm-test-cexp.inc: Likewise.
4902         * math/libm-test-cimag.inc: Likewise.
4903         * math/libm-test-clog.inc: Likewise.
4904         * math/libm-test-clog10.inc: Likewise.
4905         * math/libm-test-conj.inc: Likewise.
4906         * math/libm-test-copysign.inc: Likewise.
4907         * math/libm-test-cos.inc: Likewise.
4908         * math/libm-test-cosh.inc: Likewise.
4909         * math/libm-test-cpow.inc: Likewise.
4910         * math/libm-test-cproj.inc: Likewise.
4911         * math/libm-test-creal.inc: Likewise.
4912         * math/libm-test-csin.inc: Likewise.
4913         * math/libm-test-csinh.inc: Likewise.
4914         * math/libm-test-csqrt.inc: Likewise.
4915         * math/libm-test-ctan.inc: Likewise.
4916         * math/libm-test-ctanh.inc: Likewise.
4917         * math/libm-test-erf.inc: Likewise.
4918         * math/libm-test-erfc.inc: Likewise.
4919         * math/libm-test-exp.inc: Likewise.
4920         * math/libm-test-exp10.inc: Likewise.
4921         * math/libm-test-exp2.inc: Likewise.
4922         * math/libm-test-expm1.inc: Likewise.
4923         * math/libm-test-fabs.inc: Likewise.
4924         * math/libm-test-fdim.inc: Likewise.
4925         * math/libm-test-floor.inc: Likewise.
4926         * math/libm-test-fma.inc: Likewise.
4927         * math/libm-test-fmax.inc: Likewise.
4928         * math/libm-test-fmaxmag.inc: Likewise.
4929         * math/libm-test-fmin.inc: Likewise.
4930         * math/libm-test-fminmag.inc: Likewise.
4931         * math/libm-test-fmod.inc: Likewise.
4932         * math/libm-test-fpclassify.inc: Likewise.
4933         * math/libm-test-frexp.inc: Likewise.
4934         * math/libm-test-fromfp.inc: Likewise.
4935         * math/libm-test-fromfpx.inc: Likewise.
4936         * math/libm-test-getpayload.inc: Likewise.
4937         * math/libm-test-hypot.inc: Likewise.
4938         * math/libm-test-ilogb.inc: Likewise.
4939         * math/libm-test-iscanonical.inc: Likewise.
4940         * math/libm-test-iseqsig.inc: Likewise.
4941         * math/libm-test-isfinite.inc: Likewise.
4942         * math/libm-test-isgreater.inc: Likewise.
4943         * math/libm-test-isgreaterequal.inc: Likewise.
4944         * math/libm-test-isinf.inc: Likewise.
4945         * math/libm-test-isless.inc: Likewise.
4946         * math/libm-test-islessequal.inc: Likewise.
4947         * math/libm-test-islessgreater.inc: Likewise.
4948         * math/libm-test-isnan.inc: Likewise.
4949         * math/libm-test-isnormal.inc: Likewise.
4950         * math/libm-test-issignaling.inc: Likewise.
4951         * math/libm-test-issubnormal.inc: Likewise.
4952         * math/libm-test-isunordered.inc: Likewise.
4953         * math/libm-test-iszero.inc: Likewise.
4954         * math/libm-test-j0.inc: Likewise.
4955         * math/libm-test-j1.inc: Likewise.
4956         * math/libm-test-jn.inc: Likewise.
4957         * math/libm-test-lgamma.inc: Likewise.
4958         * math/libm-test-llogb.inc: Likewise.
4959         * math/libm-test-llrint.inc: Likewise.
4960         * math/libm-test-llround.inc: Likewise.
4961         * math/libm-test-log.inc: Likewise.
4962         * math/libm-test-log10.inc: Likewise.
4963         * math/libm-test-log1p.inc: Likewise.
4964         * math/libm-test-log2.inc: Likewise.
4965         * math/libm-test-logb.inc: Likewise.
4966         * math/libm-test-lrint.inc: Likewise.
4967         * math/libm-test-lround.inc: Likewise.
4968         * math/libm-test-modf.inc: Likewise.
4969         * math/libm-test-nearbyint.inc: Likewise.
4970         * math/libm-test-nextafter.inc: Likewise.
4971         * math/libm-test-nextdown.inc: Likewise.
4972         * math/libm-test-nexttoward.inc: Likewise.
4973         * math/libm-test-nextup.inc: Likewise.
4974         * math/libm-test-pow.inc: Likewise.
4975         * math/libm-test-remainder.inc: Likewise.
4976         * math/libm-test-remquo.inc: Likewise.
4977         * math/libm-test-rint.inc: Likewise.
4978         * math/libm-test-round.inc: Likewise.
4979         * math/libm-test-roundeven.inc: Likewise.
4980         * math/libm-test-scalb.inc: Likewise.
4981         * math/libm-test-scalbln.inc: Likewise.
4982         * math/libm-test-scalbn.inc: Likewise.
4983         * math/libm-test-setpayload.inc: Likewise.
4984         * math/libm-test-setpayloadsig.inc: Likewise.
4985         * math/libm-test-signbit.inc: Likewise.
4986         * math/libm-test-significand.inc: Likewise.
4987         * math/libm-test-sin.inc: Likewise.
4988         * math/libm-test-sincos.inc: Likewise.
4989         * math/libm-test-sinh.inc: Likewise.
4990         * math/libm-test-sqrt.inc: Likewise.
4991         * math/libm-test-tan.inc: Likewise.
4992         * math/libm-test-tanh.inc: Likewise.
4993         * math/libm-test-tgamma.inc: Likewise.
4994         * math/libm-test-totalorder.inc: Likewise.
4995         * math/libm-test-totalordermag.inc: Likewise.
4996         * math/libm-test-trunc.inc: Likewise.
4997         * math/libm-test-ufromfp.inc: Likewise.
4998         * math/libm-test-ufromfpx.inc: Likewise.
4999         * math/libm-test-y0.inc: Likewise.
5000         * math/libm-test-y1.inc: Likewise.
5001         * math/libm-test-yn.inc: Likewise.
5002         * math/README.libm-test: Update.
5004         * math/gen-auto-libm-tests.c: Update comment about use of program.
5005         (generate_output): Add argument FUNCTION.
5006         (main): Require extra argument.  Pass function name to
5007         generate_output.
5008         * math/Makefile (generated): Add auto-libm-test-out.
5009         (libm-test-funcs-auto): New variable.
5010         (auto-libm-test-out-files): New variable.
5011         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
5012         Concatenate those files to form $(objpfx)auto-libm-test-out and
5013         use it as input to gen-libm-test.pl.
5014         * math/README.libm-test: Update.
5015         * math/auto-libm-test-out: Remove.
5016         * math/auto-libm-test-out-acos: New generated file.
5017         * math/auto-libm-test-out-acosh: Likewise.
5018         * math/auto-libm-test-out-asin: Likewise.
5019         * math/auto-libm-test-out-asinh: Likewise.
5020         * math/auto-libm-test-out-atan: Likewise.
5021         * math/auto-libm-test-out-atan2: Likewise.
5022         * math/auto-libm-test-out-atanh: Likewise.
5023         * math/auto-libm-test-out-cabs: Likewise.
5024         * math/auto-libm-test-out-carg: Likewise.
5025         * math/auto-libm-test-out-cbrt: Likewise.
5026         * math/auto-libm-test-out-ccos: Likewise.
5027         * math/auto-libm-test-out-ccosh: Likewise.
5028         * math/auto-libm-test-out-cexp: Likewise.
5029         * math/auto-libm-test-out-clog: Likewise.
5030         * math/auto-libm-test-out-clog10: Likewise.
5031         * math/auto-libm-test-out-cos: Likewise.
5032         * math/auto-libm-test-out-cosh: Likewise.
5033         * math/auto-libm-test-out-cpow: Likewise.
5034         * math/auto-libm-test-out-csin: Likewise.
5035         * math/auto-libm-test-out-csinh: Likewise.
5036         * math/auto-libm-test-out-csqrt: Likewise.
5037         * math/auto-libm-test-out-ctan: Likewise.
5038         * math/auto-libm-test-out-ctanh: Likewise.
5039         * math/auto-libm-test-out-erf: Likewise.
5040         * math/auto-libm-test-out-erfc: Likewise.
5041         * math/auto-libm-test-out-exp: Likewise.
5042         * math/auto-libm-test-out-exp10: Likewise.
5043         * math/auto-libm-test-out-exp2: Likewise.
5044         * math/auto-libm-test-out-expm1: Likewise.
5045         * math/auto-libm-test-out-fma: Likewise.
5046         * math/auto-libm-test-out-hypot: Likewise.
5047         * math/auto-libm-test-out-j0: Likewise.
5048         * math/auto-libm-test-out-j1: Likewise.
5049         * math/auto-libm-test-out-jn: Likewise.
5050         * math/auto-libm-test-out-lgamma: Likewise.
5051         * math/auto-libm-test-out-log: Likewise.
5052         * math/auto-libm-test-out-log10: Likewise.
5053         * math/auto-libm-test-out-log1p: Likewise.
5054         * math/auto-libm-test-out-log2: Likewise.
5055         * math/auto-libm-test-out-pow: Likewise.
5056         * math/auto-libm-test-out-sin: Likewise.
5057         * math/auto-libm-test-out-sincos: Likewise.
5058         * math/auto-libm-test-out-sinh: Likewise.
5059         * math/auto-libm-test-out-sqrt: Likewise.
5060         * math/auto-libm-test-out-tan: Likewise.
5061         * math/auto-libm-test-out-tanh: Likewise.
5062         * math/auto-libm-test-out-tgamma: Likewise.
5063         * math/auto-libm-test-out-y0: Likewise.
5064         * math/auto-libm-test-out-y1: Likewise.
5065         * math/auto-libm-test-out-yn: Likewise.
5067         * math/Makefile (generated): Do not include libm-test.stmp.
5068         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
5069         on $(objpfx)libm-test.stmp.
5070         ($(objpfx)libm-test.stmp): Remove rule.
5071         ($(objpfx)libm-test-ulps.h): New rule.
5072         ($(objpfx)libm-test.c): Likewise.
5073         ($(objpfx)libm-have-vector-test.h): Likewise.
5074         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
5075         individual generated files, not libm-test.stmp.
5077         * math/gen-libm-test.pl ($output_dir): Remove variable.
5078         ($srcdir): Likewise.
5079         ($opt_a): New variable.
5080         ($opt_c): Likewise.
5081         ($opt_C): Likewise.
5082         ($opt_H): Likewise.
5083         (-n): Make option take argument and use it as NewUlps output.
5084         (-a): New option.  Use its argument for auto-libm-test-out input.
5085         (-c): New option.  Use its argument for libm-test.inc input.
5086         (-C): New option.  Use its argument for libm-test.c output.
5087         (-H): New option.  Use its argument for libm-test-ulps.h output.
5088         (top level): Only process inputs needed to generate outputs
5089         specified by command-line options.  Only generate outputs
5090         specified by command-line options.
5091         * math/README.libm-test: Update example gen-libm-test.pl command.
5092         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
5093         commands.
5094         (regen-ulps): Likewise.
5096 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
5098         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
5099         * include/string.h (index): Remove define.
5100         (rindex): Likewise.
5101         * misc/getttyent.c (__getttyent): Rename index to strchr.
5102         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
5103         * sunrpc/rpc_main.c (mkfile_output): Likewise.
5105 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5107         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
5108         * math/libm-test.inc: Move all contents, other than tests of
5109         individual functions, to libm-test-driver.c.
5110         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
5111         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
5112         [!FE_UPWARD] (FE_UPWARD): Likewise.
5113         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
5114         (NO_EXCEPTION): Likewise.
5115         (INVALID_EXCEPTION): Likewise.
5116         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
5117         (OVERFLOW_EXCEPTION): Likewise.
5118         (UNDERFLOW_EXCEPTION): Likewise.
5119         (INEXACT_EXCEPTION): Likewise.
5120         (INVALID_EXCEPTION_OK): Likewise.
5121         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5122         (OVERFLOW_EXCEPTION_OK): Likewise.
5123         (UNDERFLOW_EXCEPTION_OK): Likewise.
5124         (NO_INEXACT_EXCEPTION): Likewise.
5125         (EXCEPTIONS_OK): Likewise.
5126         (IGNORE_ZERO_INF_SIGN): Likewise.
5127         (TEST_NAN_SIGN): Likewise.
5128         (TEST_NAN_PAYLOAD): Likewise.
5129         (NO_TEST_INLINE): Likewise.
5130         (XFAIL_TEST): Likewise.
5131         (ERRNO_UNCHANGED): Likewise.
5132         (ERRNO_EDOM): Likewise.
5133         (ERRNO_ERANGE): Likewise.
5134         (IGNORE_RESULT): Likewise.
5135         (NON_FINITE): Likewise.
5136         (TEST_SNAN): Likewise.
5137         (NO_TEST_MATHVEC): Likewise.
5138         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
5139         (__CONCATX): Likewise.
5140         (TYPE_MIN): Likewise.
5141         (TYPE_TRUE_MIN): Likewise.
5142         (TYPE_MAX): Likewise.
5143         (MIN_EXP): Likewise.
5144         (MAX_EXP): Likewise.
5145         (MANT_DIG): Likewise.
5146         (FSTR_MAX): Likewise.
5147         (ULP_IDX): Likewise.
5148         (QTYPE_STR): Likewise.
5149         (TEST_COND_binary32): Likewise.
5150         (TEST_COND_binary64): Likewise.
5151         (TEST_COND_binary128): Likewise.
5152         (TEST_COND_ibm128): Likewise.
5153         (TEST_COND_intel96): Likewise.
5154         (TEST_COND_m68k96): Likewise.
5155         (TEST_COND_ibm128_libgcc): Likewise.
5156         (XFAIL_IBM128_LIBGCC): Likewise.
5157         (PAYLOAD_DIG): Likewise.
5158         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5159         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5160         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5161         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5162         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5163         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
5164         (TEST_COND_long32): Likewise.
5165         (TEST_COND_long64): Likewise.
5166         (TEST_COND_before_rounding): Likewise.
5167         (TEST_COND_after_rounding): Likewise.
5168         (lit_pi_3_m_4_d): Likewise.
5169         (lit_pi_3_m_4_ln10_m_d): Likewise.
5170         (lit_pi_2_ln10_m_d): Likewise.
5171         (lit_pi_4_ln10_m_d): Likewise.
5172         (lit_pi_ln10_d): Likewise.
5173         (lit_pi_2_d): Likewise.
5174         (lit_pi_4_d): Likewise.
5175         (lit_pi): Likewise.
5176         (lit_e): Likewise.
5177         (ulps_file_name): Likewise.
5178         (ulps_file): Likewise.
5179         (output_ulps): Likewise.
5180         (output_dir): Likewise.
5181         (noErrors): Likewise.
5182         (noTests): Likewise.
5183         (noExcTests): Likewise.
5184         (noErrnoTests): Likewise.
5185         (verbose): Likewise.
5186         (output_max_error): Likewise.
5187         (output_points): Likewise.
5188         (ignore_max_ulp): Likewise.
5189         (plus_zero): Likewise.
5190         (minus_zero): Likewise.
5191         (plus_infty): Likewise.
5192         (minus_infty): Likewise.
5193         (qnan_value_pl): Likewise.
5194         (qnan_value): Likewise.
5195         (snan_value_pl): Likewise.
5196         (snan_value): Likewise.
5197         (max_value): Likewise.
5198         (min_value): Likewise.
5199         (min_subnorm_value): Likewise.
5200         (snan_value_ld): Likewise.
5201         (max_error): Likewise.
5202         (real_max_error): Likewise.
5203         (imag_max_error): Likewise.
5204         (prev_max_error): Likewise.
5205         (prev_real_max_error): Likewise.
5206         (prev_imag_max_error): Likewise.
5207         (max_valid_error): Likewise.
5208         (TYPE_DECIMAL_DIG): Likewise.
5209         (TYPE_HEX_DIG): Likewise.
5210         (fmt_ftostr): Likewise.
5211         (compare_ulp_data): Likewise.
5212         (find_ulps): Likewise.
5213         (init_max_error): Likewise.
5214         (set_max_error): Likewise.
5215         (print_float): Likewise.
5216         (print_screen): Likewise.
5217         (print_screen_max_error): Likewise.
5218         (update_stats): Likewise.
5219         (print_function_ulps): Likewise.
5220         (print_complex_function_ulps): Likewise.
5221         (fpstack_test): Likewise.
5222         (print_max_error): Likewise.
5223         (print_complex_max_error): Likewise.
5224         (test_single_exception): Likewise.
5225         (test_exceptions): Likewise.
5226         (test_single_errno): Likewise.
5227         (test_errno): Likewise.
5228         (ULPDIFF): Likewise.
5229         (ulp): Likewise.
5230         (check_float_internal): Likewise.
5231         (check_float): Likewise.
5232         (check_complex): Likewise.
5233         (check_int): Likewise.
5234         (check_long): Likewise.
5235         (check_bool): Likewise.
5236         (check_longlong): Likewise.
5237         (check_intmax_t): Likewise.
5238         (check_uintmax_t): Likewise.
5239         (enable_test): Likewise.
5240         (struct test_f_f_data): Likewise.
5241         (struct test_ff_f_data): Likewise.
5242         (struct test_fj_f_data): Likewise.
5243         (struct test_fi_f_data): Likewise.
5244         (struct test_fl_f_data): Likewise.
5245         (struct test_if_f_data): Likewise.
5246         (struct test_fff_f_data): Likewise.
5247         (struct test_fiu_M_data): Likewise.
5248         (struct test_fiu_U_data): Likewise.
5249         (struct test_c_f_data): Likewise.
5250         (struct test_f_f1_data): Likewise.
5251         (struct test_fF_f1_data): Likewise.
5252         (struct test_ffI_f1_data): Likewise.
5253         (struct test_c_c_data): Likewise.
5254         (struct test_cc_c_data): Likewise.
5255         (struct test_f_i_data): Likewise.
5256         (struct test_ff_i_data): Likewise.
5257         (struct test_f_l_data): Likewise.
5258         (struct test_f_L_data): Likewise.
5259         (struct test_fFF_11_data): Likewise.
5260         (struct test_Ff_b1_data): Likewise.
5261         (IF_ROUND_INIT_): Likewise.
5262         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5263         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5264         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5265         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5266         (ROUND_RESTORE_): Likewise.
5267         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5268         (ROUND_RESTORE_FE_TONEAREST): Likewise.
5269         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5270         (ROUND_RESTORE_FE_UPWARD): Likewise.
5271         (RM_): Likewise.
5272         (RM_FE_DOWNWARD): Likewise.
5273         (RM_FE_TONEAREST): Likewise.
5274         (RM_FE_TOWARDZERO): Likewise.
5275         (RM_FE_UPWARD): Likewise.
5276         (COMMON_TEST_SETUP): Likewise.
5277         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5278         (COMMON_TEST_CLEANUP): Likewise.
5279         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5280         (RUN_TEST_f_f): Likewise.
5281         (RUN_TEST_LOOP_f_f): Likewise.
5282         (RUN_TEST_fp_f): Likewise.
5283         (RUN_TEST_LOOP_fp_f): Likewise.
5284         (RUN_TEST_2_f): Likewise.
5285         (RUN_TEST_LOOP_2_f): Likewise.
5286         (RUN_TEST_ff_f): Likewise.
5287         (RUN_TEST_LOOP_ff_f): Likewise.
5288         (RUN_TEST_LOOP_fj_f): Likewise.
5289         (RUN_TEST_fi_f): Likewise.
5290         (RUN_TEST_LOOP_fi_f): Likewise.
5291         (RUN_TEST_fl_f): Likewise.
5292         (RUN_TEST_LOOP_fl_f): Likewise.
5293         (RUN_TEST_if_f): Likewise.
5294         (RUN_TEST_LOOP_if_f): Likewise.
5295         (RUN_TEST_fff_f): Likewise.
5296         (RUN_TEST_LOOP_fff_f): Likewise.
5297         (RUN_TEST_fiu_M): Likewise.
5298         (RUN_TEST_LOOP_fiu_M): Likewise.
5299         (RUN_TEST_fiu_U): Likewise.
5300         (RUN_TEST_LOOP_fiu_U): Likewise.
5301         (RUN_TEST_c_f): Likewise.
5302         (RUN_TEST_LOOP_c_f): Likewise.
5303         (RUN_TEST_f_f1): Likewise.
5304         (RUN_TEST_LOOP_f_f1): Likewise.
5305         (RUN_TEST_fF_f1): Likewise.
5306         (RUN_TEST_LOOP_fF_f1): Likewise.
5307         (RUN_TEST_fI_f1): Likewise.
5308         (RUN_TEST_LOOP_fI_f1): Likewise.
5309         (RUN_TEST_ffI_f1_mod8): Likewise.
5310         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
5311         (RUN_TEST_Ff_b1): Likewise.
5312         (RUN_TEST_LOOP_Ff_b1): Likewise.
5313         (RUN_TEST_Ffp_b1): Likewise.
5314         (RUN_TEST_LOOP_Ffp_b1): Likewise.
5315         (RUN_TEST_c_c): Likewise.
5316         (RUN_TEST_LOOP_c_c): Likewise.
5317         (RUN_TEST_cc_c): Likewise.
5318         (RUN_TEST_LOOP_cc_c): Likewise.
5319         (RUN_TEST_f_i): Likewise.
5320         (RUN_TEST_LOOP_f_i): Likewise.
5321         (RUN_TEST_f_i_tg): Likewise.
5322         (RUN_TEST_LOOP_f_i_tg): Likewise.
5323         (RUN_TEST_ff_b): Likewise.
5324         (RUN_TEST_LOOP_ff_b): Likewise.
5325         (RUN_TEST_ff_i_tg): Likewise.
5326         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5327         (RUN_TEST_f_b): Likewise.
5328         (RUN_TEST_LOOP_f_b): Likewise.
5329         (RUN_TEST_f_b_tg): Likewise.
5330         (RUN_TEST_LOOP_f_b_tg): Likewise.
5331         (RUN_TEST_f_l): Likewise.
5332         (RUN_TEST_LOOP_f_l): Likewise.
5333         (RUN_TEST_f_L): Likewise.
5334         (RUN_TEST_LOOP_f_L): Likewise.
5335         (RUN_TEST_fFF_11): Likewise.
5336         (RUN_TEST_LOOP_fFF_11): Likewise.
5337         (VEC_SUFF): Likewise.
5338         (STR_CONCAT): Likewise.
5339         (STR_CON3): Likewise.
5340         (HAVE_VECTOR): Likewise.
5341         (START): Likewise.
5342         (END): Likewise.
5343         (END_COMPLEX): Likewise.
5344         (ALL_RM_TEST): Likewise.
5345         (matherr): Likewise.
5346         (initialize): Likewise.
5347         (options): Likewise.
5348         (doc): Likewise.
5349         (parse_opt): Likewise.
5350         (argp): Likewise.
5351         (check_ulp): Likewise.
5352         (main): Likewise.
5353         (do_test): New function.  Call tests of individual functions
5354         previously called from main.
5356         * math/libm-test.inc: Remove comment listing functions tested and
5357         not tested.
5359 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5361         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
5362         (allocate_stack): Remove COLORING_INCREMENT usage.
5363         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
5364         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
5366 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5368         * manual/libm-err-tab.pl (@all_functions): Change to
5369         %all_functions.  Initialize as empty.
5370         (parse_ulps): Add to %all_functions based on functions found in
5371         ulps files.  Ignore results for non-default rounding modes and
5372         vector functions.
5373         (print_platforms): Use %all_platforms.
5374         * manual/math.texi (Errors in Math Functions): Document omissions
5375         from the table.
5377         * math/Makefile (before-compile): Remove.
5379 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
5381         [BZ #21075]
5382         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
5383         unused assignment.
5384         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5386 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5388         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
5389         Add __glibc_unlikely hint.
5391 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5393         [BZ #16640]
5394         * sysdeps/i386/i686/strtok.S: Remove file.
5395         * sysdeps/i386/i686/strtok_r.S: Likewise.
5396         * sysdeps/i386/strtok.S: Likewise.
5397         * sysdeps/i386/strtok_r.S: Likewise.
5398         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
5399         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
5400         * sysdeps/x86_64/strtok.S: Likewise.
5401         * sysdeps/x86_64/strtok_r.S: Likewise.
5403         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
5404         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5405         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5406         (__ASSUME_FADVISE64_AS_64_64): Define.
5407         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
5408         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
5409         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
5410         __ALIGNMENT_ARG usage.
5411         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
5412         __NR_fadvise64_64 if it is not defined.
5414 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5416         * version.h (RELEASE): Set to "development"
5417         (VERSION): Set to 2.25.90.
5418         * NEWS: Add 2.26 section.
5420         * version.h (RELEASE): Set to "stable"
5421         (VERSION): Set to 2.25.
5422         * include/features.h (__GLIBC_MINOR__): Set to 25.
5424         * manual/contrib.texi: Add more contributors from this release
5425         and past releases.
5427         * NEWS (2.25): Add list of bugs fixed.
5429         * NEWS: Add missing news items.
5431 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5433         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
5434         parent if child exited in that manner.  Print WEXITSTATUS
5435         instead of the raw status.
5436         (do_test_prep): Rename to do_test.
5437         (do_test): Return the result of run_executable_sgid.
5438         (TEST_FUNCTION_ARGV): Adjust.
5440 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
5441             Florian Weimer  <fweimer@redhat.com>
5442             Carlos O'Donell  <carlos@redhat.com>
5444         [BZ #20915]
5445         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
5446         Do not initialize DTV.
5447         * nptl/allocatestack.c (init_one_static_tls): Likewise.
5449 2017-02-03  David S. Miller  <davem@davemloft.net>
5451         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
5452         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5453         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
5454         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5455         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
5456         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5457         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
5458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5459         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5460         (libm-sysdep_routines): Update.
5461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
5462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
5463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
5465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5466         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
5467         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
5468         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
5469         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
5470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
5471         Likewise.
5472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
5474         Likewise.
5475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
5477         Likewise.
5478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
5480         Likewise.
5481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5483         (libm-sysdep_routines): Update.
5485 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
5487         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
5488         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
5489         against unrelocated shared library.
5490         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5492 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5494         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
5495         * elf/tst-env-setuid-tunables.c
5496         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
5497         GLIBC_TUNABLES is removed in a setgid process.
5499         [BZ #21073]
5500         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
5501         * elf/dl-tunables.c (tunables_strdup): Remove.
5502         (get_next_env): Also return the previous envp.
5503         (parse_tunables): Erase tunables of category
5504         TUNABLES_SECLEVEL_SXID_ERASE.
5505         (maybe_enable_malloc_check): Make MALLOC_CHECK_
5506         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
5507         (__tunables_init)[TUNABLES_FRONTEND ==
5508         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
5509         after parsing.
5510         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
5511         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
5512         * elf/dl-tunables.h (struct _tunable): Change member is_secure
5513         to security_level.
5514         * elf/dl-tunables.list: Add security_level annotations for all
5515         tunables.
5516         * scripts/gen-tunables.awk: Recognize and generate enum values
5517         for security_level.
5518         * elf/tst-env-setuid.c: New test case.
5519         * elf/tst-env-setuid-tunables: new test case.
5520         * elf/Makefile (tests-static): Add them.
5522 2017-02-01  Richard Henderson  <rth@twiddle.net>
5524         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
5525         adjusting the byte count.
5527 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
5529         * conform/Makefile (linknamespace-libs): Define.
5531         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
5532         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
5533         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
5534         operands.
5536 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
5538         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
5540 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
5542         [BZ #21081]
5543         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5544         (L(stosb)): Add VZEROUPPER before ret.
5546 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
5547             Alexey Makhalov <amakhalov@vmware.com>
5548             Florian Weimer <fweimer@redhat.com>
5550         [BZ #20116]
5551         * nptl/pthread_create.c: Document concurrency notes.
5552         Enhance thread creation notes.
5553         (create_thread): Use bool *stopped_start.
5554         (START_THREAD_DEFN): Comment ownership of PD.
5555         (__pthread_create_2_1): Add local bool stopped_start and use
5556         that instead of pd->stopped_start where appropriate.
5557         * nptl/createthread.c (create_thread): Use bool *stopped_start.
5558         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
5559         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
5560         * nptl/tst-create-detached.c: New file.
5561         * nptl/Makefile (tests): Add tst-create-detached.
5562         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
5563         Reference the enhanced thread creation notes.
5564         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
5565         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5566         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
5567         (__pthread_current_priority): Likewise.
5568         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
5569         xpthread_attr_init, xpthread_attr_setdetachstate, and
5570         xpthread_attr_setstacksize.
5571         * support/xpthread_attr_destroy.c: New file.
5572         * support/xpthread_attr_init.c: New file.
5573         * support/xpthread_attr_setdetachstate.c: New file.
5574         * support/xpthread_attr_setstacksize.c: New file.
5575         * support/xthread.h: Define prototypes for xpthread_attr_destroy
5576         xpthread_attr_init, xpthread_attr_setdetachstate, and
5577         xpthread_attr_setstacksize.
5579 2017-01-27  Florian Weimer  <fweimer@redhat.com>
5581         * nptl/Makefile (tests): Add tst-robust-fork.
5582         * nptl/tst-robust-fork.c: New file.
5583         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
5584         xpthread_mutex_consistent, xpthread_mutex_destroy,
5585         xpthread_mutex_init, xpthread_mutexattr_destroy,
5586         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
5587         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
5588         xpthread_mutexattr_settype.
5589         * support/xmmap.c: New file.
5590         * support/xmunmap.c: Likewise.
5591         * support/xpthread_mutex_consistent.c: Likewise.
5592         * support/xpthread_mutex_destroy.c: Likewise.
5593         * support/xpthread_mutex_init.c: Likewise.
5594         * support/xpthread_mutexattr_destroy.c: Likewise.
5595         * support/xpthread_mutexattr_init.c: Likewise.
5596         * support/xpthread_mutexattr_setprotocol.c: Likewise.
5597         * support/xpthread_mutexattr_setpshared.c: Likewise.
5598         * support/xpthread_mutexattr_setrobust.c: Likewise.
5599         * support/xpthread_mutexattr_settype.c: Likewise.
5600         * support/xthread.h (xpthread_mutexattr_destroy)
5601         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
5602         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
5603         (xpthread_mutexattr_settype, xpthread_mutex_init)
5604         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
5605         * support/xunistd.h (xmmap, xmunmap): Likewise.
5607 2017-01-25  Florian Weimer  <fweimer@redhat.com>
5609         * string/Makefile (xtests): Add comment.
5610         (LOCALES): Add en_GB.UTF-8.
5611         (tst-strcoll-overflow.out): Depend on generated locales.
5612         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
5613         (SIZE, TIMEOUT): Update comments.
5614         (do_test): Define as static.  Fail test if setlocale fails.
5615         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
5616         messages.
5617         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
5618         TIMEOUT at 300 seconds should be enough to run this test
5619         successfully.
5621 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
5623         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5624         /* FALLTHRU */ comments.
5626 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
5628         [BZ #21053]
5629         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
5630         constants instead of the old R* ones.
5631         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
5632         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
5633         (NGREG): ... to this, to fit in with other architectures.
5634         (gpregset_t): Use new NGREG macro.
5635         [__USE_GNU]: Remove condition; all architectures other than tile
5636         are unconditional.
5637         (R*): Rename to REG_R*.
5639 2017-01-20  DJ Delorie  <dj@redhat.com>
5641         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
5642         (tunable_set_val_if_valid_range_signed) ... this, and ...
5643         (tunable_set_val_if_valid_range_unsigned) ... this.
5644         (tunable_initialize): Call the correct one of the above based on type.
5646 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
5648         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
5649         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5650         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5651         * sysdeps/microblaze/libm-test-ulps: Likewise.
5652         * sysdeps/sh/libm-test-ulps: Likewise.
5654         * math/README.libm-test: Update list of characters for input and
5655         output types.
5657 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5659         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5660         (__lll_unlock_elision): Fix adapt_count decrement.
5662 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
5664         * README.pretty-printers (Known issues): Warn about printers not
5665         always covering everything.
5666         * nptl/nptl-printers.py (MutexPrinter): Change output.
5667         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
5669 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5671         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
5672         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5673         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
5674         (__lll_lock_elision): Do not test futex before starting a
5675         transaction.  Use __glibc_likely instead of __builtin_expect.
5676         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
5677         (__lll_trylock_elision): Do not test futex before starting a
5678         transaction.  Use __glibc_likely instead of __builtin_expect.
5680 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5682         * po/Makefile (update-translations): New target.
5684 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
5686         [BZ #21061]
5687         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
5689 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5691         * elf/dl-tunables (get_next_env): Always advance envp.
5692         * stdlib/tst-empty-env.c: New test case.
5693         * stdlib/Makefile (tests): Use it.
5695 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
5697         [BZ #21047]
5698         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
5699         name for instruction.
5700         [!__SOFTFP__] (_FPU_SETCW): Likewise.
5702 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
5704         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
5705         for make install.
5707 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5709         * po/bg.po: Merge from Translation Project.
5710         * po/fr.po: Likewise.
5711         * po/ko.po: Likewise.
5712         * po/nl.po: Likewise.
5713         * po/sv.po: Likewise.
5715 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
5717         * manual/install.texi (Tools for Compilation): Update GCC version
5718         known to work to build glibc.
5719         * INSTALL: Regenerated.
5721 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5723         [BZ #21006]
5724         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
5726 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
5728         [BZ #21045]
5729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5730         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
5731         to __sigprocmask.
5733 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
5735         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
5736         wrap-around.
5737         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
5739         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
5741 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5743         * NEWS: Fix typo.
5745 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5747         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
5748         barriers and comments.
5749         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
5750         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5751         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5753 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5755         [BZ #19402]
5756         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
5757         mutexes.
5759 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5761         [BZ #20985]
5762         * nptl/Makefile: Adapt.
5763         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
5764         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
5765         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
5766         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
5767         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
5768         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
5769         lll_robust* functions and adapt.
5770         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5771         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
5772         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
5773         __lll_robust_timedlock, __lll_robust_unlock): Remove.
5774         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
5775         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
5776         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
5777         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
5778         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
5779         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
5780         __lll_robust_timedlock, __lll_robust_unlock): Remove.
5781         * nptl/lowlevelrobustlock.c: Remove file.
5782         * nptl/lowlevelrobustlock.sym: Likewise.
5783         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
5784         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
5786 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5788         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5790 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5792         * po/cs.po: Merge translations from the Translation Project.
5793         * po/de.po: Likewise.
5794         * po/pl.po: Likewise.
5795         * po/ru.po: Likewise.
5796         * po/tr.po: Likewise.
5797         * po/uk.po: Likewise.
5798         * po/vi.po: Likewise.
5799         * po/zh_CN.po: Likewise.
5801 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
5803         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
5805         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
5806         object.
5808 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
5810         [BZ #16458]
5811         * bits/uintn-identity.h: New file.
5812         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
5813         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
5814         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
5815         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
5816         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
5817         * string/endian.h: Include <bits/uintn-identity.h>.
5818         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
5819         __uint16_identity.
5820         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
5821         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
5822         __uint32_identity.
5823         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
5824         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
5825         __uint64_identity.
5826         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
5827         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
5828         __uint16_identity.
5829         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
5830         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
5831         __uint32_identity.
5832         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
5833         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
5834         __uint64_identity.
5835         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
5836         * string/Makefile (headers): Add bits/uintn-identity.h.
5837         (tests): Add test-endian-types.
5838         * string/test-endian-types.c: New file.
5839         * inet/Makefile (tests): Add test-hnto-types.
5840         * inet/test-hnto-types.c: New file.
5842 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5844         * po/be.po: Update from Translation Project.
5845         * po/bg.po: Likewise.
5846         * po/ca.po: Likewise.
5847         * po/cs.po: Likewise.
5848         * po/da.po: Likewise.
5849         * po/de.po: Likewise.
5850         * po/el.po: Likewise.
5851         * po/eo.po: Likewise.
5852         * po/es.po: Likewise.
5853         * po/fi.po: Likewise.
5854         * po/fr.po: Likewise.
5855         * po/gl.po: Likewise.
5856         * po/hr.po: Likewise.
5857         * po/hu.po: Likewise.
5858         * po/ia.po: Likewise.
5859         * po/id.po: Likewise.
5860         * po/it.po: Likewise.
5861         * po/ja.po: Likewise.
5862         * po/ko.po: Likewise.
5863         * po/lt.po: Likewise.
5864         * po/nb.po: Likewise.
5865         * po/nl.po: Likewise.
5866         * po/pl.po: Likewise.
5867         * po/pt_BR.po: Likewise.
5868         * po/ru.po: Likewise.
5869         * po/rw.po: Likewise.
5870         * po/sk.po: Likewise.
5871         * po/sl.po: Likewise.
5872         * po/sv.po: Likewise.
5873         * po/tr.po: Likewise.
5874         * po/uk.po: Likewise.
5875         * po/vi.po: Likewise.
5876         * po/zh_CN.po: Likewise.
5877         * po/zh_TW.po: Likewise.
5879 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
5881         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
5882         -Wformat-truncation instead of -Wformat-length.
5883         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
5884         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
5885         GCC 7.
5886         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
5887         (do_test): Ignore -Wformat-truncation for GCC 7.
5889         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
5890         buffer used to print long int value.
5892         * elf/sotruss-lib.c (init): Increase space allocated for pid by
5893         one byte.  Print it with %ld, cast to long int.
5895 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5897         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
5898         (re.fullmatch, subprocess.run): Likewise.
5900 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5902         * po/libc.pot: Regenerate.
5904 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5906         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
5907         (min_strlen): Likewise.
5908         (disable_tunable): Likewise.
5909         (maybe_disable_malloc_check): Rename to
5910         maybe_enable_malloc_check.
5911         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
5912         if /etc/suid-debug file exists.
5913         (__tunables_init): Update caller.
5914         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
5915         secure.
5917 2016-01-10  Torvald Riegel  <triegel@redhat.com>
5919         * nptl/DESIGN-rwlock.txt: Remove.
5920         * nptl/lowlevelrwlock.sym: Remove.
5921         * nptl/Makefile: Add new tests.
5922         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
5923         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
5924         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
5925         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
5926         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
5927         PTHREAD_RWLOCK_FUTEX_USED): New.
5928         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
5929         implementation.
5930         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
5931         (__pthread_rwlock_rdlock): Adapt.
5932         * nptl/pthread_rwlock_timedrdlock.c
5933         (pthread_rwlock_timedrdlock): Adapt.
5934         * nptl/pthread_rwlock_timedwrlock.c
5935         (pthread_rwlock_timedwrlock): Adapt.
5936         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
5937         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
5938         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
5939         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
5940         (__pthread_rwlock_wrlock): Adapt.
5941         * nptl/tst-rwlock10.c: Adapt.
5942         * nptl/tst-rwlock11.c: Adapt.
5943         * nptl/tst-rwlock17.c: New file.
5944         * nptl/tst-rwlock18.c: New file.
5945         * nptl/tst-rwlock19.c: New file.
5946         * nptl/tst-rwlock2b.c: New file.
5947         * nptl/tst-rwlock8.c: Adapt.
5948         * nptl/tst-rwlock9.c: Adapt.
5949         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5950         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5951         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5952         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5953         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5954         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5955         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5956         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5957         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5958         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5959         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5960         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5961         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
5962         (pthread_rwlock_t): Adapt.
5963         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5964         (pthread_rwlock_t): Adapt.
5965         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5966         * nptl/nptl-printers.py (): Adapt.
5967         * nptl/nptl_lock_constants.pysym: Adapt.
5968         * nptl/test-rwlock-printers.py: Adapt.
5969         * nptl/test-rwlockattr-printers.c: Adapt.
5970         * nptl/test-rwlockattr-printers.py: Adapt.
5972 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
5974         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
5975         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
5976         (fma_test_data): Likewise.
5977         (hypot_test_data): Likewise.
5978         (log1p_test_data): Likewise.
5979         (modf_test_data): Likewise.
5980         (pow_test_data): Likewise.
5981         (remainder_test_data): Likewise.
5982         (remquo_test_data): Likewise.
5983         (scalb_test_data): Likewise.
5984         (scalbn_test_data): Likewise.
5985         (scalbln_test_data): Likewise.
5986         * math/gen-libm-test.pl (parse_args): Transform
5987         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
5988         on the rounding mode.
5990 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
5992         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
5993         xfail-rounding:ibm128-libgcc automatically to tests overflowing
5994         and those that can underflow to zero.
5995         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
5996         add others.
5997         * math/auto-libm-test-out: Regenerated.
5999         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
6000         supported.
6001         (feholdexcept_tests): Skip tests requiring exceptions or rounding
6002         modes support if not supported.
6004         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
6005         Add libc.so PLT entry.
6006         (__tls_get_addr): Make ld.so PLT entry optional.
6008 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6010         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
6011         * string/bits/string3.h: ... here.
6013 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
6015         [BZ #21028]
6016         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
6017         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
6018         if EXCEPTION_TESTS returns false.
6020 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6022         [BZ #20558]
6023         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
6024         strings_fortified.h.
6025         [__USE_MISC] (bzero): Likewise.
6026         [__USE_MISC] (explicit_bzero): Likewise.
6027         * string/strings.h: Include strings_fortified.h.
6028         * string/Makefile (headers): Add strings_fortified.h.
6029         * string/bits/strings_fortified.h: New file.
6030         * include/bits/strings_fortified.h: Likewise.
6032 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
6034         * elf/tst-tls13.c (TIMEOUT): Remove.
6035         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
6036         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
6037         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
6038         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
6039         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
6041         [BZ #21026]
6042         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
6043         (readahead): New syscall entry.
6045 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
6047         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
6048         around tests of strncat with large sizes.
6050         * malloc/tst-malloc.c: Include <libc-internal.h>.
6051         (do_test): Disable -Walloc-size-larger-than= around tests of
6052         malloc with negative sizes.
6053         * malloc/tst-mcheck.c: Include <libc-internal.h>.
6054         (do_test): Disable -Walloc-size-larger-than= around tests of
6055         malloc and realloc with negative sizes.
6056         * malloc/tst-realloc.c: Include <libc-internal.h>.
6057         (do_test): Disable -Walloc-size-larger-than= around tests of
6058         realloc with negative sizes.
6060         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
6061         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
6062         allowed to 16 ulps.
6063         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
6064         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
6065         * math/auto-libm-test-out: Regenerated.
6067 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6069         * math/Makefile (libm-calls): Move wrappers...
6070         (libm-compat-call-auto): Here.
6071         (libm-routines): Add items in libm-compat-calls-auto.
6072         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
6073         the filenames of the wrappers that have been renamed.
6074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
6075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6077         * math/w_acos.c: Add _compat suffix to filename.
6078         * math/w_acosf.c: Likewise.
6079         * math/w_acosh.c: Likewise.
6080         * math/w_acoshf.c: Likewise.
6081         * math/w_acoshl.c: Likewise.
6082         * math/w_acosl.c: Likewise.
6083         * math/w_asin.c: Likewise.
6084         * math/w_asinf.c: Likewise.
6085         * math/w_asinl.c: Likewise.
6086         * math/w_atan2.c: Likewise.
6087         * math/w_atan2f.c: Likewise.
6088         * math/w_atan2l.c: Likewise.
6089         * math/w_atanh.c: Likewise.
6090         * math/w_atanhf.c: Likewise.
6091         * math/w_atanhl.c: Likewise.
6092         * math/w_cosh.c: Likewise.
6093         * math/w_coshf.c: Likewise.
6094         * math/w_coshl.c: Likewise.
6095         * math/w_exp10.c: Likewise.
6096         * math/w_exp10f.c: Likewise.
6097         * math/w_exp10l.c: Likewise.
6098         * math/w_exp2.c: Likewise.
6099         * math/w_exp2f.c: Likewise.
6100         * math/w_exp2l.c: Likewise.
6101         * math/w_fmod.c: Likewise.
6102         * math/w_fmodf.c: Likewise.
6103         * math/w_fmodl.c: Likewise.
6104         * math/w_hypot.c: Likewise.
6105         * math/w_hypotf.c: Likewise.
6106         * math/w_hypotl.c: Likewise.
6107         * math/w_j0.c: Likewise.
6108         * math/w_j0f.c: Likewise.
6109         * math/w_j0l.c: Likewise.
6110         * math/w_j1.c: Likewise.
6111         * math/w_j1f.c: Likewise.
6112         * math/w_j1l.c: Likewise.
6113         * math/w_jn.c: Likewise.
6114         * math/w_jnf.c: Likewise.
6115         * math/w_jnl.c: Likewise.
6116         * math/w_log10.c: Likewise.
6117         * math/w_log10f.c: Likewise.
6118         * math/w_log10l.c: Likewise.
6119         * math/w_log2.c: Likewise.
6120         * math/w_log2f.c: Likewise.
6121         * math/w_log2l.c: Likewise.
6122         * math/w_log.c: Likewise.
6123         * math/w_logf.c: Likewise.
6124         * math/w_logl.c: Likewise.
6125         * math/w_pow.c: Likewise.
6126         * math/w_powf.c: Likewise.
6127         * math/w_powl.c: Likewise.
6128         * math/w_remainder.c: Likewise.
6129         * math/w_remainderf.c: Likewise.
6130         * math/w_remainderl.c: Likewise.
6131         * math/w_scalb.c: Likewise.
6132         * math/w_scalbf.c: Likewise.
6133         * math/w_scalbl.c: Likewise.
6134         * math/w_sinh.c: Likewise.
6135         * math/w_sinhf.c: Likewise.
6136         * math/w_sinhl.c: Likewise.
6137         * math/w_sqrt.c: Likewise.
6138         * math/w_sqrtf.c: Likewise.
6139         * math/w_sqrtl.c: Likewise.
6140         * math/w_tgamma.c: Likewise.
6141         * math/w_tgammaf.c: Likewise.
6142         * math/w_tgammal.c: Likewise.
6144         * math/w_acos_compat.c: New file copied from above and
6145         adjusted for new #includes path
6146         * math/w_acosf_compat.c: Likewise.
6147         * math/w_acosh_compat.c: Likewise.
6148         * math/w_acoshf_compat.c: Likewise.
6149         * math/w_acoshl_compat.c: Likewise.
6150         * math/w_acosl_compat.c: Likewise.
6151         * math/w_asin_compat.c: Likewise.
6152         * math/w_asinf_compat.c: Likewise.
6153         * math/w_asinl_compat.c: Likewise.
6154         * math/w_atan2_compat.c: Likewise.
6155         * math/w_atan2f_compat.c: Likewise.
6156         * math/w_atan2l_compat.c: Likewise.
6157         * math/w_atanh_compat.c: Likewise.
6158         * math/w_atanhf_compat.c: Likewise.
6159         * math/w_atanhl_compat.c: Likewise.
6160         * math/w_cosh_compat.c: Likewise.
6161         * math/w_coshf_compat.c: Likewise.
6162         * math/w_coshl_compat.c: Likewise.
6163         * math/w_exp10_compat.c: Likewise.
6164         * math/w_exp10f_compat.c: Likewise.
6165         * math/w_exp10l_compat.c: Likewise.
6166         * math/w_exp2_compat.c: Likewise.
6167         * math/w_exp2f_compat.c: Likewise.
6168         * math/w_exp2l_compat.c: Likewise.
6169         * math/w_fmod_compat.c: Likewise.
6170         * math/w_fmodf_compat.c: Likewise.
6171         * math/w_fmodl_compat.c: Likewise.
6172         * math/w_hypot_compat.c: Likewise.
6173         * math/w_hypotf_compat.c: Likewise.
6174         * math/w_hypotl_compat.c: Likewise.
6175         * math/w_j0_compat.c: Likewise.
6176         * math/w_j0f_compat.c: Likewise.
6177         * math/w_j0l_compat.c: Likewise.
6178         * math/w_j1_compat.c: Likewise.
6179         * math/w_j1f_compat.c: Likewise.
6180         * math/w_j1l_compat.c: Likewise.
6181         * math/w_jn_compat.c: Likewise.
6182         * math/w_jnf_compat.c: Likewise.
6183         * math/w_jnl_compat.c: Likewise.
6184         * math/w_log10_compat.c: Likewise.
6185         * math/w_log10f_compat.c: Likewise.
6186         * math/w_log10l_compat.c: Likewise.
6187         * math/w_log2_compat.c: Likewise.
6188         * math/w_log2f_compat.c: Likewise.
6189         * math/w_log2l_compat.c: Likewise.
6190         * math/w_log_compat.c: Likewise.
6191         * math/w_logf_compat.c: Likewise.
6192         * math/w_logl_compat.c: Likewise.
6193         * math/w_pow_compat.c: Likewise.
6194         * math/w_powf_compat.c: Likewise.
6195         * math/w_powl_compat.c: Likewise.
6196         * math/w_remainder_compat.c: Likewise.
6197         * math/w_remainderf_compat.c: Likewise.
6198         * math/w_remainderl_compat.c: Likewise.
6199         * math/w_scalb_compat.c: Likewise.
6200         * math/w_scalbf_compat.c: Likewise.
6201         * math/w_scalbl_compat.c: Likewise.
6202         * math/w_sinh_compat.c: Likewise.
6203         * math/w_sinhf_compat.c: Likewise.
6204         * math/w_sinhl_compat.c: Likewise.
6205         * math/w_sqrt_compat.c: Likewise.
6206         * math/w_sqrtf_compat.c: Likewise.
6207         * math/w_sqrtl_compat.c: Likewise.
6208         * math/w_tgamma_compat.c: Likewise.
6209         * math/w_tgammaf_compat.c: Likewise.
6210         * math/w_tgammal_compat.c: Likewise.
6212         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
6213         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
6214         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
6215         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
6216         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
6217         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
6218         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
6219         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
6220         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
6221         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
6222         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
6223         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
6224         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
6225         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
6226         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
6227         * sysdeps/ia64/fpu/w_powl.c: Likewise.
6228         * sysdeps/ia64/fpu/w_powf.c: Likewise.
6229         * sysdeps/ia64/fpu/w_pow.c: Likewise.
6230         * sysdeps/ia64/fpu/w_logl.c: Likewise.
6231         * sysdeps/ia64/fpu/w_logf.c: Likewise.
6232         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
6233         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
6234         * sysdeps/ia64/fpu/w_log2.c: Likewise.
6235         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
6236         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
6237         * sysdeps/ia64/fpu/w_log10.c: Likewise.
6238         * sysdeps/ia64/fpu/w_log.c: Likewise.
6239         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
6240         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
6241         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
6242         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
6243         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
6244         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
6245         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
6246         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
6247         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
6248         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
6249         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
6250         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
6251         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
6252         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
6253         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
6254         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
6255         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
6256         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
6257         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
6258         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
6259         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
6260         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
6261         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
6262         * sysdeps/ia64/fpu/w_asin.c: Likewise.
6263         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
6264         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
6265         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
6266         * sysdeps/ia64/fpu/w_acos.c: Likewise.
6267         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
6268         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
6269         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
6270         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
6271         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
6272         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
6273         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
6274         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
6275         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
6276         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
6277         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
6278         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
6279         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
6280         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
6281         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
6282         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
6283         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
6284         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
6285         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
6286         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
6287         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
6288         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
6289         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
6290         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
6291         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
6292         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
6293         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
6294         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
6295         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
6296         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
6297         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
6298         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
6299         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
6300         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
6301         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
6302         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
6303         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
6304         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
6305         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
6306         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
6307         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
6308         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
6309         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
6310         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
6311         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
6312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
6313         Likewise.
6314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
6315         Likewise.
6316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
6317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
6318         Likewise.
6319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
6320         Likewise.
6321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
6322         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6323         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6324         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6325         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6326         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6327         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
6329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
6331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6332         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6333         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6334         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6335         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6337         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
6338         and adjusted for new #includes path
6339         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
6340         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
6341         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
6342         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
6343         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
6344         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
6345         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
6346         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
6347         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
6348         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
6349         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
6350         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
6351         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
6352         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
6353         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
6354         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
6355         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
6356         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
6357         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
6358         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
6359         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
6360         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
6361         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
6362         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
6363         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
6364         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
6365         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
6366         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
6367         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
6368         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
6369         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
6370         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
6371         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
6372         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
6373         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
6374         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
6375         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
6376         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
6377         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
6378         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
6379         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
6380         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
6381         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
6382         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
6383         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
6384         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
6385         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
6386         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
6387         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
6388         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
6389         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
6390         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
6391         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
6392         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
6393         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
6394         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
6395         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
6396         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
6397         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
6398         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
6399         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
6400         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
6401         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
6402         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
6403         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
6404         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
6405         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
6406         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
6407         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
6408         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
6409         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
6410         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
6411         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
6412         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
6413         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
6414         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
6415         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
6416         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
6417         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
6418         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
6419         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
6420         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
6421         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
6422         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
6423         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
6424         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
6425         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
6426         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
6427         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
6428         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
6429         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
6430         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
6431         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
6432         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
6433         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
6434         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
6435         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
6436         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
6437         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
6438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
6439         Likewise.
6440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
6441         Likewise.
6442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
6443         Likewise.
6444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
6445         Likewise.
6446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
6447         Likewise.
6448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
6449         Likewise.
6450         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6451         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6452         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6453         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6454         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
6455         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6457         Likewise.
6458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
6459         Likewise.
6460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6461         Likewise.
6462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
6463         Likewise.
6464         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
6465         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6466         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6467         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6469 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
6471         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
6472         __jmp_buf_internal_tag.
6474         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
6475         preserve NaN payload if [__mips_nan2008].
6476         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6478         [BZ #21022]
6479         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
6481 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6483         * sysdeps/i386/fpu/libm-test-ulps: Update.
6485 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6487         * sysdeps/ia64/strcat.c: Remove file.
6488         * sysdeps/powerpc/strcat.c: Likewise.
6489         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
6490         C implementation.
6491         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
6492         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
6494 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6495             Steven Munroe  <sjmunroe@us.ibm.com>
6496             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6498         [BZ #20822]
6499         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6500         (__lll_lock_elision): Access adapt_count via C11 atomics.
6501         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6502         (__lll_trylock_elision): Likewise.
6503         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6504         (__lll_unlock_elision):  Update adapt_count variable inside the
6505         critical section using C11 atomics.
6507 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6509         * math/test-fenvinline.c (do_test): Disable tests of raised
6510         exceptions if !EXCEPTION_TESTS (FLOAT).
6512 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6514         [BZ #19390]
6515         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
6516         maximum string size.
6517         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
6518         in pointer addition.
6519         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
6520         Likewise.
6522 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6524         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
6525         passed to tst-ldconfig-X.sh.
6527 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
6529         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
6531 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
6533         [BZ #21019]
6534         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
6535         New syscall entry.
6536         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
6537         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
6538         lseek.
6540         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6541         power4 glibc for powerpc-linux-gnu.
6543 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6545         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
6546         semctl.
6548 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
6550         * math/test-nearbyint-except.c: Include <stdbool.h>.
6551         (any_supported): New variable.
6552         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
6553         set any_supported.
6554         (do_test): Return 77 if no floating-point type supported
6555         exceptions.
6557         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
6558         condition on [__mips_hard_float].
6560 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6562         [BZ #21014]
6563         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
6564         in pointer addition.
6565         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
6567 2017-01-02  Torvald Riegel  <triegel@redhat.com>
6569         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
6570         new condvar.
6572 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
6574         * scripts/build-many-glibcs.py (Context.checkout): Default
6575         binutils version to 2.28 branch.
6577 2017-01-01  Florian Weimer  <fweimer@redhat.com>
6579         * support/support_format_netent.c (support_format_netent): Work
6580         around alpha struct netent definition difference.
6582 2017-01-01  Florian Weimer  <fweimer@redhat.com>
6584         * support/xwrite.c (xwrite): Use %td for pointer difference.
6586 2017-01-01  Florian Weimer  <fweimer@redhat.com>
6588         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
6589         have-tunables only.
6590         (tests-static): Add tst-malloc-usable-static-tunables for
6591         have-tunables only.
6593 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
6595         * scripts/config.guess: Update to version 2017-01-01.
6596         * scripts/config.sub: Update to version 2017-01-01.
6598         * NEWS: Update copyright dates.
6599         * catgets/gencat.c (print_version): Likewise.
6600         * csu/version.c (banner): Likewise.
6601         * debug/catchsegv.sh: Likewise.
6602         * debug/pcprofiledump.c (print_version): Likewise.
6603         * debug/xtrace.sh (do_version): Likewise.
6604         * elf/ldconfig.c (print_version): Likewise.
6605         * elf/ldd.bash.in: Likewise.
6606         * elf/pldd.c (print_version): Likewise.
6607         * elf/sotruss.sh: Likewise.
6608         * elf/sprof.c (print_version): Likewise.
6609         * iconv/iconv_prog.c (print_version): Likewise.
6610         * iconv/iconvconfig.c (print_version): Likewise.
6611         * locale/programs/locale.c (print_version): Likewise.
6612         * locale/programs/localedef.c (print_version): Likewise.
6613         * login/programs/pt_chown.c (print_version): Likewise.
6614         * malloc/memusage.sh (do_version): Likewise.
6615         * malloc/memusagestat.c (print_version): Likewise.
6616         * malloc/mtrace.pl: Likewise.
6617         * manual/libc.texinfo: Likewise.
6618         * nptl/version.c (banner): Likewise.
6619         * nscd/nscd.c (print_version): Likewise.
6620         * nss/getent.c (print_version): Likewise.
6621         * nss/makedb.c (print_version): Likewise.
6622         * posix/getconf.c (main): Likewise.
6623         * scripts/test-installation.pl: Likewise.
6624         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6626         * All files with FSF copyright notices: Update copyright dates
6627         using scripts/update-copyrights.
6628         * intl/plural.c: Regenerated.
6629         * locale/programs/charmap-kw.h: Likewise.
6630         * locale/programs/locfile-kw.h: Likewise.
6632 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6634         [BZ #20593]
6635         Update DNS RR type definitions.
6636         * scripts/gen-rrtypes.py: New file.
6637         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
6638         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
6639         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
6640         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
6641         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
6642         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
6643         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
6644         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
6645         ns_t_ta, ns_t_dlv.
6646         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
6647         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
6648         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
6649         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
6650         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
6651         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
6652         Define.
6653         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
6654         entry for ns_t_zxfr.
6656 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6658         [BZ #18784]
6659         CVE-2015-5180
6660         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
6661         T_UNSPEC.  Adjust value.
6662         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
6663         * resolv/res_query.c (__libc_res_nquery): Likewise.
6664         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
6665         QTYPEs.
6666         * resolv/tst-resolv-qtypes.c: New file.
6667         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
6668         (tst-resolv-qtypes): Link against libresolv and libpthread.
6670 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6672         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
6674 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6676         * manual/tunables.texi: New chapter.
6677         * manual/Makefile (chapters): Add it.
6678         * manual/probes.texi (@node): Point to the Tunables chapter.
6680         * Makeconfig (have-tunables): Check for non-negative instead
6681         of positive.
6682         * configure.ac: Add 'valstring' as a valid value for
6683         --enable-tunables.
6684         * configure: Regenerate.
6685         * elf/Makefile (have-tunables): Check for non-negative instead
6686         of positive.
6687         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
6688         dl-tunables.c.
6689         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
6690         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
6691         (tunables_strdup): Likewise.
6692         (disable_tunables): Likewise.
6693         (parse_tunables): Likewise.
6694         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
6695         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
6696         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
6697         (TUNABLES_FRONTEND_yes): New macro, define as
6698         TUNABLES_FRONTEND_valstring by default.
6699         * manual/install.texi: Document new acceptable values for
6700         --enable-tunables.
6701         * INSTALL: Regenerate.
6703         * config.make.in (have-loop-to-function): Define.
6704         * elf/Makefile (CFLAGS-dl-tunables.c): Add
6705         -fno-tree-loop-distribute-patterns.
6706         * elf/dl-tunables.c: Include libc-internals.h.
6707         (GLIBC_TUNABLES): New macro.
6708         (tunables_strdup): New function.
6709         (parse_tunables): New function.
6710         (min_strlen): New function.
6711         (__tunables_init): Use the new functions and macro.
6712         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
6713         * malloc/tst-malloc-usable-tunables.c: New test case.
6714         * malloc/tst-malloc-usable-static-tunables.c: New test case.
6715         * malloc/Makefile (tests, tests-static): Add tests.
6717         * manual/install.texi: Add --enable-tunables option.
6718         * INSTALL: Regenerate.
6719         * README.tunables: New file.
6720         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
6721         (before-compile): Generate dl-tunable-list.h early.
6722         * config.h.in: Add HAVE_TUNABLES.
6723         * config.make.in: Add have-tunables.
6724         * configure.ac: Add --enable-tunables option.
6725         * configure: Regenerate.
6726         * csu/init-first.c (__libc_init_first): Move
6727         __libc_init_secure earlier...
6728         * csu/init-first.c (LIBC_START_MAIN):... to here.
6729         Include dl-tunables.h, libc-internal.h.
6730         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
6731         binaries.
6732         * elf/Makefile (dl-routines): Add dl-tunables.
6733         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
6734         namespace.
6735         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
6736         only when !HAVE_TUNABLES.
6737         * elf/rtld.c (process_envvars): Likewise.
6738         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
6739         (_dl_sysdep_start): Call __tunables_init.
6740         * elf/dl-tunable-types.h: New file.
6741         * elf/dl-tunables.c: New file.
6742         * elf/dl-tunables.h: New file.
6743         * elf/dl-tunables.list: New file.
6744         * malloc/tst-malloc-usable-static.c: New test case.
6745         * malloc/Makefile (tests-static): Add it.
6746         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
6747         Define TUNABLE_NAMESPACE.
6748         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
6749         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
6750         callback functions.
6751         (ptmalloc_init): Set tunable values.
6752         * scripts/gen-tunables.awk: New file.
6753         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
6754         (_dl_sysdep_start): Call __tunables_init.
6756 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6758         * resolv/resolv.h (RES_BLAST): Deprecate.
6759         * resolv/res_debug.c (p_option): Remove RES_BLAST.
6760         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
6761         to RES_BLAST.
6763 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6765         [BZ #19582]
6766         Deprecate RES_USE_INET6.
6767         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
6768         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
6769         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
6770         RES_USE_INET6.
6771         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
6772         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
6773         (_nss_nisplus_gethostbyaddr_r): Likewise.
6774         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
6775         of res_use_inet6.
6776         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
6777         instead of RES_USE_INET6.
6778         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
6779         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
6780         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
6781         Likewise.
6782         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
6783         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
6784         Likewise.
6785         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
6786         (_nss_dns_gethostbyname_r): Likewise.
6787         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
6788         alternate RES_USE_INET6 handling.
6789         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
6790         instead of RES_USE_INET6.
6791         * resolv/res_init.c (res_setoptions): Likewise.
6792         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
6793         * resolv/resolv-internal.h: New file.
6794         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
6795         make the deprecation warning non-fatal.
6796         * resolv/README (Using the resolver in multi-threaded code): Drop
6797         reference to RES_USE_INET6.
6798         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
6799         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
6801 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6803         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
6804         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
6805         tst-resolv-search.
6806         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
6807         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
6808         with libresolv and libpthread.
6809         * resolv/tst-bug18665.c: New file.
6810         * resolv/tst-bug18665-tcp: Likewise.
6811         * resolv/tst-res_use_inet6: Likewise.
6812         * resolv/tst-resolv-basic: Likewise.
6813         * resolv/tst-resolv-network: Likewise.
6814         * resolv/tst-resolv-search: Likewise.
6815         * support/Makefile (libsupport-routines): Add check_addrinfo,
6816         check_dns_packet, check_hostent, check_netent, resolv_test,
6817         support_format_address_family, support_format_addrinfo,
6818         support_format_dns_packet, support_format_herrno,
6819         support_format_hostent, support_format_netent, support_run_diff,
6820         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
6821         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
6822         xstrdup, xwrite.
6823         * support/check_addrinfo.c: New file.
6824         * support/check_dns_packet.c: Likewise.
6825         * support/check_hostent.c: Likewise.
6826         * support/check_netent.c: Likewise.
6827         * support/check_nss.h: Likewise.
6828         * support/format_nss.h: Likewise.
6829         * support/resolv_test.c: Likewise.
6830         * support/resolv_test.h: Likewise.
6831         * support/run_diff.h: Likewise.
6832         * support/support_format_address_family.c: Likewise.
6833         * support/support_format_addrinfo.c: Likewise.
6834         * support/support_format_dns_packet.c: Likewise.
6835         * support/support_format_herrno.c: Likewise.
6836         * support/support_format_hostent.c: Likewise.
6837         * support/support_format_netent.c: Likewise.
6838         * support/support_run_diff.c: Likewise.
6839         * support/xaccept.c: Likewise.
6840         * support/xbind.c: Likewise.
6841         * support/xconnect.c: Likewise.
6842         * support/xfclose.c: Likewise.
6843         * support/xfopen.c: Likewise.
6844         * support/xgetsockname.c: Likewise.
6845         * support/xlisten.c: Likewise.
6846         * support/xmemstream.c: Likewise.
6847         * support/xmemstream.h: Likewise.
6848         * support/xpoll.c: Likewise.
6849         * support/xpthread_once.c: Likewise.
6850         * support/xrecvfrom.c: Likewise.
6851         * support/xsendto.c: Likewise.
6852         * support/xsetsockopt.c: Likewise.
6853         * support/xstdio.h: Likewise.
6854         * support/xstrdup.c: Likewise.
6855         * support/support.h (xstrdup): Declare.
6856         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
6857         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
6858         * support/xthread.h (xpthread_once): Likwise.
6859         * support/xunistd.h (xwrite): Declare.
6861 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6863         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
6864         (test_verbose): Declare.
6865         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
6866         * support/support_test_main.c (default_options): Likewise.
6867         (usage, support_test_main): Handle 'v'.
6868         (test_verbose): Define.
6869         * support/tst-support_record_failure.c (do_test): Use
6870         test_verbose.
6871         * support/tst-support_record_failure-2.sh (different_status): Add
6872         --verbose test.
6874 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6876         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
6877         test failures are recorded.
6878         * support/check.c (support_print_failure_impl): Call
6879         support_record_failure.
6880         (support_exit_failure_impl): Call support_record_failure if status
6881         indicates failure.
6882         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
6883         * support/xasprintf.c (xasprintf): Likewise.
6884         * support/xfork.c (xfork): Likewise.
6885         * support/xpthread_check_return.c (xpthread_check_return):
6886         Likewise.
6887         * support/xsocket.c (xsocket): Likeweise.
6888         * support/xwaitpid.c (xwaitpid): Likewise.
6889         * support/support_record_failure.c (struct test_failures): Adjust
6890         to coding style.
6891         * support/support_test_verify_impl.c (support_test_verify_impl):
6892         Adjust error messages.
6893         * support/tst-support_record_failure-2.sh (different_status):
6894         Adjust error messages.
6896 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6898         * support/namespace.h: New file.
6899         * support/support_become_root.c: Likewise.
6900         * support/support_enter_network_namespace.c: Likewise.
6901         * support/tst-support-namespace.c: Likewise.
6902         * support/xsocket.c: Likewise.
6903         * support/xsocket.h: Likewise.
6904         * support/Makefile (libsupport-routines): Add support_become_root,
6905         support_enter_network_namespace, xsocket.
6906         (tests): Add tst-support-namespace.
6908 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6910         [BZ #17252]
6911         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
6912         __USE_GNU.
6914 2016-12-31  Torvald Riegel  <triegel@redhat.com>
6916         [BZ #13165]
6917         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
6918         use new algorithm.
6919         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6920         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6921         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6922         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6923         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
6924         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
6925         __condvar_cleanup_waiting, __condvar_dec_grefs,
6926         __pthread_cond_wait_common): New.
6927         (__condvar_cleanup): Remove.
6928         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
6929         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
6930         Likewise.
6931         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
6932         Likewise.
6933         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
6934         * nptl/tst-cond1.c: Add comment.
6935         * nptl/tst-cond20.c (do_test): Adapt.
6936         * nptl/tst-cond22.c (do_test): Likewise.
6937         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
6938         structure.
6939         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6940         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6941         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6942         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
6943         Likewise.
6944         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6945         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6946         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6947         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6948         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6949         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
6950         Likewise.
6951         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
6952         Likewise.
6953         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6954         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
6955         (COND_CLOCK_BITS): Adapt.
6956         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
6957         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
6958         __PTHREAD_COND_SHARED_MASK): New.
6959         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
6960         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
6961         * nptl/nptl_lock_constants.pysym: Adapt.
6962         * nptl/test-cond-printers.py: Adapt.
6963         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
6964         cond_compat_check_and_clear): Adapt.
6965         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
6966         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6967         (__pthread_cond_timedwait): ... and move here.
6968         * nptl/DESIGN-condvar.txt: Remove file.
6969         * nptl/lowlevelcond.sym: Likewise.
6970         * nptl/pthread_cond_timedwait.c: Likewise.
6971         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
6972         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
6973         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
6974         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
6975         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
6976         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
6977         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
6978         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
6979         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
6980         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
6981         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
6982         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
6983         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
6984         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
6985         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
6986         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
6988 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
6990         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6991         (fromfp): New declaration.
6992         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6993         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6994         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6995         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
6996         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
6997         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6998         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6999         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
7000         * math/math.h: Include <bits/types.h>.
7001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
7002         constant and macro.
7003         (FP_INT_DOWNWARD): Likewise.
7004         (FP_INT_TOWARDZERO): Likewise.
7005         (FP_INT_TONEARESTFROMZERO): Likewise.
7006         (FP_INT_TONEAREST): Likewise.
7007         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
7008         (fromfpf): Likewise.
7009         (fromfpl): Likewise.
7010         (ufromfp): Likewise.
7011         (ufromfpf): Likewise.
7012         (ufromfpl): Likewise.
7013         (fromfpx): Likewise.
7014         (fromfpxf): Likewise.
7015         (fromfpxl): Likewise.
7016         (ufromfpx): Likewise.
7017         (ufromfpxf): Likewise.
7018         (ufromfpxl): Likewise.
7019         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
7020         s_fromfpxF and s_ufromfpxF.
7021         * math/gen-fromfp-tests.py: New file.
7022         * math/gen-fromfp-tests-inputs: Likewise.
7023         * math/libm-test.inc: Include <stdint.h>
7024         (check_intmax_t): New function.
7025         (check_uintmax_t): Likewise.
7026         (struct test_fiu_M_data): New type.
7027         (struct test_fiu_U_data): Likewise.
7028         (RUN_TEST_fiu_M): New macro.
7029         (RUN_TEST_LOOP_fiu_M): Likewise.
7030         (RUN_TEST_fiu_U): Likewise.
7031         (RUN_TEST_LOOP_fiu_U): Likewise.
7032         (fromfp_test_data): New array.
7033         (fromfp_test): New function.
7034         (fromfpx_test_data): New array.
7035         (fromfpx_test): New function.
7036         (ufromfp_test_data): New array.
7037         (ufromfp_test): New function.
7038         (ufromfpx_test_data): New array.
7039         (ufromfpx_test): New function.
7040         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
7041         ufromfpx_test.
7042         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
7043         characters.
7044         * math/test-tgmath-ret.c: Include <stdint.h>.
7045         (rm): New variable.
7046         (width): Likewise.
7047         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
7048         called function.
7049         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
7050         CHECK_RET_CONST_TYPE.
7051         (CHECK_RET_CONST_DOUBLE): Likewise.
7052         (CHECK_RET_CONST_LDOUBLE): Likewise.
7053         (CHECK_RET_CONST): Take extra arguments and pass them to calls
7054         macros.
7055         (fromfp): New CHECK_RET_CONST call.
7056         (ufromfp): Likewise.
7057         (fromfpx): Likewise.
7058         (ufromfpx): Likewise.
7059         (do_test): Call check_return_fromfp, check_return_ufromfp,
7060         check_return_fromfpx and check_return_ufromfpx.
7061         * math/test-tgmath.c: Include <stdint.h>
7062         (NCALLS): Increase to 138.
7063         (F(compile_test)): Initialize i.  Call fromfp functions.
7064         (F(fromfp)): New function.
7065         (F(fromfpx)): Likewise.
7066         (F(ufromfp)): Likewise.
7067         (F(ufromfpx)): Likewise.
7068         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
7069         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
7070         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
7071         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
7072         ufromfpxl.
7073         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
7074         ufromfp and ufromfpx.
7075         * math/fromfp.h: New file.
7076         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
7077         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
7078         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
7079         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
7080         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
7081         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
7082         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
7083         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
7084         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
7085         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
7086         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
7087         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
7088         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
7089         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
7090         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
7091         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
7092         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
7093         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
7094         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
7095         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
7096         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
7097         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
7098         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
7099         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
7100         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
7101         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
7102         ufromfp, fromfpx and ufromfpx.
7103         (CFLAGS-nldbl-fromfp.c): New variable.
7104         (CFLAGS-nldbl-fromfpx.c): Likewise.
7105         (CFLAGS-nldbl-ufromfp.c): Likewise.
7106         (CFLAGS-nldbl-ufromfpx.c): Likewise.
7107         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
7108         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
7109         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
7110         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
7111         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
7112         * sysdeps/nacl/libm.abilist: Update.
7113         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7114         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7115         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7116         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7117         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7118         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7119         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7120         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7121         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7122         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7123         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7124         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7126         Likewise.
7127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7128         Likewise.
7129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7130         Likewise.
7131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7132         Likewise.
7133         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7134         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7135         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7136         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7137         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7139         Likewise.
7140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7141         Likewise.
7142         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7143         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7144         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7146 2016-12-30  Florian Weimer  <fweimer@redhat.com>
7148         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
7149         compat-gethnamaddr.
7150         (CPPFLAGS): Remove.
7151         * resolv/gethnamaddr.c: Rename ...
7152         * resolv/compat-gethnamaddr.c: ... to this file.
7153         (_endhtent): Make static.
7154         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
7155         symbol.
7156         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
7157         compat symbol.
7158         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
7159         symbol.
7160         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
7161         Turn into compat symbol.
7162         * include/resolv.h (_endhtent): Remove declaration.
7164 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
7166         * bits/types.h (__intmax_t): New typedef.
7167         (__uintmax_t): Likewise.
7168         * sysdeps/generic/stdint.h: Include <bits/types.h>.
7169         (intmax_t): Define using __intmax_t.
7170         (uintmax_t): Define using __uintmax_t.
7172         * support/Makefile (tests-special): Make definition conditional on
7173         [$(run-built-tests) = yes].
7174         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
7175         on [$(run-built-tests) = yes].
7177 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7179         * Rules (tests): Add tests-printers-programs to tests to be
7180         built.
7182 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7184         * sysvipc/Makefile (tests): Add test-sysvshm.
7185         * sysvipc/test-sysvshm.c: New file.
7187         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
7188         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
7189         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
7190         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
7191         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
7192         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
7193         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
7194         Likewise.
7195         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
7196         Likewise.
7197         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
7198         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
7199         is defined.
7201         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
7202         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
7203         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
7204         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
7205         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
7206         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
7207         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
7208         Likewise.
7209         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
7210         Likewise.
7211         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
7212         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
7213         defined.
7215         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7216         oldshmctl.
7217         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
7218         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
7219         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
7220         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
7221         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
7222         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
7223         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
7224         Likewise.
7225         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
7226         Likewise.
7227         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
7228         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
7229         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
7230         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
7231         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
7232         implementation.
7233         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
7234         if it is defined.
7236         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
7237         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
7238         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
7239         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
7240         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
7241         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
7242         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
7243         Likewise.
7244         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
7245         Likewise.
7246         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
7247         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
7248         Define to __NR_osf_shmat.
7249         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
7250         defined.
7252         * sysvipc/Makefile (tests): Add test-sysvsem.
7253         * sysvipc/test-sysvsem.c: New file.
7255         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
7256         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
7257         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
7258         Likewise.
7259         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
7260         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
7261         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
7262         Likewise.
7263         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
7264         Likewise.
7265         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
7266         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
7267         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
7268         add a comment about s390 syscall difference from default one.
7269         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
7270         syscall if it is defined.
7272         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
7273         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
7274         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
7275         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
7276         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
7277         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
7278         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
7279         Likewise.
7280         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
7281         Likewise.
7282         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
7283         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
7284         defined.
7286         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
7287         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
7288         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
7289         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
7290         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
7291         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
7292         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
7293         Likewise.
7294         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
7295         Likewise.
7296         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
7297         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
7298         if it is defined.
7300         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7301         oldsemctl.
7302         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
7303         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
7304         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
7305         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
7306         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
7307         implementation.
7308         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
7309         syscall if it is defined.
7310         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
7311         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
7312         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
7313         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
7314         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
7315         Likewise.
7316         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
7318         * sysvipc/Makefile (tests): Add test-sysvmsg.
7319         * sysvipc/test-sysvmsg.c: New file.
7320         * support/check.h (FAIL_UNSUPPORTED): New define.
7322         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
7323         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
7324         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
7325         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
7326         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
7327         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
7328         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
7329         Likewise.
7330         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
7331         Likewise.
7332         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
7333         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
7334         define.
7336         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
7337         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
7338         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
7339         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
7340         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
7341         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
7342         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
7343         Likewise.
7344         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
7345         Likewise.
7346         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
7347         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
7348         if defined.
7350         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
7351         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
7352         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
7353         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
7354         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
7355         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
7356         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
7357         Likewise.
7358         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
7359         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
7360         Likewise.
7361         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
7362         if defined.
7363         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
7365         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7366         oldmsgctl.
7367         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
7368         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
7369         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
7370         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
7371         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
7372         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
7373         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
7374         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
7375         Likewise.
7376         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
7377         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
7378         implementation.
7379         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
7380         if defined.
7382         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
7383         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
7384         definition and define its own.
7385         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
7386         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
7387         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
7388         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
7389         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
7390         definitions to common header.
7391         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
7392         operation from ipc_ops.h.
7394         * sysdeps/unix/sysv/linux/kernel-features.h
7395         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
7396         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7397         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
7398         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7399         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7400         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7401         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7402         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7403         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7404         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7405         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7406         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7407         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7408         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7409         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7411 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7413         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
7414         overflow in pointer addition.
7416 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7418         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7419         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
7420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7421         (strchr): Add __strchr_power8 to list of strchr functions.
7422         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
7423         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
7424         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
7425         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
7426         (strchr): Add __strchr_power8 to ifunc list.
7427         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
7428         (__strchrnul): Add __strchrnul_power8 to ifunc list.
7429         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
7430         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
7432 2016-12-28  Florian Weimer  <fweimer@redhat.com>
7434         * support/Makefile (libsupport-routines): Add
7435         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
7436         (tests): Add tst-support_record_failure.
7437         (tests-special): tst-support_record_failure-2.
7438         (tst-support_record_failure-2.out): Depend on
7439         tst-support_record_failure-2.sh and tst-support_record_failure.
7440         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
7441         (support_test_verify_impl, support_record_failure)
7442         (support_report_failure, support_report_failure_reset): Declare.
7443         * support/support_test_main.c (adjust_exit_status): New function.
7444         (support_test_main): Call it to incorporate record test failures.
7445         * support/support_test_verify_impl.c: New file.
7446         * support/support_record_failure.c: Likewise.
7447         * support/tst-support_record_failure.c: Likewise.
7448         * support/tst-support_record_failure-2.sh: Likewise.
7449         * support/xunistd.h: Likewise.
7450         * support/xfork.c: Likewise.
7451         * support/xwaitpid.c: Likewise.
7453 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
7455         * scripts/check-c++-types.sh: Add comments.
7457 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
7459         [BZ #19514]
7460         * resolv/res_send.c: Fix typo in comment.
7461         * sysdeps/i386/i386-mcount.S: Likewise.
7462         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7463         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7464         * sysdeps/sparc/sparc-mcount.S: Likewise.
7466 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7468         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
7469         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
7470         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
7471         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
7472         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
7473         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
7474         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
7475         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
7477 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7479         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
7481 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7483         [BZ #17252]
7484         * posix/unistd.h (getentropy): Declare.
7486 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7488         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
7489         Remove.
7490         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
7491         (cmd): Remove spoof, nospoof, spoofalert.
7492         (parse_line): Ignore spoof-related lines.
7493         (do_init): Do not process RESOLV_SPOOF_CHECK.
7495 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7497         [BZ #20964]
7498         sunrpc: Always obtain AF_INET addresses from NSS.
7499         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
7500         * sunrpc/rpc_gethostbyname.c: New file.
7501         * sunrpc/Makefile (routines): Add it.
7502         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
7503         * sunrpc/clnt_simp.c (callrpc): Likewise.
7504         * sunrpc/getrpcport.c (getrpcport): Likewise.
7506 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7508         * sunrpc/rpcinfo.c: Remove.
7509         * sunrpc/Makefile: Remove comments referring to rpcinfo.
7511 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7513         [BZ #19387]
7514         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
7515         addition.
7516         * string/test-memchr.c (do_test): Remove alignment limitation.
7517         (test_main): Add test that trigger BZ #19387.
7519 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7521         [BZ #7065]
7522         Enable stack protectore if requested by ./configure.
7523         * Makeconfig (+stack-protector): New variable.
7524         (+cflags): Use it.
7526 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7528         [BZ #7065]
7529         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
7530         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
7531         (__rt_sigreturn_stub): Use inhibit_stack_protector.
7532         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7533         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
7535 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7537         [BZ #7065]
7538         * login/Makefile (pt_chown-cflags): Remove.
7539         * nscd/Makefile (CFLAGS-nscd): Likewise.
7540         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7542 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7544         [BZ #7065]
7545         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
7546         non-libc-linking testcase.
7548 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7549             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7550             Florian Weimer  <fweimer@redhat.com>
7552         [BZ #7065]
7553         PLT avoidance for __stack_chk_fail*.
7554         * debug/Makefile (CFLAGS-stack_chk_fail.c)
7555         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
7556         * debug/stack_chk_fail.c (__stack_chk_fail): Add
7557         __stack_chk_fail_local alias.
7558         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
7559         (__stack_chk_fail): Turn into hidden reference to
7560         __stack_chk_fail_local.
7562 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7564         [BZ #7065]
7565         * configure.ac: Add check for unsupported stack-protection level.
7566         (libc_cv_predef_stack_protector): Remove.
7567         (no_ssp): New variable.
7568         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
7569         (stack_protector): Set to -fno-stack-protector similarly.
7570         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
7571         (libc_cv_asm_set_directive): Likewise.
7572         (libc_cv_protected_data): Likewise.
7573         (libc_cv_z_combreloc): Likewise.
7574         (libc_cv_hashstyle): Likewise.
7575         (libc_cv_has_glob_dat): Likewise.
7576         (libc_cv_output_format): Likewise.
7577         (libc_cv_output_format): Likewise.
7578         (libc_cv_ehdr_start): Likewise.
7579         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
7580         (LIBC_LINKER_FEATURE): Likewise.
7581         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
7583 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7585         [BZ #7065]
7586         * elf/Makefile (dummy-stack-chk-fail): New.
7587         (librtld.map): Use it.
7589 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7591         [BZ #7065]
7592         Compile the dynamic linker without stack protection.
7593         * elf/Makefile (elide-stack-protector): New.
7594         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
7595         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
7596         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
7597         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
7599 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7601         [BZ #7065]
7602         * config.make.in (have-ssp, no-stack-protector): New.
7603         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
7604         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
7605         (CFLAGS-sbrk.op): Likewise.
7606         (CFLAGS-brk.o): Likewise.
7607         (CFLAGS-brk.op): Likewise.
7608         * string/Makefile (CFLAGS-memcpy.c): Likewise.
7609         (CFLAGS-wordcopy.c): Likewise.
7611 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7613         [BZ #7065]
7614         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
7615         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
7616         * include/libc-symbols.h (inhibit_stack_protector): New macro.
7617         (__ifunc_resolver): Use it.
7618         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
7619         inhibit_stack_protector.
7620         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
7621         * elf/ifuncmain7.c (foo_ifunc): Likewise.
7622         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
7623         (foo_protected_ifunc): Likewise.
7624         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
7625         (foo_protected_ifunc): Likewise.
7626         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
7627         * sysdeps/nacl/nacl_interface_query.c
7628         (nacl_interface_query_ifunc): Likewise.
7629         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
7630         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
7631         Likewise.
7632         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
7633         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
7634         the generated vDSO syscall resolver.
7636 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7637             Florian Weimer  <fweimer@redhat.com>
7639         [BZ #7065]
7640         Initialize the stack guard earlier when linking statically.
7641         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
7642         (__pthread_initialize_minimal): Declare.
7643         * csu/libc-start.c (__pthread_initialize_minimal): Remove
7644         declaration.
7645         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
7646         stack canary and apply_irel initialization up.  Call
7647         __pthread_initialize_minimal only if linked in.
7648         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
7649         constant values.
7650         (__pthread_initialize_minimal): Remove.
7651         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
7652         (__pthread_initialize_minimal_internal): Do not call
7653         __libc_setup_tls.
7655 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7657         [BZ #7065]
7658         * configure.ac (libc_cv_ssp): Move up.
7659         (libc_cv_ssp_strong): Likewise.
7660         (libc_cv_ssp_all): New.
7661         (stack_protector): Augment, adding -fstack-protector-all.
7662         (no_stack_protector): New.
7663         (STACK_PROTECTOR_LEVEL): New.
7664         (AC_ARG_ENABLE(stack-protector)): New configure flag.
7665         * manual/install.texi (--enable-stack-protector): Document it.
7666         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
7668 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
7670         * README.pretty-printers: Must specify CPPFLAGS-* also.
7671         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
7672         (CPPFLAGS-test-mutex-printers.c): Define.
7673         (CPPFLAGS-test-condattr-printers.c): Define.
7674         (CPPFLAGS-test-cond-printers.c): Define.
7675         (CPPFLAGS-test-rwlockattr-printers.c): Define.
7676         (CPPFLAGS-test-rwlock-printers.c): Define.
7678         * nss/Makefile [ifeq (yes,$(have-thread-library))]
7679         (tests): Add tst-cancel-getpwuid_r.
7680         * nss/tst-cancel-getpwuid_r.c: New file.
7682         [BZ #11941]
7683         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
7684         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
7685         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
7686         tst-nodelete-dlclose.
7687         (modules-names): Add tst-nodelete-dlclose-dso and
7688         tst-nodelete-dlclose-plugin.
7689         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
7690         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
7691         ($(objpfx)tst-nodelete-dlclose): Define.
7692         ($(objpfx)tst-nodelete-dlclose.out): Define.
7694 2016-12-23  Florian Weimer  <fweimer@redhat.com>
7696         * scripts/test_printers_common.py: Log GDB output in case of
7697         Python detection failure.
7699 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7701         * configure.ac: Check for python3 or python.
7702         * configure: Regenerated.
7703         * config.make.in (PYTHON): New variable.
7704         * benchtests/Makefile: Don't define PYTHON.
7705         (bench): Define target only if PYTHON was defined.
7706         * Rules: Don't define PYTHON.
7707         Define pretty printer targets only if PYTHON was defined.
7708         (tests-printers): Add to tests-unsupported if PYTHON is not
7709         found.
7710         (python-flags, python-invoke): Remove.
7711         (tests-printers-out): Use PYTHON instead of python-invoke.
7713 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
7715         [BZ #20978]
7716         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7717         Compare name == NULL, not name != NULL.
7719         * manual/texinfo.tex: Update to version 2016-09-18.18 with
7720         trailing whitespace removed.
7721         * scripts/config.guess: Update to version 2016-10-02.
7722         * scripts/config.sub: Update to version 2016-11-19.
7723         * scripts/install-sh: Update to version 2016-01-11.22.
7724         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
7725         * scripts/move-if-change: Update to version 2016-01-11 22:04.
7727 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
7729         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
7730         (do_one_test) Restore original string so iteration works.
7731         * string/string-inlines.c (do_test): Create better input strings.
7732         (test_main) Reduce number of testruns.
7733         * string/string-inlines.c (__old_strsep_1c): New function.
7734         (__old_strsep_2c): Likewise.
7735         (__old_strsep_3c): Likewise.
7736         * string/strsep.c (__strsep): Remove case of small delim string.
7737         Call strcspn directly rather than strpbrk.
7738         * string/bits/string2.h (__strsep): Remove define.
7739         (__strsep_1c): Remove.
7740         (__strsep_2c): Remove.
7741         (__strsep_3c): Remove.
7742         (strsep): Remove.
7743         * sysdeps/unix/sysv/linux/internal_statvfs.c
7744         (__statvfs_getflags): Rename to __strsep.
7746 2016-12-21  Florian Weimer  <fweimer@redhat.com>
7748         * csu/libc-tls.c (_dl_tls_setup): Remove.
7749         * elf/dl-tls.c (_dl_tls_setup): Likewise.
7750         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
7751         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
7753 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
7755         [BZ #7065]
7756         * sysdeps/x86_64/Makefile [$(subdir) = elf]
7757         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
7759 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
7760             Florian Weimer  <fweimer@redhat.com>
7762         [BZ #7065]
7763         * csu/Makefile (tests): Empty assignment and document it.
7764         (tests-static): Remove.
7765         * csu/tst-empty.c: Move to...
7766         * misc/tst-empty.c: ... here.  Switch to new test driver.
7767         * csu/tst-atomic.c: Move to...
7768         * misc/tst-atomic.c: ... here.  Switch to new test driver.
7769         * csu/tst-atomic-long.c: Move to...
7770         * misc/tst-atomic-long.c: ... here.
7771         * misc/Makefile (tests): Add tst-empty, tst-atomic,
7772         tst-atomic-long.
7773         (tests-static): Add tst-empty.
7775 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
7777         * manual/nss.texi: Change incorrect @vtable to @table.
7778         * manual/arith.texi: Convert @tables of variables to @vtables
7779         and remove unnecessary indexing.
7780         * manual/filesys.texi: Likewise.
7781         * manual/llio.texi: Likewise.
7782         * manual/memory.texi: Likewise.
7783         * manual/process.texi: Likewise.
7784         * manual/resource.texi: Likewise.
7785         * manual/search.texi: Likewise.
7786         * manual/signal.texi: Likewise.
7787         * manual/socket.texi: Likewise.
7788         * manual/stdio.texi: Likewise.
7789         * manual/sysinfo.texi: Likewise.
7790         * manual/syslog.texi: Likewise.
7791         * manual/terminal.texi: Likewise.
7792         * manual/time.texi: Likewise.
7793         * manual/users.texi: Likewise.
7795 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
7797         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7798         (roundeven): New declaration.
7799         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
7800         macro.
7801         * math/Versions (roundeven): New libm symbol at version
7802         GLIBC_2.25.
7803         (roundevenf): Likewise.
7804         (roundevenl): Likewise.
7805         * math/Makefile (libm-calls): Add s_roundevenF.
7806         * math/libm-test.inc (roundeven_test_data): New array.
7807         (roundeven_test): New function.
7808         (main): Call roundeven_test.
7809         * math/test-tgmath.c (NCALLS): Increase to 134.
7810         (F(compile_test)): Call roundeven.
7811         (F(roundeven)): New function.
7812         * manual/arith.texi (Rounding Functions): Document roundeven,
7813         roundevenf and roundevenl.
7814         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
7815         * include/math.h (roundeven): Use libm_hidden_proto.
7816         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
7817         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
7818         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
7819         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
7820         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
7821         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
7822         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7823         roundeven.
7824         (CFLAGS-nldbl-roundeven.c): New variable.
7825         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
7826         * sysdeps/nacl/libm.abilist: Update.
7827         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7828         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7829         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7830         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7831         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7832         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7833         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7834         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7835         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7836         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7837         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7838         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7840         Likewise.
7841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7842         Likewise.
7843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7844         Likewise.
7845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7846         Likewise.
7847         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7848         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7849         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7850         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7851         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7853         Likewise.
7854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7855         Likewise.
7856         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7857         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7858         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7860 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
7862         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
7863         preprocessor indentation inside #if.
7865 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7867         * math/libm-test.inc (fmt_ftostr): New function.
7868         (print_float, check_float_internal): Replace some uses of
7869         FTOSTR with uses of fmt_ftostr.
7870         (print_max_error, print_complex_max_error, print_function_ulps)
7871         (print_complex_function_ulps): Remove uses of the macros
7872         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
7873         * math/test-double.h (FTOSTR): Define to strfromd.
7874         (PRINTF_EXPR): Delete.
7875         (PRINTF_XEXPR): Likewise.
7876         (PRINTF_NEXPR): Likewise.
7877         * math/test-float.h (FTOSTR): Define to strfromf.
7878         (PRINTF_EXPR): Delete.
7879         (PRINTF_XEXPR): Likewise.
7880         (PRINTF_NEXPR): Likewise.
7881         * math/test-ldouble.h (FTOSTR): Define to strfroml.
7882         (PRINTF_EXPR): Delete.
7883         (PRINTF_XEXPR): Likewise.
7884         (PRINTF_NEXPR): Likewise.
7886 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7888         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7889         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
7890         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
7891         (__lll_lock_elision): Decrement adapt_count while unlocking
7892         instead of before locking.
7893         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7894         (__lll_trylock_elision): Likewise.
7895         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
7896         (__lll_unlock_elision): Likewise.
7898 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7900         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
7901         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
7902         Use __libc_tbegin_retry macro.
7904 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7906         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
7907         Add -msoft-float.
7908         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
7909         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
7910         Use __libc_t* transaction macros instead of __builtin_t*.
7911         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7912         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7914 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7916         * sysdeps/unix/sysv/linux/s390/elision-lock.c
7917         (__lll_lock_elision): Use atomics to load / store adapt_count.
7918         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7919         (__lll_trylock_elision): Likewise.
7921 2016-12-20  Florian Weimer  <fweimer@redhat.com>
7923         Do not require memset elimination in explicit_bzero test.
7924         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
7925         (enum test_expectation): Add NO_EXPECTATIONS.
7926         (subtests): NO_EXPECTATIONS for ordinary clear.
7927         (check_test_buffer): Handle NO_EXPECTATIONS.
7928         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
7930 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
7932         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7933         (fmaxmag): New declaration.
7934         (fminmag): Likewise.
7935         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
7936         macro.
7937         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
7938         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
7939         (fmaxmagf): Likewise.
7940         (fmaxmagl): Likewise.
7941         (fminmag): Likewise.
7942         (fminmagf): Likewise.
7943         (fminmagl): Likewise.
7944         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
7945         * math/s_fmaxmag_template.c: New file.
7946         * math/s_fminmag_template.c: Likewise.
7947         * math/libm-test.inc (fmaxmag_test_data): New array.
7948         (fmaxmag_test): New function.
7949         (fminmag_test_data): New array.
7950         (fminmag_test): New function.
7951         (main): Call fmaxmag_test and fminmag_test.
7952         * math/test-tgmath.c (NCALLS): Increase to 132.
7953         (F(compile_test)): Call fmaxmag and fminmag.
7954         (F(fminmag)): New function.
7955         (F(fmaxmag)): Likewise.
7956         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
7957         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
7958         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
7959         fminmag.
7960         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
7961         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
7962         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
7963         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
7964         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
7965         and fminmag.
7966         (CFLAGS-nldbl-fmaxmag.c): New variable.
7967         (CFLAGS-nldbl-fminmag.c): Likewise.
7968         * sysdeps/nacl/libm.abilist: Update.
7969         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7970         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7971         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7972         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7973         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7974         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7975         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7976         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7977         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7978         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7979         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7980         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7982         Likewise.
7983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7984         Likewise.
7985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7986         Likewise.
7987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7988         Likewise.
7989         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7990         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7991         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7992         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7993         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7995         Likewise.
7996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7997         Likewise.
7998         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7999         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8000         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8002 2016-12-19  Torvald Riegel  <triegel@redhat.com>
8004         [BZ #20973]
8005         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
8006         wake-up in robust mutexes.
8007         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8009 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8011         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
8012         (CFLAGS-bench-fmaxf.c): New rule.
8013         (CFLAGS-bench-fminf.c): Likewise.
8014         * benchtests/fmaxf-inputs: New file.
8015         * benchtests/fminf-inputs: Likewise.
8017         * benchtests/Makefile (bench-math): Add fmin and fmax.
8018         (CFLAGS-bench-fmax.c): New rule.
8019         (CFLAGS-bench-fmin.c): Likewise.
8020         * benchtests/fmax-inputs: New file.
8021         * benchtests/fmin-inputs: Likewise.
8023         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
8024         parenthesis.
8025         (CMDLINE_PROCESS): Define using function instead of macro.
8026         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
8027         of test-skeleton.
8028         * benchtests/bench-memchr.c: Likewise.
8029         * benchtests/bench-memcmp.c: Likewise.
8030         * benchtests/bench-memcpy-large.c: Likewise.
8031         * benchtests/bench-memcpy.c: Likewise.
8032         * benchtests/bench-memmem.c: Likewise.
8033         * benchtests/bench-memmove-large.c: Likewise.
8034         * benchtests/bench-memmove.c: Likewise.
8035         * benchtests/bench-memset-large.c: Likewise.
8036         * benchtests/bench-memset.c: Likewise.
8037         * benchtests/bench-rawmemchr.c: Likewise.
8038         * benchtests/bench-strcasecmp.c: Likewise.
8039         * benchtests/bench-strcasestr.c: Likewise.
8040         * benchtests/bench-strcat.c: Likewise.
8041         * benchtests/bench-strchr.c: Likewise.
8042         * benchtests/bench-strcmp.c: Likewise.
8043         * benchtests/bench-strcpy.c: Likewise.
8044         * benchtests/bench-strcpy_chk.c: Likewise.
8045         * benchtests/bench-strlen.c: Likewise.
8046         * benchtests/bench-strncasecmp.c: Likewise.
8047         * benchtests/bench-strncmp.c: Likewise.
8048         * benchtests/bench-strncpy.c: Likewise.
8049         * benchtests/bench-strnlen.c: Likewise.
8050         * benchtests/bench-strpbrk.c: Likewise.
8051         * benchtests/bench-strrchr.c: Likewise.
8052         * benchtests/bench-strsep.c: Likewise.
8053         * benchtests/bench-strspn.c: Likewise.
8054         * benchtests/bench-strstr.c: Likewise.
8055         * benchtests/bench-strtok.c: Likewise.
8057 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8059         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
8060         stepping identification.
8061         (init_cpu_features): Add handle of Haswell.
8063 2016-11-25  Jim Meyering  <meyering@fb.com>
8065         [BZ #20386]
8066         Let gcc detect assert(a = 1) errors.
8067         * assert/assert.h (assert): Rewrite, retaining the old definintion
8068         when required, but otherwise putting the expression as-is in an "if"
8069         expression (hence, with no added parentheses) within a statement
8070         expression.
8072 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8074         * benchtests/Makefile (binaries-benchset): Depend on libsupport
8075         DSO.
8077 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
8079         * Rules (python-flags, python-invoke): New.
8080         ($(test-printers-out)): Use $(python-flags).
8082 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8084         * manual/arith.texi (Math Error Reporting): Document that sNaN
8085         arguments are not considered domain errors.
8087 2016-12-16  Zack Weinberg <zackw@panix.com>
8088             Florian Weimer <fweimer@redhat.com>
8089             Nick Mathewson <nickm@torproject.org>
8091         * string/explicit_bzero.c: New routine.
8092         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
8093         * string/Makefile (routines, strop-tests, tests): Add them.
8094         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
8095         * string/string.h [__USE_MISC]: Declare explicit_bzero.
8097         * debug/explicit_bzero_chk.c: New routine.
8098         * debug/Makefile (routines): Add it.
8099         * debug/tst-chk1.c: Test fortification of explicit_bzero.
8100         * string/bits/string3.h: Fortify explicit_bzero.
8102         * manual/string.texi: Document explicit_bzero.
8103         * NEWS: Mention addition of explicit_bzero.
8105         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
8106         data before returning, using explicit_bzero.
8107         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
8108         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8109         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8111         * include/string.h: Redirect internal uses of explicit_bzero
8112         to __explicit_bzero_chk[_internal].
8113         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
8114         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
8115         * sysdeps/arm/nacl/libc.abilist
8116         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8117         * sysdeps/unix/sysv/linux/alpha/libc.abilist
8118         * sysdeps/unix/sysv/linux/arm/libc.abilist
8119         * sysdeps/unix/sysv/linux/hppa/libc.abilist
8120         * sysdeps/unix/sysv/linux/i386/libc.abilist
8121         * sysdeps/unix/sysv/linux/ia64/libc.abilist
8122         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8123         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8124         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8125         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8126         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8127         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8128         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8129         * sysdeps/unix/sysv/linux/nios2/libc.abilist
8130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8134         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8135         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8136         * sysdeps/unix/sysv/linux/sh/libc.abilist
8137         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8138         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8141         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8142         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8143         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8144         Add entries for explicit_bzero and __explicit_bzero_chk.
8146 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8148         * math/fenv.h
8149         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
8150         (FE_SNANS_ALWAYS_SIGNAL): New macro.
8151         * math/test-fe-snans-always-signal.c: New file.
8152         * math/Makefile (tests): Add test-fe-snans-always-signal.
8153         (CFLAGS-test-fe-snans-always-signal.c): New variable.
8154         * manual/arith.texi (Infinity and NaN): Document
8155         FE_SNANS_ALWAYS_SIGNAL.
8157 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8159         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
8160         bracket.
8162 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8164         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
8165         before calling execv.
8167 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8169         [BZ #20971]
8170         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
8171         overflow in pointer addition.
8172         * string/test-memchr.c (do_test): Add an argument to pass as
8173         the size on memchr.
8174         (test_main): Add check for SIZE_MAX.
8176 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8178         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
8179         (libm-calls): Add w_scalblnF.
8180         * math/w_scalbln.c: Remove.
8181         * math/w_scalblnf.c: Likewise.
8182         * math/w_scalblnl.c: Likewise.
8183         * math/w_scalbln_template.c: New file with type-generic
8184         implementation based on math/w_scalbln.c.
8185         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
8186         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
8188 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8190         [BZ #20947]
8191         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
8192         either is a signaling NaN.
8193         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
8194         follow fmaxl more closely.
8195         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
8196         when either is a signaling NaN.
8197         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
8198         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
8199         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
8200         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
8201         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
8202         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
8203         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
8204         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
8205         (fmin_test_data): Likewise.
8207 2016-12-15  Andreas Schwab  <schwab@suse.de>
8209         * support/support_test_main.c (support_test_main): Don't shadow
8210         file-local variable test_pid.
8212 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8214         [BZ #20947]
8215         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
8216         either is a signaling NaN.
8217         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
8219 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
8221         [BZ #20947]
8222         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
8223         when either is a signaling NaN.
8224         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
8226         * bits/long-double.h: New file.
8227         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
8228         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
8229         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
8230         * sysdeps/mips/bits/long-double.h: Likewise.
8231         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
8232         * math/Makefile (headers): Add bits/long-double.h.
8233         * misc/sys/cdefs.h: Include <bits/long-double.h>.
8234         * stdlib/strtold.c: Include <bits/long-double.h> instead of
8235         <bits/wordsize.h>.
8236         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
8237         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
8238         * math/math.h: Do not include <bits/mathdef.h>.
8239         * sysdeps/aarch64/bits/mathdef.h: Remove file.
8240         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
8241         inclusion.
8242         * sysdeps/ia64/bits/mathdef.h: Remove file.
8243         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
8244         * sysdeps/mips/bits/mathdef.h: Likewise.
8245         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8246         * sysdeps/s390/bits/mathdef.h: Likewise.
8247         * sysdeps/sparc/bits/mathdef.h: Likewise.
8248         * sysdeps/x86/bits/mathdef.h: Likewise.
8249         * sysdeps/s390/s390-32/bits/wordsize.h
8250         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
8251         conditional code.
8252         * sysdeps/s390/s390-64/bits/wordsize.h
8253         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8254         Likewise.
8255         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
8256         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8257         Likewise.
8258         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
8259         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8260         Likewise.
8261         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8262         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8263         Likewise.
8265         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
8266         <linux/falloc.h>.
8267         (FALLOC_FL_KEEP_SIZE): Remove.
8268         (FALLOC_FL_PUNCH_HOLE): Likewise.
8269         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
8270         (FALLOC_FL_ZERO_RANGE): Likewise.
8272 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8274         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
8276 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8278         * sysdeps/unix/sysv/linux/renameat.c: New file.
8279         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
8281         * sysdeps/unix/sysv/linux/rename.c: New file.
8282         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
8284 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
8286         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
8287         * string/strtok.c (strtok): Change to tailcall __strtok_r.
8288         * string/strtok_r.c (__strtok_r): Optimize for performance.
8289         * string/string-inlines.c (__old_strtok_r_1c): New function.
8290         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
8292 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8294         * math/Makefile (gen-libm-calls): Add w_log1pF.
8295         (libm-calls): Remove w_log1pF.
8296         * math/w_log1p.c: Remove.
8297         * math/w_log1pf.c: Likewise.
8298         * math/w_log1pl.c: Likewise.
8299         * math/w_log1p_template.c: New file with type-generic
8300         implementation based on math/w_log1p.c.
8301         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
8302         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
8304 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
8306         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
8308 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
8310         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8311         kernel version to 4.9.
8313 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
8315         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
8316         ($(inst_libdir)/libm.a): Fix rule to create the target only.
8318 2016-12-13  Andreas Schwab  <schwab@suse.de>
8320         * sysdeps/powerpc/dl-procinfo.c: Don't define
8321         _dl_powerpc_platforms.
8322         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
8323         constants instead of referencing _dl_powerpc_platforms.
8324         (_dl_platform_string): Remove.
8326 2016-12-13  Florian Weimer  <fweimer@redhat.com>
8328         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
8330 2016-12-13  Florian Weimer  <fweimer@redhat.com>
8332         * Rules (binaries-shared-tests, binaries-pie-tests)
8333         (binaries-static-tests): Link with $(link-extra-libs-tests).
8334         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
8335         Remove $(link-extra-libs-tests).
8337 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8339         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8340         (sysdep_routines): Add strncmp_power9.
8341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8342         (strncmp): Add __strncmp_power9 to list of strncmp functions.
8343         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
8344         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8345         (strncmp): Add __strncmp_power9 to ifunc list.
8346         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
8348 2016-12-12  Florian Weimer  <fweimer@redhat.com>
8350         [BZ #17252]
8351         Add getentropy, getrandom.
8352         * stdlib/sys/random.h: New file.
8353         (headers): Add it.
8354         * stdlib/Makefile (routines): Add getentropy, getrandom.
8355         (tests): Add tst-getrandom.
8356         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
8357         * stdlib/getentropy.c: New file.
8358         * stdlib/getrandom.c: Likewise.
8359         * stdlib/tst-getrandom.c: Likewise.
8360         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
8361         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
8362         * manual/crypt.texi (Unpredictable Bytes): New section.
8363         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
8364         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
8365         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8366         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8367         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8368         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8369         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8370         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8371         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8372         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8373         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8374         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8375         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8376         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8377         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8378         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8380         Likewise.
8381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8382         Likewise.
8383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8385         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8386         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8387         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8388         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8389         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8392         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8393         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8394         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8396 2016-12-10  Florian Weimer  <fweimer@redhat.com>
8398         [BZ #20956]
8399         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
8400         as additional compiler barriers.
8401         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
8402         (fn2, do_test): Declare with external linkage.
8403         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
8404         (do_test): Declare with external linkage.
8405         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
8406         (do_test): Declare with external linkage.
8407         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
8408         (do_test): Declare with external linkage.
8410 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
8412         * support/support_test_main.c (support_test_main): Use correct
8413         timeout.
8415 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
8416             Florian Weimer  <fweimer@redhat.com>
8418         [BZ #16421]
8419         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
8420         and __u6_addr32 members.
8421         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
8422         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
8423         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
8424         Use __u6_addr32.
8425         * inet/tst-checks.c: Use <support/test-driver.c>
8426         * inet/tst-checks-posix.c: New file.
8427         * inet/Makefile (tests): Add it.
8428         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
8430 2016-12-09  Florian Weimer  <fweimer@redhat.com>
8432         New subdirectory support for build and test infrastructure.
8433         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
8434         setting install-lib.
8435         * Makeconfig (link-extra-libs-tests): Define.
8436         (+link-pie-tests, +link-static-tests, +link-tests): Use
8437         link-extra-libs-tests.
8438         (rpath-dirs, all-subdirs): Add support.
8439         (built-modules): Add libsupport.
8440         (libsupport): Define.
8441         * support: New directory.
8442         * support/Makefile: New file.
8443         * support/check.c: Likewise.
8444         * support/check.h: Likewise.
8445         * support/delayed_exit.c: Likewise.
8446         * support/ignore_stderr.c: Likewise.
8447         * support/oom_error.c: Likewise.
8448         * support/set_fortify_handler.c: Likewise.
8449         * support/support.h: Likewise.
8450         * support/temp_file-internal.h: Likewise.
8451         * support/temp_file.c: Likewise.
8452         * support/test-driver.c: Likewise.
8453         * support/test-driver.h: Likewise.
8454         * support/test_main.c: Likewise.
8455         * support/write_message.c: Likewise.
8456         * support/xasprintf.c: Likewise.
8457         * support/xcalloc.c: Likewise.
8458         * support/xmalloc.c: Likewise.
8459         * support/xpthread_barrier_destroy.c: Likewise.
8460         * support/xpthread_barrier_init.c: Likewise.
8461         * support/xpthread_barrier_wait.c: Likewise.
8462         * support/xpthread_cancel.c: Likewise.
8463         * support/xpthread_check_return.c: Likewise.
8464         * support/xpthread_cond_wait.c: Likewise.
8465         * support/xpthread_create.c: Likewise.
8466         * support/xpthread_detach.c: Likewise.
8467         * support/xpthread_join.c: Likewise.
8468         * support/xpthread_mutex_lock.c: Likewise.
8469         * support/xpthread_mutex_unlock.c: Likewise.
8470         * support/xpthread_sigmask.c: Likewise.
8471         * support/xpthread_spin_lock.c: Likewise.
8472         * support/xpthread_spin_unlock.c: Likewise.
8473         * support/xrealloc.c: Likewise.
8474         * support/xsignal.h: Likewise.
8475         * support/xthread.h: Likewise.
8476         * support_tempfile.h: Likewise.
8477         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
8478         (TEST_DATA_LIMIT): Remove unused macro.
8479         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
8480         <support/check.h>.
8481         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
8482         (ignore_stderr, set_fortify_handler): Remove.  Now in
8483         <support/support.h>.
8484         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
8485         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
8486         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
8487         (xpthread_join): Remove.  Now in <support/xthread.h>.
8488         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
8489         Introduce legacy wrappers.
8490         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
8491         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
8492         (write_message): Remove.
8493         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
8494         test-skeleton.c.
8495         * io/test-open-tmpfile: Likewise.
8496         * io/tst-posix_fallocate-common.c: Likewise.
8497         * libio/tst-fseek.c: Likewise.
8498         * malloc/tst-malloc-backtrace.c: Likewise.
8499         * malloc/tst-malloc-fork-deadlock.c: Likewise.
8500         * malloc/tst-malloc-thread-exit.c: Likewise.
8501         * nptl/tst-cancel7.c: Likewise.
8502         * nptl/tst-cleanup0.c: Likewise.
8503         * posix/tst-posix_fadvise-common.c: Likewise.
8504         * rt/tst-shm.c: Likewise.
8505         * time/bug-getdate1.c: Likewise.
8506         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8507         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
8508         * elf/Makefile (tst-piemod1.so): Link against libsupport.
8510 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
8512         * Rules [$(run-built-tests) != no] (tests-expected): Add
8513         $(tests-printers).
8514         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
8516 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
8518         [BZ #20539]
8519         * math/Makefile (install-lib-ldscripts): Add libm.a.
8520         (install_subdir): Remove.
8521         (install-others): Add.
8522         ($(inst_libdir)/libm.a): Add rule for installation as
8523         linker script.
8524         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
8526 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
8528         * INSTALL: Regenerated.
8529         * Makeconfig: Add comments and whitespace to make the control flow
8530         clearer.
8531         (+link-printers-tests, +link-pie-printers-tests,
8532         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
8533         built-rtld-LDFLAGS, link-libc-rpath,
8534         link-libc-tests-after-rpath-link,
8535         link-libc-printers-tests): New.
8536         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
8537         link-libc-tests): Use the new variables as required.
8538         * Makerules ($(py-const)): New rule.
8539         generated: Add $(py-const).
8540         * README.pretty-printers: New file.
8541         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
8542         (others): Depend on $(py-const).
8543         (tests): Depend on $(tests-printers-programs) or
8544         $(tests-printers-out),
8545         as required.  Pass $(tests-printers) to merge-test-results.sh.
8546         * manual/install.texi: Add requirements for testing the pretty
8547         printers.
8548         * nptl/Makefile (gen-py-const-headers, pretty-printers,
8549         tests-printers, CFLAGS-test-mutexattr-printers.c
8550         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
8551         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
8552         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
8553         * nptl/nptl-printers.py: New file.
8554         * nptl/nptl_lock_constants.pysym: Likewise.
8555         * nptl/test-cond-printers.c: Likewise.
8556         * nptl/test-cond-printers.py: Likewise.
8557         * nptl/test-condattr-printers.c: Likewise.
8558         * nptl/test-condattr-printers.py: Likewise.
8559         * nptl/test-mutex-printers.c: Likewise.
8560         * nptl/test-mutex-printers.py: Likewise.
8561         * nptl/test-mutexattr-printers.c: Likewise.
8562         * nptl/test-mutexattr-printers.py: Likewise.
8563         * nptl/test-rwlock-printers.c: Likewise.
8564         * nptl/test-rwlock-printers.py: Likewise.
8565         * nptl/test-rwlockattr-printers.c: Likewise.
8566         * nptl/test-rwlockattr-printers.py: Likewise.
8567         * scripts/gen-py-const.awk: Likewise.
8568         * scripts/test_printers_common.py: Likewise.
8569         * scripts/test_printers_exceptions.py: Likewise.
8571 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
8573         * scripts/build-many-glibcs.py (Context.__init__): Take strip
8574         argument.
8575         (Glibc.build_glibc): Strip installed shared libraries if
8576         requested.
8577         (get_parser): Add --strip option.
8578         (main): Update Context call.
8580 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8581             Dominik Vogt  <vogt@linux.vnet.ibm.com>
8583         [BZ #20847]
8584         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8585         array bounds for else branch.
8586         (__execvpe): Style fixes.
8587         * posix/tst-vfork3.c (run_script): New function.
8588         (create_script): Likewise.
8589         (do_test): Use run_script internal function.
8590         (do_prepare): Use create_script internal function.
8592 2016-12-07  Andreas Schwab  <schwab@suse.de>
8594         * sysdeps/unix/sysv/linux/x86/elision-conf.h
8595         (__elision_available): Don't declare.
8596         * sysdeps/unix/sysv/linux/x86/elision-conf.c
8597         (__elision_available): Don't define.
8598         (elision_init): Don't set __elision_available.
8600 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
8602         [BZ #20940]
8603         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
8604         return Inf for arguments Inf and sNaN.
8605         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
8606         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8607         Likewise.
8608         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8609         Likewise.
8610         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8611         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
8612         for arguments Inf and sNaN.  When returning a NaN, compute it by
8613         arithmetic on the arguments.
8614         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
8615         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
8616         arguments.
8618 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
8620         [BZ #20916]
8621         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
8622         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
8623         to compute result.
8624         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8625         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
8627 2016-12-05  Torvald Riegel  <triegel@redhat.com>
8629         * include/atomic.h (__atomic_check_size_ls): New.
8630         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
8631         atomic_store_release): Use it.
8632         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
8633         (elision_adapt, ELIDE_LOCK): Use atomics.
8634         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
8635         atomics and improve code comments.
8636         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
8637         (__lll_trylock_elision): Likewise.
8639 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8641         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
8642         programs.
8644 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
8646         [BZ #20916]
8647         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
8648         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
8649         arguments to compute result.
8650         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
8651         1 for arguments (sNaN, 0) or (1, sNaN).
8652         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8653         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8655         [BZ #20919]
8656         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
8657         NaN first argument when raised to power 0.
8658         * math/w_pow.c (__pow): Do not check for NaN or zero results from
8659         raising to power zero.
8660         * math/w_powf.c (__powf): Likewise.
8661         * math/w_powl.c (__powl): Likewise.
8662         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
8663         pow (0, 0) or pow (NaN, 0).
8665 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
8667         [BZ #20918]
8668         * configure.ac: Test for static NSS cryptographic libraries and set
8669         libc_cv_static_nss_crypt.
8670         * configure: Regenerate.
8671         * config.make.in (static-nss-crypt): Define.
8672         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
8673         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
8674         (CFLAGS-tst-linkall-static.c): Define.
8675         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
8676         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
8677         ($(objpfx)tst-linkall-static): Define.
8678         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
8679         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
8681 2016-12-02  Florian Weimer  <fweimer@redhat.com>
8683         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
8684         (one-hundred, tst-tls-many-dynamic-modules): Define.
8685         (modules-names): Add $(tst-tls-many-dynamic-modules).
8686         (tst-tls-manydynamic%mod.os): Build with special preprocessor
8687         macros.
8688         (tst-tls-manydynamic): Link against libdl, libpthread.
8689         (tst-tls-manydynamic.out): The test needs the test modules at run
8690         time.
8691         * elf/tst-tls-manydynamic.c: New file.
8692         * elf/tst-tls-manydynamic.h: Likewise.
8693         * elf/tst-tls-manydynamicmod.c: Likewise.
8695 2016-12-02  Florian Weimer  <fweimer@redhat.com>
8697         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
8698         (TLS_DTV_UNALLOCATED): Add.
8699         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
8700         offsets.
8702 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
8704         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8706 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
8708         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
8709         Add -fno-optimize-sibling-calls.
8711 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
8713         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
8714         New declaration.
8715         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
8716         macro.
8717         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
8718         New macro.
8719         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
8720         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
8721         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
8722         (llogbf): Likewise.
8723         (llogbl): Likewise.
8724         * math/Makefile (gen-libm-calls): Add w_llogbF.
8725         (tests): Add test-fp-llogb-constants.
8726         * math/w_llogb_template.c: New file.  Based on
8727         math/w_ilogb_template.c.
8728         * math/libm-test.inc (llogb_test_data): New array.
8729         (llogb_test): New function.
8730         (main): Call llogb_test.
8731         * math/test-fp-llogb-constants.c: New file.  Based on
8732         math/test-fp-ilogb-constants.c.
8733         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
8734         (do_test): Call check_return_llogb.
8735         * math/test-tgmath.c (NCALLS): Increase to 126.
8736         (F(compile_test)): Call llogb.
8737         (F(llogb)): New function.
8738         * manual/math.texi (Exponents and Logarithms): Document llogb,
8739         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
8740         * manual/libm-err-tab.pl (@all_functions): Add llogb.
8741         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
8742         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
8743         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
8744         (CFLAGS-nldbl-llogb.c): New variable.
8745         * sysdeps/nacl/libm.abilist: Update.
8746         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8747         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8748         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8749         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8750         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8751         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8752         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8753         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8754         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8755         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8756         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8757         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8759         Likewise.
8760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8761         Likewise.
8762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8763         Likewise.
8764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8765         Likewise.
8766         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8767         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8768         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8769         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8770         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8772         Likewise.
8773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8774         Likewise.
8775         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8776         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8777         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8779 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
8781         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
8782         _Float128 instead of long double.
8783         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
8785         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
8786         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
8787         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
8788         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
8789         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
8790         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
8791         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
8792         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
8793         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
8794         Likewise.
8796 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8798         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
8799         Remove redirection to __strrchr_ppc.
8801 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8803         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8804         (sysdep_routines): Add strcmp_power9.
8805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8806         (strcmp): Add __strcmp_power9 to list of strcmp functions.
8807         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
8808         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8809         (strcmp): Add __strcmp_power9 to ifunc list.
8810         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
8812 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
8814         * bits/fp-logb.h: New file.
8815         * sysdeps/ia64/bits/fp-logb.h: Likewise.
8816         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
8817         * sysdeps/x86/bits/fp-logb.h: Likewise.
8818         * math/Makefile (headers): Add bits/fp-logb.h.
8819         * math/math.h: Include <bits/fp-logb.h>.
8820         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
8821         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
8822         * bits/mathdef.h (FP_ILOGB0): Remove.
8823         (FP_ILOGBNAN): Likewise.
8824         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
8825         (FP_ILOGBNAN): Likewise.
8826         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
8827         (FP_ILOGBNAN): Likewise.
8828         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
8829         (FP_ILOGBNAN): Likewise.
8830         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
8831         (FP_ILOGBNAN): Likewise.
8832         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
8833         (FP_ILOGBNAN): Likewise.
8834         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
8835         (FP_ILOGBNAN): Likewise.
8836         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
8837         (FP_ILOGBNAN): Likewise.
8838         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
8839         (FP_ILOGBNAN): Likewise.
8840         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
8841         (FP_ILOGBNAN): Likewise.
8843         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
8844         time module.
8845         (Context.__init__): Initialize self.logsdir_old.
8846         (Context.run_builds): Handle bot action.
8847         (Context.bot_cycle): Copy logs directory before running builds.
8848         (Context.bot_run_self): Take argument for whether to check
8849         subprocess result.  Flush stdout before running subprocess.
8850         (Context.bot): New function.
8851         (get_parser): Allow bot action.
8853 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
8855         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
8856         Import email.mime.text, email.utils and smtplib modules.
8857         (Context.__init__): Initialize self.bot_config_json.
8858         (Context.run_builds): Handle bot-cycle action.
8859         (Context.load_bot_config_json): New function.
8860         (Context.part_build_old): Likewise.
8861         (Context.bot_cycle): Likewise.
8862         (Context.bot_build_mail): Likewise.
8863         (Context.bot_run_self): Likewise.
8864         (get_parser): Allow bot-cycle action.
8866 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8868         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
8869         Remove redirection to __stpcpy_ppc.
8871 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8873         Remove __libc_memalign from ld.so because it is unused.
8874         * elf/dl-minimal.c: Update comment on the malloc implementation.
8875         (malloc): Renamed from __libc_memalign, replacing the original
8876         malloc implementation.  Replace the align parameter with
8877         MALLOC_ALIGNMENT.
8878         * elf/Versions (ld): Update comment and remove __libc_memalign.
8879         * sysdeps/nacl/ld.abilist: Likewise.
8880         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
8881         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
8882         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
8883         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
8884         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
8885         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
8886         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
8887         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
8888         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
8889         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
8890         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
8891         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
8892         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
8893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
8894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8896         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
8897         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
8898         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
8899         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
8900         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
8901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
8902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
8903         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
8904         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
8905         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
8906         * sysdeps/generic/localplt.data (ld.so): Likewise.
8907         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8908         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8909         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8910         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8911         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8912         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8913         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8914         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
8915         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8917         (ld.so): Likewise.
8918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8919         (ld.so): Likewise.
8920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8921         Likewise.
8922         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8923         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8924         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
8925         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
8926         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8928 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8930         [BZ #16628]
8931         Implement _dl_catch_error, _dl_signal_error in libc.so.
8932         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
8933         (catch_hook): Define as thread-local or regular variable,
8934         depending on DL_ERROR_BOOTSTRAP.
8935         (CATCH_HOOK): Remove.
8936         (dl_signal_error, _dl_catch_error): Use
8937         catch_hook.  Add hidden definition for libc.
8938         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
8939         for DL_ERROR_BOOTSTRAP only.
8940         * elf/dl-error.c: New file.
8941         * elf/dl-error-minimal.c: Likewise.
8942         * elf/tst-latepthread.c: Likewise.
8943         * elf/tst-latepthreadmod.c: Likewise.
8944         * elf/Makefile (routines): Add dl-error.
8945         (dl-routines): Remove dl-error.
8946         (rtld-routines): Add dl-error-minimal.
8947         [build-shared] (tests): Add tst-latepthread.
8948         (module-names): Add tst-latepthreadmod.
8949         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
8950         symbol.
8951         (tst-latepthreadmod.so): Link against libpthread.
8952         (tst-latepthread): Link against libdbl.
8953         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
8954         _dl_catch_error.
8955         [ld] (GLIBC_PRIVATE): Likewise.
8956         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
8957         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
8958         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
8959         directly.
8960         * elf/dl-tsd.c: Remove file.
8961         * elf/rtld.c (_rtld_global_ro): Remove initializers for
8962         _dl_catch_error, _dl_signal_error.
8963         (_dl_initial_error_catch_tsd): Remove definition.
8964         (do_preload): Remove initialization of dl_error_catch_tsd.
8965         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
8966         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
8967         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8968         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8969         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
8970         set dl_error_catch_tsd.
8971         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
8972         _dl_error_catch_tsd member.
8973         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
8974         members.
8975         (_dl_initial_error_catch_tsd): Remove declaration.
8976         (_dl_dprintf): Provide definition for use outside of ld.so.
8977         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
8978         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
8979         prototype for libc.
8980         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
8981         _dl_catch_error.
8982         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8983         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8984         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8985         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8986         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8987         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8988         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8989         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
8990         Likewise.
8991         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8993         (ld.so): Likewise.
8994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8995         (ld.so): Likewise.
8996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8997         Likewise.
8998         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8999         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9000         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
9001         Likewise.
9002         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
9003         Likewise.
9004         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9006 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9008         [BZ #4099]
9009         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
9010         _IO_BUFSIZ (8192).
9012 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
9014         * PROJECTS: Remove file.
9016 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9018         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
9020 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
9021             Steve Ellcey  <sellcey@caviumnetworks.com>
9023         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
9024         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
9025         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
9026         fxstatat.
9027         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
9028         lxstat.
9029         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
9030         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
9031         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
9032         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
9033         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
9034         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
9035         __xstat.
9037 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9039         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
9040         Define.
9041         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
9042         definition.
9044 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9046         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
9047         version and turn into strong alias.  Remove compat symbol.
9049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9050         (__longjmp): Remove.
9052 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
9054         * bits/fp-fast.h: New file.
9055         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
9056         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
9057         * math/Makefile (headers): Add bits/fp-fast.h.
9058         * math/math.h: Include <bits/fp-fast.h>.
9059         * bits/mathdef.h (FP_FAST_FMA): Remove.
9060         (FP_FAST_FMAF): Likewise.
9061         (FP_FAST_FMAL): Likewise.
9062         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
9063         (FP_FAST_FMAF): Likewise.
9064         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
9065         (FP_FAST_FMAF): Likewise.
9066         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
9067         (FP_FAST_FMAF): Likewise.
9068         (FP_FAST_FMAL): Likewise.
9069         * sysdeps/arm/bits/mathdef.h: Remove file.
9070         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
9071         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9072         * sysdeps/tile/bits/mathdef.h: Likewise.
9074 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
9076         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
9077         * math/w_ilogb.c: Remove.
9078         * math/w_ilogbf.c: Likewise.
9079         * math/w_ilogbl.c: Likewise.
9080         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
9081         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
9082         * math/Makefile (gen-libm-calls): Add w_ilogbF.
9083         (libm-calls): Remove w_ilogbF.
9084         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
9085         (LDOUBLE_ilogbl_libm_version): New macro.
9087         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
9089         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
9090         [!__STRICT_ANSI__ && !__cplusplus].
9092 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9094         [BZ #20750]
9095         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
9096         of PIC.
9098 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9099             Yury Norov  <ynorov@caviumnetworks.com>
9100             Steve Ellcey  <sellcey@caviumnetworks.com>
9102         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
9103         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
9104         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
9105         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
9106         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
9107         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
9108         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
9109         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
9110         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
9111         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
9112         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
9113         to get correct reg name for ILP32.
9114         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
9115         (RELA_SIZE): New Macro.
9116         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
9117         to support ILP32.
9118         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
9119         cast for ILP32 mode.
9120         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
9121         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
9122         * sysdeps/aarch64/memset.S (__memset): Ditto.
9123         * sysdeps/aarch64/strchr.S (strchr): Ditto.
9124         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
9125         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
9126         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
9127         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
9128         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
9129         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
9130         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
9131         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
9132         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
9133         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
9134         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
9135         change PTR_MANGLE call to use register numbers instead of names.
9136         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
9137         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
9138         ILP32 mode, change PTR_MANGLE calls to use register numbers.
9139         * sysdeps/aarch64/start.S (_start): Ditto.
9140         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
9141         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
9142         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
9143         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
9144         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
9145         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
9146         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
9147         Make defined values dependent on __ILP32__.
9148         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
9149         (sem_t): Change __align type.
9150         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
9151         PTR_SIZE): New Macros.
9152         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
9153         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
9154         Set when in ILP32 mode.
9155         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
9156         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
9157         Set elf flags for ILP32.
9158         (add_system_dir): Set ILP32 library directories.
9159         * sysdeps/unix/sysv/linux/aarch64/init-first.c
9160         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
9161         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
9162         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
9163         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
9164         New Macros.
9165         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
9167 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
9169         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
9170         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
9171         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
9173 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
9175         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
9176         <asm/cachectl.h>.
9178 2016-11-27  Zack Weinberg  <zackw@panix.com>
9180         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
9181         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
9183 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9185         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
9186         error_t to fix usage in C++ programs.
9188 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
9190         * scripts/build-many-glibcs.py: Import datetime module.
9191         (Context.__init__): Load JSON build state.  Initialize list of
9192         status logs.
9193         (Context.run_builds): Update saved build state.
9194         (Context.add_makefile_cmdlist): Update list of status logs.
9195         (Context.load_build_state_json): New function.
9196         (Context.store_build_state_json): Likewise.
9197         (Context.clear_last_build_state): Likewise.
9198         (Context.update_build_state): Likewise.
9199         (CommandList.status_logs): Likewise.
9201 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
9203         * scripts/build-many-glibcs.py (Context.__init__): Save text of
9204         script being executed.
9205         (Context.get_script_text): New function.
9206         (Context.exec_self): Likewise.
9207         (Context.checkout): Re-exec script if changed by checkout process.
9209 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
9211         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9212         (setpayloadsig): New declaration.
9213         * math/Versions (setpayloadsig): New libm symbol at version
9214         GLIBC_2.25.
9215         (setpayloadsigf): Likewise.
9216         (setpayloadsigl): Likewise.
9217         * math/Makefile (libm-calls): Add s_setpayloadsigF.
9218         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
9219         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
9220         (setpayloadsig_test_data): New array.
9221         (setpayloadsig_test): New function.
9222         (main): Call setpayloadsig_test.
9223         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
9224         setpayloadsigf and setpayloadsigl.
9225         * manual/libm-err-tab.pl: Update comment on interfaces without
9226         ulps tabulated.
9227         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
9228         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
9229         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
9230         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
9231         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
9232         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
9233         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9234         setpayloadsig.
9235         (CFLAGS-nldbl-setpayloadsig.c): New variable.
9236         * sysdeps/nacl/libm.abilist: Update.
9237         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9238         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9239         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9240         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9241         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9242         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9243         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9244         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9245         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9246         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9247         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9248         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9250         Likewise.
9251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9252         Likewise.
9253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9254         Likewise.
9255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9256         Likewise.
9257         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9258         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9259         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9260         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9261         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9263         Likewise.
9264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9265         Likewise.
9266         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9267         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9268         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9270         * scripts/build-many-glibcs.py: Import json module.
9271         (Context.__init__): Take replace_sources argument.  Load
9272         versions.json.
9273         (Context.load_versions_json): New function.
9274         (Context.store_json): Likewise.
9275         (Context.store_versions_json): Likewise.
9276         (Context.set_component_version): Likewise.
9277         (Context.checkout): Update versions.json.  Check for and handle
9278         changes of version.  Prefer previously explicitly specified
9279         version to default version.
9280         (Context.checkout_vcs): Return a revision identifier.
9281         (Context.git_checkout): Likewise.
9282         (Context.gcc_checkout): Likewise.
9283         (get_parser): Add --replace-sources option.
9284         (main): Pass replace_sources argument to Context call.
9286 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9288         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
9289         * nptl/allocatestack.c (allocate_stack): Likewise.
9290         (__reclaim_stacks): Likewise.
9291         (setxid_signal_thread): Obtain pid through syscall.
9292         * nptl/nptl-init.c (sigcancel_handler): Likewise.
9293         (sighandle_setxid): Likewise.
9294         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
9295         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9296         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9297         Likewise.
9298         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
9299         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
9300         comment.
9301         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
9302         * nptl/descr.h (struct pthread): Change comment about pid value.
9303         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
9304         pid assert.
9305         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
9306         Do not set pid value.
9307         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
9308         pid cache check.
9309         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
9310         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
9311         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
9312         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
9313         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
9314         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9315         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
9316         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
9317         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
9318         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
9319         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
9320         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9321         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
9322         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9323         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
9324         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
9325         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9326         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
9327         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
9328         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
9329         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
9330         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9331         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
9332         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
9333         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
9334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9336         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9337         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9338         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9339         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
9340         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
9341         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
9342         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9343         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
9344         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9345         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
9346         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9347         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
9348         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
9349         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9350         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
9351         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
9352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9354         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9355         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9356         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9357         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9358         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9359         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
9360         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9361         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
9362         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
9363         struct access.
9364         (clone_test): Remove function.
9365         (do_test): Rewrite to take in consideration pid is not cached anymore.
9367 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
9369         * bits/flt-eval-method.h: New file.
9370         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
9371         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
9372         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
9373         * math/Makefile (headers): Add bits/flt-eval-method.h.
9374         * math/math.h: Include <bits/flt-eval-method.h>.
9375         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
9376         [__USE_ISOC99] (double_t): Likewise.
9377         * bits/mathdef.h (float_t): Remove.
9378         (double_t): Likewise.
9379         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
9380         (double_t): Likewise.
9381         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
9382         (double_t): Likewise.
9383         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
9384         (double_t): Likewise.
9385         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
9386         (double_t): Likewise.
9387         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
9388         (double_t): Likewise.
9389         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
9390         (double_t): Likewise.
9391         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
9392         (double_t): Likewise.
9393         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
9394         (double_t): Likewise.
9395         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
9396         (double_t): Likewise.
9397         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
9398         (double_t): Likewise.
9399         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
9400         (double_t): Likewise.
9401         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
9402         (double_t): Likewise.
9403         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
9404         (double_t): Likewise.
9406 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
9408         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
9409         instead of PIC.
9411 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9413         [BZ #20859]
9414         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
9415         (-0x7fffffff) instead of 0x80000001.
9416         * math/test-fp-ilogb-constants.c: New file.
9417         * math/Makefile (tests): Add test-fp-ilogb-constants.
9419 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
9421         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
9422         (_init): Use it in place of hardcoded R_MIPS_JALR.
9423         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
9424         (_init): Use it in place of hardcoded R_MIPS_JALR.
9425         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
9426         (_init): Use it in place of hardcoded R_MIPS_JALR.
9428 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9430         [BZ #20787]
9431         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
9432         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
9433         (double_t): Do not define to double if [__x86_64__] when
9434         __FLT_EVAL_METHOD__ is nonzero.
9435         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
9436         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
9437         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9438         test-flt-eval-method-387 and test-flt-eval-method-sse.
9439         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
9440         variable.
9441         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
9443 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
9445         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
9446         use of -fno-isolate-erroneous-paths options for tilepro.
9448 2016-11-23  Florian Weimer  <fweimer@redhat.com>
9450         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
9451         structure initialization is no longer needed.
9453 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9455         [BZ #20855]
9456         * bits/mathdef.h (float_t): Define to float.
9457         * math/test-flt-eval-method.c: New file.
9458         * math/Makefile (tests): Add test-flt-eval-method.
9459         (CFLAGS-test-flt-eval-method.c): New variable.
9461 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
9463         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
9464         and __fstatfs.  Make them aliases of __fstatfs64 if
9465         STATFS_IS_STATFS64 is set to non-zero.
9466         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
9467         and __statfs64.
9468         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
9469         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
9470         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
9471         for __statfs and statfs.
9472         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
9473         to 0.
9474         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
9475         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
9476         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
9477         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
9478         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
9479         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
9480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
9481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
9482         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
9483         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
9484         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
9485         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
9487 2016-11-22  Andreas Schwab  <schwab@suse.de>
9489         * misc/mkstemp.c: Include <fcntl.h>.
9490         * misc/mkstemps.c: Likewise.
9491         * misc/mkostemp.c: Likewise.
9492         * misc/mkostemps.c: Likewise.
9494 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
9496         [BZ #20847]
9497         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
9498         array bounds.
9499         (__execvpe): Likewise.
9501 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
9503         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
9504         -fno-isolate-erroneous-paths options for tilepro.
9506 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
9508         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
9509         to 0 when in 32 bit mode.
9510         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
9511         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
9512         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
9513         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
9514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
9515         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
9516         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
9517         XSTAT_IS_XSTAT64 test.
9518         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
9519         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
9520         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
9521         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
9522         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
9523         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
9524         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
9525         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
9526         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
9527         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
9528         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
9530 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
9532         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9533         (setpayload): New declaration.
9534         * math/Versions (setpayload): New libm symbol at version
9535         GLIBC_2.25.
9536         (setpayloadf): Likewise.
9537         (setpayloadl): Likewise.
9538         * math/Makefile (libm-calls): Add s_setpayloadF.
9539         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
9540         test_Ff_b1_data.
9541         (RUN_TEST_Ff_b1): New macro.
9542         (RUN_TEST_LOOP_Ff_b1): Likewise.
9543         (canonicalize_test_data): Update type.
9544         (setpayload_test_data): New array.
9545         (setpayload_test): New function.
9546         (main): Call setpayload_test.
9547         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
9548         setpayloadf and setpayloadl.
9549         * manual/libm-err-tab.pl: Update comment on interfaces without
9550         ulps tabulated.
9551         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
9552         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
9553         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
9554         Likewise.
9555         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
9556         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
9557         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
9558         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
9559         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
9560         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
9561         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
9562         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
9563         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
9564         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9565         setpayload.
9566         (CFLAGS-nldbl-setpayload.c): New variable.
9567         * sysdeps/nacl/libm.abilist: Update.
9568         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9569         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9570         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9571         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9572         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9573         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9574         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9575         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9576         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9577         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9578         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9579         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9581         Likewise.
9582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9583         Likewise.
9584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9585         Likewise.
9586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9587         Likewise.
9588         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9589         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9590         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9591         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9592         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9594         Likewise.
9595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9596         Likewise.
9597         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9598         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9599         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9601 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9603         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
9604         * include/unistd.h: Extend comment about __access_noerrno return
9605         semantics.
9606         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
9607         (access_common): Correct typo for EACCES.
9609 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
9611         * sysdeps/tile/math-tests.h: New file.
9613         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
9614         (__old_set_dataplane): Rename from set_dataplane and make a
9615         compatibility symbol.
9616         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
9617         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
9618         sys/dataplane.h.
9620 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
9622         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
9623         script quote words in command output to log suitably for input to
9624         the shell.
9626 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
9627             Maciej W. Rozycki  <macro@imgtec.com>
9629         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
9630         `.Lno_weak_fn' label.
9631         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
9632         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
9634 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9635             Yury Norov  <ynorov@caviumnetworks.com>
9637         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
9638         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
9639         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9640         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
9641         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9642         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
9643         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9644         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9645         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9646         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
9647         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9648         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
9649         (sysdep_routines): Remove oldgetrlimit64.
9650         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
9651         (sysdep_routines): Likewise.
9652         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
9653         (sysdep_routines): Likewise.
9654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9655         [$(subdir) = resource] (sysdep_routines): Likewise.
9656         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
9657         [$(subdir) = resource] (sysdep_routines): Likewise.
9658         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
9659         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
9660         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
9661         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
9662         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
9663         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9664         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9665         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
9666         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
9667         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
9668         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
9669         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
9670         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
9671         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
9672         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
9673         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
9674         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
9675         setrlimit and getrlimit.
9676         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
9677         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9678         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
9679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
9681         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9682         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
9683         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9684         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9685         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
9686         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
9687         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
9688         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
9689         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
9690         (__old_getrlimit64): Add compatibility symbol.
9691         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
9693 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
9695         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
9696         newly built gmp, mpfr and mpc.
9698         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
9700 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
9702         * conform/Makefile (linknamespace-libs): Rename to
9703         linknamespace-libs-thr.
9704         (linknamespace-libs-posix): New variable.
9705         (linknamespace-libs-xsi): Likewise.
9706         (linknamespace-libs-XPG3): Include libcrypt.a.
9707         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
9708         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
9709         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
9710         (linknamespace-libs-XOPEN2K): Likewise.
9711         (linknamespace-libs-XOPEN2K8): Likewise.
9712         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
9714         [BZ #20829]
9715         * stdio-common/Versions (__snprintf): Add to version
9716         GLIBC_PRIVATE.
9717         * include/stdio.h (__snprintf): Use libc_hidden_proto.
9718         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
9719         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
9720         of snprintf.
9721         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9723 2016-11-16  Zack Weinberg  <zackw@panix.com>
9725         * string/string.h: Remove obsolete comment stating that
9726         strcoll_l and strxfrm_l have not yet been standardized.
9728 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9730         * hurd/hurd.h (__hurd_fail_noerrno): New function.
9731         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
9732         __access_noerrno.
9733         * io/access.c (__access_noerrno): New function.
9734         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
9735         (hurd_fail_seterrno): Likewise.
9736         (access_common): Likewise.
9737         (__access_noerrno): Likewise.
9738         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
9739         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
9740         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
9741         macro.
9743 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
9745         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
9746         Only declare fpregs if [__SH_FPU_ANY__].
9748 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
9750         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
9751         Make code unconditional.
9752         [!(__SH4__ || __SH4A__)]: Remove conditional code.
9754 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
9756         * manual/sysinfo.texi (S_APPEND): Delete.
9757         (S_IMMUTABLE): Likewise.
9759 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
9760             Magnus Granberg  <zorry@gentoo.org>
9761             Mike Frysinger  <vapier@gentoo.org>
9763         [BZ #20662]
9764         * configure.ac (libc_cv_predef_stack_protector): Also check for
9765         __stack_chk_fail_local symbols.
9766         * configure: Regenerated.
9768 2016-11-15  Florian Weimer  <fweimer@redhat.com>
9770         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
9771         (libc_hidden_def): Remove redefinition.
9772         (__sigsetjmp): Add hidden definition.
9773         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
9774         (libc_hidden_def): Remove redefinition.
9775         (__sigsetjmp): Add hidden definition.
9777 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
9779         * scripts/build-many-glibcs.py (os.path): Do not import.
9780         (Context): Inherit explicitly from object.  Remove blank line
9781         between class and docstring.
9782         (Config): Likewise.
9783         (Glibc): Likewise.
9784         (Command): Likewise.
9785         (CommandList): Likewise.
9786         (Context.write_files): Store chmod mode in a variable.
9788         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
9789         LIBC_SLIBDIR_RTLDDIR for tilegx32.
9790         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
9792 2016-11-14  Zack Weinberg  <zackw@panix.com>
9794         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
9795         creating or re-creating it.
9797         * string/bits/string2.h: Fix typo in comment.
9799 2016-11-14  Zack Weinberg  <zackw@panix.com>
9801         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
9802         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
9803         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
9804         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
9805         of redirected function names.
9807         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
9808         as well.  Document that MESSAGE must be a single string literal.
9810 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
9812         * scripts/build-many-glibcs.py: New file.
9814         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
9815         (do_test): Disable -Wmaybe-uninitialized around uses of
9816         except_mask.
9818         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
9820 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
9822         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
9823         (atomic_store_release): Provide tilepro-specific implementations.
9825 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
9827         * math/math.h (__MATH_TG): New macro.
9828         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
9829         [__USE_ISOC99] (signbit): Likewise.
9830         [__USE_ISOC99] (isfinite): Likewise.
9831         [__USE_ISOC99] (isnan): Likewise.
9832         [__USE_ISOC99] (isinf): Likewise.
9833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
9834         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
9835         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
9836         __MATH_TG and __MATH_EVAL_FMT2.
9837         * sysdeps/generic/math_private.h (fabs_tg): Define using
9838         __MATH_TG.
9839         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
9840         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
9841         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
9842         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
9843         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
9844         macro.
9845         (__iscanonical): Likewise.
9846         (iscanonical): Define using __MATH_TG.
9848 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9850         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
9851         guards.
9853         * sysdeps/unix/sysv/linux/access.c: New file.
9854         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
9856 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
9858         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
9859         and __WORDSIZE32_PTRDIFF_LONG.
9861 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9863         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9865 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9867         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
9868         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
9869         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
9870         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
9871         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
9872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
9873         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
9874         * sysdeps/unix/sysv/linux/truncate.c: New file.
9875         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
9876         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
9877         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
9878         Remove.
9879         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
9880         Likewise.
9882         * posix/tst-truncate-common.c: New file.
9883         * posix/tst-truncate.c: Use tst-truncate-common.c.
9884         * posix/tst-truncate64.c: Likewise and add LFS tests.
9885         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
9886         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
9887         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
9888         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
9889         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
9890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
9891         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
9892         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
9893         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
9894         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
9895         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
9896         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
9897         Remove.
9898         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
9899         Likewise.
9901 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
9903         [BZ #20790]
9904         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
9905         to MAXLINESIZE.
9906         * sunrpc/bug20790.x: New file.
9907         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
9908         variable.
9909         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
9910         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
9912         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
9914         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
9916         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
9917         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
9918         calloc, realloc, free, memalign and __libc_memalign rather than
9919         making them optional.
9921         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
9922         for libc.so.
9924 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9926         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
9927         ptw-lseek64.
9928         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
9929         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
9930         Likewise.
9931         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
9932         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
9933         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
9934         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
9935         * sysdeps/unix/sysv/linux/lseek.c: New file.
9936         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
9937         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
9938         __libc_lseek64 from auto-generation.
9939         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9940         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
9942 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9944         * nptl/tst-basic1.c (tf, do_test): Use write_message.
9945         * nptl/tst-cleanup1.c (do_test): Likewise.
9946         * nptl/tst-cleanup3.c (do_test): Likewise.
9947         * nptl/tst-key1.c (do_test): Likewise.
9948         * nptl/tst-key2.c (tf, do_test): Likewise.
9949         * nptl/tst-key3.c (tf, do_test): Likewise.
9950         * nptl/tst-stdio1.c (do_test): Likewise.
9951         * nptl/tst-stdio2.c (do_test): Likewise.
9953         * nptl/tst-kill3.c (handler): Use write_message in place of write.
9954         * nptl/tst-kill6.c (handler): Likewise.
9955         * nptl/tst-tls2.c (CB): Likewise.
9956         * nptl/tst-tls3.c (CB): Likewise.
9958 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
9960         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
9962 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
9963             Steve Ellcey  <sellcey@caviumnetworks.com>
9965         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
9966           __ASSUME_ST_INO_64_BIT as 0
9967         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
9968         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
9969           over the code where __ASSUME_ST_INO_64_BIT is used.
9970         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
9971         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
9972         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9974 2016-11-07  Florian Weimer  <fweimer@redhat.com>
9976         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9977         Document ABI exposure of the __kind offset.
9978         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9979         Mention reason for the __kind offset exposure in the ABI.
9980         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9981         Likewise.
9982         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9983         Likewise.
9984         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9985         Likewise.
9986         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
9987         (struct __pthread_mutex_s): Likewise.
9988         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9989         Likewise.
9990         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9991         Likewise.
9992         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9993         Likewise.
9994         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9995         Likewise.
9996         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9997         Likewise.
9998         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9999         Likewise.
10000         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10001         (struct __pthread_mutex_s): Likewise.
10002         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10003         (struct __pthread_mutex_s): Likewise.
10004         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
10005         Likewise.
10007 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
10009         * test-skeleton.c: Document do_test usage.
10011 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
10013         * iconv/gconv.h (__gconv_info): Define __data element using a
10014         zero-length array.
10016 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
10018         * math/test-tgmath2.c: Split up test function.
10020 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10022         * Rules (tests-expected): New variable, depending on
10023         $(run-built-tests).
10024         (tests): Pass $(tests-expected) to merge-test-results.sh, not
10025         $(tests).
10027         * Rules [$(run-built-tests) = no] (tests): Do not depend on
10028         $(tests-unsupported).
10030 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10032         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10033         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
10035 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10037         [BZ #20768]
10038         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
10039         __fegetenv instead of fegetenv.
10041         [BZ #14139]
10042         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
10043         (find_files): Obtain platform name from libm-test-ulps-name and
10044         store in %pplatforms.
10045         (canonicalize_platform): Remove.
10046         (print_platforms): Use $pplatforms directly.
10047         (by_platforms): Do not allow for platforms missing from
10048         %pplatforms.
10049         * sysdeps/aarch64/libm-test-ulps-name: New file.
10050         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
10051         * sysdeps/arm/libm-test-ulps-name: Likewise.
10052         * sysdeps/generic/libm-test-ulps-name: Likewise.
10053         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
10054         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
10055         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
10056         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
10057         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
10058         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
10059         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
10060         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
10061         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
10062         * sysdeps/nios2/libm-test-ulps-name: Likewise.
10063         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
10064         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
10065         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
10066         * sysdeps/sh/libm-test-ulps-name: Likewise.
10067         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
10068         * sysdeps/tile/libm-test-ulps-name: Likewise.
10069         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
10071         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
10073         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
10074         (test-xfail-check-execstack): New variable.
10076         * sysdeps/mips/localplt.data: New file.
10078 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
10079             Steve Ellcey  <sellcey@caviumnetworks.com>
10081         * bits/wordsize.h: Add documentation.
10082         * sysdeps/aarch64/bits/wordsize.h : New file
10083         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
10084         definitions.
10085         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
10086         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
10087         with #if instead of #ifdef.
10088         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
10089         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
10090         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
10091         Add or change defines.
10092         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
10093         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10094         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
10095         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
10096         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10097         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10098         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
10099         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
10100         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
10101         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10102         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
10103         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
10104         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
10105         * sysdeps/x86/bits/wordsize.h: Likewise.
10107 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
10108             Kevin Petit  <kevin.petit@arm.com>
10110         * sysdeps/aarch64/memchr.S (__memchr): New file.
10112 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10114         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
10116 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
10118         [BZ #19398]
10119         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
10120         $(linknamespace-symlists-tests).
10122 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
10124         * time/tst-strptime2.c: Ignore -Wformat-length warning.
10126 2016-11-02  Florian Weimer  <fweimer@redhat.com>
10127             Carlos O'Donell  <carlos@redhat.com>
10129         [Bug #20729]
10130         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
10131         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
10132         for -Os related change.
10134 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
10136         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
10138 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
10140         [BZ #19673]
10141         * manual/math.texi (Exponents and Logarithms): Correct description
10142         of clog10.
10144 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
10146         [Bz #20729]
10147         * locale/weight.h: Include libc-internal.h.
10148         * locale/weightwc.h: Likewise.
10149         * nptl/nptl_dbP.h: Likewise.
10151 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
10153         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
10154         when it is MACH_PORT_NULL.
10156 2016-10-31  Andreas Schwab  <schwab@suse.de>
10158         [BZ #20707]
10159         * posix/glob.c (glob): Initialize pglob before checking for
10160         GLOB_BRACE.  Don't call glob recursively if pattern contains no
10161         valid brace expression despite GLOB_BRACE.
10162         * posix/globtest.sh: Test it.
10164 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
10166         [BZ #20729]
10167         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
10168         Define.
10169         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
10170         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
10171         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
10172         for seq2.back_us and seq1.back_us only for -Os compiles.
10173         * locale/weightwc.h (findix): Likewise.
10174         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
10175         DB_GET_FIELD_ADDRESS only for -Os compiles.
10176         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
10177         for slen only for -Os compiles.
10178         * string/strcoll_l.c (get_next_seq): Ignore
10179         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
10180         for -Os compiles.
10182         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
10183         * include/crypt.h: New file.
10185 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10187         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
10188         from test-skeleton.c.
10189         (statclass): Replace calls to write with calls to write_message.
10191 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
10193         * math/math.h
10194         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
10195         New macro.
10196         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
10197         Likewise.
10198         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
10199         Likewise.
10200         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
10201         SNANL.
10202         * math/test-double.h (snan_value_MACRO): New macro.
10203         * math/test-float.h (snan_value_MACRO): Likewise.
10204         * math/test-ldouble.h (snan_value_MACRO): Likewise.
10205         * math/libm-test.inc (issignaling_test_data): Add tests of
10206         snan_value_MACRO.
10208 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10210         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
10211         behavior when eliding a lock not held by the current thread.
10212         * sysdeps/powerpc/nptl/elide.h: Likewise.
10214 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10216         [BZ #20728]
10217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
10218         branch to _exit() by a function call.
10220 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10222         * malloc/malloc.c: Update chunk layout comments.
10223         (chunk_main_arena): Update comment.
10225 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10227         * crypt/sha256.c, crypt/sha256-block.c,
10228         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
10229         sha256_process_block to __sha256_process_block.
10230         * crypt/sha512.c, crypt/sha512-block.c,
10231         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
10232         sha512_process_block to __sha512_process_block.
10234 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
10236         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
10238         * math/test-nan-overflow.c: Include stdlib.h for malloc.
10240 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
10242         [BZ #20019]
10243         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
10244         definition in unrelocated shared library.
10245         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10247 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10249         [BZ #20729]
10250         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
10251         * sysdeps/unix/sysv/linux/i386/Makefile
10252         (uses-6-syscall-arguments): Define.
10253         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
10254         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
10255         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
10256         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
10257         Likewise.
10258         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
10259         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
10260         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
10261         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
10262         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
10263         (CFLAGS-fallocate64.os): Likewise.
10264         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
10265         (CFLAGS-pthread_rwlock_timedrdlock.os)
10266         (CFLAGS-pthread_rwlock_timedwrlock.o)
10267         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
10268         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
10269         (CFLAGS-sem_timedwait.os): Likewise.
10271 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10273         * elf/tst-linkall-static.c: New file.
10274         * elf/Makefile (tests-static): Add tst-linkall-static.
10275         (tst-linkall-static): Link against static libraries.
10277 2016-10-27  Florian Weimer  <fweimer@redhat.com>
10279         * malloc/malloc.c (sysmalloc): Initialize previous size field of
10280         mmaped chunks.
10282 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10284         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
10285         members to mchunk_prev_size, mchunk_size.
10286         (chunk_main_arena): Reverse sense and rename from
10287         chunk_non_main_arena.
10288         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
10289         mchunk_size instead of size.
10290         (set_non_main_arena): Define.
10291         (chunksize): Use chunksize_nomask instead of direct member access.
10292         (chunksize_nomask): Define.
10293         (next_chunk): Use chunksize instead of direct member access.
10294         (prev_size, set_prev_size): Define.
10295         (prev_chunk): Use prev_size instead of direct member access.
10296         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
10297         (inuse_bit_at_offset, set_inuse_bit_at_offset)
10298         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
10299         (mchunk_prev_size, mchunk_size): Poison tokens.
10300         (unlink): Use chunksize_nomask, prev_size accessors.
10301         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
10302         (do_check_free_chunk): Use prev_size accessor.
10303         (sysmalloc): Use set_prev_size, set_head accessors.
10304         (munmap_chunk, mremap_chunk): Use prev_size accessor.
10305         (__libc_free): Use chunksize_nomask accessor.
10306         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
10307         chunk_main_arena accessors.
10308         (_int_free): Use chunksize_nomask, prev_size accessors.
10309         (malloc_consolidate): Use chunksize, prev_size accessors.
10310         (_int_realloc): Use chunksize_nomask accessor.
10311         (_int_memalign): Use set_prev_size accessor.
10312         (__malloc_info): Use chunksize_nomask accessor.
10313         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
10314         accessors.
10315         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
10316         (heap_trim): Use chunksize_nomask, prev_size accessors.
10318 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
10320         [BZ #19380]
10321         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
10322         for inexact results.
10323         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
10324         of inexact result where mpfr_subnormalize is the only inexact
10325         step.
10326         * stdlib/tst-strtod-round-data.h: Regenerated.
10327         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
10328         Define to 0.
10329         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
10331 2016-10-27  David S. Miller  <davem@davemloft.net>
10333         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
10335 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10337         * malloc/malloc.c (do_set_mallopt_check): New function.
10338         (do_set_mmap_threshold): Likewise.
10339         (do_set_mmaps_max): Likewise.
10340         (do_set_top_pad): Likewise.
10341         (do_set_perturb_byte): Likewise.
10342         (do_set_trim_threshold): Likewise.
10343         (do_set_arena_max): Likewise.
10344         (do_set_arena_test): Likewise.
10345         (__libc_mallopt): Use them.
10347 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
10349         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10350         (canonicalize): New declaration.
10351         * math/Versions (canonicalize): New libm symbol at version
10352         GLIBC_2.25.
10353         (canonicalizef): Likewise.
10354         (canonicalizel): Likewise.
10355         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
10356         * math/s_canonicalize_template.c: New file.
10357         * math/libm-test.inc: Update comment on functions tested and
10358         testing of NaN payloads.
10359         (TEST_NAN_PAYLOAD): New macro.
10360         (NO_TEST_INLINE): Update value.
10361         (XFAIL_TEST): Likewise.
10362         (ERRNO_UNCHANGED): Likewise.
10363         (ERRNO_EDOM): Likewise.
10364         (ERRNO_ERANGE): Likewise.
10365         (IGNORE_RESULT): Likewise.
10366         (NON_FINITE): Likewise.
10367         (TEST_SNAN): Likewise.
10368         (NO_TEST_MATHVEC): Likewise.
10369         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
10370         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
10371         (struct test_Ffp_b1_data): New type.
10372         (RUN_TEST_Ffp_b1): New macro.
10373         (RUN_TEST_LOOP_Ffp_b1): Likewise.
10374         (canonicalize_test_data): New array.
10375         (canonicalize_test): New function.
10376         (main): Call canonicalize_test.
10377         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
10378         canonicalizef and canonicalizel.
10379         * manual/libm-err-tab.pl: Update comment on interfaces without
10380         ulps tabulated.
10381         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
10382         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
10383         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10384         canonicalize.
10385         (CFLAGS-nldbl-canonicalize.c): New variable.
10386         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
10387         to ...
10388         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
10389         ... here.
10390         (do_test): Also test canonicalizel.
10391         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
10392         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
10393         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
10394         file.
10395         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
10396         Use libm_hidden_def.
10397         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
10398         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
10399         (do_test): Also test canonicalizel.
10400         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
10401         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
10402         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
10403         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
10404         libm_hidden_def.
10405         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
10406         macro.
10407         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
10408         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
10409         * sysdeps/nacl/libm.abilist: Update.
10410         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10411         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10412         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10413         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10414         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10415         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10416         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10417         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10418         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10419         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10420         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10421         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10423         Likewise.
10424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10425         Likewise.
10426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10427         Likewise.
10428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10429         Likewise.
10430         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10431         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10432         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10433         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10434         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10436         Likewise.
10437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10438         Likewise.
10439         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10440         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10441         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10443         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
10444         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10445         getpayload.
10446         (CFLAGS-nldbl-getpayload.c): New variable.
10448 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10450         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
10451         integer from the format string.
10453 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10455         [BZ #19473]
10456         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
10457         declarations.
10458         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
10459         weak aliases.
10460         * malloc/hooks.c (__malloc_get_state): Remove definition.
10461         (malloc_get_state): New stub implementation as
10462         compatibility symbol.
10463         (malloc_set_state): Rename from __malloc_set_state.  Turn into
10464         compat symbol.
10465         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
10466         malloc_set_state.
10467         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
10469 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10471         * iconvdata/iso646.c (enum variant): Drop illegal_var.
10472         (names): Turn into concatenation of strings.
10473         (gconv_init): Adapt iteration over names.
10475 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10477         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
10478         make const.
10479         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
10480         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
10481         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
10482         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
10483         character in sbconv.
10484         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
10485         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
10486         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
10488 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10490         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
10492         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
10493         (M_TRIM_THRESHOLD): Likewise.
10495         * manual/memory.texi (M_ARENA_TEST): Add documentation.
10496         (M_ARENA_MAX): Likewise.
10497         * malloc/malloc.c: Remove obsolete comment.
10499         * manual/memory.texi: Add environment variable alternatives to
10500         setting mallopt parameters.
10502 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
10504         * include/atomic.h
10505         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
10506         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
10508 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10510         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
10511         * stdlib/tst-strfrom.h: New file.
10512         * stdlib/tst-strfrom.c: New file.
10513         * stdlib/tst-strfrom-locale.c: New file.
10515         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
10516         * stdlib/bug-strtod2.c: Likewise.
10517         * stdlib/tst-strtod-round-skeleton.c: Likewise.
10518         * stdlib/tst-strtod6.c: Likewise.
10519         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
10521 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10523         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
10524         * manual/arith.texi: Document strfromd, strfromf, strfroml.
10525         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
10526         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
10527         * stdlib/stdlib.h (strfromd): New declaration.
10528         (strfromf): Likewise.
10529         (strfroml): Likewise.
10530         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
10531         strfrom.
10532         * stdlib/strfromd.c: New file.
10533         * stdlib/strfromf.c: Likewise.
10534         * stdlib/strfroml.c: Likewise.
10535         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
10536         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
10537         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
10538         * sysdeps/arm/nacl/libc.abilist: Update.
10539         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10540         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10541         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10542         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10543         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10544         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10545         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10546         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10547         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10548         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10549         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10550         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10551         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10552         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
10554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10557         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10558         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10559         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10560         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10561         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10564         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10565         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10566         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10568 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
10570         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
10571         instead of cmpli.
10572         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
10573         instead of cmpli.
10575 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
10577         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
10578         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
10579         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
10580         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10581         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10582         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10584 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10586         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
10587         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10588         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
10589         SYSCALL_LL64_PRW.
10590         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10591         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
10592         __ASSUME_PRW_DUMMY_ARG.
10593         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
10594         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10595         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10596         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10597         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
10598         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
10600 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
10602         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
10604 2016-10-22  Florian Weimer  <fweimer@redhat.com>
10606         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
10607         "C++", to override a potential extern "C" directive around the
10608         header file inclusion.
10610 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
10612         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
10614 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10616         * sysdeps/powerpc/fpu/fenv_private.h:
10617         (_FPU_MASK_ALL): Rename to...
10618         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
10619         XE FPSCR bits.
10621         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
10623         (_FPU_MASK_ROUNDING): Rename to...
10624         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
10625         NI bits.
10627         (_FPU_MASK_EXCEPT_ROUND): Rename to...
10628         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
10629         bits and rounding bits.
10631         (__libc_feholdbits_ppc): New inline function to mask, set,
10632         and pontentially clear FSPCR bits, and change MSR[FE] bits.
10633         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
10634         (libc_feholdexcept_setround_ppc): Likewise.
10636         (__libc_femergeenv_ppc): New function to dynamically mask both
10637         old and new FP environments and merge.
10638         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
10639         (libc_feresetround_ppc): Likewise.
10640         (libc_feupdateenv_test_ppc): Likewise.
10641         (libc_feupdateenv_ppc): Likewise.
10643         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
10644         of ISA RN bits, and update macro names.
10645         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
10646         effectively the same as the previously mentioned function.
10648         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
10649         usage with fe_resetround_ppc.
10651         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
10652         to be used.
10653         (libc_feholdexcept_setround_ctxf): Likewise.
10654         (libc_feholdexcept_setround_ctxl): Likewise.
10656 2016-10-21  Florian Weimer  <fweimer@redhat.com>
10658         [BZ #20715]
10659         * math/math.h [__cplusplus] (iszero): Define as function template.
10660         * math/Makefile [CXX] (tests): Add test-math-iszero.
10661         (CFLAGS-test-math-iszero.cc): Set.
10662         * math/test-math-iszero.cc: New file.
10664 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
10666         [BZ #20660]
10667         * sysdeps/arm/e_sqrt.c: New file.
10668         * sysdeps/arm/e_sqrtf.c: Likewise.
10670 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
10672         [BZ #20718]
10673         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
10674         not use floating-point comparisons to test sign.
10675         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
10676         Likewise.
10678         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10679         (getpayload): New declaration.
10680         * math/Versions (getpayload): New libm symbol at version
10681         GLIBC_2.25.
10682         (getpayloadf): Likewise.
10683         (getpayloadl): Likewise.
10684         * math/Makefile (libm-calls): Add s_getpayloadF.
10685         * math/libm-test.inc: Include <nan-high-order-bit.h>.
10686         (struct test_f_f_data): Add comment.
10687         (RUN_TEST_fp_f): New macro.
10688         (RUN_TEST_LOOP_fp_f): Likewise.
10689         (getpayload_test_data): New array.
10690         (getpayload_test): New function.
10691         (main): Call getpayload_test.
10692         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
10693         descriptor.
10694         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
10695         getpayloadf and getpayloadl.
10696         * manual/libm-err-tab.pl: Update comment on interfaces without
10697         ulps tabulated.
10698         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
10699         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
10700         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
10701         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
10702         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
10703         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
10704         * sysdeps/nacl/libm.abilist: Update.
10705         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10706         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10707         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10708         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10709         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10710         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10711         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10712         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10713         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10714         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10715         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10716         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10718         Likewise.
10719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10720         Likewise.
10721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10722         Likewise.
10723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10724         Likewise.
10725         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10726         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10727         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10728         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10729         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10731         Likewise.
10732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10733         Likewise.
10734         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10735         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10736         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10738 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10740         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
10741         tst-fallocate{64}.
10742         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
10743         on syscall return.
10745 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
10747         [BZ #20689]
10748         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
10749         usable.
10751 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
10753         * sysdeps/generic/nan-high-order-bit.h: New file.
10754         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
10755         * sysdeps/mips/nan-high-order-bit.h: Likewise.
10756         * sysdeps/hppa/math_private.h: Remove file.
10757         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
10758         not define here.
10759         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
10760         <nan-high-order-bit.h>.
10761         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10762         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
10763         <nan-high-order-bit.h>.
10764         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10765         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
10766         <nan-high-order-bit.h>.
10767         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10768         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
10769         <nan-high-order-bit.h>.
10770         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10771         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
10772         <nan-high-order-bit.h>.
10773         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10774         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
10775         <nan-high-order-bit.h>.
10776         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10777         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
10778         <nan-high-order-bit.h>.
10779         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10780         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
10781         <nan-high-order-bit.h>.
10782         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10783         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
10784         <nan-high-order-bit.h>.
10785         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10786         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
10787         <nan-high-order-bit.h>.
10788         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10789         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
10790         <nan-high-order-bit.h>.
10791         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10792         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
10793         <nan-high-order-bit.h>.
10794         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10795         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
10796         <nan-high-order-bit.h>.
10797         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10798         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
10799         <nan-high-order-bit.h>.
10800         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10801         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
10802         <nan-high-order-bit.h>.
10803         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10804         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
10805         <nan-high-order-bit.h>.
10806         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10807         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
10808         <nan-high-order-bit.h>.
10809         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10810         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
10811         <nan-high-order-bit.h>.
10812         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10814 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10816         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
10818 2016-09-22  John David Anglin  <dave.anglin@bell.net>
10820         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
10821         abort-instr.h.
10822         (EFAULT): Remove conditional define.
10823         (ENOSYS): Likewise.
10824         (atomic_compare_and_exchange_val_acq): Use instruction nullification
10825         instead of conditional branch instructions.
10827 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
10829         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10830         (totalordermag): New declaration.
10831         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
10832         New macro.
10833         * math/Versions (totalordermag): New libm symbol at version
10834         GLIBC_2.25.
10835         (totalordermagf): Likewise.
10836         (totalordermagl): Likewise.
10837         * math/Makefile (libm-calls): Add s_totalordermagF.
10838         * math/libm-test.inc (totalordermag_test_data): New array.
10839         (totalordermag_test): New function.
10840         (main): Call totalordermag_test.
10841         * math/test-tgmath.c (NCALLS): Increase to 125.
10842         (F(compile_test)): Call totalordermag.
10843         (F(totalordermag)): New function.
10844         * manual/arith.texi (FP Comparison Functions): Document
10845         totalordermag, totalordermagf and totalordermagl.
10846         * manual/libm-err-tab.pl: Update comment on interfaces without
10847         ulps tabulated.
10848         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
10849         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
10850         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
10851         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
10852         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
10853         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
10854         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
10855         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10856         totalordermag.
10857         (CFLAGS-nldbl-totalordermag.c): New variable.
10858         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
10859         (do_test): Also test totalordermagl.
10860         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
10861         Likewise.
10862         * sysdeps/nacl/libm.abilist: Update.
10863         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10864         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10865         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10866         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10867         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10868         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10869         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10870         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10871         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10872         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10873         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10874         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10876         Likewise.
10877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10878         Likewise.
10879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10880         Likewise.
10881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10882         Likewise.
10883         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10884         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10885         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10886         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10887         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10889         Likewise.
10890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10891         Likewise.
10892         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10893         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10894         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10896 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
10898         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
10899         boolean.
10901 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
10903         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
10904         raising FE_INVALID with feraisexcept in case where part of
10905         argument is infinite, subtract that part of argument from itself.
10906         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
10907         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
10908         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10910 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10912         * math/libm-test.inc (totalorder_test_data): Add more tests.
10914 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
10916         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
10917         Undefine weak_alias and add a comment why mips64 require
10918         versioning.
10920 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
10922         [BZ #20647]
10923         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
10924         maximum CPUID level is less than 2.
10926 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10928         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10929         (totalorder): New declaration.
10930         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
10931         New macro.
10932         * math/Versions (totalorder): New libm symbol at version
10933         GLIBC_2.25.
10934         (totalorderf): Likewise.
10935         (totalorderl): Likewise.
10936         * math/Makefile (libm-calls): Add s_totalorderF.
10937         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
10938         string.
10939         * math/libm-test.inc (PAYLOAD_DIG): New macro.
10940         (qnan_value_pl): Likewise.
10941         (snan_value_pl): Likewise.
10942         (qnan_value): Define using qnan_value_pl.
10943         (snan_value): Define using snan_value_pl.
10944         (struct test_ff_i_data): Add comment about which tests use this
10945         structure.
10946         (RUN_TEST_ff_b): New macro.
10947         (RUN_TEST_LOOP_ff_b): Likewise.
10948         (totalorder_test_data): New array.
10949         (totalorder_test): New function.
10950         (main): Call totalorder_test.
10951         * math/test-tgmath.c (NCALLS): Increase to 122.
10952         (F(compile_test)): Call totalorder.
10953         (F(totalorder)): New function.
10954         * manual/arith.texi (FP Comparison Functions): Document
10955         totalorder, totalorderf and totalorderl.
10956         * manual/libm-err-tab.pl: Update comment on interfaces without
10957         ulps tabulated.
10958         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
10959         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
10960         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
10961         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
10962         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
10963         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
10964         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
10965         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10966         totalorder.
10967         (CFLAGS-nldbl-totalorder.c): New variable.
10968         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
10969         file.
10970         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10971         Add test-totalorderl-ldbl-128ibm.
10972         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
10973         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
10974         test-totalorderl-ldbl-96.
10975         * sysdeps/nacl/libm.abilist: Update.
10976         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10977         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10978         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10979         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10980         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10981         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10982         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10983         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10984         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10985         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10986         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10987         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10989         Likewise.
10990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10991         Likewise.
10992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10993         Likewise.
10994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10995         Likewise.
10996         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10997         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10998         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10999         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11000         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11002         Likewise.
11003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11004         Likewise.
11005         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11006         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11007         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11009 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11011         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
11012         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
11013         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
11014         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
11015         remove ENOSYS implementation.
11016         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
11017         Consolidate all Linux implementations.
11019 2016-10-11  Florian Weimer  <fweimer@redhat.com>
11021         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
11022         * resolv/herror.c (herror): Cast away const-ness.
11023         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
11024         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
11026 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
11028         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
11029         instead of M_NAN + M_NAN.
11030         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
11032 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11034         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
11035         unused variable 'p'.
11037 2016-10-09  Alan Modra  <amodra@gmail.com>
11038             Andreas Schwab  <schwab@linux-m68k.org>
11040         [BZ #20554]
11041         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
11042         [PIC && !SHARED]: Set up PIC register for PLT call.
11044 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
11046         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
11047         conditional on value of [__FLT_EVAL_METHOD__].
11048         * math/test-iseqsig-excess-precision.c: New file.
11049         * math/Makefile (tests): Add test-iseqsig-excess-precision.
11051 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11053         * math/s_iseqsig_template.c: Include math-private.h.
11055         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
11056         * posix/tst-posix_fadvise.c: New file.
11057         * posix/tst-posix_fadvise64.c: Likewise.
11058         * posix/tst-posix_fadvise-common.c: Likewise.
11059         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11060         (__ASSUME_FADVISE64_64_6ARG): Define.
11061         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11062         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
11063         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11064         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
11065         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
11066         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
11067         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
11068         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
11069         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
11070         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
11071         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
11072         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
11073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
11074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
11075         Likewise.
11076         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
11077         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
11078         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
11079         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
11080         Alias to __posix_fadvise64_l32.
11081         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
11082         Add compat definition to posix_fadvise64.
11083         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
11084         Add versioned definition to posix_fadvise64.
11085         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
11086         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
11087         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
11088         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
11089         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
11091         * io/Makefile (tests): Add tst-posix_fallocate and
11092         tst-posix_fallocate64.
11093         * io/tst-posix_fallocate-common.c: New file.
11094         * io/tst-posix_fallocate.c: Likewise.
11095         * io/tst-posix_fallocate64.c: Likewise.
11096         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
11097         file.
11098         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
11099         Likewise.
11100         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
11101         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
11102         Likewise.
11103         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
11104         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
11105         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
11106         SYSCALL_LL to pass both offset and len arguments.
11107         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
11108         Likewise.
11109         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
11110         __libc_pwrite64 alias used by posix_fallocate64.
11112         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
11113         tst-fallocate64.
11114         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
11115         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
11116         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11117         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
11118         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
11119         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
11120         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
11121         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11122         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
11123         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
11124         macro on offset argument.
11125         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
11126         SYSCALL_LL64 on offset argument.
11128         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
11129         tst-fallocate64.
11130         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
11131         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
11132         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11133         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
11134         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
11135         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
11136         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
11137         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11138         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
11139         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
11140         macro on offset argument.
11141         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
11142         SYSCALL_LL64 on offset argument.
11143         * test-skeleton.c (FAIL_RET): Add macro.
11144         (FAIL_EXIT): Likewise.
11145         (FAIL_EXIT1): Likewise.
11146         (_FAIL): Likewise.
11148 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11150         [BZ #20629]
11151         resolv: Remove RES_USEBSTRING and its implementation.
11152         * resolv/resolv.h (RES_USEBSTRING): Remove.
11153         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
11154         (digitvalue, encode_bitstring, decode_bitstring): Remove.
11155         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
11156         (labellen): Remove extended label types support.
11157         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
11158         * resolv/res_init.c (res_setoptions): Likewise.
11159         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
11161 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11163         resolv: Remove RES_NOIP6DOTINT and its implementation.
11164         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
11165         (RES_NOIP6DOTINT): Remove.
11166         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
11167         handling.
11168         * resolv/res_debug.c (p_option): Likewise.
11169         * resolv/res_init.c (res_setoptions): Likewise.
11170         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
11172 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11174         resolv: Deprecate unimplemented flags.
11175         * misc/sys/cdefs.h (__glibc_macro_warning1)
11176         (__glibc_macro_warning): Define.
11177         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
11178         (RES_KEEPTSIG): Mark as deprecated.
11179         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
11180         RES_NOCHECKNAME, RES_KEEPTSIG.
11181         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
11183 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11185         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
11186         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
11187         Use strong_alias to create symbols for glibc verison 2.19.
11189 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11191         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
11193 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11195         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
11197 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11199         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
11201 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11203         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11204         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
11205         in header for using it as type for ifunc function because __GI_* symbols
11206         for ppc32 do not target the ifunc symbols.
11207         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11209 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11211         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
11212         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
11213         libc_ifunc_hidden_def.
11214         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
11215         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
11216         Redirect ifunced function in header for using it as type of ifunc'ed
11217         function. Redefine libc_hidden_def to use fallback non ifunc'ed
11218         function for __GI_* symbol.
11219         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
11220         * include/libc-symbols.h
11221         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
11223 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11225         [BZ #20478]
11226         * sysdeps/s390/multiarch/ifunc-resolve.h
11227         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
11228         to create ifunc symbols.
11229         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
11230         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
11231         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
11232         for using it as type for ifunc function.
11233         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11234         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11235         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11236         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11237         * sysdeps/s390/multiarch/strcat.c: Likewise.
11238         * sysdeps/s390/multiarch/strchr.c: Likewise.
11239         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11240         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11241         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11242         * sysdeps/s390/multiarch/strlen.c: Likewise.
11243         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11244         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11245         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11246         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11247         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11248         * sysdeps/s390/multiarch/strspn.c: Likewise.
11249         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11250         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11251         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11252         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11253         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11254         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11255         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11256         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
11257         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
11258         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11259         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
11260         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
11262 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11264         * include/libc-symbols.h (__ifunc_resolver):
11265         New macro is used by __ifunc* macros.
11266         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
11267         depending on HAVE_GCC_IFUNC.
11268         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
11269         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
11270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11271         Redirect ifunced function in header for using as type for ifunc function.
11272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
11273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
11274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
11275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
11276         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11277         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11278         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11279         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11280         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11281         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11282         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11283         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11284         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11285         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
11288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
11290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11291         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11292         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11293         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11294         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11295         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11296         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11297         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11298         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11299         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11300         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11301         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11302         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11303         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
11304         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
11306         Add libc_hidden_def() and use libc_ifunc_hidden() macro
11307         instead of libc_ifunc() macro.
11308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
11309         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11311 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11313         * config.h.in (HAVE_GCC_IFUNC): New undef.
11314         * configure.ac: Add check if gcc supports attribute ifunc feature.
11315         * configure: Regenerated.
11316         * manual/install.texi: Add recommendation for gcc with
11317         indirect-function support.
11318         * INSTALL: Regenerated.
11320 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
11322         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
11323         macro.
11324         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11325         (__iseqsig): New declaration.
11326         * math/s_iseqsig_template.c: New file.
11327         * math/Versions (__iseqsigf): New libm symbol at version
11328         GLIBC_2.25.
11329         (__iseqsig): Likewise.
11330         (__iseqsigl): Likewise.
11331         * math/libm-test.inc (iseqsig_test_data): New array.
11332         (iseqsig_test): New function.
11333         (main): Call iseqsig_test.
11334         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
11335         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
11336         * manual/libm-err-tab.pl: Update comment on interfaces without
11337         ulps tabulated.
11338         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
11339         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
11340         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
11341         * sysdeps/nacl/libm.abilist: Update.
11342         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11343         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11344         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11345         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11346         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11347         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11348         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11349         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11350         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11351         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11352         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11353         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11355         Likewise.
11356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11357         Likewise.
11358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11359         Likewise.
11360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11361         Likewise.
11362         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11363         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11364         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11365         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11366         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11368         Likewise.
11369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11370         Likewise.
11371         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11372         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11373         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11375 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11377         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
11378         do_sincos_2, sloww, sloww1): Update comments.
11380         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
11381         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
11383         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
11384         K boolean and rename it.
11385         (__sin): Adjust.
11386         (__cos): Adjust.
11388 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
11389             Siddhesh Poyarekar  <siddhesh@sourceware.org>
11391         * manual/nss.texi: Fix typos in the manual.
11393 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
11395         * manual/contrib.texi: Fix typos in the manual.
11397         * manual/maint.texi: Fix typos in the manual.
11399         * manual/install.texi: Fix typos in the manual.
11400         * INSTALL: Regenerated.
11402         * manual/lang.texi: Fix typos in the manual.
11404         * manual/probes.texi: Fix typos in the manual.
11406         * manual/threads.texi: Fix typos in the manual.
11408         * manual/debug.texi: Fix typos in the manual.
11410         * manual/crypt.texi: Fix typos in the manual.
11412         * manual/conf.texi: Fix typos in the manual.
11414         * manual/sysinfo.texi: Fix typos in the manual.
11416         * manual/users.texi: Fix typos in the manual.
11418         * manual/job.texi: Fix typos in the manual.
11420         * manual/process.texi: Fix typos in the manual.
11422         * manual/argp.texi: Fix typos in the manual.
11423         * manual/getopt.texi: Likewise.
11424         * manual/startup.texi: Likewise.
11426         * manual/signal.texi: Fix typos in the manual.
11428         * manual/setjmp.texi: Fix typos in the manual.
11430         * manual/resource.texi: Fix typos in the manual.
11432         * manual/time.texi: Fix typos in the manual.
11434         * manual/arith.texi: Fix typos in the manual.
11436         * manual/math.texi: Fix typos in the manual.
11438         * manual/syslog.texi: Fix typos in the manual.
11440         * manual/terminal.texi: Fix typos in the manual.
11442         * manual/socket.texi: Fix typos in the manual.
11444         * manual/filesys.texi: Fix typos in the manual.
11446         * manual/llio.texi: Fix typos in the manual.
11448         * manual/stdio.text: Fix typos in the manual.
11450 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11452         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
11453         instead of K1.
11455         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
11456         SHIFT_QUADRANT and make it bool.
11457         (do_sincos_2): Likewise.
11458         (sloww): Likewise.
11459         (sloww1): Likewise.
11460         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
11461         (__cos): Likewise.
11463 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11465         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11467 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
11469         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
11470         Define to __WORDSIZE, not conditional on [LONG_MAX ==
11471         0x7fffffffL].
11472         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
11474 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11476         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
11477         inline by __inline__.
11478         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
11479         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
11480         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
11481         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
11482         sigset_t from signal.h.
11483         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
11484         which is already required.
11486 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
11488         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11490 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
11492         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
11493         (struct tcp_repair_window): New type.
11495 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11497         * libio/tst-memstream3.c: Include string.h.
11499 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11501         [BZ #18241]
11502         [BZ #20181]
11503         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
11504         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
11505         write position is at the end the buffer.
11506         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
11507         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
11508         (_IO_str_seekoff): Set correct offset from negative displacement and
11509         set EINVAL for invalid ones.
11510         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
11511         buffer length.
11512         (_IO_wstr_switch_to_get_mode): New function.
11513         (_IO_wstr_seekoff): Set correct offset from negative displacement and
11514         set EINVAL for invalid ones.
11515         * libio/tst-memstream3.c: New file.
11516         * libio/tst-wmemstream3.c: Likewise.
11517         * manual/examples/memstrm.c: Remove warning when priting size_t.
11519 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
11521         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
11522         macro to use __builtin_fma.
11523         * sysdeps/x86_64/fpu/dla.h: Remove file.
11525         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
11526         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
11527         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
11529 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
11531         [BZ #20292]
11532         * elf/Makefile (routines): Add dl-addr-obj.
11533         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
11534         tst-_dl_addr_inside_object.
11535         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
11536         [ifeq (yesyes,$(have-fpie)$(build-shared))]
11537         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
11538         [ifeq (yesyes,$(have-fpie)$(build-shared))]
11539         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
11540         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
11541         * elf/dl-open.c: Likewise.
11542         * elf/dl-addr-obj.c: New file.
11543         * elf/tst-_dl_addr_inside_object.c: New file.
11545 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
11547         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
11548         <bits/iscanonical.h>.
11549         * bits/iscanonical.h: New file.
11550         * math/s_iscanonicall.c: Likewise.
11551         * math/Versions (__iscanonicall): New libm symbol at version
11552         GLIBC_2.25.
11553         * math/libm-test.inc (iscanonical_test_data): New array.
11554         (iscanonical_test): New function.
11555         (main): Call iscanonical_test.
11556         * math/Makefile (headers): Add bits/iscanonical.h.
11557         (type-ldouble-routines): Add s_iscanonicall.
11558         * manual/arith.texi (Floating Point Classes): Document
11559         iscanonical.
11560         * manual/libm-err-tab.pl: Update comment on interfaces without
11561         ulps tabulated.
11562         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
11563         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
11564         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
11565         Likewise.
11566         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
11567         test-iscanonical-ldbl-128ibm.
11568         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
11569         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
11570         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
11571         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
11572         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11573         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11574         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11576         Likewise.
11577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11578         Likewise.
11579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11580         Likewise.
11581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11582         Likewise.
11583         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11584         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11586 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11588         * string/bits/string3.h: Remove C++ style comments.
11590 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11592         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
11593         instead of ternary condition.
11594         (do_sincos_2): Likewise.
11595         (__sin): Likewise.
11596         (__cos): Likewise.
11597         (slow): Likewise.
11598         (sloww): Likewise.
11599         (sloww1): Likewise.
11600         (bsloww): Likewise.
11601         (bsloww1): Likewise.
11603         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
11604         instead of ternary condition.
11605         (do_sin_slow): Likewise.
11606         (do_sincos_1): Likewise.
11607         (do_sincos_2): Likewise.
11608         (__cos): Likewise.
11609         (sloww): Likewise.
11610         (sloww1): Likewise.
11611         (sloww2): Likewise.
11612         (bsloww): Likewise.
11613         (bsloww1): Likewise.
11614         (bsloww2): Likewise.
11616         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
11617         check from here...
11618         (slow2): ... and here...
11619         (__sin): ... to here.
11621 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
11623         * math/math.h
11624         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
11625         Cast argument to its own type.
11626         * math/test-iszero-excess-precision.c: New file.
11627         * math/Makefile (tests): Add test-iszero-excess-precision.
11628         (CFLAGS-test-iszero-excess-precision.c): New variable.
11630 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
11632         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
11633         field, add err field.
11634         (__spawni_child): Report error through err member instead of pipe.
11635         (__spawnix): Likewise.
11637 2016-09-28  Zack Weinberg  <zackw@panix.com>
11639         * scripts/check-installed-headers.sh: Generalize treatment of
11640         sys/elf.h to all target architectures.
11642         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
11643         deleted typedef ucontext_t.
11645 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11647         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
11648         (__INTERNAL_SYSCALL1): Likewise.
11649         (__INTERNAL_SYSCALL2): Likewise.
11650         (__INTERNAL_SYSCALL3): Likewise.
11651         (__INTERNAL_SYSCALL4): Likewise.
11652         (__INTERNAL_SYSCALL5): Likewise.
11653         (__INTERNAL_SYSCALL6): Likewise.
11654         (__INTERNAL_SYSCALL7): Likewise.
11655         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
11656         (__INTERNAL_SYSCALL_NARGS): Likewise.
11657         (__INTERNAL_SYSCALL_DISP): Likewise.
11658         (INTERNAL_SYSCALL_CALL): Likewise.
11659         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
11660         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
11661         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
11662         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
11663         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
11664         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
11665         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
11666         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
11667         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
11668         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
11669         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
11670         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
11671         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
11673 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
11675         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
11676         macro.
11677         * math/libm-test.inc (iszero_test_data): New array.
11678         (iszero_test): New function.
11679         (main): Call iszero_test.
11680         * manual/arith.texi (Floating Point Classes): Document iszero.
11681         * manual/libm-err-tab.pl: Update comment on interfaces without
11682         ulps tabulated.
11684 2016-09-23  Zack Weinberg  <zackw@panix.com>
11686         * scripts/check-installed-headers.sh: New script.
11687         * Rules: In each directory that defines header files to be installed,
11688         run check-installed-headers.sh on them as a special test.
11689         * Makefile: Likewise for the headers installed at top level.
11691         * include/aliases.h, include/alloca.h, include/argz.h
11692         * include/arpa/nameser.h, include/arpa/nameser_compat.h
11693         * include/elf.h, include/envz.h, include/err.h
11694         * include/execinfo.h, include/fpu_control.h, include/getopt.h
11695         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
11696         * include/link.h, include/malloc.h, include/mcheck.h
11697         * include/mntent.h, include/netinet/ether.h
11698         * include/nss.h, include/obstack.h, include/printf.h
11699         * include/pty.h, include/resolv.h, include/rpc/auth.h
11700         * include/rpc/auth_des.h, include/rpc/auth_unix.h
11701         * include/rpc/clnt.h, include/rpc/des_crypt.h
11702         * include/rpc/key_prot.h, include/rpc/netdb.h
11703         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
11704         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
11705         * include/rpc/rpc_msg.h, include/rpc/svc.h
11706         * include/rpc/svc_auth.h, include/rpc/xdr.h
11707         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
11708         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
11709         * include/rpcsvc/ypupd.h, include/shadow.h
11710         * include/stdio_ext.h, include/sys/epoll.h
11711         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
11712         * include/sys/prctl.h, include/sys/profil.h
11713         * include/sys/statfs.h, include/sys/sysctl.h
11714         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
11715         * sysdeps/arm/nacl/include/bits/setjmp.h
11716         * sysdeps/mips/include/sys/asm.h
11717         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
11718         * sysdeps/unix/sysv/linux/include/sys/timex.h
11719         * sysdeps/x86/fpu/include/bits/fenv.h:
11720         Add #ifndef _ISOMAC guard around internal declarations.
11721         Add multiple-inclusion guard if not already present.
11723 2016-09-23  Zack Weinberg  <zackw@panix.com>
11725         * sysdeps/generic/sys/ucontext.h
11726         * sysdeps/arm/sys/ucontext.h
11727         * sysdeps/i386/sys/ucontext.h
11728         * sysdeps/m68k/sys/ucontext.h
11729         * sysdeps/mips/sys/ucontext.h
11730         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
11731         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
11732         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
11733         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
11734         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
11735         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
11736         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
11737         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
11738         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
11739         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
11740         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
11741         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
11742         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
11743         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
11744         Include both bits/sigcontext.h and bits/sigstack.h.
11745         Fix grammar error in comment, if present.
11747         * bits/sigstack.h
11748         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
11749         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
11750         * sysdeps/unix/sysv/linux/bits/sigstack.h
11751         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
11752         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
11753         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
11754         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
11755         * bits/sigcontext.h
11756         * sysdeps/mach/hurd/i386/bits/sigcontext.h
11757         * sysdeps/unix/sysv/linux/bits/sigcontext.h
11758         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
11759         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
11760         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
11761         as well as signal.h, if this was not already allowed.  Request
11762         definition of size_t if necessary.  Minimize semantically-null
11763         differences across files.
11765 2016-09-23  Zack Weinberg  <zackw@panix.com>
11767         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
11768         Remove all logic conditional on __need macros.  Move all the
11769         conditionally defined types to their own headers...
11770         * time/bits/types/clock_t.h: Define clock_t here.
11771         * time/bits/types/clockid_t.h: Define clockid_t here.
11772         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
11773         * time/bits/types/struct_timespec.h: Define struct timespec here.
11774         * time/bits/types/struct_timeval.h: Define struct timeval here.
11775         * time/bits/types/struct_tm.h: Define struct tm here.
11776         * time/bits/types/time_t.h: Define time_t here.
11777         * time/bits/types/timer_t.h: Define timer_t here.
11778         * time/Makefile: Install the new headers.
11780         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
11781         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
11782         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
11783         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
11784         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
11785         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
11786         * sysdeps/unix/sysv/linux/bits/resource.h
11787         * sysdeps/unix/sysv/linux/bits/timex.h
11788         * sysdeps/unix/sysv/linux/mips/bits/resource.h
11789         * sysdeps/unix/sysv/linux/net/ppp_defs.h
11790         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
11791         * sysdeps/unix/sysv/linux/sys/acct.h
11792         * sysdeps/unix/sysv/linux/sys/timerfd.h
11793         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
11794         * time/sys/time.h, time/sys/timeb.h
11795         Use the new bits/types headers.
11797         * include/time.h: Remove __need logic.
11798         * include/bits/time.h
11799         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
11800         * include/bits/types/time_t.h, include/bits/types/timer_t.h
11801         * include/bits/types/struct_itimerspec.h
11802         * include/bits/types/struct_timespec.h
11803         * include/bits/types/struct_timeval.h
11804         * include/bits/types/struct_tm.h:
11805         New wrapper headers.
11807 2016-09-23  Zack Weinberg  <zackw@panix.com>
11809         * sysdeps/mach/hurd/net/if_ppp.h
11810         * sysdeps/unix/sysv/linux/net/if_ppp.h:
11811         Only define struct ifpppstatsreq and struct ifpppcstatsreq
11812         if __USE_MISC is defined, to ensure struct ifreq is declared.
11814         * inet/netinet/ether.h: Condition all function prototypes
11815         on __USE_MISC, to ensure struct ether_addr is declared.
11817         * socket/bits/types/struct_osockaddr.h: New header.
11818         * include/bits/types/struct_osockaddr.h: New wrapper.
11819         * socket/Makefile: Install the new header.
11820         * socket/sys/socket.h, inet/protocols/talkd.h:
11821         Refer to bits/types/struct_osockaddr.h for the definition of
11822         struct osockaddr.
11824 2016-09-23  Zack Weinberg  <zackw@panix.com>
11826         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
11827         * inet/protocols/routed.h, inet/protocols/talkd.h
11828         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
11829         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
11830         * sysdeps/generic/netinet/if_ether.h
11831         * sysdeps/generic/netinet/in_systm.h
11832         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
11833         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
11834         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
11835         * sysdeps/mach/hurd/net/if_arp.h
11836         * sysdeps/mach/hurd/net/if_ppp.h
11837         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
11838         * sysdeps/unix/sysv/linux/bits/in.h
11839         * sysdeps/unix/sysv/linux/net/ethernet.h
11840         * sysdeps/unix/sysv/linux/net/if_arp.h
11841         * sysdeps/unix/sysv/linux/net/if_ppp.h
11842         * sysdeps/unix/sysv/linux/net/if_shaper.h
11843         * sysdeps/unix/sysv/linux/net/route.h
11844         * sysdeps/unix/sysv/linux/netinet/if_ether.h
11845         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
11846         * sysdeps/unix/sysv/linux/netinet/if_tr.h
11847         * sysdeps/unix/sysv/linux/netipx/ipx.h
11848         * sysdeps/unix/sysv/linux/sys/acct.h
11849         * include/arpa/nameser.h, include/resolv.h:
11850         Change all uses of u_char to unsigned char,
11851         u_short and ushort to unsigned short, u_int and uint to unsigned int,
11852         u_long and ulong to unsigned long, u_int8_t to uint8_t,
11853         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
11854         and u_int64_t and u_quad_t to uint64_t.
11856         * mach/sys/reboot.h: Remove two casts of integer literals
11857         to the types they already have.
11859         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
11860         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11861         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
11862         from referring to 'unsigned char' to 'uint8_t' for consistency with
11863         the macro definition below.
11865         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
11866         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
11867         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
11868         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
11869         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
11870         * sysdeps/unix/sysv/linux/sys/acct.h
11871         * include/arpa/nameser.h, include/resolv.h:
11872         Fix indentation disrupted by mechanical edits.
11874         * inet/protocols/talkd.h, resolv/arpa/nameser.h
11875         * sysdeps/generic/netinet/in_systm.h
11876         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
11877         * sysdeps/gnu/netinet/udp.h
11878         * sysdeps/unix/sysv/linux/net/ethernet.h
11879         * sysdeps/unix/sysv/linux/net/if_arp.h
11880         * sysdeps/unix/sysv/linux/net/if_ppp.h
11881         * sysdeps/unix/sysv/linux/net/if_shaper.h
11882         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
11883         * sysdeps/unix/sysv/linux/netinet/if_tr.h
11884         * sysdeps/unix/sysv/linux/netipx/ipx.h
11885         * sysdeps/unix/sysv/linux/sys/acct.h
11886         Include stdint.h for uintNN_t definitions.
11887         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
11889 2016-09-23  Zack Weinberg  <zackw@panix.com>
11891         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
11892         * sysdeps/unix/sysv/linux/netrose/rose.h:
11893         Include sys/socket.h and netax25/ax25.h.
11895         * inet/netinet/icmp6.h, inet/netinet/ip6.h
11896         * resolv/arpa/nameser_compat.h:
11897         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
11899         * sysdeps/unix/sysv/linux/sys/quota.h:
11900         Use __caddr_t instead of caddr_t.
11901         * sysdeps/unix/sysv/linux/sys/timerfd.h:
11902         Use __clockid_t instead of clockid_t.
11904         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
11906         * argp/argp.h: Check whether _LIBC is defined before expanding it.
11907         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
11908         expanding it.
11910         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
11911         Define __glibc_c99_flexarr_available to 1 when the compiler
11912         supports C99-compatible flexible array members, 0 otherwise.
11913         * sysdeps/unix/sysv/linux/bits/socket.h
11914         * sysdeps/mach/hurd/bits/socket.h
11915         * bits/socket.h: Use __glibc_c99_flexarr_available in
11916         definitions of struct cmsghdr and CMSG_DATA.
11918 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11920         * manual/nss.texi (NSS Modules Interface): Adjust function return
11921         type to enum nss_status.  Document errnop argument.  Clarify
11922         h_errnop semantics.  Fix cross-reference formatting.
11923         (NSS Module Function Internals): Mention that *errnop needs to be
11924         set on failure, but not to zero.
11926 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11928         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
11929         (get_random_name): New functions.
11930         (check_wrapper_flags_mode): Use linkat to give the new file a name
11931         determined by get_random_name.
11932         (do_test): Add calls to test open64 and openat64.
11934 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11936         * test-skeleton.c: Remove #include <stdarg.h>.
11938 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
11940         [BZ #19826]
11941         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
11942         initialization of static TLS entries.
11943         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
11944         * nptl/allocatestack.c (init_one_static_tls): Likewise.
11946 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11948         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
11949         _hurd_malloc_fork_prepare.
11950         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
11951         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
11952         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
11953         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
11954         (_hurd_fork_child_hook): Drop malloc_fork_child.
11955         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
11956         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
11957         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
11958         after locking locks (notably hurd_dtable_lock). Call
11959         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
11960         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
11961         __malloc_fork_unlock_child.
11962         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
11964 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
11966         * soft-fp/extendhftf2.c: New.
11967         * soft-fp/fixhfti.c: Likewise.
11968         * soft-fp/fixunshfti.c: Likewise.
11969         * soft-fp/floattihf.c: Likewise.
11970         * soft-fp/floatuntihf.c: Likewise.
11971         * soft-fp/half.h: Likewise.
11972         * soft-fp/trunctfhf2.c: Likewise.
11974 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
11976         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
11977         macro.
11978         * math/libm-test.inc (issubnormal_test_data): New array.
11979         (issubnormal_test): New function.
11980         * manual/arith.texi (Floating Point Classes): Document
11981         issubnormal.
11982         * manual/libm-err-tab.pl: Update comment on interfaces without
11983         ulps tabulated.
11985         * sysdeps/generic/stdint.h: Define
11986         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11987         <bits/libc-header-start.h> instead of including <features.h>.
11988         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
11989         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
11990         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
11991         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
11992         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
11993         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
11994         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
11995         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
11996         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
11997         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
11998         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
11999         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
12000         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
12001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
12002         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
12003         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
12004         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
12005         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
12006         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
12007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
12008         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
12009         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
12010         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
12011         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
12012         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
12013         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
12014         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
12015         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
12016         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
12017         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
12018         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
12019         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
12020         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
12021         * manual/arith.texi (Integers): Document these macros for types
12022         specified by width properties.
12023         * manual/lang.texi (Width of Type): Document these macros for
12024         other standard typedefs.
12025         * stdlib/tst-width-stdint.c: New file.
12026         * stdlib/Makefile (tests): Add tst-width-stdint.
12028 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12030         [BZ #20016]
12031         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
12032         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
12033         Move ...
12034         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
12035         ... here, as compatibility symbols in a new file.
12036         * resolv/Makefile (libresolv-routines): Add compat-hooks.
12037         * resolv/res_init.c (__res_vinit): Adjust member names.
12038         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
12039         * resolv/resolv.h (res_sendhookact, res_send_qhook)
12040         (res_send_rhook): Remove.
12041         (struct __res_state): Rename qhook, rhook members.
12043 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12045         malloc: Use __libc_lock wrappers.
12046         * malloc/arena.c (list_lock, free_list_lock): Define using
12047         __libc_lock_define_initialized.
12048         (arena_lock): Adjust formatting.
12049         * malloc/malloc.c (struct malloc_state): Define mutex using
12050         __libc_lock_define.
12051         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
12052         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
12053         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
12054         (mutex_unlock, mutex_trylock): Remove.
12055         (__pthread_initialize): Remove unused macro.
12056         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
12057         (mutex_unlock, mutex_trylock): Remove.
12059 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12061         [BZ #20592]
12062         Remove RR type classification macros.
12063         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
12064         (ns_t_udp_p, ns_t_xfr_p): Remove.
12066 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12068         Remove misleading version information.
12069         * resolv/arpa/nameser.h (__NAMESER): Remove.
12070         * resolv/arpa/nameser_compat.h (__BIND): Remove.
12072 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12074         Remove the always-defined BIND_4_COMPAT macro.
12075         * resolv/arpa/nameser.h: Unconditionally include
12076         <arpa/nameser_compat.h>.
12077         (BIND_4_COMPAT): Remove.
12078         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
12080 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12082         [BZ #20591]
12083         Remove obsolete DNSSEC support.
12084         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
12085         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
12086         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
12087         (ns_verify_tcp, ns_verify_tcp_init): Remove.
12088         (ns_cert_types): Add comment.
12089         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
12090         separately.
12091         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
12092         (dst_s_dns_key_id): Remove.
12093         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
12094         variables.
12096 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12098         [BZ #20524]
12099         * manual/string.texi (String/Array Comparison): Clarify the
12100         strverscmp behavior.
12102 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12104         * test-skeleton.c (xasprintf): Add function.
12105         * io/tst-open-tmpfile.c: New test.
12106         * io/Makefile (tests): Add it.
12108 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12110         Avoid running $(CXX) during build to obtain header file paths.
12111         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
12112         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
12113         * Makerules (cstdlib, cmath): Remove variables.  Use
12114         $(c++-cstdlib-header), $(c++-cmath-header) instead.
12115         * configure: Regenerate.
12117 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12119         * Makeconfig (all-object-suffixes): Include .op only if
12120         $(build-profile).
12122 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12124         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
12125         conditionals.  Do not define PATH_MAX.
12127 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12129         * posix/Makefile (tests): Add tst-spawn3.
12130         * posix/tst-spawn3.c: New file.
12131         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
12132         if it is already opened for open action.
12134         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
12135         all signals when executing the clone vfork child.
12136         (SIGALL_SET): Remove macro.
12138         * nptl/Makefile (tests): Add tst-exec5.
12139         * nptl/tst-exec5.c: New file.
12140         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
12141         asynchronous cancellation.
12143 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12145         * hurd/exc2signal.c: #include <hurd/signal.h>
12146         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
12147         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
12148         accordingly.
12149         * mach/mach_error.c (mach_error): Fix old-style function definition.
12150         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
12152 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12154         * math/Makefile (libm-calls): Remove s_nanF.
12155         (gen-libm-calls): Add s_nanF.
12157         * math/s_nan.c: Refactor into ...
12158         * math/s_nan_template.c: New file.
12160         * math/s_nanf.c: Removed.
12161         * math/s_nanl.c: Removed.
12162         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
12163         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
12165         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12166         (LDOUBLE_nanl_libm_version): New macro.
12168         * sysdeps/generic/math-type-macros-double.h:
12169         (M_STRTO_NAN): New macro.
12170         * sysdeps/generic/math-type-macros-float.h: Likewise.
12171         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12173         * sysdeps/generic/math-type-macros.h: Document
12174         M_STRTO_NAN.
12176 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12178         * math/s_nanf.c: Remove __nanf undef.
12179         * math/s_nan.c: Remove __nan undef.
12180         * math/s_nanl.c: Remove __nanl undef.
12182         * sysdeps/generic/math_private.h (__nan): Remove macro
12183         override.
12184         (__nanf): Likewise.
12185         (__nanl): Likewise.
12187 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12189         * math/Makefile (gen-all-calls): New variable.
12190         (generated): Replace gen-libm-calls with gen-all-calls.
12191         (gen-libm-templates.stmp): Likewise.  Also, ensure
12192         the output directory exists or is created and add
12193         dependency on the Makefile.
12194         (calls): Move s_ldexpF into gen-calls.
12195         (gen-calls): New variable.
12197         * math/s_ldexpf.c: Removed.
12198         * math/s_ldexpl.c: Removed.
12199         * math/s_ldexp.c: Refactored into ...
12200         * math/s_ldexp_template.c: New file.
12202         * sysdeps/generic/math-type-macros-double.h: Remove
12203         redundant fall-through definition of declare_mgen_alias.
12204         (declare_mgen_alias_2): New macro.
12206         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
12207         New macro for function aliased to two exported symbols.
12209         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
12210         new template file.
12211         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12213 2016-09-20  Florian Weimer  <fweimer@redhat.com>
12215         * Makeconfig (all-object-suffixes): Remove .og.
12216         * Makerules (elide-routines.og): Remove.
12217         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
12218         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
12219         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
12221 2016-09-20  Florian Weimer  <fweimer@redhat.com>
12223         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
12224         .os objects.
12226 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12228         [BZ #20615]
12229         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
12230         fpu directory by non-fpu.
12231         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
12232         on non-fpu directory from a fpu directory.
12234 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
12236         * include/limits.h: Define
12237         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12238         <bits/libc-header-start.h> instead of including <features.h>.
12239         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
12240         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
12241         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
12242         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
12243         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
12244         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
12245         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
12246         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
12247         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12248         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
12249         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
12250         * manual/lang.texi (Width of Type): Document these macros.
12251         * stdlib/tst-width.c: New file.
12252         * stdlib/Makefile (tests): Add tst-width.
12254 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12256         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
12257         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
12259 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12261         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
12262         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
12263         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12265 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12267         [BZ #18243]
12268         * rt/Makefile (test): Add tst-shm-cancel.
12269         * rt/tst-shm-cancel.c: New file.
12270         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
12272         [BZ #18243]
12273         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
12274         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
12275         definition.
12276         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
12277         uncontended case.
12278         * nptl/sem_wait.c (__new_sem_wait): Likewise.
12279         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
12280         (tf): Fix check for uncontended case.
12281         (do_test): Likewise.
12282         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
12283         (tf): Fix check for uncontended case.
12284         (do_test): Likewise.
12285         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
12286         (tf): Fix check for uncontended case.
12287         (do_test): Likewise.
12288         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
12289         (tf): Fix check for uncontended case.
12290         (do_test): Likewise.
12292         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
12293         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
12295         [BZ #15765]
12296         * nptl/Makefile (tests): Add tst-sem16.
12297         * nptl/tst-sem16.c: New file.
12298         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
12300         * nptl/sem_open.c (sem_open): Init pad value to 0.
12301         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
12302         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12304 2016-09-15  Florian Weimer  <fweimer@redhat.com>
12306         [BZ #20611]
12307         * inet/Makefile (routines): Add inet6_scopeid_pton.
12308         (tests): Add tst-inet6_scopeid_pton.
12309         * inet/inet6_scopeid_pton.c: New file.
12310         * inet/net-internal.h: Likewise.
12311         * inet/tst-inet6_scopeid_pton.c: New test.
12312         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
12313         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
12314         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12316 2016-09-14  Florian Weimer  <fweimer@redhat.com>
12318         Remove support for compiling wrappers with PTW.
12319         * sysdeps/nptl/Makeconfig: Drop ptw- support.
12320         * nptl/Makefile (pthread-compat-wrappers): Define.
12321         (libpthread-routines): Use pthread-compat-wrappers.
12322         * sysdeps/unix/sysv/linux/alpha/Makefile
12323         (libpthread-routines, libpthread-shared-only-routines): Remove
12324         ptw- prefix.
12325         * sysdeps/s390/nptl/Makefile
12326         (libpthread-routines, libpthread-shared-only-routines): Likewise.
12327         * sysdeps/ia64/nptl/Makefile
12328         (libpthread-routines, libpthread-shared-only-routines): Likewise.
12329         * sysdeps/nacl/Makefile (libpthread-routines): Use
12330         pthread-compat-wrappers to filter the routines list instead of the
12331         ptw- prefix.
12333 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12335         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
12336         with L() and remove explicit suffix, convert real literals
12337         which can be equivalentally substituted with integers, and
12338         transform -L(x) to L(-x).
12340         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12341         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12342         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12343         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12344         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12345         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12346         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12347         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12348         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12349         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12350         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12351         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12352         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12353         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12354         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12355         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12356         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12357         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12358         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12359         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12360         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12361         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12362         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12363         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12364         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12365         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12366         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12367         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12368         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12369         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12370         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12371         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12372         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12373         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12374         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12375         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12376         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12377         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12378         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12379         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12380         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12381         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12382         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12383         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12384         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12385         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12386         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12387         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
12388         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12389         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12391 2016-09-13  Florian Weimer  <fweimer@redhat.com>
12393         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
12395 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12397         * malloc/Makefile (tests): Remove individual static test names
12398         and just add all of tests-static.
12400         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
12402 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
12404         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
12405         file.
12407         * sysdeps/sparc/fpu/fegetmode.c: New file.
12408         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
12410         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
12411         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
12413         * sysdeps/s390/fpu/fegetmode.c: New file.
12414         * sysdeps/s390/fpu/fesetmode.c: Likewise.
12416         * sysdeps/powerpc/fpu/fegetmode.c: New file.
12417         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
12418         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
12419         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
12420         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
12421         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
12423         * sysdeps/mips/fpu/fegetmode.c: New file.
12424         * sysdeps/mips/fpu/fesetmode.c: Likewise.
12426         * sysdeps/m68k/fpu/fegetmode.c: New file.
12427         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
12429         * sysdeps/ia64/fpu/fegetmode.c: New file.
12430         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
12432         * sysdeps/hppa/fpu/fegetmode.c: New file.
12433         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
12435         * sysdeps/arm/fegetmode.c: New file.
12436         * sysdeps/arm/fesetmode.c: Likewise.
12438         * sysdeps/alpha/fpu/fegetmode.c: New file.
12439         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
12441         * sysdeps/aarch64/fpu/fegetmode.c: New file.
12442         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
12444         * math/fegetmode.c: New file.
12445         * math/fesetmode.c: Likewise.
12446         * sysdeps/i386/fpu/fegetmode.c: Likewise.
12447         * sysdeps/i386/fpu/fesetmode.c: Likewise.
12448         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
12449         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
12450         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
12451         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
12452         declaration.
12453         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
12454         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
12455         typedef.
12456         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12457         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12458         (femode_t): New typedef.
12459         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12460         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12461         (femode_t): New typedef.
12462         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12463         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12464         (femode_t): New typedef.
12465         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12466         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12467         (femode_t): New typedef.
12468         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12469         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12470         (femode_t): New typedef.
12471         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12472         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12473         (femode_t): New typedef.
12474         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12475         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12476         (femode_t): New typedef.
12477         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12478         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12479         (femode_t): New typedef.
12480         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12481         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12482         (femode_t): New typedef.
12483         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12484         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12485         (femode_t): New typedef.
12486         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
12487         declaration.
12488         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12489         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12490         (femode_t): New typedef.
12491         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12492         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12493         (femode_t): New typedef.
12494         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12495         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12496         (femode_t): New typedef.
12497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12498         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12499         (femode_t): New typedef.
12500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12501         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12502         (femode_t): New typedef.
12503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12504         * manual/arith.texi (FE_DFL_MODE): Document macro.
12505         (fegetmode): Document function.
12506         (fesetmode): Likewise.
12507         * math/Versions (fegetmode): New libm symbol at version
12508         GLIBC_2.25.
12509         (fesetmode): Likewise.
12510         * math/Makefile (libm-support): Add fegetmode and fesetmode.
12511         (tests): Add test-femode and test-femode-traps.
12512         * math/test-femode-traps.c: New file.
12513         * math/test-femode.c: Likewise.
12514         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
12515         alias for __fe_dfl_env.
12516         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
12517         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
12518         (__fe_dfl_mode): Likewise.
12519         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
12520         version GLIBC_2.25.
12521         * sysdeps/nacl/libm.abilist: Update.
12522         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12523         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12524         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12525         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12526         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12527         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12528         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12529         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12530         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12531         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12532         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12533         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12535         Likewise.
12536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12537         Likewise.
12538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12539         Likewise.
12540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12541         Likewise.
12542         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12543         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12544         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12545         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12546         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12548         Likewise.
12549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12550         Likewise.
12551         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12552         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12553         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12555 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12557         [BZ #20495]
12558         [BZ #20508]
12559         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
12560         processors, set Use_dl_runtime_resolve_slow and set
12561         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
12562         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
12563         New.
12564         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
12565         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
12566         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
12567         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
12568         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
12569         if Use_dl_runtime_resolve_opt is set.  Use
12570         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
12571         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
12572         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
12573         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
12574         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
12575         New.
12576         (_dl_runtime_resolve_opt): Likewise.
12577         (_dl_runtime_profile): Define only if _dl_runtime_profile is
12578         defined.
12580 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12582         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
12583         __libc_memalign with "+ RELA R_390_GLOB_DAT".
12585 2016-09-06  Florian Weimer  <fweimer@redhat.com>
12587         Convert malloc to __libc_lock.  Automated part, using this Perl
12588         s/// command:
12589           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
12590             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
12591         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
12592         conversion.
12594 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
12596         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
12597         (linknamespace-symlists-tests): Likewise.
12598         (linknamespace-header-tests): Likewise.
12600 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
12602         [BZ #19810]
12603         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
12604         * elf/tst-noload.c: New test case.
12605         * elf/Makefile (tests): Add tst-noload.
12607 2016-09-02  Roland McGrath  <roland@hack.frob.com>
12609         * sysdeps/nacl/dup.c: Add libc_hidden_def.
12611         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
12612         not any more.
12614         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
12616 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12618         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
12619         (do_cos_slow): Likewise.
12620         (do_sin): Likewise.
12621         (do_sin_slow): Likewise.
12622         (slow): Likewise.
12623         (slow1): Likewise.
12624         (slow2): Likewise.
12625         (sloww): Likewise.
12626         (sloww1): Likewise.
12627         (sloww2): Likewise.
12628         (bsloww): Likewise.
12629         (bsloww1): Likewise.
12630         (bsloww2): Likewise.
12631         (cslow2): Likewise.
12633         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
12635         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
12636         arguments.  Consolidate input partitioning from callers here.
12637         (do_cos_slow): Likewise.
12638         (do_sin): Likewise.
12639         (do_sin_slow): Likewise.
12640         (do_sincos_1): Remove the no longer necessary input partitioning.
12641         (do_sincos_2): Likewise.
12642         (__sin): Likewise.
12643         (__cos): Likewise.
12644         (slow1): Likewise.
12645         (slow2): Likewise.
12646         (sloww1): Likewise.
12647         (sloww2): Likewise.
12648         (bsloww1): Likewise.
12649         (bsloww2): Likewise.
12650         (cslow2): Likewise.
12652 2016-09-02  Florian Weimer  <fweimer@redhat.com>
12654         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
12655         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
12656         outside of allocated array.
12658 2016-09-02  Florian Weimer  <fweimer@redhat.com>
12660         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
12661         instead of MB_CUR_MAX to avoid variable-length array.
12663 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12665         * math/Makefile (libm-calls): Remove k_rem_pio2F.
12666         (type-double-routines): Add k_rem_pio2.
12667         (type-float-routines): Add k_rem_pio2f.
12669         * sysdeps/generic/math_private.h:
12670         (__kernel_rem_pio2l): Removed.
12672         * math/k_rem_pio2l.c: Removed.
12673         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
12674         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
12675         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
12676         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
12678 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12680         * math/Makefile (gen-libm-calls): Add s_fmin
12681         (libm-calls): Remove above.
12683         * math/s_fmin.c: Refactor into ...
12684         * math/s_fmin_template.c: New file.
12686         * math/s_fminf.c: Removed.
12687         * math/s_fminl.c: Removed.
12688         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12689         (LDOUBLE_fmin_libm_version): New macro.
12691         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
12692         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
12694 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12696         * math/Makefile: (gen-libm-calls): Add s_fmax.
12697         (libm-calls): Remove above.
12699         * math/s_fmax.c: Refactor into ...
12700         * math/s_fmax_template.c: New file.
12701         * math/s_fmaxf.c: Removed.
12702         * math/s_fmaxl.c: Removed.
12704         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12705         (LDOUBLE_fmaxl_libm_version): New macro.
12707         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
12708         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
12710         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
12711         s_fmin.c to pick the aarch64 version of the file.
12712         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
12713         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
12715 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12717         * math/Makefile: (gen-libm-calls): Add s_nextdown.
12718         (libm-calls): Remove above.
12720         * math/s_nextdown.c: Refactor into ...
12721         * math/s_nextdown_template.c: New file.
12722         * math/s_nextdownf.c: Removed.
12723         * math/s_nextdownl.c: Removed.
12725         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
12727 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12729         * math/Makefile (gen-libm-calls): Add s_fdim.
12730         (libm-calls): Move to above.
12732         * math/s_fdim.c: Renamed and refactored into to ...
12733         * math/s_fdim_template.c: New file.
12734         * math/s_fdiml.c: Removed.
12735         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
12736         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
12738         * sysdeps/generic/math-type-macros-double.h:
12739         (declare_mgen_alias): Don't declare if already declared.
12740         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
12741         Likewise.
12743         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12744         (declare_mgen_alias): Don't declare if already declared.
12745         (M_LIBM_NEED_COMPAT): Likewise.
12746         (declare_mgen_libm_compat): Likewise.
12747         (LDOUBLE_fdiml_libm_version): New macro.
12749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
12750         Include math/s_fdim.c now that ldbl-opt version is not needed.
12751         (declare_mgen_alias): New macro to disable aliasing.
12753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
12754         (declare_mgen_alias): Likewise.
12755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
12756         (declare_mgen_alias): Likewise.
12757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
12758         (declare_mgen_alias): Likewise.
12759         (M_LIBM_NEED_COMPAT): Likewise.
12761 2016-09-01  Florian Weimer  <fweimer@redhat.com>
12763         [BZ #20525]
12764         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
12765         Include <linux/quota.h>.
12766         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
12767         and btodb.
12768         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
12769         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
12770         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
12771         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
12772         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
12773         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
12774         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
12775         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
12776         types.
12777         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
12778         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
12780 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12782         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
12783         (gammal_positive): Fix spacing.
12784         (__ieee754_gammal_r): Likewise.
12786 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12788         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
12789         (_Float128): Define as long double, always.
12790         (L): Apply long double type suffix, always.
12792         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
12793         _Float128, excepting comments.
12795         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12796         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12797         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12798         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12799         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12800         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12801         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12802         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12803         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12804         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
12805         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12806         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12807         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12808         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12809         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12810         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12811         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12812         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12813         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12814         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12815         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12816         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12817         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12818         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12819         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12820         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12821         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12822         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12823         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12824         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12825         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12826         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12827         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12828         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12829         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12830         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12831         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12832         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12833         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12834         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12835         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12836         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12837         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12838         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12839         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12840         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12841         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12842         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12843         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12844         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12845         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12846         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12847         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12848         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12849         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12850         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12851         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12852         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12853         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12854         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12855         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12856         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12857         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12858         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12859         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12860         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
12861         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12862         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12864         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
12865         _Float128, and include math_private.h.
12866         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12868         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
12869         long double semantics.
12870         (_Float128): Likewise.
12871         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
12872         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12873         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
12874         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
12876 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12878         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
12879         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
12880         * sysdeps/s390/configure: Regenerated.
12881         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
12882         instruction for raising over-/underflow if z196 zarch is supported
12883         by default.
12884         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
12886 2016-08-30  Svante Signell  <svante.signell@gmail.com>
12888         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
12889         it point to a dumb buffer for RPC to fill it.
12891 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12893         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
12894         instead of if/else.
12895         (do_sin_slow): Likewise.
12896         (do_sincos_1): Use fabs instead of if/else.
12897         (do_sincos_2): Likewise.
12898         (__sin): Likewise.
12899         (__cos): Likewise.
12900         (slow2): Likewise.
12901         (sloww): Likewise.
12902         (sloww1): Likewise.  Drop argument M.
12903         (sloww2): Use fabs instead of if/else.
12904         (bsloww): Likewise.
12905         (bsloww1): Likewise.
12906         (bsloww2): Likewise.
12908         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
12909         fall through comment.
12910         (do_sincos_1): Likewise.
12912         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
12913         Consolidate switch cases 0 and 2.
12915 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12917         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
12918         (libm-calls): Remove the above.
12920         * math/s_cexp_template.c: Update using type-generic macros.
12921         * math/s_clog10_template.c: Likewise.
12922         * math/s_cpow_template.c: Likewise.
12923         * math/s_clog_template.c: Likewise.
12924         * math/s_cproj_template.c: Likewise.
12925         * math/s_csqrt_template.c: Likewise.
12927         * math/s_cexp.c: Removed.
12928         * math/s_cexpf.c: Removed.
12929         * math/s_cexpl.c: Removed.
12930         * math/s_clog10.c: Removed.
12931         * math/s_clog10f.c: Removed.
12932         * math/s_clog10l.c: Removed.
12933         * math/s_cpow.c: Removed.
12934         * math/s_cpowf.c: Removed.
12935         * math/s_cpowl.c: Removed.
12936         * math/s_clog.c: Removed.
12937         * math/s_clogf.c: Removed.
12938         * math/s_clogl.c: Removed.
12939         * math/s_cproj.c: Removed.
12940         * math/s_cprojf.c: Removed.
12941         * math/s_cprojl.c: Removed.
12942         * math/s_csqrt.c: Removed.
12943         * math/s_csqrtf.c: Removed.
12944         * math/s_csqrtl.c: Removed.
12946         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
12947         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
12948         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
12949         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
12950         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
12951         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
12953         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
12954         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
12955         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
12956         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
12957         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
12958         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
12959         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
12960         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
12961         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
12962         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
12963         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
12965         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
12966         version.
12968         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
12969         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
12970         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
12971         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
12973 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12975         * s_cexp_template.c: Copy of s_cexp.c.
12976         * s_clog_template.c: Copy of s_clog.c.
12977         * s_clog10_template.c: Copy of s_clog10.c.
12978         * s_cpow_template.c: Copy of s_cpow.c.
12979         * s_cproj_template.c: Copy of s_cproj.c.
12980         * s_csqrt_template.c: Copy of s_csqrt.c.
12982 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12984         [BZ #20517]
12985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
12986         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
12987         exported.
12989 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
12991         * math/fetestexceptflag.c: New file.
12992         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
12993         Stefan Liebler.
12994         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12995         (fetestexceptflag): New function declaration.
12996         * manual/arith.texi (fetestexceptflag): Document function.
12997         * math/Versions (fetestexceptflag): New libm symbol at version
12998         GLIBC_2.25.
12999         * math/Makefile (libm-support): Add fetestexceptflag.
13000         (tests): Add test-fetestexceptflag.
13001         * math/test-fetestexceptflag.c: New file.
13002         * sysdeps/nacl/libm.abilist: Update.
13003         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13004         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13005         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13006         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13007         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13008         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13009         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13010         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13011         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13012         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13013         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13014         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13016         Likewise.
13017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13018         Likewise.
13019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13020         Likewise.
13021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13022         Likewise.
13023         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13024         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13025         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13026         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13027         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13029         Likewise.
13030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13031         Likewise.
13032         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13033         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13034         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13036 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13038         [BZ #20432]
13039         Avoid strong references to malloc-internal symbols when linking
13040         statically, to support statically interposed mallocs.
13041         * include/libc-symbols.h (call_function_static_weak): New macro.
13042         * malloc/Makefile (tests): Add tst-interpose-nothread,
13043         tst-interpose-thread, tst-interpose-static-nothread,
13044         tst-interpose-static-thread.
13045         (tests-static): Add tst-interpose-static-nothread,
13046         tst-interpose-static-thread.
13047         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
13048         tst-interpose-aux-thread.o.
13049         (test-extras): Add tst-interpose-aux-nothread,
13050         tst-interpose-aux-thread.
13051         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
13052         tst-interpose-aux-nothread.o.
13053         (tst-interpose-thread, tst-interpose-static-thread): Link with
13054         tst-interpose-aux-thread.o and libthread.
13055         * malloc/tst-interpose-aux-nothread.c: New file.
13056         * malloc/tst-interpose-aux-thread.c: Likewise.
13057         * malloc/tst-interpose-aux.c: Likewise.
13058         * malloc/tst-interpose-aux.h: Likewise.
13059         * malloc/tst-interpose-nothread.c: Likewise.
13060         * malloc/tst-interpose-skeleton.c: Likewise.
13061         * malloc/tst-interpose-static-nothread.c: Likewise.
13062         * malloc/tst-interpose-static-thread.c: Likewise.
13063         * malloc/tst-interpose-thread.c: Likewise.
13064         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
13065         * sysdeps/mach/hurd/fork.c (__fork): Only call
13066         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
13067         __malloc_fork_unlock_child if defined.
13068         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13070 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13072         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
13073         timespec C99 designated initialization.
13075 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13077         [BZ #19946]
13078         Avoid expected SIGALRM signals.
13079         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
13080         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
13081         (xpthread_create, xpthread_detach, xpthread_join)
13082         (delayed_exit_thread, delayed_exit): New functions.
13083         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
13084         (tf): Use xpthread_cond_wait.
13085         (do_test): Likewise.  Replace alarm with delayed_exit.
13086         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13087         (do_test): Call delayed_exit.  Report failure.
13088         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13089         (do_test): Call delayed_exit.
13090         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13091         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
13092         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13093         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
13094         error.
13095         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13096         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
13097         error.
13098         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
13099         (do_test): Call delayed_exit.
13100         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
13101         (do_test): Call delayed_exit.
13102         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
13103         (do_test): Call delayed_exit instead of alarm.  Use
13104         xpthread_mutex_lock.
13105         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
13106         (do_test): Call delayed_exit instead of alarm.  Use
13107         xpthread_mutex_lock.
13108         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
13109         (do_test): Call delayed_exit instead of alarm.
13110         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
13111         (do_test): Call delayed_exit instead of alarm.  Use
13112         xpthread_spin_lock.
13113         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
13114         (do_test): Call delayed_exit instead of alarm.  Use
13115         xpthread_join.
13117 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13119         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
13120         adjust CFA when allocating register save area on re-aligned
13121         stack.
13123 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13125         * string/tst-cmp.c: New test.
13126         * string/Makefile (tests): Add it.
13128 2016-08-25  Mark Wielaard  <mark@klomp.org>
13130         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
13131         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
13132         (check_tree_recurse): Use newly defined accessors.
13133         (check_tree): Likewise.
13134         (maybe_split_for_insert): Likewise.
13135         (__tfind): Likewise.
13136         (__tdelete): Likewise.
13137         (trecurse): Likewise.
13138         (tdestroy_recurse): Likewise.
13139         (__tsearch): Likewise. And add asserts for malloc alignment.
13140         (__twalk): Cast root to node in case CHECK_TREE is defined.
13142 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13144         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
13146 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13148         * math/Makefile (libm-gen-calls): Add
13149         catan, catanh, ctan, ctanh.
13150         (libm-calls): Remove the above.
13152         * math/s_catan_template.c: Update using type-generic macros.
13153         * math/s_catanh_template.c: Likewise.
13154         * math/s_ctan_template.c: Likewise.
13155         * math/s_ctanh_template.c: Likewise.
13157         * math/s_catanf.c: Removed.
13158         * math/s_catan.c: Removed.
13159         * math/s_catanl.c: Removed.
13160         * math/s_catanhf.c: Removed.
13161         * math/s_catanh.c: Removed.
13162         * math/s_catanhl.c: Removed.
13163         * math/s_ctanf.c: Removed.
13164         * math/s_ctan.c: Removed.
13165         * math/s_ctanl.c: Removed.
13166         * math/s_ctanhf.c: Removed.
13167         * math/s_ctanh.c: Removed.
13168         * math/s_ctanhl.c: Removed.
13170         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
13171         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
13172         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
13173         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
13174         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
13175         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
13177         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
13178         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
13179         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
13180         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
13182 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13184         * s_catan_template.c: Copy of s_catan.c.
13185         * s_catanh_template.c: Copy of s_catanh.c.
13186         * s_ctan_template.c: Copy of s_ctan.c.
13187         * s_ctanh_template.c: Copy of s_ctanh.c.
13189 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13191         * math/Makefile (gen-libm-calls): Move
13192         casin, casinh, csin, csinh here.
13193         (libm-calls): Remove the above.
13195         * math/s_casin_template.c: Update using type-generic macros.
13196         * math/s_casinh_template.c: Likewise.
13197         * math/s_csin_template.c: Likewise.
13198         * math/s_csinh_template.c: Likewise.
13199         * math/k_casinh_template.c: Likewise.
13201         * math/s_casinf.c: Removed.
13202         * math/s_casin.c: Removed.
13203         * math/s_casinl.c: Removed.
13204         * math/s_casinh.c: Removed.
13205         * math/s_casinhf.c: Removed.
13206         * math/s_casinhl.c: Removed.
13207         * math/s_csin.c: Removed.
13208         * math/s_csinf.c: Removed.
13209         * math/s_csinl.c: Removed.
13210         * math/s_csinh.c: Removed.
13211         * math/s_csinhf.c: Removed.
13212         * math/s_csinhl.c: Removed.
13213         * math/k_casinh.c: Removed.
13214         * math/k_casinhf.c: Removed.
13215         * math/k_casinhl.c: Removed.
13217         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
13218         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
13219         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
13220         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
13222         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
13223         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
13224         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
13225         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
13226         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
13227         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
13228         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
13229         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
13231         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
13232         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
13233         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
13234         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
13236         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
13237         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
13238         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
13239         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
13241 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13243         * s_casin_template.c: Copy of s_casin.c.
13244         * s_casinh_template.c: Copy of s_casinh.c.
13245         * s_csin_template.c: Copy of s_csin.c.
13246         * s_csinh_template.c: Copy of s_csinh.c.
13247         * k_casinh_template.c: Copy of k_casinh.c.
13249 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13251         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
13253 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13255         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
13256         (mul_split) Remove, rename as mul_splitl, remove
13257         redundant float.h include, and include via mul_splitl.h
13259         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13260         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13261         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13262         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13263         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13265         * math/mul_splitl.h: New file.
13267         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
13268         Move into mul_split.h, and remove redundant float.h include.
13270         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13271         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13272         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13273         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
13275         * math/mul_split.h: New file.
13277 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13279         * math/Makefile (libm-gen-calls): Move
13280         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
13281         (libm-calls): Remove above.
13283         * math/s_cacos_template.c: Update using type-generic macros.
13284         * math/s_cacosh_template.c: Likewise.
13285         * math/s_ccos_template.c: Likewise.
13286         * math/s_ccosh_template.c: Likewise.
13288         * math/s_cacosf.c: Removed.
13289         * math/s_cacos.c: Removed.
13290         * math/s_cacosl.c: Removed.
13291         * math/s_cacoshf.c: Removed.
13292         * math/s_cacosh.c: Removed.
13293         * math/s_cacoshl.c: Removed.
13294         * math/s_ccosf.c: Removed.
13295         * math/s_ccos.c: Removed.
13296         * math/s_ccosl.c: Removed.
13297         * math/s_ccoshf.c: Removed.
13298         * math/s_ccosh.c: Removed.
13299         * math/s_ccoshl.c: Removed.
13301         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
13302         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
13303         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
13304         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
13305         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
13306         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
13308         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
13309         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
13310         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
13311         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
13313         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
13314         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
13315         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
13316         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
13318 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13320         * s_cacos_template.c: Copy of s_cacos.c.
13321         * s_cacosh_template.c: Copy of s_cacosh.c.
13322         * s_ccos_template.c: Copy of s_ccos.c.
13323         * s_ccosh_template.c: Copy of s_ccosh.c.
13325 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13327         * stdlib/tst-strtod-round-skeleton.c:
13328         Refactored from tst-strtod-round.c.
13330         (L_): New macro to apply literal modifier.
13331         (FNPFX): New macro to select str or wcs prefix.
13332         (CHAR): New macro to choose wchar_t or char.
13333         (STRM): New macro to choose printf for tested character type.
13335         (STRTO): New macro to choose appropriate string -> real function.
13336         (FNPFXS): Stringitized version of FNPFX.
13337         (STR): Support for above macro.
13338         (STRX): Likewise.
13340         (TEST): Update with above macros.
13341         (test): Likewise.
13342         (GEN_ONE_TEST): Likewise.
13343         (test_in_one_mode): Likewise.
13345         * stdlib/tst-strtod-round.c: New file.
13346         * wcsmbs/tst-wcstod-round.c: New file.
13348         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
13349         (tst-wcstod-round): Add libm depencency for fesetround.
13351 2016-08-19  Zack Weinberg  <zackw@panix.com>
13353         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
13355 2016-08-18  Torvald Riegel  <triegel@redhat.com>
13357         [BZ #20477]
13358         * resolv/res_hconf.c (do_init): Use atomic access.
13359         * resolv/res_hconf.h: Add comments.
13360         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
13361         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
13362         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13364 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
13366         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13367         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
13368         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13369         Likewise.
13371 2016-08-18  Florian Weimer  <fweimer@redhat.com>
13373         [BZ #16907]
13374         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
13375         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
13376         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
13377         (__attribute__): Remove definition.
13379 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13381         * sysdeps/ieee754/ldbl-128/e_asinl.c:
13382         Remove unused sqrtl declaration.
13384 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13386         * math/Makefile: (gen-libm-templates.stmp): New rule.
13387         (libm-calls): Move carg conj cimag and cabs into ...
13388         (gen-libm-calls): New variable.
13389         (generated): Inform Make objects from gen-libm-calls
13390         may be generated.
13392         * sysdeps/generic/math-type-macros.h: New file.
13393         * sysdeps/generic/math-type-macros-float.h: Likewise.
13394         * sysdeps/generic/math-type-macros-double.h: Likewise.
13395         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13396         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
13397         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
13399         * math/cabs.c: Refactor into
13400         * math/cabs_template.c: new file.
13401         * math/cabsf.c: Removed.
13402         * math/cabsl.c: Removed.
13403         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
13404         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
13406         * math/carg.c: Refactor into
13407         * math/carg_template.c: new file.
13408         * math/cargf.c: Removed.
13409         * math/cargl.c: Removed.
13410         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
13411         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
13413         * math/conj.c: Refactor into
13414         * math/conj_template.c: new file.
13415         * math/conjf.c: Removed.
13416         * math/conjl.c: Removed.
13417         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
13418         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
13420         * math/cimag.c: Refactor into
13421         * math/cimag_template.c: new file.
13422         * math/cimagf.c: Removed.
13423         * math/cimagl.c: Removed.
13424         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
13425         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
13427         * math/cimag.c: Refactor into
13428         * math/cimag_template.c: new file.
13429         * math/cimagf.c: Removed.
13430         * math/cimagl.c: Removed.
13431         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
13432         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
13434 2016-08-17  Florian Weimer  <fweimer@redhat.com>
13436         Reduce time to expected nptl/tst-once5 failure.
13437         * nptl/tst-once5.cc (TIMEOUT): Define.
13439 2016-08-17  Florian Weimer  <fweimer@redhat.com>
13441         [BZ #20452]
13442         Avoid additional copies of objects in libc.a in static libraries.
13443         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
13444         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
13445         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
13446         rt-sysdep.
13447         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
13448         Add nptl-sysdep.
13449         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
13450         Add ptw-sysdep.
13451         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
13452         rt-sysdep.
13453         * sysdeps/unix/sysv/linux/alpha/Makefile
13454         (libpthread-shared-only-routines): Add ptw-sysdep,
13455         ptw-sigprocmask, ptw-rt_sigaction.
13456         * sysdeps/unix/sysv/linux/ia64/Makefile
13457         (librt-shared-only-routines): Add rt-sysdep.
13458         * sysdeps/unix/sysv/linux/i386/Makefile
13459         (libpthread-shared-only-routines): Add libc-do-syscall.
13460         * sysdeps/unix/sysv/linux/microblaze/Makefile
13461         (libpthread-shared-only-routines): Add sysdep.
13462         * sysdeps/unix/sysv/linux/powerpc/Makefile
13463         (librt-shared-only-routines): Add rt-sysdep.
13464         (libpthread-shared-only-routines): Add sysdep.
13465         * sysdeps/unix/sysv/linux/s390/Makefile
13466         (librt-shared-only-routines): Add rt-sysdep.
13467         * sysdeps/unix/sysv/linux/sparc/Makefile
13468         (librt-shared-only-routines): Add rt-sysdep.
13469         (libpthread-shared-only-routines): Add sysdep.
13470         * sysdeps/unix/sysv/linux/tile/Makefile
13471         (libpthread-shared-only-routines): Likewise.
13473 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
13475         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
13476         Mask implicit bit out of unpacked value.
13477         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
13478         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
13479         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
13481         * sysdeps/sparc/fpu/fesetexcept.c: New file.
13483         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
13485         * sysdeps/s390/fpu/fesetexcept.c: New file.
13487         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
13488         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
13489         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
13491         * sysdeps/mips/fpu/fesetexcept.c: New file.
13493         * sysdeps/m68k/fpu/fesetexcept.c: New file.
13495         * sysdeps/ia64/fpu/fesetexcept.c: New file.
13497         * sysdeps/hppa/fpu/fesetexcept.c: New file.
13499         * sysdeps/arm/fesetexcept.c: New file.
13501         * sysdeps/alpha/fpu/fesetexcept.c: New file.
13503         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
13505         * math/fesetexcept.c: New file.
13506         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
13507         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
13508         * math/fenv.h: Define
13509         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13510         <bits/libc-header-start.h> instead of including <features.h>.
13511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
13512         declaration.
13513         * manual/arith.texi (fesetexcept): Document function.
13514         * math/Versions (fesetexcept): New libm symbol at version
13515         GLIBC_2.25.
13516         * math/Makefile (libm-support): Add fesetexcept.
13517         (tests): Add test-fesetexcept and test-fesetexcept-traps.
13518         * math/test-fesetexcept.c: New file.
13519         * math/test-fesetexcept-traps.c: Likewise.
13520         * sysdeps/nacl/libm.abilist: Update.
13521         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13522         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13523         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13524         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13525         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13526         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13527         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13528         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13529         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13530         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13531         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13532         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13534         Likewise.
13535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13536         Likewise.
13537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13538         Likewise.
13539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13540         Likewise.
13541         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13542         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13543         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13544         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13545         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13547         Likewise.
13548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13549         Likewise.
13550         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13551         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13552         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13554 2016-08-16  Florian Weimer  <fweimer@redhat.com>
13556         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
13557         New.
13558         (do_test): Apply default_stack_size_in_mb if not set.
13559         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
13561 2016-08-15  Andreas Schwab  <schwab@suse.de>
13563         [BZ #20435]
13564         CVE-2016-6323
13565         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
13566         as .cantunwind.
13568 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
13570         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
13571         comment from fraiseexcpt.c.
13573         * math/test-fexcept.c (feraiseexcept_exact): New function.
13574         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
13575         (test_except): Likewise.
13577 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
13579         [BZ #20455]
13580         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
13581         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
13582         to be restored.
13584         * math/test-fexcept-traps.c: New file.
13585         * math/test-fexcept.c: Likewise.
13586         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
13587         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
13588         macro.
13589         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
13590         (EXCEPTION_SET_FORCES_TRAP): Likewise.
13592 2016-08-09  Torvald Riegel  <triegel@redhat.com>
13594         * include/atomic.h (atomic_fetch_and_relaxed,
13595         atomic_fetch_and_release, atomic_fetch_or_release,
13596         atomic_fetch_xor_release): New.
13598 2016-08-06  Christian Seiler  <christian@iwakd.de>
13600         [BZ #20444]
13601         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
13602         MACH_PORT_NULL.
13604 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
13606         * math/s_fdim.c: Avoid alias renamed.
13607         * math/s_fdimf.c: Likewise.
13608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13609         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13610         Add s_fdimf-vis3, s_fdim-vis3.
13611         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
13612         (CFLAGS-s_fdim-vis3.c): Likewise.
13613         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
13614         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
13616 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
13618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13619         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13620         Remove s_fdimf-vis3, s_fdim-vis3.
13621         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
13622         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
13623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
13624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
13625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
13626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
13627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
13628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
13629         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
13630         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
13632 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
13634         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
13635         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
13636         -Wa,-Av9a -mvis.
13638 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13640         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
13641         LIT() to individual constants in simple expressions
13642         after splitting on spaces.
13643         (_apply_lit): Rename replaced version, and use it to
13644         apply to what appears to be a token.
13646         * math/libm-test.inc: Fix many, many issues with
13647         spacing.
13649 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
13651         * math/math.h: Move comment about <bits/mathdef.h> definitions
13652         above inclusion of <bits/mathdef.h>.  Do not mention
13653         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
13655 2016-08-05  Torvald Riegel  <triegel@redhat.com>
13657         * include/atomic.h (atomic_exchange_relaxed): New.
13659 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
13661         * math/e_scalb.c: Do not include <fenv.h>.
13662         (invalid_fn): Do calculation resulting in NaN instead of raising
13663         FE_INVALID and returning a NaN explicitly.
13664         * math/e_scalbf.c: Do not include <fenv.h>.
13665         (invalid_fn): Do calculation resulting in NaN instead of raising
13666         FE_INVALID and returning a NaN explicitly.
13667         * math/e_scalbl.c: Do not include <fenv.h>.
13668         (invalid_fn): Do calculation resulting in NaN instead of raising
13669         FE_INVALID and returning a NaN explicitly.
13671 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
13673         * po/de.po: Updated from Translation Project.
13674         * po/fi.po: Likewise.
13675         * po/sv.po: Likewise.
13677 2016-08-04  Florian Weimer  <fweimer@redhat.com>
13679         [BZ #20452]
13680         Use sysdep.o from libc.a in static libraries.
13681         * sysdeps/unix/sysv/linux/i386/Makefile
13682         (libpthread-shared-only-routines): Add sysdep.
13683         (librt-shared-only-routines): Likewise.
13685 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13687         * math/tgmath.h (nextdown): Define if
13688         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
13689         (nextup): Likewise.
13691         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
13692         macro.
13693         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
13694         Document.
13695         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
13696         Document macro.
13697         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
13698         (exp10f): Likewise.
13699         (exp10l): Likewise.
13700         * math/bits/mathcalls.h (exp10): Declare if
13701         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
13703         * manual/arith.texi (nextup): Fix typo in last change.
13705 2016-08-03  Zack Weinberg  <zackw@panix.com>
13707         [BZ #19239]
13708         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
13709         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
13710         define major, minor, and makedev to issue deprecation warnings on use.
13711         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
13712         previously-activated deprecation warnings for these macros and prevent
13713         subsequent inclusions of this header from having any effect.
13714         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
13715         including <sys/sysmacros.h>, and undefine it again afterward.
13717 2016-08-03  Zack Weinberg  <zackw@panix.com>
13719         * sysdeps/generic/sys/sysmacros.h: Delete file.
13720         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
13721         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
13722         * bits/sysmacros.h: ... here; this encoding is now the generic
13723         encoding.  Now defines only the following macros:
13724         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
13725         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
13726         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
13728         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
13729         bits/sysmacros.h and the above new macros to generate the
13730         public implementations of major, minor, and makedev.
13731         * misc/tst-makedev.c: New test.
13732         * include/sys/sysmacros.h: New wrapper.
13734         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
13735         (routines): Add makedev.
13736         (tests): Add tst-makedev.
13737         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
13738         gnu_dev_makedev.
13739         * posix/Makefile (headers): Remove sys/sysmacros.h.
13740         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
13742         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
13743         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
13744         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
13745         * sysdeps/unix/sysv/linux/alpha/libc.abilist
13746         * sysdeps/unix/sysv/linux/arm/libc.abilist
13747         * sysdeps/unix/sysv/linux/hppa/libc.abilist
13748         * sysdeps/unix/sysv/linux/i386/libc.abilist
13749         * sysdeps/unix/sysv/linux/ia64/libc.abilist
13750         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13751         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
13752         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
13753         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13754         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13755         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13756         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13757         * sysdeps/unix/sysv/linux/nios2/libc.abilist
13758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13762         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
13763         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13764         * sysdeps/unix/sysv/linux/sh/libc.abilist
13765         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13766         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13769         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
13770         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
13771         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
13772         Add GLIBC_2.25.
13774         * include/features.h (__glibc_clang_prereq): New macro.
13775         * misc/sys/cdefs.h (__glibc_clang_has_extension)
13776         (__attribute_deprecated_msg__): New macros.
13778 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13780         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
13781         macro.
13782         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
13783         * manual/arith.texi (issignaling): Document as ISO from TS
13784         18661-1:2014.
13785         (nextup): Likewise.
13786         (nextupf): Likewise.
13787         (nextupl): Likewise.
13788         (nextdown): Likewise.
13789         (nextdownf): Likewise.
13790         (nextdownl): Likewise.
13791         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
13792         macro.
13793         * math/math.h: Define
13794         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13795         <bits/libc-header-start.h> instead of including <features.h>.
13796         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
13797         [__USE_GNU].
13798         * math/bits/mathcalls.h (nextdown): Declare if
13799         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
13800         (nextup): Likewise.
13801         (__issignaling): Likewise.
13803 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13805         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
13806         check, and remove __glibc_likely hint
13807         from FP_INFINITE check.
13808         * s_csinhf.c (__csinhf): Likewise.
13810         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
13811         hint from FP_INFINITE check.
13812         * s_csinhl.c (__csinhl): Likewise.
13814 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13816         * math/Makefile (libm-calls): Insert F placeholder into
13817         object names.  Move w_lgamma_compat* routines into
13818         (libm-compat-calls): New variable.
13819         (libm-compat-calls-ldouble-yes): New variable.
13820         (calls): Insert F placeholder.
13821         (generated): Redefine using new type-foreach macro call.
13822         (routines): Likewise.
13824         (types): New variable to hold a list of symbolic names
13825         for each type supported by the target machine.
13826         (libm-routines): Redefine using new types variable.
13827         (type-foreach): macro to replace fooF with the
13828         appropriately suffixed foo for each types.
13830         (type-ldouble-suffix): New variable.
13831         (type-ldouble-routines): Likewise.
13832         (type-ldouble-yes): Likewise.
13833         (type-double-suffix): Likewise.
13834         (type-double-routines): Likewise.
13835         (type-float-suffix): Likewise.
13836         (type-float-routines): Likewise.
13838         (dbl-only-routines): Remove.
13839         (long-c-yes): Likewise.
13840         (long-m-routines): Likewise.
13841         (long-m-support): Likewise.
13842         (long-m-yes): Likewise.
13843         (test-longdouble-yes): Likewise.
13845         (test-float.o): Simplify by increasing the scope of the
13846         recipe which adds libm-test.stmp to the vector types.
13847         (test-ifloat.o): Likewise.
13848         (test-float-finite.o): Likewise.
13849         (test-double.o): Likewise
13850         (test-idouble.o): Likewise.
13851         (test-double-finite.o): Likewise.
13852         (test-ldouble.o): Likewise
13853         (test-ildoubl.o): Likewise.
13854         (test-ldouble-finite.o): Likewise.
13856         (libm-tests): Redefine type tests using foreach and the
13857         list of types in types.
13859         (CPPFLAGS-test-ildoubl.c): Rename to
13860         (CPPFLAGS-test-ildouble.c): New variable
13862         * math/test-ildoubl.c: Rename to
13863         * math/test-ildouble.c: New file.
13865 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13867         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
13868         Use fabsl instead of fabs.
13869         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
13870         Likewise.
13871         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
13872         Add long double suffix to constant to ensure proper
13873         promotion to long double.
13875 2016-08-03  Tom Tromey  <tom@tromey.com>
13877         [BZ #20311]
13878         * nptl_db/Makefile (headers): Add proc_service.h.
13879         * nptl_db/proc_service.h: Add include guard.  Use
13880         __BEGIN/__END_DECLS.
13881         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
13882         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
13883         arguments.
13886 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13888         [BZ #17730]
13889         Avoid using memalign for TCB allocations.
13890         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
13891         (_dl_allocate_tls_storage): Use malloc and manual alignment.
13892         Avoid alignment gap in the TLS_DTV_AT_TP case.
13893         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
13894         determine the pointer to free.
13895         * nptl/tst-tls3-malloc.c: New test.
13896         * nptl/Makefile (tests): Add it.
13897         (tst-tls3-malloc): Link with libdl, libpthread.
13898         (LDFLAGS-tst-tls3-malloc): Set.
13899         (tst-tls3-malloc.out): Depend on DSO used in test.
13901 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13903         [BZ #17730]
13904         Avoid using memalign for TLS allocations.
13905         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
13906         is_static member with to_free member.
13907         (union dtv): Use struct dtv_pointer.
13908         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
13909         dtv_pointer instead of is_static.
13910         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
13911         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
13912         instead of val.
13913         (allocate_dtv_entry): New function.
13914         (allocate_and_init): Return struct dtv_pointer.  Call
13915         allocate_dtv_entry instead of __libc_memalign.
13916         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
13917         instead of val.
13918         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
13919         instead of is_static.  Adjust call to allocate_and_init.
13920         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
13921         struct dtv_pointer instead of val.
13923 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13925         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
13926         (MALLOC_ALIGN_MASK): Move ...
13927         * malloc/malloc-internal.h: ... to here.
13928         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
13930 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13932         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
13933         (UDP_ENCAP_GTP1U): Likewise.
13935         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
13936         (PF_MAX): Update value.
13937         (AF_QIPCRTR): New macro.
13939 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13941         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
13942         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13943         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13944         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
13945         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13946         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13947         s_truncf-vis3, s_trunc-vis3.
13948         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
13949         (CFLAGS-s_ceil-vis3.c): Likewise.
13950         (CFLAGS-s_floorf-vis3.c): Likewise.
13951         (CFLAGS-s_floor-vis3.c): Likewise.
13952         (CFLAGS-s_truncf-vis3.c): Likewise.
13953         (CFLAGS-s_trunc-vis3.c): Likewise.
13954         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
13955         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
13956         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
13957         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
13958         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
13959         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13960         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
13961         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13962         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
13963         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
13964         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
13965         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
13967 2016-08-02  David S. Miller  <davem@davemloft.net>
13969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13970         (__nearbyint_vis3): Don't check for sNaN before float register is
13971         loaded with the incoming argument.
13972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13973         (__nearbyintf_vis3): Likewise.
13974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
13975         Likewise.
13976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
13977         Likewise.
13979         * string/test-strncmp.c (do_test_limit): Make sure the test data
13980         stream is aligned as required for the type "CHAR".
13981         (do_test): Likewise.
13983 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13985         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
13986         by beq instructions jumping to the end of the function.
13987         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
13988         clobber list. Use "i" constraint instead of "X".
13989         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
13990         of "X".
13992 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
13994         * bits/libc-header-start.h: New file.
13995         * Makefile (headers): Add bits/libc-header-start.h.
13996         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
13997         (__GLIBC_USE): New macro.
13998         * libio/stdio.h: Define
13999         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14000         <bits/libc-header-start.h> instead of including <features.h>.
14001         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
14002         (open_memstream): Likewise.
14003         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
14004         (__asprintf): Likewise.
14005         (asprintf): Likewise.
14006         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
14007         (getdelim): Likewise.
14008         (getline): Likewise.
14009         * string/string.h: Define
14010         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14011         <bits/libc-header-start.h> instead of including <features.h>.
14012         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
14013         (strndup): Likewise.
14014         * wcsmbs/wchar.h: Define
14015         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14016         <bits/libc-header-start.h> instead of including <features.h>.
14017         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
14018         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
14020 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14022         Support linking against compatibility symbols, for use in tests.
14023         * include/libc-symbols.h (symbol_version_reference): New macro.
14024         (symbol_version): Use it.
14025         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
14026         (compat_symbol): Use compat_symbol_reference.
14027         (compat_symbol_1, compat_symbol_2): Remove.
14028         (compat_symbol_reference, compat_symbol_reference_1)
14029         (compat_symbol_reference_2): New macro.  Use
14030         symbol_version_reference.
14032 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14034         [BZ #19469]
14035         * malloc/Makefile (CPPFLAGS): Compile tests with
14036         -DTEST_NO_MALLOPT.
14037         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
14039 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
14041         [BZ #20033]
14042         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
14043         finite version.
14044         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
14045         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
14046         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
14047         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
14048         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
14049         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
14050         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
14051         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
14052         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
14053         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
14054         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
14055         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
14056         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
14057         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
14058         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
14059         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
14060         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
14061         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
14062         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
14063         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
14064         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
14065         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
14066         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
14067         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
14068         in zero power.
14070 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14072         [BZ #20370]
14073         * malloc/arena.c (get_free_list): Update comment.  Assert that
14074         arenas on the free list have no attached threads.
14075         (remove_from_free_list): New function.
14076         (reused_arena): Call it.
14078 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
14080         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
14081         when it is a NaN.
14082         [_IEEE_FP_INEXACT] Remove.
14083         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
14084         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
14085         when it is a NaN.
14086         [_IEEE_FP_INEXACT] Remove.
14087         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
14088         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
14089         when it is a NaN.
14090         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
14091         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
14092         when its absolute value is greater than 0x1.0p52.
14093         [_IEEE_FP_INEXACT] Remove.
14094         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
14095         when its absolute value is greater than 0x1.0p23.
14096         [_IEEE_FP_INEXACT] Remove.
14098 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
14100         * version.h (RELEASE): Set to "development"
14101         (VERSION): Set to 2.24.90.
14102         * NEWS: Add 2.25 section.
14104         * version.h (RELEASE): Set to "stable"
14105         (VERSION): Set to 2.24.
14106         * include/features.h (__GLIBC_MINOR__): Set to 24.
14108         * NEWS: Add 2.24 fixed bugs.
14109         * po/libc.pot: Regenerate.
14111 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
14113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14114         [$(subdir) = math] (libm-sysdep_routines): Remove.
14115         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14116         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
14117         s_truncf-vis3, s_trunc-vis3.
14118         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
14120         file.
14121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
14122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
14123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
14124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
14127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
14128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
14130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
14131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
14132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
14133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
14134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
14135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
14136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
14140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
14141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
14142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
14143         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14144         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14145         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
14146         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14147         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14148         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
14149         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
14152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14154         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
14155         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
14156         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
14157         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
14158         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14159         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14160         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
14161         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
14162         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
14163         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
14165 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
14167         [BZ #20384]
14168         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
14169         test-double-libmvec-sincos-avx-main.o,
14170         test-double-libmvec-sincos-avx2-main.o,
14171         test-double-libmvec-sincos-main.o,
14172         test-float-libmvec-sincosf-avx-main.o,
14173         test-float-libmvec-sincosf-avx2-main.o and
14174         test-float-libmvec-sincosf-main.o.
14175         test-float-libmvec-sincosf-avx512-main.o.
14176         ($(objpfx)test-double-libmvec-sincos): Also link with
14177         $(objpfx)test-double-libmvec-sincos-main.o.
14178         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
14179         $(objpfx)test-double-libmvec-sincos-avx-main.o.
14180         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
14181         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
14182         ($(objpfx)test-float-libmvec-sincosf): Also link with
14183         $(objpfx)test-float-libmvec-sincosf-main.o.
14184         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
14185         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
14186         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
14187         test-double-libmvec-sincos-avx512-main.o and
14188         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
14189         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
14190         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
14191         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
14192         (CFLAGS-test-double-libmvec-sincos.c): Removed.
14193         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
14194         (CFLAGS-test-double-libmvec-sincos-main.c): New.
14195         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
14196         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
14197         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
14198         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
14199         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
14200         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
14201         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
14202         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
14203         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
14204         -DREQUIRE_AVX2.
14205         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
14206         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
14207         -DREQUIRE_AVX512F.
14208         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
14209         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
14210         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
14211         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
14212         file.
14213         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
14214         Likewise.
14215         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
14216         Likewise.
14217         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
14218         Likewise.
14219         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
14220         Likewise.
14221         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
14222         Likewise.
14223         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
14224         Likewise.
14225         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
14226         Likewise.
14228 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
14230         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
14232 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
14234         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
14235         and typo in a comment about AT_HWCAP entry.
14237 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14239         * sysdeps/aarch64/libm-test-ulps: Updated.
14241 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14243         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
14244         of r13 as it is not restored in mvcle case.
14246 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
14248         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
14249         Rename "ret" to "__ret".
14250         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
14251         inline_syscall5, inline_syscall6): Likewise.
14253 2016-07-19   Will Newton  <will.newton@gmail.com>
14255         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
14256         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
14257         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
14258         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
14259         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
14261 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
14263         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
14264         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
14265         -mfpmath=387 with $(rtld-CFLAGS).
14266         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
14267         $(rtld-CFLAGS).
14269 2016-07-18   Ross Burton  <ross.burton@intel.com>
14270              Khem Raj  <raj.khem@gmail.com>
14272         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
14273         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
14274         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
14275         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
14276         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
14277         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
14278         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
14279         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
14280         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
14281         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
14282         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
14283         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
14284         R_METAG_TLS_DTPOFF): New.
14286 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14287             Matt Clay  <mclay@lycos.com>
14289         [BZ #20357]
14290         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
14291         to call __mpsin/__mpcos and to negate values.
14292         * math/auto-libm-test-in: Add test.
14293         * math/auto-libm-test-out: Regenerate.
14295 2016-07-18  Zack Weinberg  <zackw@panix.com>
14297         * grp/Makefile: Don't install the internal header grp-merge.h.
14299 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14301         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14303 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14305         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
14307 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14309         [BZ #15368]
14310         * sysdeps/unix/sysv/linux/nptl-signals.h
14311         (__nptl_clear_internal_signals): New function.
14312         (__libc_signal_block_all): Likewise.
14313         (__libc_signal_block_app): Likewise.
14314         (__libc_signal_restore_set): Likewise.
14315         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
14316         implementation.
14317         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
14318         the cached pid/tid value in pthread structure.
14320 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
14322         [BZ #20347]
14323         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14325 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14327         [BZ #20348]
14328         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
14329         preadv64, pwrite64 and pwritev64.
14331 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14333         [BZ #20350]
14334         * posix/tst-preadwrite.c: Renamed to ...
14335         * posix/tst-preadwrite-common.c: This.
14336         (PREAD): Removed.
14337         (PWRITE): Likewise.
14338         (STRINGIFY): Likewise.
14339         (STRINGIFY2): Likewise.
14340         (do_prepare): Make it static and remove function arguments.
14341         (do_test): Likewise.
14342         (PREPARE): Updated.
14343         (TEST_FUNCTION): New.
14344         (name): Make it static.
14345         (fd): Likewise.
14346         (do_prepare): Use create_temp_file.
14347         (do_test): Renamed to ...
14348         (do_test_with_offset): This.  Make it static and accept offset.
14349         Properly check return value of PWRITE and PREAD.  Return bytes
14350         read.  Don't close fd nor unlink name.
14351         * posix/tst-preadwrite.c: Rewrite.
14352         * posix/tst-preadwrite64.c: Likewise.
14354 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14356         [BZ #20309]
14357         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
14358         -mtls-dialect=gnu2 works.
14359         * configure: Regenerated.
14360         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
14361         (tests): Add tst-gnu2-tls1.
14362         (modules-names): Add tst-gnu2-tls1mod.
14363         ($(objpfx)tst-gnu2-tls1): New.
14364         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
14365         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
14366         * elf/tst-gnu2-tls1.c: New file.
14367         * elf/tst-gnu2-tls1mod.c: Likewise.
14368         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
14369         bytes for push in the PLT entry to align the stack.
14371 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14373         [BZ #20349]
14374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
14376 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14378         [BZ #18707]
14379         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
14380         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
14382 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14384         * sysdeps/unix/sysv/linux/sysdep.h
14385         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
14386         guards.
14387         * misc/tst-preadvwritev-common.c: New file.
14388         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
14389         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
14390         a check for files larger than 2GB.
14392         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14393         (__ASSUME_OFF_DIFF_OFF64): Remove define.
14394         * sysdeps/unix/sysv/linux/pread.c
14395         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
14396         __OFF_T_MATCHES_OFF64_T.
14397         * sysdeps/unix/sysv/linux/pread64.c
14398         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
14399         * sysdeps/unix/sysv/linux/preadv.c
14400         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
14401         * sysdeps/unix/sysv/linux/preadv64.c
14402         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
14403         * sysdeps/unix/sysv/linux/pwrite.c
14404         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
14405         * sysdeps/unix/sysv/linux/pwrite64.c
14406         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
14407         * sysdeps/unix/sysv/linux/pwritev.c
14408         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
14409         * sysdeps/unix/sysv/linux/pwritev64.c
14410         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
14412 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
14414         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14415         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
14417 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
14419         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
14421 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
14423         [BZ #20240]
14424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
14425         (CFLAGS-s_modf-ppc32.c): New variable.
14426         (CFLAGS-s_modff-ppc32.c): Likewise.
14427         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14428         (CFLAGS-s_modf-ppc64.c): Likewise.
14429         (CFLAGS-s_modff-ppc64.c): Likewise.
14431 2016-07-07  Andreas Schwab  <schwab@suse.de>
14433         [BZ #20263]
14434         * nptl/tst-robust10.c: New test.
14435         * nptl/Makefile (tests): Add tst-robust10.
14437 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
14439         [BZ #20263]
14440         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
14442 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14444         * sysdeps/s390/linkmap.h (struct link_map_machine):
14445         Remove member gotplt and add member jmprel.
14446         * sysdeps/s390/s390-32/dl-machine.h
14447         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
14448         instead of gotplt with &got[3].
14449         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
14450         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14452 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
14454         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
14456 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14458         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
14459         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
14460         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
14461         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
14462         * libio/vtables.c (_IO_vtable_check)
14463         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
14464         * libio/libioP.h (IO_set_accept_foreign_vtables)
14465         [!PTR_MANGLE]: Do not call PTR_MANGLE.
14467 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
14469         [BZ #20314]
14470         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
14471         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
14472         $(common-objpfx)cmath.
14473         ($(common-objpfx)cstdlib): New target.
14474         ($(common-objpfx)cmath): Likewise.
14476 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
14478         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
14480 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14482         [BZ #20327]
14483         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
14484         are not part of the string.
14486 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14488         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
14489         * nptl/tst-cancel4-common.h (fifoname): New variable.
14490         (fifofd): Likewise.
14491         (cl_fifo): New function.
14492         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
14493         SIGINT.
14494         (tf_open): Add early cancel test.
14496 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
14498         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
14500 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
14502         * sysdeps/generic/ldsodefs.h
14503         (dl_symbol_visibility_binds_local_p): New inline function.
14504         * elf/dl-addr.c (determine_info): Treat hidden and internal
14505         symbols as local.
14506         * elf/dl-lookup.c (do_lookup_x): Likewise.
14507         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
14509 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
14511         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
14512         invalid exception for a sNaN input.
14513         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14514         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
14515         (__nearbyint_vis3): Likewise
14516         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
14517         (__nearbyintf_vis3): Likewise
14518         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
14519         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14520         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
14521         Likewise.
14522         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
14523         Likewise.
14525 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
14527         [BZ #20139]
14528         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
14529         (HAVE_AVX512DQ_ASM_SUPPORT): This.
14530         * sysdeps/x86_64/configure.ac: Require assembler from binutils
14531         2.24 or above.
14532         (HAVE_AVX512_ASM_SUPPORT): Removed.
14533         (HAVE_AVX512DQ_ASM_SUPPORT): New.
14534         * sysdeps/x86_64/configure: Regenerated.
14535         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
14536         check unconditional.
14537         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14538         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14539         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14540         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
14541         Likewise.
14542         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14543         Likewise.
14544         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14545         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14546         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14547         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14548         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
14549         Likewise.
14550         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14551         Likewise.
14552         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14553         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14554         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
14555         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
14556         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
14557         Likewise.
14558         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
14559         Likewise.
14560         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
14561         Likewise.
14562         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
14563         Likewise.
14564         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
14565         Likewise.
14566         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
14567         Likewise.
14568         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
14569         Likewise.
14570         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
14571         Likewise.
14572         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
14573         Likewise.
14574         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
14575         Likewise.
14576         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
14577         Likewise.
14579 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
14581         [BZ #20024]
14582         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
14583         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
14584         of this implementation of vector function.
14585         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
14586         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
14587         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
14588         Likewise.
14589         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14590         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14591         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
14592         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
14593         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
14594         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
14595         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
14596         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
14597         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
14598         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
14599         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
14600         for testing vector sincos with fixed ABI.
14601         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14602         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14603         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14604         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14605         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14606         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14607         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14608         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
14609         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
14610         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
14611         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
14612         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
14613         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
14614         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
14615         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
14616         * sysdeps/x86_64/fpu/Makefile: Added new tests.
14618 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
14620         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
14622 2016-06-30  Anton Blanchard  <anton@samba.org>
14624         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14625         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
14626         s_sinf-ppc64.
14627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
14628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
14629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
14630         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
14632 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14635         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14636         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
14637         e_expf-ppc64.
14638         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
14639         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
14640         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
14641         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
14643 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
14645         [BZ #20277]
14646         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
14647         when SHARED is defined.
14649 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
14651         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
14652         (index_arch_Prefer_ERMS): Likewise.
14653         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
14654         __memcpy_erms for Prefer_ERMS.
14655         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14656         (__memmove_erms): Enabled for libc.a.
14657         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
14658         __memmove_erms or Prefer_ERMS.
14659         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
14660         __mempcpy_erms for Prefer_ERMS.
14661         * sysdeps/x86_64/multiarch/memset.S (memset): Return
14662         __memset_erms for Prefer_ERMS.
14664 2016-06-30  Andreas Schwab  <schwab@suse.de>
14666         [BZ #20262]
14667         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
14668         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
14669         of memory.
14671 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
14673         [BZ #18645]
14674         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
14675         (test-extras): Add tst-cleanupx4aux.
14676         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
14677         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
14678         tst-cleanupx4aux.o.
14679         * nptl/tst-cleanupx4aux.c: New file.
14681 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
14683         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14685 2016-06-29  Andreas Schwab  <schwab@suse.de>
14687         [BZ #20260]
14688         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
14689         address before the beginning of the string as an integer to avoid
14690         array-bounds warning.
14692 2016-06-28  Richard Henderson  <rth@redhat.com>
14694         * elf/elf.h (EM_BPF): New.
14695         (EM_NUM): Update.
14696         (R_BPF_NONE, R_BPF_MAP_FD): New.
14698         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
14699         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
14700         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
14701         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
14702         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
14703         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
14704         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
14705         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
14706         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
14707         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
14708         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
14709         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
14710         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
14711         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
14712         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
14713         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
14714         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
14715         (EM_NUM): Update.
14717 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
14719         [BZ #18960]
14720         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
14721         Set _nl_current_LC_CATEGORY_used to two instead of one.
14723 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
14725         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
14726         (do_test): ... this.
14727         (TEST_FUNCTION): New macro.
14728          Include test-skeleton.c.
14729         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
14730         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
14732 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
14734         [BZ #15479]
14735         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
14736         floating-point environment rather than just control word.
14737         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14738         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
14739         floating-point environment, with "invalid" exceptions merged in,
14740         rather than just control word.
14741         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
14742         * math/libm-test.inc (trunc_test_data): Do not allow spurious
14743         "inexact" exceptions.
14745         [BZ #15479]
14746         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
14747         floating-point environment rather than just control word.
14748         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14749         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
14750         floating-point environment, with "invalid" exceptions merged in,
14751         rather than just control word.
14752         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
14753         * math/libm-test.inc (floor_test_data): Do not allow spurious
14754         "inexact" exceptions.
14756         [BZ #15479]
14757         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
14758         floating-point environment rather than just control word.
14759         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14760         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
14761         floating-point environment, with "invalid" exceptions merged in,
14762         rather than just control word.
14763         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
14764         * math/libm-test.inc (ceil_test_data): Do not allow spurious
14765         "inexact" exceptions.
14767 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
14769         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
14770         __libc_vfork.
14771         (__vfork) [IS_IN (libc)]: Remove alias.
14772         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
14773         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14774         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14776 2016-06-24  Torvald Riegel  <triegel@redhat.com>
14778         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
14779         of atomic_compare_and_exchange_bool_rel.
14780         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14781         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
14782         catomic_compare_and_exchange_bool_rel): Remove.
14783         * sysdeps/aarch64/atomic-machine.h
14784         (atomic_compare_and_exchange_bool_rel): Likewise.
14785         * sysdeps/alpha/atomic-machine.h
14786         (atomic_compare_and_exchange_bool_rel): Likewise.
14787         * sysdeps/arm/atomic-machine.h
14788         (atomic_compare_and_exchange_bool_rel): Likewise.
14789         * sysdeps/mips/atomic-machine.h
14790         (atomic_compare_and_exchange_bool_rel): Likewise.
14791         * sysdeps/microblaze/atomic-machine.h
14792         ( __arch_compare_and_exchange_bool_8_rel,
14793         __arch_compare_and_exchange_bool_16_rel): Likewise.
14794         * sysdeps/powerpc/atomic-machine.h
14795         ( __arch_compare_and_exchange_bool_8_rel,
14796         __arch_compare_and_exchange_bool_16_rel): Likewise.
14797         * sysdeps/powerpc/powerpc32/atomic-machine.h
14798         ( __arch_compare_and_exchange_bool_32_rel,
14799         __arch_compare_and_exchange_bool_64_rel): Likewise.
14800         * sysdeps/powerpc/powerpc64/atomic-machine.h
14801         ( __arch_compare_and_exchange_bool_32_rel,
14802         __arch_compare_and_exchange_bool_64_rel): Likewise.
14803         * sysdeps/tile/atomic-machine.h
14804         (atomic_compare_and_exchange_bool_rel): Likewise.
14806 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
14808         [BZ #20296]
14809         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
14810         when either argument is a NaN.
14811         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14812         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
14814         * math/libm-test.inc (snan_value_ld): New macro.
14815         (isgreater_test_data): Add sNaN tests.
14816         (isgreaterequal_test_data): Likewise.
14817         (isless_test_data): Likewise.
14818         (islessequal_test_data): Likewise.
14819         (islessgreater_test_data): Likewise.
14820         (isunordered_test_data): Likewise.
14821         (nextafter_test_data): Likewise.
14822         (nexttoward_test_data): Likewise.
14823         (remainder_test_data): Likewise.
14824         (remquo_test_data): Likewise.
14825         (significand_test_data): Likewise.
14826         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
14828 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14830         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
14831         environment macros are defined.
14832         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
14834 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14836         [BZ #20191]
14837         Implement vtable verification in libio.
14838         * Makerules (shlib.lds): Place __libc_IO_vtables section.
14839         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
14840         * debug/vdprintf_chk.c (__vdprintf_chk): Call
14841         _IO_new_file_init_internal instead of _IO_file_init.
14842         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
14843         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
14844         * libio/Makefile (routines): Add vtables.
14845         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
14846         (_IO_init): Remove, not for internal use.
14847         (_IO_init_internal): Declare, internal replacement for _IO_init.
14848         (_IO_file_init): Remove, not for internal use.
14849         (_IO_new_file_init): Remove, not for internal use.
14850         (_IO_new_file_init_internal): Declare, internal replacement for
14851         _IO_new_file_init.
14852         (_IO_old_file_init): Remove, not for internal use.
14853         (_IO_old_file_init_internal): Declare, internal replacement for
14854         _IO_old_file_init.
14855         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
14856         internal use.
14857         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
14858         Declare.
14859         (libio_vtable): New macro.
14860         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
14861         functions.
14862         * libio/fileops.c (_IO_new_file_init_internal): Rename from
14863         _IO_new_file_init.
14864         (_IO_new_file_init): New externally visible wrapper which disables
14865         vtable verification.
14866         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
14867         Define as vtables.
14868         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
14869         (_IO_init): New externally visible wrapper which disables
14870         vtable verification.
14871         * libio/iofdopen.c (_IO_new_fdopen): Call
14872         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
14873         comment.
14874         * libio/iofopen.c (__fopen_internal): Call
14875         _IO_new_file_init_internal instead of _IO_file_init.
14876         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
14877         Define as vtables.
14878         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
14879         _IO_new_file_init_internal instead of _IO_file_init.
14880         * libio/iopopen.c (_IO_new_popen): Likewise.
14881         (_IO_proc_jumps): Define as vtable.
14882         * libio/iovdprintf.c (_IO_vdprintf): Call
14883         _IO_new_file_init_internal instead of _IO_file_init.
14884         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
14885         (__open_memstream): Call _IO_init_internal instead of _IO_init.
14886         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
14887         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
14888         _IO_old_file_init.
14889         (_IO_old_file_init): New externally visible wrapper which disables
14890         vtable verification.
14891         (_IO_old_file_jumps): Define as vtable.
14892         * libio/oldiofdopen.c (_IO_old_fdopen): Call
14893         _IO_old_file_init_internal instead of _IO_old_file_init.
14894         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14895         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14896         (_IO_old_proc_jumps): Define as vtable.
14897         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
14898         Define as vtables.
14899         * libio/vtables.c: New file.
14900         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
14901         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
14902         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
14903         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
14904         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
14905         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
14906         instead of _IO_init.
14908 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14910         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
14912 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14914         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
14915         potentially unused.
14917 2016-06-22  Florian Weimer  <fweimer@redhat.com>
14919         * test-skeleton.c (write_message): New function.
14920         * malloc/tst-mallocfork2.c (write_message): Remove.
14921         * debug/tst-longjmp_chk2.c (write_indented): New function.
14922         (write_message): Remove.
14923         (stackoverflow_handler): Call write_indented.
14925 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
14927         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
14928         "inexact" exceptions after fnstenv.
14929         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14930         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14931         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14933 2015-06-22  Zack Weinberg  <zackw@panix.com>
14935         * sysdeps/generic/bits/hwcap.h: Moved to ...
14936         * bits/hwcap.h: Here.
14938 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
14940         * sysdeps/aarch64/memcpy.S (memcpy):
14941         Further tuning for performance.
14943 2016-06-21  Florian Weimer  <fweimer@redhat.com>
14945         [BZ #20284]
14946         * malloc/arena.c (reused_arena): Do not return NULL if we start
14947         out with a non-corrupted arena.
14949 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14951         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
14952         * misc/tst-preadvwritev.c: New file.
14953         * misc/tst-preadvwritev64.c: Likewise.
14954         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
14955         usage.
14956         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
14957         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
14958         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
14959         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
14961 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
14963         [BZ #19654]
14964         * sysdeps/x86_64/fpu/Makefile: Added new tests.
14965         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
14966         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
14967         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
14968         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
14969         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
14970         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
14971         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
14972         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
14973         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
14974         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
14975         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
14976         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
14977         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
14978         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
14979         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
14980         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
14981         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
14982         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
14983         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
14984         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
14985         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
14986         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
14987         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
14988         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
14989         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
14991 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14993         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
14994         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
14996 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14998         * sysdeps/aarch64/memcpy.S (memcpy):
14999         Rewrite of optimized memcpy and memmove.
15000         * sysdeps/aarch64/memmove.S (memmove): Remove
15001         memmove code (merged into memcpy.S).
15003 2016-06-20  Florian Weimer  <fweimer@redhat.com>
15005         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
15006         * sysdeps/generic/dl-dtv.h: New file.
15007         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15008         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
15009         (dtv_t): Remove.
15010         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15011         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
15012         (dtv_t): Remove.
15013         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15014         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
15015         (dtv_t): Remove.
15016         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15017         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
15018         (dtv_t): Remove.
15019         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15020         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
15021         (dtv_t): Remove.
15022         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15023         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
15024         (dtv_t): Remove.
15025         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15026         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
15027         (dtv_t): Remove.
15028         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
15029         (dtv_t): Remove.
15030         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15031         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
15032         (dtv_t): Remove.
15033         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15034         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
15035         (dtv_t): Remove.
15036         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15037         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
15038         (dtv_t): Remove.
15039         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15040         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
15041         (dtv_t): Remove.
15042         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15043         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
15044         (dtv_t): Remove.
15045         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15046         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
15047         (dtv_t): Remove.
15048         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15049         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
15050         (dtv_t): Remove.
15051         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15052         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
15053         (dtv_t): Remove.
15055 2016-06-20  Florian Weimer  <fweimer@redhat.com>
15057         Revert symbol poisoning of  __malloc_initialize_hook.
15058         * include/stdc-predef.h (__malloc_initialize_hook): Remove
15059         poisoning.
15060         * malloc/Makefile: Remove un-poisoning.
15061         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
15062         instead of old__malloc_initialize_hook.
15063         * malloc/malloc-hooks.h: Likewise.
15064         * malloc/malloc.c: Likewise.
15065         * malloc/mcheck-init.c: Likewise.
15067 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
15069         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
15071 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
15073         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
15074         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
15075         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15076         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15078 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15080         * NEWS: Mention addition of nextup and nextdown.
15081         * manual/arith.texi: Document nextup and nextdown.
15082         * manual/libm-err-tab.pl: Add nextup and nextdown.
15083         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
15084         * math/Versions (libm): Add GLIBC_2.24.
15085         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
15086         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15087         Add new test.
15088         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
15089         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
15090         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
15091         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
15092         (nextup_test_data): Likewise.
15093         (nextdown_test_data): Likewise.
15094         * math/s_nextdown.c: New file.
15095         * math/s_nextdownf.c: Likewise.
15096         * math/s_nextdownl.c: Likewise.
15097         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
15098         F(nextup): New function.
15099         F(nextdown): Likewise.
15100         * math/tgmath.h: Add nextup and nextdown.
15101         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
15102         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
15103         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15104         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15105         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15106         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
15107         Add nextup and nextdown.
15108         (CFLAGS-nldbl-nextup.c): New variable.
15109         (CFLAGS-nldbl-nextdown.c): Likewise.
15110         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
15111         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
15112         * sysdeps/nacl/libm.abilist: Update.
15113         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15114         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15115         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15116         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15117         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15118         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15119         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15120         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15121         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15122         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15123         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15124         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15127         Likewise.
15128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15130         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15131         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15132         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15133         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15134         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
15136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
15137         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15138         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15139         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15140         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15142 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15144         * manual/pattern.texi: Fix typos & grammar errors.
15146 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15148         * manual/search.texi: Fix typos & grammar errors.
15150 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15152         * manual/message.texi: Fix typos & grammar errors.
15154 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
15156         * manual/contrib.texi: Fix spelling typos.
15157         * manual/crypt.texi: Likewise.
15158         * manual/filesys.texi: Likewise.
15159         * manual/locale.texi: Likewise.
15160         * manual/message.texi: Likewise.
15161         * manual/nss.texi: Likewise.
15162         * manual/string.texi: Likewise.
15164 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15166         * manual/locale.texi: Fix typos & grammar errors.
15168 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15170         * manual/charset.texi: Fix typos & grammar errors.
15172 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15174         * manual/string.texi: Fix typos.
15176 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15178         * manual/ctype.texi: Fix typos.
15180 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15182         * manual/memory.texi: Fix various typos & grammar errors.
15184 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
15186         [BZ #20255]
15187         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
15188         * math/libm-test.inc (fdim_test_data): Add another test.
15190         [BZ #6796]
15191         [BZ #20255]
15192         [BZ #20256]
15193         * math/s_fdim.c: Include <math_private.h>.
15194         (__fdim): Use math_narrow_eval on result.
15195         * math/s_fdimf.c: Include <math_private.h>.
15196         (__fdimf): Use math_narrow_eval on result.
15197         * sysdeps/i386/fpu/s_fdim.S: Remove file.
15198         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
15199         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
15200         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
15201         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
15202         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
15203         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
15204         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
15205         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
15206         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
15207         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
15208         * math/libm-test.inc (fdim_test_data): Expect errno setting on
15209         overflow.  Add sNaN tests.
15211         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
15212         fpclassify.
15213         * math/s_fdimf.c (__fdimf): Likewise.
15214         * math/s_fdiml.c (__fdiml): Likewise.
15216 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15218         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15219         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
15220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15221         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15222         ifunc'ed strcasecmp/strncasecmp.
15223         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
15224         [EALIGN]: Removed.
15225         [END]: Likewise.
15226         [__strcasecmp]: Define instead of the above to control symbol name.
15227         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
15228         for __strcasecmp_power8.
15229         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
15230         for __strncasecmp_power8.
15231         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
15232         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
15233         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
15234         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
15235         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
15236         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
15238 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
15240         [BZ #20252]
15241         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
15242         arguments when second argument is a NaN.
15243         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
15244         qNaN tests.
15246         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
15247         (conj_test_data): Likewise.
15248         (copysign_test_data): Likewise.
15249         (creal_test_data): Likewise.
15250         (fma_test_data): Likewise.
15251         (fmod_test_data): Likewise.
15253         [BZ #20250]
15254         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
15255         itself.
15256         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
15257         zero input to itself.
15258         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
15259         Likewise.
15260         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
15261         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
15262         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15263         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
15264         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
15266 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15268         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
15269         * nptl/tst-cancel4-common.c: New file.
15270         * nptl/tst-cancel4-common.h: Likewise.
15271         * nptl/tst-cancel4.c: Move common definitions to
15272         tst-cancel4-common.{c,h} file.
15273         * nptl/tst-cancel4_1.c: New test.
15274         * nptl/tst-cancel4_2.c: New test.
15276 2016-06-13  Florian Weimer  <fweimer@redhat.com>
15278         [BZ #20248]
15279         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
15280         (write_message): New function.
15281         (stackoverflow_handler): Call it instead of printf, to avoid
15282         excessive stack usage by printf.
15283         (do_test): Restore SIGSEGV, SIGBUS default handlers.
15285 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15287         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
15288         (prio_inherit_missing): Remove define.
15289         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15290         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15291         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
15292         Likewise.
15293         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15294         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15295         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15296         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15297         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15298         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15300 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15302         [BZ #19670]
15303         [BZ #19672]
15305         * io/test-lfs.c (do_prepare): Use xmalloc.
15306         * io/tst-fcntl.c (do_prepare): Likewise.
15307         * libio/tst-fopenloc.c (do_bz17916): Likewise.
15308         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
15309         * login/tst-utmp.c (do_prepare): Likewise.
15310         * posix/tst-exec.c (do_prepare): Likewise.
15311         * posix/tst-pathconf.c (prepare): Likewise.
15312         * posix/tst-spawn.c (do_prepare): Likewise.
15313         * posix/tst-truncate.c (do_prepare): Likewise.
15314         * rt/tst-aio.c (do_prepare): Likewise.
15315         * rt/tst-aio64.c (do_prepare): Likewise.
15317 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15319         [BZ #20237]
15320         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
15321         (get*ent): Set entidx to NULL during initialization.  If entidx is
15322         NULL, start iteration from the beginning.
15324 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15326         * malloc/malloc.c (musable): Return correct size for dumped fake
15327         mmapped chunk.
15329 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15331         [BZ #20222]
15332         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
15333         (_IO_cookie_write): Likewise.
15334         (_IO_cookie_seek): Likewise.
15335         (_IO_cookie_close): Likewise.
15336         (_IO_old_cookie_seek): Likewise.
15337         (set_callbacks): New function.
15338         (_IO_cookie_init): Call set_callbacks to copy callbacks.
15340 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
15342         * locale/programs/localedef.c (oldstyle_tables): Remove.
15343         * locale/programs/localedef.h (oldstyle_tables): Likewise.
15345 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
15347         [BZ #20240]
15348         * math/Makefile (CFLAGS-s_modf.c): New variable.
15349         (CFLAGS-s_modff.c): Likewise.
15350         (CFLAGS-s_modfl.c): Likewise.
15351         * math/libm-test.inc (modf_test_data): Add sNaN tests.
15353 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
15355         [BZ #20215]
15356         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
15357         [!__GNUC_PREREQ (3,2)]: Likewise.
15359 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15361         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
15362         (msghdr.msg_controllen): Likewise.
15363         (cmsghdr.cmsg_len): Likewise.
15364         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
15365         ptw-oldsendmsg.
15366         (CFLAGS-oldrecvmsg.c): Remove rule.
15367         (CFLAGS-oldsendmsg.c): Likewise.
15368         (CFLAGS-recvmsg.c): Add rule.
15369         (CFLAGS-sendmsg.c): Likewise.
15370         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
15371         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
15372         (CFLAGS-recvmsg.c): Remove rule.
15373         (CFLAGS-sendmsg.c): Likewise.
15374         (CFLAGS-oldrecvmsg.c): Likewise.
15375         (CFLAGS-oldsendmsg.c): Likewise.
15376         (CFLAGS-recvmmsg.c): Likewise.
15377         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
15378         to kernel defined interfaces.
15379         (msghdr.msg_controllen): Likewise.
15380         (cmsghdr.cmsg_len): Likewise.
15381         (msghdr.__glibc_reserved1): Remove member.
15382         (msghdr.__glibc_reserved2): Likewise.
15383         (cmsghdr.__glibc_reserved1): Likewise.
15384         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
15385         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
15386         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15387         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15388         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
15389         version.
15390         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15391         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
15392         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15393         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
15394         Remove recvmsg and sendmsg.
15395         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
15396         Likewise.
15397         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15398         Likewise.
15399         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15400         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15401         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15402         Likewise.
15403         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15404         Likewise.
15405         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
15406         [libc] (GLIBC_2.24): Likewise.
15407         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15408         Likewise.
15409         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15410         Likewise.
15411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15412         [libc] (GLIBC_2.24): Likewise.
15413         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15414         Likewise.
15415         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15416         Likewise.
15417         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15418         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15419         Likewise.
15420         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15421         Likewise.
15422         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15423         Likewise.
15424         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
15425         Likewise.
15426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
15427         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
15428         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
15429         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
15430         version for {recv,send,recm,sendm}msg.
15431         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15432         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15433         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15434         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15435         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15436         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15437         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15438         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15439         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15440         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15441         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15442         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15444         Likewise.
15445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15446         Likewise.
15447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15449         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15450         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15451         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15452         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15453         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15454         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15457         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15458         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15459         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15461 2016-06-10  Florian Weimer  <fweimer@redhat.com>
15463         [BZ #19564]
15464         Remove __malloc_initialize_hook from the API.
15465         * malloc/malloc.h (__malloc_initialize_hook): Remove.
15466         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
15467         #pragma GCC poison.
15468         * malloc/malloc-hooks.h: New file.
15469         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
15470         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
15471         (old__malloc_initialize_hook): Rename from
15472         __malloc_initialize_hook to evade poisoning.  Turn into compat
15473         symbol.
15474         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
15475         __malloc_initialize_hook.
15476         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
15477         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
15478         * manual/memory.texi (Hooks for Malloc): Remove
15479         __malloc_initialize_hook.  Adjust hook example.
15481 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
15483         [BZ #20235]
15484         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
15485         itself.
15486         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15487         * math/libm-test.inc (log2_test_data): Add sNaN tests.
15489         [BZ #20234]
15490         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
15491         infinity or NaN input to itself.
15493         [BZ #20233]
15494         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
15495         to itself.
15497         [BZ #20232]
15498         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
15499         itself.
15501 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
15503         * sysdeps/x86_64/start.S (_start): Always indirect branch to
15504         __libc_start_main via GOT.
15506 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
15508         * sysdeps/x86_64/memcopy.h: New file.
15509         * sysdeps/x86_64/wordcopy.c: Likewise.
15511 2016-06-09  Florian Weimer  <fweimer@redhat.com>
15513         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
15514         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
15515         <cstdlib>.
15516         (optimization_barrier): New.
15517         (do_test): Use it.  Call quick_exit in the global namespace.
15518         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
15519         instead of <cstdlib>, <thread>.
15520         (optimization_barrier): New.
15521         (non_main_thread): Adjust declaration.  Call optimization_barrier.
15522         Call quick_exit in the global namespace.
15523         (do_test): Call optimization_barrier.  Use pthread_create,
15524         pthread_join instead of std::thread.
15526 2016-06-09  Andreas Schwab  <schwab@suse.de>
15528         [BZ #19755]
15529         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
15530         new entries in auto-propagate mode.
15531         * nscd/grpcache.c (cache_addgr): Likewise.
15533 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15535         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
15536         New functions.
15537         (add_temp_file): Use them.
15539 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
15541         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
15543 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
15545         [BZ #20229]
15546         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
15547         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
15548         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
15550         [BZ #20228]
15551         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
15552         itself.
15553         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15554         * math/libm-test.inc (log10_test_data): Add sNaN tests.
15556         [BZ #20227]
15557         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
15558         itself.
15559         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15560         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15561         * math/libm-test.inc (log_test_data): Add sNaN tests.
15563         [BZ #20226]
15564         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
15565         itself.
15566         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15567         * math/libm-test.inc (exp_test_data): Add sNaN tests.
15568         (exp10_test_data): Likewise.
15569         (expm1_test_data): Likewise.
15571         [BZ #20225]
15572         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
15573         itself.
15574         * math/s_ldexpf.c (__ldexpf): Likewise.
15575         * math/s_ldexpl.c (__ldexpl): Likewise.
15576         * math/w_scalbln.c (__w_scalbln): Likewise.
15577         * math/w_scalblnf.c (__w_scalblnf): Likewise.
15578         * math/w_scalblnl.c (__w_scalblnl): Likewise.
15579         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
15580         (scalbln_test_data): Likewise.
15582         [BZ #20224]
15583         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
15584         argument to itself.
15585         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
15587 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
15589         [BZ #19776]
15590         * sysdeps/x86_64/memcpy.S: Make it dummy.
15591         * sysdeps/x86_64/mempcpy.S: Likewise.
15592         * sysdeps/x86_64/memmove.S: New file.
15593         * sysdeps/x86_64/memmove_chk.S: Likewise.
15594         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
15595         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
15596         * sysdeps/x86_64/memmove.c: Removed.
15597         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
15598         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15599         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
15600         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
15601         Likewise.
15602         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15603         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15605         memcpy-sse2-unaligned, memmove-avx-unaligned,
15606         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
15607         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15608         (__libc_ifunc_impl_list): Replace
15609         __memmove_chk_avx512_unaligned_2 with
15610         __memmove_chk_avx512_unaligned.  Remove
15611         __memmove_chk_avx_unaligned_2.  Replace
15612         __memmove_chk_sse2_unaligned_2 with
15613         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
15614         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
15615         with __memmove_avx512_unaligned.  Replace
15616         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
15617         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
15618         with __memcpy_chk_avx512_unaligned.  Remove
15619         __memcpy_chk_avx_unaligned_2.  Replace
15620         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
15621         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
15622         Replace __memcpy_avx512_unaligned_2 with
15623         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
15624         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
15625         with __mempcpy_chk_avx512_unaligned.  Remove
15626         __mempcpy_chk_avx_unaligned_2.  Replace
15627         __mempcpy_chk_sse2_unaligned_2 with
15628         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
15629         Replace __mempcpy_avx512_unaligned_2 with
15630         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
15631         Replace __mempcpy_sse2_unaligned_2 with
15632         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
15633         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
15634         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
15635         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
15636         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
15637         (ENTRY): Removed.
15638         (END): Likewise.
15639         (ENTRY_CHK): Likewise.
15640         (libc_hidden_builtin_def): Likewise.
15641         Don't include ../memcpy.S.
15642         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
15643         __memcpy_chk_avx512_unaligned_erms and
15644         __memcpy_chk_avx512_unaligned.  Use
15645         __memcpy_chk_avx_unaligned_erms and
15646         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
15647         Default to __memcpy_chk_sse2_unaligned.
15648         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15649         Change function suffix from unaligned_2 to unaligned.
15650         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
15651         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
15652         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
15653         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
15654         (ENTRY): Removed.
15655         (END): Likewise.
15656         (ENTRY_CHK): Likewise.
15657         (libc_hidden_builtin_def): Likewise.
15658         Don't include ../mempcpy.S.
15659         (mempcpy): New.  Add a weak alias.
15660         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
15661         __mempcpy_chk_avx512_unaligned_erms and
15662         __mempcpy_chk_avx512_unaligned.  Use
15663         __mempcpy_chk_avx_unaligned_erms and
15664         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
15665         Default to __mempcpy_chk_sse2_unaligned.
15667 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
15669         [BZ #19881]
15670         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
15671         into ...
15672         * sysdeps/x86_64/memset.S: This.
15673         (__bzero): Removed.
15674         (__memset_tail): Likewise.
15675         (__memset_chk): Likewise.
15676         (memset): Likewise.
15677         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
15678         defined.
15679         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
15680         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
15681         (__memset_zero_constant_len_parameter): Check SHARED instead of
15682         PIC.
15683         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15684         memset-avx2 and memset-sse2-unaligned-erms.
15685         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15686         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
15687         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
15688         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15689         (__bzero): Enabled.
15690         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
15691         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
15692         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
15693         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
15694         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15695         (memset): Removed.
15696         (__memset_chk): Likewise.
15697         (MEMSET_SYMBOL): New.
15698         (libc_hidden_builtin_def): Replace __memset_sse2 with
15699         __memset_sse2_unaligned.
15700         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
15701         __memset_chk_sse2 and __memset_chk_avx2 with
15702         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
15703         Use __memset_chk_sse2_unaligned_erms or
15704         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
15705         __memset_chk_avx512_unaligned_erms and
15706         __memset_chk_avx512_unaligned.
15708 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15710         * math/gen-auto-libm-test.c (fp_format_desc): remove
15711         suffix member.
15712         (output_generic_value): Remove usage of suffix member,
15713         and the resulting unuse of the fp_format argument.
15714         (output_for_one_input_case): Remove unused fp_format
15715         parameter.
15717         * math/auto-libm-test-out: Regenerate.
15719         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
15720         usage with TEST_COND_ibm128.
15721         (TEST_COND_flt_32): Remove.
15722         (TEST_COND_dbl_64): Remove.
15723         (TEST_COND_ldbl_96_intel): Remove.
15724         (TEST_COND_ldbl_96_m68k): Remove.
15725         (TEST_COND_ldbl_128): Remove.
15727 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15729         * auto-libm-test-in:
15730         Replace flt-32 usage with binary32.
15731         Replace dbl-64 usage with binary64.
15732         Replace ldbl-intel-96 usage with intel96.
15733         Replace ldbl-m68k-96 usage with m68k96.
15734         Replace ldbl-128ibm usage with ibm128.
15735         Replace ldbl-128 usage with binary128.
15737         * auto-libm-test-out: Regenerate.
15739 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15741         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
15742         (parse_ulps): Dynamically generate type name matching
15743         string from all_floats.
15744         (get_ulps): Generate the ulps as an array instead.
15745         (output_ulps): Dynamically compose the type based
15746         on the number of supported formats, and print
15747         the indices as type specific helper macros.
15749         * math/libm-test.inc: Remove comment about CHOOSE.
15750         (ulp_data): Generate the type in libm-test-ulps.h.
15751         (ULP_IDX): New macro.
15752         (find_ulps): Update usage of max_ulp.
15754         * math/test-double-vlen2.h (CHOOSE): Remove.
15755         * math/test-double-vlen4.h (CHOOSE): Likewise.
15756         * math/test-double-vlen8.h (CHOOSE): Likewise.
15757         * math/test-float.c (CHOOSE): Likewise.
15758         * math/test-float-finite.c (CHOOSE): Likewise.
15759         * math/test-double.c (CHOOSE): Likewise.
15760         * math/test-double-finite.c (CHOOSE): Likewise.
15761         * math/test-idouble.c (CHOOSE): Likewise.
15762         * math/test-ifloat.c (CHOOSE): Likewise.
15763         * math/test-ildoubl.c (CHOOSE): Likewise.
15764         * math/test-ldouble-finite.c (CHOOSE): Likewise.
15765         * math/test-ldouble.c (CHOOSE): Likewise.
15767         * math/test-float.h (TEST_FLOAT): Remove.
15768         * math/test-double.h (TEST_DOUBLE): Likewise.
15769         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
15771 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15773         * math/gen-libm-test.pl: (apply_lit): New subroutine.
15774         (parse_args): Strip C suffix from floating point literals
15775         typed with 'f' and wrap them with LIT().
15777         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
15778         (test_ff_f_data_nexttoward): Rename to
15779         (test_fj_f_data): New struct.
15780         (nexttoward_test_data): Relabel tests as
15781         TEST_fj_f instead of TEST_ff_f.
15783 2016-06-08  Florian Weimer  <fweimer@redhat.com>
15785         Emacs bug 23726.
15786         * malloc/malloc.c (dumped_main_arena_start): Update comment.
15787         (__libc_realloc): Correct size computation for dumped fake mmapped
15788         chunks.
15790 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
15792         [BZ #20219]
15793         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
15794         to itself.
15795         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
15797         [BZ #20218]
15798         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
15799         to itself.
15800         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
15802 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
15804         [BZ #20195]
15805         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
15806         check to ...
15807         (init_cpu_features): Here.
15809 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
15811         [BZ #20214]
15812         * sysdeps/unix/sysv/linux/bits/in.h
15813         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
15814          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
15815         Define to 1.
15816         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
15817          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
15818         Define to 0.
15819         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
15820         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
15822 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
15824         [BZ #20198]
15825         * stdlib/Makefile (tests): Add tst-quick_exit, and
15826         tst-thread-quick_exit.
15827         [ifeq ($(have-cxx-thread_local),yes)]
15828         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
15829         (CFLAGS-tst-thread-quick_exit.o): Likewise.
15830         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
15831         (LDLIBS-tst-thread-quick_exit): Likewise.
15832         [ifneq ($(have-cxx-thread_local),yes)]
15833         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
15834         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
15835         If run_dtors is true call __call_tls_dtors.
15836         (exit): Call __run_exit_handlers with run_dtors set to true.
15837         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
15838         definition.
15839         * stdlib/quick_exit.c (quick_exit): Remove function.
15840         (__new_quick_exit): New function.
15841         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
15842         function.
15843         * stdlib/tst-quick_exit.cc: New file.
15844         * stdlib/tst-thread-quick_exit.cc: New file.
15845         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
15846         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
15847         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
15848         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
15849         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
15850         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
15851         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
15852         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
15853         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
15854         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
15855         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
15856         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
15857         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
15858         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
15859         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
15860         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
15862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
15863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
15864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
15865         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
15866         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
15867         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
15868         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
15869         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
15870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
15871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
15872         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
15873         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
15874         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
15876 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15878         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
15879         a typo in comments.
15881 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
15883         [BZ #20213]
15884         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
15885         argument to itself.
15886         * math/libm-test.inc (asin_test_data): Add sNaN tests.
15888 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15890         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
15891         required flags.
15892         (CFLAGS-pwritev64.c): Likewise.
15893         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
15894         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15895         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
15896         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15897         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
15898         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
15899         syscall from auto-generation.
15900         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
15901         [WORDSIZE == 64] (pwritev64): Remove macro.
15902         [!PWRITEV] (PWRITEV): Likewise.
15903         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
15904         [!PWRITEV] (PWRITE): Likewise.
15905         [!PWRITEV] (OFF_T): Likewise.
15906         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
15907         (LO_HI_LONG): Remove macro.
15908         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
15909         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
15910         (PWRITEV): Remove macro.
15911         (PWRITEV_REPLACEMENTE): Likewise.
15912         (PWRITE): Likewise.
15913         (OFF_T): Likewise.
15914         (pwritev64): New function.
15915         * nptl/tst-cancel4.c (tf_writev): Add test.
15917         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
15918         required flags.
15919         (CFLAGS-preadv64.c): Likewise.
15920         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
15921         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15922         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
15923         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
15924         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
15925         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
15926         syscall from auto-generation.
15927         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
15928         [WORDSIZE == 64] (preadv64): Remove macro.
15929         [!PREADV] (PREADV): Likewise.
15930         [!PREADV] (PREADV_REPLACEMENT): Likewise.
15931         [!PREADV] (PREAD): Likewise.
15932         [!PREADV] (OFF_T): Likewise.
15933         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
15934         (LO_HI_LONG): Remove macro.
15935         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
15936         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
15937         (PREADV): Remove macro.
15938         (PREADV_REPLACEMENTE): Likewise.
15939         (PREAD): Likewise.
15940         (OFF_T): Likewise.
15941         (preadv64): New function.
15942         * nptl/tst-cancel4.c (tf_preadv): Add test.
15944 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
15946         [BZ #20212]
15947         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
15948         argument to itself.
15949         * math/libm-test.inc (acos_test_data): Add sNaN tests.
15951 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15953         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
15954         New symbol defined as libc_hidden_def.
15955         (strcasestr): Became a weak alias to __strcasestr.
15956         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
15957         according to multi-arch support.  Move __stpncpy hidden
15958         definition from here to...
15959         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
15960         symbol stpncpy.
15961         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
15962         libc_hidden_builtin_def.
15963         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
15964         memset symbol to use when multi-arch support is available.
15966 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15968         * dlfcn/tst-rec-dlopen.c: Include string.h.
15970 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15972         * manual/install.texi: Remove mention of --without-tls
15973         * INSTALL: Regenerate.
15975 2016-06-05  Florian Weimer  <fweimer@redhat.com>
15977         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
15978         Remove.
15979         (call_function, interposed_malloc_called): New variables.
15980         (malloc): New function.
15981         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
15982         and clear call_function as needed.
15984 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
15986         * include/wchar.h (__wmemset): Use __typeof.
15988 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
15990         * include/wchar.h (__wmemset): Declare function without typeof.
15992 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
15994         [BZ #20205]
15995         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
15996         exponent when incrementing negative subnormal with low mantissa
15997         word zero.
15998         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15999         Add another test.
16001 2016-06-03  Florian Weimer  <fweimer@redhat.com>
16003         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
16004         __wmemset instead of wmemset.
16006 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
16008         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
16009         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
16010         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
16011         __USE_KERNEL_IPV6_DEFS to 0.
16012         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
16013         Update comment.
16015 2016-06-01  Florian Weimer  <fweimer@redhat.com>
16017         [BZ #19861]
16018         Do not use IFUNC resolver with potentially unrelocated symbol.
16019         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
16020         (DEFINE_FORK): Remove macro and inline definition.
16021         (fork_alias): Renamed from fork_ifunc.
16022         (__fork_alias): Renamed from __fork_ifunc.
16024 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
16026         [BZ 19653]
16027         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
16028         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
16030 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16032         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
16033         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
16034         i386-linux-gnu).
16035         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
16036         Set to no.
16037         * sysdeps/mach/hurd/configure: Refresh.
16039 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16041         [BZ #20178]
16042         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
16043         on failure instead of exit.
16045 2016-05-30  Roland McGrath  <roland@hack.frob.com>
16047         [BZ #3629]
16048         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
16049         of POSIX.1-2008.
16051 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16053         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
16054           Use PLT entry for calling _hurd_self_sigstate.
16056 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
16058         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
16059         available logical processors with SMT level type sharing L2
16060         cache for Intel processors.
16062 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16064         [BZ #20160]
16065         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
16066         argument to itself before returning the result.
16067         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
16068         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
16069         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
16070         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16071         Likewise.
16072         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16073         Likewise.
16074         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
16075         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
16076         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16077         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16078         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
16079         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
16081         [BZ #20160]
16082         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
16083         argument to itself before returning the result.
16084         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
16085         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
16086         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
16087         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
16088         Likewise.
16089         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16090         Likewise.
16091         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
16092         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
16093         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
16094         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16095         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
16096         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
16098 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16100         * libm-test.inc: Replace usage of M_El with
16101         (lit_e): New macro.
16103 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16105         * libm-test.inc: Replace usage of M_PI_4l with
16106         (lit_pi_4_d): New macro.
16108 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16110         * libm-test.inc: Replace usage of M_PIl with
16111         (lit_pi): New macro.
16113 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16115         * libm-test.inc: Replace usage of M_PI2l with
16116         (lit_pi_2_d): New macro.
16118         * math/test-double.h (LITM): New macro.
16119         * math/test-float.h (LITM): Likewise.
16120         * math/test-ldouble.h (LITM): Likewise.
16122 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16124         * libm-test.inc (M_PI_34l): Rename to
16125         (lit_pi_3_m_4_d): New Macro.
16126         (M_PI_34_LOG10El): Rename to
16127         (lit_pi_3_m_4_ln10_m_d): New Macro.
16128         (M_PI2_LOG10El): Rename to
16129         (lit_pi_2_ln10_m_d):  New Macro.
16130         (M_PI4_LOG10El): Rename to
16131         (lit_pi_4_ln10_m_d):  New Macro.
16132         (M_PI_LOG10El): Rename to
16133         (lit_pi_ln10_d):  New Macro.
16135 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16137         [BZ #20157]
16138         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
16139         determine whether to negate low half if [_ARCH_PPCGR], and integer
16140         comparison otherwise.
16141         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
16142         determine whether to negate low half.
16144         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
16145         (NO_TEST_INLINE_DOUBLE): Likewise.
16146         (TEST_COND_x86_64): Likewise.
16147         (TEST_COND_x86): Likewise.
16148         (M_PI_6l): Likewise.
16150 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16152         * math/libm-test.inc:
16153         (TEST_FLOAT): Change usage to TEST_COND_binary32.
16154         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
16155         (TEST_LDOUBLE): Update usage to evaluate as true if
16156         the guarded tests match the property being tested.
16157         (LDBL_MAX_EXP): Change to MAX_EXP.
16158         (LDBL_MIN_EXP): Change to MIN_EXP.
16159         (LDBL_MANT_DIG): Change to MANT_DIG, except for
16160         nexttoward tests.
16162 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16164         * math/libm-test.inc:
16165         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
16166         (TYPE_MIN): Likewise.
16167         (TYPE_TRUE_MIN): Likewise.
16168         (TYPE_MAX): Likewise.
16169         (MIN_EXP): Likewise.
16170         (MAX_EXP): Likewise.
16171         (MANT_DIG): Likewise.
16173         (FSTR_MAX): New macro.
16174         (__CONCATX): Likewise.
16175         (QTYPE_STR): Likewise.
16176         (TEST_COND_binary32): Likewise.
16177         (TEST_COND_binary64): Likewise.
16178         (TEST_COND_binary128): Likewise.
16179         (TEST_COND_ibm128): Likewise.
16180         (TEST_COND_intel96): Likewise.
16181         (TEST_COND_m68k96): Likewise.
16183         (TEST_COND_flt_32): Redefine as equivalent format test macro.
16184         (TEST_COND_dbl_64): Likewise.
16185         (TEST_COND_ldbl_96_intel): Likewise.
16186         (TEST_COND_ldbl_96_m68k): Likewise.
16187         (TEST_COND_ldbl_128): Likewise.
16188         (TEST_COND_ldbl_128ibm): Likewise.
16190         (plus_zero): Redefine using LIT macro.
16191         (minus_zero): Likewise.
16192         (plus_infty): Redefine as (INF).
16193         (minux_infty): Redefine as (-INF).
16194         (max_value): Redefine as TYPE_MAX.
16195         (min_value): Redefine as TYPE_MIN.
16196         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
16198         (print_float): Refactor to use snprintf to convert FLOAT values
16199         to string. This brings it closer to dropin replacement of strtof
16200         for the TS 18661 defined types.
16201         (update_stats): Likewise.
16202         (print_complex_function_ulps): Likewise.
16203         (print_max_error): Likewise.
16204         (print_complex_max_error): Likewise.
16205         (check_float_internal): Likewise.
16207         * math/test-float.h (PREFIX): New macro.
16208         (LIT): Likewise.
16209         (TYPE_STR): Likewise.
16210         (FTOSTR): Likewise.
16212         * math/test-double.h (PREFIX): New macro.
16213         (LIT): Likewise.
16214         (TYPE_STR): Likewise.
16215         (FTOSTR): Likewise.
16217         * math/test-ldouble.h (PREFIX): New macro.
16218         (LIT): Likewise.
16219         (TYPE_STR): Likewise.
16220         (FTOSTR): Likewise.
16222 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16224         [BZ #20156]
16225         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
16226         to itself when zero or not finite.
16227         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
16228         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16229         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
16230         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
16232 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
16234         [BZ #20153]
16235         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
16236         x * x + x for infinities and NaNs.
16238         [BZ #20151]
16239         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
16240         argument to itself before returning result.
16241         (__ieee754_y0l): Likewise.
16242         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16243         (__ieee754_y1l).
16245         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
16246         (atan_test_data): Likewise.
16247         (ceil_test_data): Likewise.
16248         (cos_test_data): Likewise.
16249         (cosh_test_data): Likewise.
16250         (erf_test_data): Likewise.
16251         (exp2_test_data): Likewise.
16252         (fabs_test_data): Likewise.
16253         (floor_test_data): Likewise.
16254         (ilogb_test_data): Likewise.
16255         (j0_test_data): Likewise.
16256         (j1_test_data): Likewise.
16257         (jn_test_data): Likewise.
16258         (lgamma_test_data): Likewise.
16259         (lrint_test_data): Likewise.
16260         (llrint_test_data): Likewise.
16261         (logb_test_data): Likewise.
16262         (lround_test_data): Likewise.
16263         (llround_test_data): Likewise.
16264         (nearbyint_test_data): Likewise.
16265         (rint_test_data): Likewise.
16266         (round_test_data): Likewise.
16267         (sin_test_data): Likewise.
16268         (sincos_test_data): Likewise.
16269         (sinh_test_data): Likewise.
16270         (sqrt_test_data): Likewise.
16271         (tan_test_data): Likewise.
16272         (tanh_test_data): Likewise.
16273         (tgamma_test_data): Likewise.
16274         (trunc_test_data): Likewise.
16275         (y0_test_data): Likewise.
16276         (y1_test_data): Likewise.
16277         (yn_test_data): Likewise.
16279         * math/libm-test.inc: Update comment about NaN testing.
16280         (TEST_SNAN): New macro.
16281         (snan_value): Likewise.
16282         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
16283         (fpclassify_test_data): Add sNaN tests.
16284         (isfinite_test_data): Likewise.
16285         (isinf_test_data): Likewise.
16286         (isnan_test_data): Likewise.
16287         (isnormal_test_data): Likewise.
16288         (issignaling_test_data): Likewise.
16289         (signbit_test_data): Likewise.
16290         * math/gen-libm-test.pl (%beautify): Add snan_value.
16291         (show_exceptions): Add argument $test_snan.
16292         (parse_args): Handle snan_value as non-finite.  Update call to
16293         show_exceptions.
16294         * math/Makefile (libm-test-no-inline-cflags): Add
16295         -fsignaling-nans.
16297 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16299         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
16300         (CFLAGS-oldsendmsg.c): Add rule.
16301         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16302         Correct recvmsg symbol name.
16303         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
16304         Likewise.
16306 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16308         * sysdeps/unix/sysv/linux/Makefile
16309         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
16310         oldsendmmsg.
16311         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
16312         sendmmsg.
16313         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16314         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16315         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16316         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16318         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16319         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16321         Likewise.
16322         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16323         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
16324         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16325         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
16326         iovlen and controllen fields to adjust to POSIX specification.
16327         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16329         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
16330         and change to correct expected type.
16331         (msghdr.msg_controllen): Likewise.
16332         (cmsghdr.cmsg_len): Likewise.
16333         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
16334         expected POSIX assumption about the size.
16335         (msghdr.msg_controllen): Likewise.
16336         (msghdr.__glibc_reserved1): Likewise.
16337         (msghdr.__glibc_reserved2): Likewise.
16338         (cmsghdr.cmsg_len): Likewise.
16339         (cmsghdr.__glibc_reserved1): Likewise.
16340         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
16341         Add ptw-oldrecvmsg and ptw-oldsendmsg.
16342         (CFLAGS-sendmsg.c): Remove rule.
16343         (CFLAGS-recvmsg.c): Likewise.
16344         (CFLAGS-oldsendmsg.c): Add rule.
16345         (CFLAGS-oldrecvmsg.c): Likewise.
16346         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
16347         recvmsg and sendmsg.
16348         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
16349         Likewise.
16350         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
16351         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
16352         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16353         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
16354         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16355         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16356         Likewise.
16357         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16358         Likewise.
16359         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
16360         Likewise.
16361         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
16362         Likewise.
16363         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
16364         Likewise.
16365         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
16366         Likewise.
16367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
16368         (GLIBC_2.24): Likewise.
16369         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
16370         Likewise.
16371         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
16372         Likewise.
16373         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
16374         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
16375         Likewise.
16376         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
16377         Likewise.
16378         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
16379         Likewise.
16380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
16381         (GLIBC_2.24): Likewise.
16382         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
16383         Likewise.
16384         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
16385         Likewise.
16386         * sysdeps/unix/sysv/linux/Makefile
16387         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
16388         (CFLAGS-sendmsg.c): Add rule.
16389         (CFLAGS-recvmsg.c): Likewise.
16390         (CFLAGS-oldsendmsg.c): Likewise.
16391         (CFLAGS-oldrecvmsg.c): Likewise.
16392         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
16393         initialization.
16394         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16395         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16396         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
16397         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
16398         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
16399         iovlen and controllen fields to adjust to POSIX specification.
16400         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
16401         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
16402         added recvmsg and sendmsg.
16403         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16404         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16405         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16406         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16407         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16408         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16409         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16410         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16411         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16412         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16413         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16414         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
16415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16416         Likewise.
16417         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
16418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16419         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16420         Likewise.
16421         Likewise.
16422         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16423         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16424         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16425         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16426         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16427         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16429         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16431         Likewise.
16432         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16433         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16435         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
16436         from auto-generation.
16437         (sendmsg): Likewise.
16438         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
16439         (sendmsg): Likewise.
16440         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
16441         (sendmsg): Likewise.
16442         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
16443         (sendmsg): Likewise.
16444         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
16445         (sendmsg): Likewise.
16446         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
16447         (sendmsg): Likewise.
16448         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
16449         Likewise.
16450         (sendmsg): Likewise.
16451         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
16452         (sendmsg): Likewise.
16453         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16454         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16455         Remove.
16456         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16457         Likewise.
16458         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16459         Undefine.
16460         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16461         Likewise.
16462         * sysdeps/unix/sysv/linux/kernel-features.h
16463         (__ASSUME_SENDMSG_SYSCALL): Define.
16464         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16465         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16466         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16467         Remove.
16468         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16469         Likewise.
16470         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16471         Undefine.
16472         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16473         Likewise.
16474         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16475         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16476         Remove.
16477         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16478         Likewise.
16479         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16480         Undefine.
16481         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16482         Likewise.
16483         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16484         (__ASSUME_SENDMSG_SYSCALL): Undefine.
16485         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16486         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16487         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16488         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16489         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16490         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16491         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16493 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16495         * stdlib/gen-tst-strtod-round.c: Add backslash to
16496         compile command in comment.
16497         (printfp): Remove the literal suffix, and define an infinite
16498         value as INF to avoid expansion clash with INFINITY.
16499         (round_str): Remove the literal suffix.
16500         (round_for_all): Likewise, remove the now duplicate ldbl-64
16501         entry, and remove some magic constants.
16503         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
16504         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
16505         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
16506         (_CONCAT): New macro.
16507         (CONCAT): Likewise.
16508         (CHOOSE_ld): Likewise.
16509         (CHOOSE_f): Likewise.
16510         (CHOOSE_d): Likewise.
16511         (FTYPE_MEMBER): Likewise.
16512         (BOOL_MEMBER): Likewise.
16513         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
16514         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
16515         (_XNTRY): Likewise.
16516         (XNTRY): Likewise.
16517         (_ENTRY): Likewise.
16518         (ENTRY): Likewise.
16519         (test_exactness): Generate members via macro.
16520         (test_results): Likewise.
16521         (test): Update members.
16522         (TEST): Redefine using new macros.
16523         (INF): New macro.
16524         (fetestmodes): New structure.
16525         (do_test): Refactor to be type generic.
16526         (test_in_one_mode): Refactor duplicate code into
16527         (GEN_ONE_TEST): New macro.
16529         * stdlib/tst-strtod-round-data.h: Regenerate.
16531         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
16532         Extend to pass additional arbitrary parameters to
16533         generators.
16535 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
16537         [BZ #15479]
16538         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
16539         floating-point state after first floating-point operation on
16540         input.  Restore full floating-point state instead of just rounding
16541         mode.
16542         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
16543         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
16544         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
16545         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
16546         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
16548         [BZ #15479]
16549         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
16550         floating-point state after first floating-point operation on
16551         input.  Restore full floating-point state instead of just rounding
16552         mode.
16553         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
16554         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
16555         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
16556         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
16557         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
16559 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16561         [BZ #19727]
16562         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
16563         valid high surrogate.
16564         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
16565         of an utf16 surrogate.
16566         * iconv/gconv_simple.c (BODY): Likewise.
16567         * iconvdata/bug-iconv12.c: New file.
16568         * iconvdata/Makefile (tests): Add bug-iconv12.
16570 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16572         [BZ #19726]
16573         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
16574         outptrp in case of an illegal input.
16575         * iconv/tst-iconv6.c: New file.
16576         * iconv/Makefile (tests): Add tst-iconv6.
16578 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16580         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
16581         an error in case of a value in range of an utf16 low surrogate.
16583 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16585         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
16586         an error in case of a value in range of an utf16 low surrogate.
16588 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16590         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
16591         Move to ...
16592         * sysdeps/s390/Makefile: ... here.
16593         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
16594         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
16595         (BRANCH_ON_COUNT): New define.
16596         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
16597         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
16598         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
16599         run on s390-32, too.
16600         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
16601         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
16602         run on s390-32, too.
16603         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
16604         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
16605         run on s390-32, too.
16607 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16609         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
16610         etf3eh or new vector loop-variant.
16612 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16614         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
16615         etf3eh or new vector loop-variant.
16617 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16619         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
16620         or new vector loop-variant.
16622 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16624         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
16625         Rename to TR_LOOP and usage of tr instead of troo instruction.
16627 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16629         * sysdeps/s390/multiarch/gconv_simple.c: New File.
16630         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
16632 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16634         * sysdeps/s390/multiarch/8bit-generic.c: New File.
16635         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
16636         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
16637         New override define.
16638         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
16640 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16642         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
16643         * sysdeps/s390/configure.ac: Add test for S390 vector register
16644         support in gcc.
16645         * sysdeps/s390/configure: Regenerated.
16647 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16649         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
16650         Install file from $(objpfx)gconv-modules.
16651         ($(objpfx)gconv-modules): Concatenate architecture specific file
16652         in variable sysdeps-gconv-modules and gconv-modules in src dir.
16653         * sysdeps/s390/gconv-modules: New file.
16654         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
16655         Deleted.
16656         ($(objpfx)gconv-modules-s390): Deleted.
16657         (sysdeps-gconv-modules): New variable.
16659 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
16661         [BZ #15479]
16662         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
16663         of immediate operand to rounding instruction.
16664         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
16665         Likewise.
16666         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
16667         Likewise.
16668         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
16669         Likewise.
16671 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16673         * math/libm-test.inc (MIN_EXP): Directly define as
16674         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
16676 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16678         * math/libm-test.inc (MANT_DIG): Directly define as
16679         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
16681 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16683         * stdlib/gen-tst-strtod-round.c (main):
16684           Change usage to more closely match the generated
16685           output.  Add usage and compilation instructions.
16686           (string_to_fp): Add and use FILE* parameter as
16687           output target.
16688           (print_fp): Likewise.
16689           (round_str): Likewise.
16690           (round_for_all): Likewise.
16691         * stdlib/tst-strtod-round.c (tests): Move into
16692         * stdlib/tst-strtod-round-data.h: New file.
16694 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
16696         [BZ #15479]
16697         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
16698         (__round): Do not force "inexact" exception.
16699         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
16700         variable.
16701         (__round): Do not force "inexact" exception.
16702         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
16703         (__roundf): Do not force "inexact" exception.
16704         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
16705         (__roundl): Do not force "inexact" exception.
16706         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
16707         (__roundl): Do not force "inexact" exception.
16708         * math/libm-test.inc (round_test_data): Do not allow spurious
16709         "inexact" exceptions.
16711         [BZ #15479]
16712         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
16713         exception in comment.
16714         (huge): Remove variable.
16715         (__floor): Do not force "inexact" exception.
16716         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
16717         "inexact" exception in comment.
16718         (huge): Remove variable.
16719         (__floor): Do not force "inexact" exception.
16720         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
16721         exception in comment.
16722         (huge): Remove variable.
16723         (__floorf): Do not force "inexact" exception.
16724         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
16725         exception in comment.
16726         (huge): Remove variable.
16727         (__floorl): Do not force "inexact" exception.
16729         [BZ #15479]
16730         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
16731         exception in comment.
16732         (huge): Remove variable.
16733         (__ceil): Do not force "inexact" exception.
16734         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
16735         "inexact" exception in comment.
16736         (huge): Remove variable.
16737         (__ceil): Do not force "inexact" exception.
16738         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
16739         (__ceilf): Do not force "inexact" exception.
16740         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
16741         exception in comment.
16742         (huge): Remove variable.
16743         (__ceill): Do not force "inexact" exception.
16745 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16747         * config.h.in (BIND_NOW): New.
16748         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
16749         * configure: Regenerated.
16750         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
16751         indirect branch via the GOT slot.
16753 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16755         [BZ #19765]
16756         * sysdeps/s390/mempcpy.S: New File.
16757         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16758         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
16759         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16760         Add mempcpy variants.
16761         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
16762         (memcpy): Adjust to be usable from mempcpy entry point.
16763         (__memcpy_mvcle): Likewise.
16764         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16765         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
16766         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
16767         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
16768         (__memcpy_z10): Likewise.
16769         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
16771 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16773         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
16774         Remove __GI_ symbol.
16775         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
16776         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
16777         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
16778         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
16779         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
16780         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
16782 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16784         * sysdeps/s390/s390-64/memcpy.S (memcpy):
16785         Use cghi instead of chi to compare 64bit value.
16787 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16789         * sysdeps/s390/s390-32/memcpy.S (memcpy):
16790         Jump to 1MB check before executing mvc-loop.
16792 2016-05-24  Florian Weimer  <fweimer@redhat.com>
16794         [BZ #6527]
16795         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
16796         unconditionally.
16797         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
16799 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16801         * stdlib/tst-strtod6.c (do_test): Use new type generic
16802         invocation of the test function.
16803         (test): Refactor into ...
16804         (TEST_STRTOD): New macro base function.
16806 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16808         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
16809         (TEST_STRTOD): New macro.
16810         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
16812 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16814         * stdlib/tst-strtod6.c (do_test): Use new type generic
16815         invocation of the test function.
16816         (test): Refactor into ...
16817         (TEST_STRTOD): New macro base function.
16819 2016-05-23  Florian Weimer  <fweimer@redhat.com>
16821         CVE-2016-4429
16822         [BZ #20112]
16823         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
16824         payload.
16826 2016-05-23  Florian Weimer  <fweimer@redhat.com>
16828         [BZ #20111]
16829         * bits/sockaddr.h (_SS_SIZE): Define.
16830         * bits/socket.h (_SS_SIZE): Remove.
16831         (_SS_PADSIZE): Adjust to account for all padding.
16832         (struct sockaddr_storage): Update comment.  Avoid implicit
16833         padding.
16834         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
16835         (_SS_PADSIZE): Adjust to account for all padding.
16836         (struct sockaddr_storage): Update comment.  Avoid implicit
16837         padding.
16838         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
16839         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
16840         (_SS_PADSIZE): Adjust to account for all padding.
16841         (struct sockaddr_storage): Update comment.  Avoid implicit
16842         padding.
16843         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
16844         __SS_SIZE is 126 in this version.
16845         * inet/tst-sockaddr.c: New file.
16846         * inet/Makefile (tests): Add tst-sockaddr.c
16847         (tst-sockaddr.c): Compile with non-strict aliasing.
16849 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
16851         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
16852         [XPG3 || XPG4].
16853         (NL_ARGMAX): Also expect for [XPG3].
16854         (NL_LANGMAX): Likewise.
16855         (NL_MSGMAX): Likewise.
16856         (NL_NMAX): Likewise.
16857         (NL_SETMAX): Likewise.
16858         (NL_TEXTMAX): Likewise.
16859         (NZERO): Likewise.
16860         (TMP_MAX): Likewise.
16861         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
16862         variable.
16864         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
16865         (PF_MAX): Update value.
16866         (AF_KCM): New macro.
16867         (SOL_NETBEUI): Likewise.
16868         (SOL_LLC): Likewise.
16869         (SOL_DCCP): Likewise.
16870         (SOL_NETLINK): Likewise.
16871         (SOL_TIPC): Likewise.
16872         (SOL_RXRPC): Likewise.
16873         (SOL_PPPOL2TP): Likewise.
16874         (SOL_BLUETOOTH): Likewise.
16875         (SOL_PNPIPE): Likewise.
16876         (SOL_RDS): Likewise.
16877         (SOL_IUCV): Likewise.
16878         (SOL_CAIF): Likewise.
16879         (SOL_ALG): Likewise.
16880         (SOL_NFC): Likewise.
16881         (SOL_KCM): Likewise.
16882         (MSG_BATCH): New enum value and macro.
16884 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
16886         [BZ #18185]
16887         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
16888         sharing L2 cache to 2 for Knights Landing.
16890 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
16892         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
16893         (FTW_DP): Do not expect for [XPG3 || XPG4].
16894         (FTW_SL): Do not expect for [XPG3].
16895         (FTW_SLN): Likewise.
16896         (FTW_PHYS): Likewise.
16897         (FTW_MOUNT): Likewise.
16898         (FTW_DEPTH): Likewise.
16899         (FTW_CHDIR): Likewise.
16900         (nftw): Likewise.
16901         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
16902         variable.
16904 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
16906         * manual/errno.texi: Fix various typos & grammar errors.
16908 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
16910         * manual/intro.texi: Fix duplicated typo.
16912 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16914         [BZ #13304]
16915         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
16916         <float.h>, <math_private.h> and <stdlib.h>.
16917         (add_split): New function.
16918         (mul_split): Likewise.
16919         (ext_val): New typedef.
16920         (store_ext_val): New function.
16921         (mul_ext_val): New function.
16922         (compare): New function.
16923         (add_split_ext): New function.
16924         (__fmal): After checking for Inf, NaN and zero, compute result as
16925         an exact sum of scaled double values in round-to-nearest before
16926         adding those up and adjusting for other rounding modes.
16927         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
16928         tests of fma.
16929         * math/auto-libm-test-out: Regenerated.
16931 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16933         [BZ #20119]
16934         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
16935         processor level type mask for CPUID with EAX == 11.
16937 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16939         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
16940         logical threads if the HTT bit is 0.
16941         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
16942         (index_cpu_HTT): Likewise.
16943         (reg_HTT): Likewise.
16945 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16947         [BZ #20115]
16948         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
16949         Remove alignments on jump targets.
16951 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16953         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
16954         (getpwent): Likewise.
16955         (setpwent): Likewise.
16956         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
16957         variable.
16959         * conform/data/search.h-data (insque): Do not expect for [XPG3].
16960         (remque): Likewise.
16961         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
16962         variable.
16964 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16966         * math/libm-test.inc: Update comment not to refer to signs of NaNs
16967         not being tested.
16969 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16971         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16972         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
16973         call.
16974         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16975         (__condvar_cleanup1): Likewise.
16977 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16979         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
16980         New
16981         (__pthread_unwind): Renamed to ...
16982         (PTHREAD_UNWIND): This.
16983         (__pthread_enable_asynccancel): Replace
16984         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
16986 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16988         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
16989         (CLONE_NEWCGROUP): New macro.
16991         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
16992         (Q_GETNEXTQUOTA): New macro.
16994 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16996         [BZ #19907]
16997         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
16998         buffer updated by the previous run.
16999         * string/test-memcpy.c (do_one_test): Likewise.
17000         * benchtests/bench-memmove.c (do_one_test): Add a comment.
17001         * string/test-memmove.c (do_one_test): Likewise.
17003 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
17005         [BZ #20094]
17006         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
17007         not [__USE_XOPEN].
17008         (unlockpt): Likewise.
17009         (ptsname): Likewise.
17010         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
17011         variable.
17013         [BZ #20076]
17014         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
17015         instead of [__USE_UNIX98].
17016         (S_ISSOCK): Likewise.
17017         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
17018         variable.
17020         [BZ #20074]
17021         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
17022         [__USE_POSIX].
17023         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
17024         variable.
17026         [BZ #20051]
17027         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
17028         (ttyslot): Do not declare.
17029         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
17030         (ttyslot): New prototype.
17031         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
17032         variable.
17033         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17035 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17037         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
17039 2016-05-13  Florian Weimer  <fweimer@redhat.com>
17041         Fix race condition in tst-mallocfork2, use fewer resources.
17042         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
17043         to current process group.
17044         (signal_sender): Yield in the non-sleeping case.
17046 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
17048         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
17049         (ecvt): Likewise.
17050         (fcvt): Likewise.
17051         (gcvt): Likewise.
17052         (getsubopt): Likewise.
17053         (grantpt): Likewise.
17054         (initstate): Likewise.
17055         (l64a): Likewise.
17056         (mktemp): Likewise.
17057         (mkstemp): Likewise.
17058         (ptsname): Likewise.
17059         (random): Likewise.
17060         (realpath): Likewise.
17061         (setstate): Likewise.
17062         (srandom): Likewise.
17063         (ttyslot): Likewise.
17064         (unlockpt): Likewise.
17065         (valloc): Likewise.
17067         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
17068         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
17069         variable.
17071 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17073         [BZ #20072]
17074         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
17075         init_cpu_features only if SHARED is defined.
17076         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
17078 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17080         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
17081         non-inclusive caches on Intel processors.
17083 2016-05-13  Florian Weimer  <fweimer@redhat.com>
17085         * malloc/malloc.c (dumped_main_arena_start)
17086         (dumped_main_arena_end): New variables.
17087         (DUMPED_MAIN_ARENA_CHUNK): New macro.
17088         (do_check_chunk): Skip dumped fake mmapped chunks.
17089         (munmap_chunk): Likewise.
17090         (__libc_free): Do not adjust statistics for fake mmapped chunks.
17091         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
17092         mmapped chunks.
17093         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
17094         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
17095         and dumped_main_arena_end to cover the dumped heap.
17097 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
17099         * conform/data/time.h-data (getdate_err): Do not expect for
17100         [XPG3].
17101         (getdate): Likewise.
17102         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
17103         variable.
17105         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
17106         (F_ULOCK): Likewise.
17107         (F_TEST): Likewise.
17108         (F_TLOCK): Likewise.
17109         (useconds_t): Likewise.
17110         (intptr_t): Do not expect for [XPG3] or [XPG4].
17111         (brk): Do not expect for [XPG3]
17112         (fchown): Likewise.
17113         (fchdir): Likewise.
17114         (ftruncate): Likewise.
17115         (getdtablesize): Likewise.
17116         (gethostid): Likewise.
17117         (getpagesize): Likewise.
17118         (getpgid): Likewise.
17119         (getsid): Likewise.
17120         (getwd): Likewise.
17121         (lchown): Likewise.
17122         (lockf): Likewise.
17123         (readlink): Likewise.
17124         (sbrk): Likewise.
17125         (setpgrp): Likewise.
17126         (setregid): Likewise.
17127         (setreuid): Likewise.
17128         (symlink): Likewise.
17129         (sync): Likewise.
17130         (truncate): Likewise.
17131         (ualarm): Likewise.
17132         (usleep): Likewise.
17133         (vfork): Likewise.
17134         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
17135         variable.
17137         [BZ #20054]
17138         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
17139         not [__USE_UNIX98].
17140         * conform/data/unistd.h-data (gethostname): Do not expect for
17141         [XPG3].
17143         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
17144         [!POSIX] (S_IFBLK): Likewise.
17145         [!POSIX] (S_IFCHR): Likewise.
17146         [!POSIX] (S_IFIFO): Likewise.
17147         [!POSIX] (S_IFREG): Likewise.
17148         [!POSIX] (S_IFDIR): Likewise.
17149         [!POSIX] (S_IFLNK): Likewise.
17150         [!POSIX] (S_IFSOCK): Likewise.
17151         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
17152         variable.
17153         (test-xfail-XPG4/fcntl.h/conform): Likewise.
17155 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
17157         * sysdeps/aarch64/memset.S (__memset):
17158         Rewrite of optimized memset.
17160 2016-05-12  Florian Weimer  <fweimer@redhat.com>
17162         [BZ #19703]
17163         Partially async-signal-safe fork for single-threaded processes.
17164         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
17165         variable.  Do not acquire and reset/release malloc and libio locks
17166         in single-threaded processes.
17167         * malloc/tst-mallocfork2.c: New file.
17168         * malloc/Makefile (tests): Add it.
17170 2016-05-12  Florian Weimer  <fweimer@redhat.com>
17172         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
17173         argument.  Use scratch buffer instead of extend_alloca.
17174         (gethosts): Use scratch buffer instead of extend_alloca.
17175         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
17176         extend_alloca.
17177         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
17179 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
17181         [BZ #20055]
17182         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
17183         instead of [__USE_UNIX98].
17184         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
17185         [__USE_UNIX98].
17186         * conform/data/termios.h-data (tcgetsid): Do not expect for
17187         [XPG3].
17188         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
17189         variable.
17190         (test-xfail-XPG4/termios.h/conform): Likewise.
17192 2016-05-11  Florian Weimer  <fweimer@redhat.com>
17194         Do not use mcheck in localedef.
17195         * locale/programs/localedef.c (turn_on_mcheck)
17196         (__malloc_initialize_hook): Remove.
17198 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17200         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
17201         * sysdeps/s390/s390-64/Makefile: Likewise.
17203 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17205         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
17206         Remove ifunc-defines.sym.
17207         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
17208         Likewise.
17209         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
17210         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17211         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
17212         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
17213         rtld-global-offsets.sym.
17214         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
17215         * sysdeps/x86/cpu-features-offsets.sym: This.
17216         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
17217         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
17219 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
17221         [BZ #20073]
17222         * io/sys/stat.h (fchmod): Declare for
17223         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
17224         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
17225         variable.
17227         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
17228         [XPG3] (S_IFSOCK): Likewise.
17229         [XPG3] (S_ISVTX): Likewise.
17230         [XPG3] (S_ISLNK): Likewise.
17231         [XPG3] (S_ISSOCK): Likewise.
17232         [XPG3] (fchmod): Likewise.
17233         [XPG3] (lstat): Likewise.
17234         [XPG3] (mknod): Likewise.
17236         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
17237         [XPG3].  Expect type long and XFAIL for [XPG4].
17238         (st_blocks): Likewise.
17240         [BZ #20044]
17241         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
17242         (pthread_atfork): New prototype.
17243         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
17244         variable.
17246         [BZ #20043]
17247         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
17248         prototype.
17250 2016-05-10  Florian Weimer  <fweimer@redhat.com>
17252         [BZ #20017]
17253         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
17254         gmtime.
17256 2016-05-10  Florian Weimer  <fweimer@redhat.com>
17258         [BZ #19994]
17259         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
17260         flag in _res.options.
17262 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
17264         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
17265         [XPG3 || XPG4].
17266         (blksize_t): Likewise.
17267         (clockid_t): Likewise.
17268         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
17269         variable.
17270         (test-xfail-XPG4/sys/types.h/conform): Likewise.
17272 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17274         * sysdeps/unix/sysv/linux/s390/init-first.c:
17275         Add VDSO_SYMBOL(getcpu).
17276         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
17277         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
17278         Add VDSO_SYMBOL(getcpu).
17279         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
17280         New define HAVE_GETCPU_VSYSCALL.
17281         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17283 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
17285         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
17286         instead of <sysdeps/x86_64/cacheinfo.c>.
17287         * sysdeps/x86_64/cacheinfo.c: Moved to ...
17288         * sysdeps/x86/cacheinfo.c: Here.
17290 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17292         * malloc/malloc-internal.h: Adjust header file guard.
17294 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17296         [BZ #19787]
17297         * inet/getnameinfo.c (check_sprintf_result): New function.
17298         (CHECKED_SNPRINTF): New macro.
17299         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
17300         to the host buffer.
17301         (gni_host_local): Use checked_copy to copy the host name.
17302         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
17303         (gni_serv_local): Use checked_copy to copy the service name.
17304         (getnameinfo): Remove unnecessary truncation of result buffers.
17306 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17308         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
17309         in case of inet_ntop failure.
17311 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17313         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
17314         avoid long lines.
17315         (gni_host_inet_numeric): Likewise.  Reduce scope of local
17316         variables.
17317         (gni_host_inet, gni_host_local): Add comment.
17318         (gni_host): Add comment.  Use temporary to avoid long lines.
17320 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17322         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
17323         registers specifiers where general purpose registers specifiers should
17324         have been used.
17326 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17328         [BZ #19779]
17329         CVE-2016-1234
17330         Avoid copying names of directory entries.
17331         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
17332         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
17333         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
17334         (struct readdir_result): New type.
17335         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
17336         (GL_READDIR): New macros.
17337         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
17338         (convert_dirent, convert_dirent64): New functions.
17339         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
17340         convert_dirent64.  Adjust references to the readdir result.
17341         * sysdeps/unix/sysv/linux/i386/glob64.c:
17342         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
17343         * posix/bug-glob2.c (LONG_NAME): Define.
17344         (filesystem): Add LONG_NAME.
17345         (my_DIR): Increase the size of room_for_dirent.
17347 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
17349         [BZ #20041]
17350         * misc/sys/select.h (__need_timespec): Only define if
17351         [__USE_XOPEN2K].
17352         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
17353         variable.
17354         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17355         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17356         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17358 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17359             Segher Boessenkool  <segher@gcc.gnu.org>
17361         [BZ #20004]
17362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
17363         (__novec_swapcontext): Add missing load.
17365 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
17367         [BZ #20023]
17368         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
17369         <time.h>.
17370         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
17371         variable.
17372         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17374 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
17377         flags CLONE_VM compare.
17379 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17381         [BZ #20031]
17382         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
17383         completely empty.
17385 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17387         [BZ #19573]
17388         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
17389         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
17390         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
17391         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
17392         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
17393         (hesiod_free_list): Mark as hidden.
17394         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
17395         res_set, res_get.
17396         * hesiod/hesiod.c: Remove unnecessary forward declarations.
17397         (init, __hesiod_res_get, __hesiod_res_set): Remove.
17398         (hesiod_init): Remove obsolete res_ninit call.
17399         (hesiod_end): Do not free resolver state.  Do not invoke callback.
17400         (hesiod_bind): Do not call init.
17401         (get_txt_records): Use res_mkquery, res_send instead of
17402         res_nmkquery, res_nsend.
17403         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
17404         instead of _nss_hesiod_init.
17405         (_nss_hesiod_initgroups_dyn): Likewise.
17406         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
17407         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
17408         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
17410 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17412         * hesiod/hesiod_p.h (DEF_RHS): Remove.
17413         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
17415 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17417         * hesiod/hesiod.h: Remove RCS keyword.
17418         * hesiod/hesiod_p.h: Likewise.
17420         * hesiod/hesiod.c: Likewise.
17422 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
17424         [BZ #12450]
17425         * locale/iso-639.def: Add Samogitian/sgs.
17427 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
17429         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
17431         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
17433 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
17434             Carlos O'Donell  <carlos@redhat.com>
17436         [BZ #19072]
17437         * grp/Makefile (headers): Add grp-merge.h
17438         (routines): Add grp-merge.
17439         * grp/getgrgid_r.c: Include grp-merge.h.
17440         (DEEPCOPY_FN): Define.
17441         (MERGE_FN): Define.
17442         * grp/getgrname_r.c: Include grp-merge.h.
17443         (DEEPCOPY_FN): Define.
17444         (MERGE_FN): Define.
17445         * grp/grp-merge.c: New file.
17446         * grp/grp-merge.h: New file.
17447         * include/grp-merge.h: New file.
17448         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
17449         __copy_grp@GLIBC_PRIVATE.
17450         * manual/nss.texi (Actions in the NSS configuration): Describe
17451         return, continue, and merge.
17452         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
17453         (DEEPCOPY_FN): Define.
17454         (MERGE_FN): Define.
17455         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
17456         (DEEPCOPY_FN): Define.
17457         (MERGE_FN): Define.
17458         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
17459         [!MERGE_FN]: Define __merge_einval.
17460         (CHECK_MERGE): Define.
17461         (REENTRANT_NAME): Process merge if do_merge is true.
17462         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
17463         (__nss_getent_r): Likewise.
17464         * nss/nsswitch.c (nss_parse_service_list): Likewise.
17465         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
17467 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17469         [BZ #20012]
17470         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
17471         length to calculate the buffer to read.
17472         (fmemopen_write): Set the buffer position based on bytes written.
17473         (fmemopen_seek): Return EINVAL for invalid whence modes.
17475         [BZ #19957]
17476         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
17477         tst-getpid2.
17478         (test): Add tst-clone2.
17479         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
17480         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
17481         pid/tid fields for CLONE_VM.
17482         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17483         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17484         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17485         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
17486         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17487         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17488         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17489         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17491         Likewise.
17492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17493         Likewise.
17494         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17495         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17496         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17497         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17498         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17499         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17500         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17501         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
17503 2016-04-29  Florian Weimer  <fweimer@redhat.com>
17505         [BZ #19642]
17506         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
17507         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
17508         (gni_serv_local, gni_serv): New functions extracted from
17509         getnameinfo.
17510         (getnameinfo): Call gni_host and gni_serv to perform the
17511         processing.  Always free scratch buffer.
17513 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17515         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
17516         remaining bytes in the dest string, with zeros.
17518 2016-04-29  Florian Weimer  <fweimer@redhat.com>
17520         [BZ #20010]
17521         CVE-2016-3706
17522         * sysdeps/posix/getaddrinfo.c
17523         (convert_hostent_to_gaih_addrtuple): New function.
17524         (gethosts): Call convert_hostent_to_gaih_addrtuple.
17525         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
17526         AF_INET data.
17528 2016-04-29  Florian Weimer  <fweimer@redhat.com>
17530         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
17531         callback function gl_readdir.
17532         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
17533         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
17534         (glob_in_dir): Remove len.  Use strdup instead of malloc and
17535         memcpy to copy the name.
17536         * manual/pattern.texi (Calling Glob): Document requirements for
17537         implementations of the gl_readdir callback function.
17538         * manual/examples/mkdirent.c: New example.
17539         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
17540         per the manual guidance.
17541         * posix/tst-gnuglob.c (my_readdir): Likewise.
17543 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
17545         [BZ #20014]
17546         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
17547         not [__USE_POSIX].
17548         (getchar_unlocked): Likewise.
17549         (putc_unlocked): Likewise.
17550         (putchar_unlocked): Likewise.
17551         (flockfile): Likewise.
17552         (ftrylockfile): Likewise.
17553         (funlockfile): Likewise.
17554         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
17555         variable.
17556         (test-xfail-XPG4/stdio.h/conform): Likewise.
17558         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
17559         Expect constant.
17560         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
17561         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
17562         variable.
17563         (test-xfail-XPG4/langinfo.h/conform): Likewise.
17564         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17566         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
17567         [__USE_LARGEFILE64] (off64_t): Likewise.
17568         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
17569         variable.
17571 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17573         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
17575 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17577         * resolv/inet_addr.c: Reindent preprocessor conditionals.
17578         * resolv/res_init.c: Likewise.
17579         * resolv/res_mkquery.c: Likewise.
17581 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17583         * resolv/res_init.c (isascii): Do not define.  Use definition in
17584         <ctype.h>.
17585         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
17586         (LOG_AUTH): Remove.
17587         (SPRINTF): Remove, adjust caller.
17588         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
17590 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17592         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
17593         SUNSECURITY conditional.
17594         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
17596 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17598         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
17599         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
17600         Remove BSD-related preprocessor conditionals.
17601         * conf/portability.h: Remove.
17603 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17605         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
17606         * resolv/res_data.c: Likewise.
17608 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17610         * resolv/res_comp.c: Remove code conditional on __ultrix__.
17611         * resolv/res_data.c: Remove code conditional on ultrix.
17613 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17615         * resolv/res_init.c (RFC1535): Do not define.  Remove
17616         RFC1535 preprocessor conditionals.
17617         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
17618         because there configuration options which make the resolver
17619         behavior different.
17621 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17623         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
17624         RESOLVSORT preprocessor conditionals.
17625         * resolv/nss_dns/dns-host.c: Likewise.
17626         * resolv/res_init.c: Likewise.
17628 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17630         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
17631         is never defined.
17633 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17635         * inet/inet_lnaof.c: Remove SCSS keyword.
17636         * inet/inet_mkadr.c: Likewise.
17637         * inet/inet_net.c: Likewise.
17638         * inet/inet_netof.c: Likewise.
17639         * inet/rcmd.c: Likewise.
17640         * inet/rexec.c: Likewise.
17641         * inet/ruserpass.c: Likewise.
17643 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17645         * resolv/inet_addr.c: Remove _LIBC conditionals.
17646         * resolv/res_data.c: Likewise.
17647         * resolv/res_init.c: Likewise.
17648         * resolv/res_mkquery.c: Likewise.
17649         * resolv/res_libc.c: Update comment.
17650         * resolv/README: Update.
17652 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17654         * resolv/gethnamaddr.c: Remove SCSS keyword.
17655         * resolv/herror.c: Likewise.
17656         * resolv/inet_addr.c: Likewise.
17657         * resolv/inet_net_ntop.c: Likewise.
17658         * resolv/inet_net_pton.c: Likewise.
17659         * resolv/inet_neta.c: Likewise.
17660         * resolv/inet_ntop.c: Likewise.
17661         * resolv/inet_pton.c: Likewise.
17662         * resolv/ns_date.c: Remove RCS keyword.
17663         * resolv/ns_name.c: Likewise.
17664         * resolv/ns_netint.c: Likewise.
17665         * resolv/ns_parse.c: Likewise.
17666         * resolv/ns_print.c: Likewise.
17667         * resolv/ns_samedomain.c: Likewise.
17668         * resolv/ns_ttl.c: Likewise.
17669         * resolv/nsap_addr.c: Likewise.
17670         * resolv/res_comp.c: Remove SCSS and RCS keyword.
17671         * resolv/res_data.c: Remove RCS keyword.
17672         * resolv/res_debug.c: Remove SCSS and RCS keyword.
17673         * resolv/res_init.c: Likewise.
17674         * resolv/res_mkquery.c: Likewise.
17675         * resolv/res_query.c: Likewise.
17676         * resolv/res_send.c: Likewise.
17678 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
17680         * conform/data/stdio.h-data (fdopen): Expect also for
17681         [XPG3 || XPG4].
17683         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
17684         (fseeko): Likewise.
17685         (ftello): Likewise.
17686         (ftrylockfile): Likewise.
17687         (funlockfile): Likewise.
17688         (getc_unlocked): Likewise.
17689         (getchar_unlocked): Likewise.
17690         (putc_unlocked): Likewise.
17691         (putchar_unlocked): Likewise.
17693 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17695         [BZ #19868]
17696         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
17697         DNS packet syntax checks (which were not needed before).  Skip
17698         over non-PTR records.
17700 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17702         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
17703         definition.  Include <stddef.h> instead.
17705 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17707         [BZ #19831]
17708         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
17709         function.
17710         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
17711         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
17713 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17715         [BZ #19862]
17716         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
17717         (getanswer_r): Do not call syslog.
17718         (gaih_getanswer_slice): Likewise.
17719         * resolv/gethnamaddr.c (AskedForGot): Remove.
17720         (getanswer): Do not call syslog.
17721         (gethostbyaddr): Likewise.
17723 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
17725         * conform/data/signal.h-data (union sigval): Expect also if
17726         [XOPEN2K].
17727         (struct sigevent): Likewise.
17728         (SIGEV_NONE): Likewise.
17729         (SIGEV_SIGNAL): Likewise.
17730         (SIGEV_THREAD): Likewise.
17731         (SIGRTMIN): Likewise.
17732         (SIGRTMAX): Likewise.
17733         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
17734         variable.
17735         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17737 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17739         [BZ #19830]
17740         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
17741         (gaih_getanswer_slice): Likewise.
17742         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
17743         Also check for availability of RR metadata.
17745 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17747         [BZ #19825]
17748         * resolv/res_send.c (send_vc): Remove early *resplen2
17749         initialization.  Set *resplen2 on socket error.  Call
17750         close_and_return_error for other errors.
17752 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17754         * sysdeps/unix/sysv/linux/netiucv/iucv.h
17755         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
17756         (SCM_IUCV_TRGCLS): New define.
17758 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17760         [BZ #20005]
17761         * libio/fmemopen.c (fmemopen_write): Update internal position after
17762         write.
17763         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
17764         * stdio-common/tst-fmemopen4.c: New file..
17766 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
17768         [BZ #19996]
17769         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
17770         not [__USE_XOPEN2K].
17771         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
17772         variable.
17774         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
17775         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
17776         variable.
17778         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
17779         [__USE_XOPEN2K8].
17780         [__USE_LARGEFILE64] (off64_t): Likewise.
17781         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
17782         variable.
17784 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
17786         [BZ #19989]
17787         * libio/stdio.h (cuserid): Do not declare if
17788         [__USE_XOPEN2K && !__USE_GNU].
17789         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
17790         variable.
17792 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17794         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17795         (sysdep_routines): Add P8 and PPC64 strcspn targets.
17796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17797         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
17798         ifunc'ed strcspn.
17799         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
17800         [EALIGN]: Removed.
17801         [END]: Likewise
17802         [STRSPN]: Define instead of the above to control symbol name.
17803         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
17804         New file.
17805         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
17806         Likewise.
17807         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
17808         Likewise.
17809         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
17810         Likewise.
17811         * sysdeps/powerpc/powerpc64/power8/strspn.S:
17812         [INITIAL_MASK]: New macro.
17813         [STRCSPN]: Likewise.
17814         [UPDATE_MASK]: Likewise.
17815         [USE_AS_STRCSPN]: Likewise.
17817 2016-04-25  Florian Weimer  <fweimer@redhat.com>
17819         [BZ #19931]
17820         * stdio-common/tst-vfprintf-width-prec.c: New file.
17821         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
17822         (tests-special): Add tst-vfprintf-width-prec-mem.out.
17823         (generated): Add mtrace-related files.
17824         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
17825         (tst-%-mem.out): New pattern rule, replaces
17826         tst-printf-bz18872-mem.out.
17827         * stdio-common/vfprintf.c (vfprintf): When handling a precision
17828         specifier, deallocate any previously allocated work buffer.
17830 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
17832         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
17833         Add nop before __startcontext, add explaining comments.
17835 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
17837         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
17838         any more. Notably since IPV6_PKTINFO has been reintroduced with a
17839         completely different API.
17841         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
17842         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
17843         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
17844         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
17845         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
17846         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
17847         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
17848         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
17849         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
17850         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
17852 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
17854         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
17856 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
17858         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
17859         when it is the default of 0.
17861 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17863         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
17864         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17865         (sysdep_routines): Add new strcasestr targets.
17866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17867         (__libc_ifunc_impl_list): Likewise.
17868         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
17869         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
17870         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
17871         * sysdeps/powerpc/powerpc64/power8/Makefile:
17872         New file to add strcasestr-ppc64 to sysdep_routines.
17873         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
17874         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
17876 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
17878         * benchtests/Makefile (wcsmbs-benchset): Include only for
17879         native builds and runs.
17880         (LOCALES): Likewise.
17881         (bench-build): Build timing-type here instead of the bench
17882         target.  Generate locale only for native builds.
17883         * benchtests/README: Add note for cross-building.
17885         * benchtests/Makefile (bench-clean): Clean up extra-objs.
17887         * benchtests/README: Update README to include instructions on
17888         using bench-build.
17890         * Makefile.in (bench-build): New target.
17891         * Rules (PHONY): Add bench-build target.
17892         * benchtests/Makefile (bench): Depend on bench-build.
17893         (bench-build): New target.
17895 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17897         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
17898         profil_reply_port.
17899         (profile_waiter): Do not initialize profil_reply_port.
17900         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
17901         frequency instead of tick length in us.
17903 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
17905         [BZ #18712]
17906         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
17907         (__old_mempcpy_small): Likewise.
17908         (__old_strcpy_small): Likewise.
17909         (__old_stpcpy_small): Likewise.
17910         (__old_strpbrk_c2): Fix compat symbol name.
17911         (__old_strpbrk_c3): Likewise.
17912         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
17913         (__mempcpy_small): Remove.
17914         (__strcpy_small): Remove.
17915         (__stpcpy_small): Remove.
17917 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
17919         [BZ #19400]
17920         * locale/iso-639.def: Add the Talossan/tzl language.
17922 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17924         [BZ #16983]
17925         * locale/programs/ld-address.c (address_finish): Update postal_fmt
17926         comment.  Add "ln" to strchr check on postal_fmt.
17928 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17930         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
17931         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
17932         tel_dom_fmt.
17934 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17936         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17937         (sysdep_routines): Added __strlen_power8.
17938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
17939         __strlen_power8 entry.
17940         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
17941         Implementation for POWER8.
17942         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
17943         for __strlen_power8.
17944         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
17945         Implementation for POWER8.
17947 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
17949         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
17951 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
17953         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
17954         Goldmont and Airmont processors.
17956 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
17958         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
17959         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
17960         (__STRING2_SMALL_GET32): Remove.
17961         (memset): Remove.
17962         (__memset_1): Remove.
17963         (__memset_gc): Remove.
17964         (__mempcpy): Remove.
17965         (mempcpy): Remove.
17966         (__mempcpy_args): Remove.
17967         (strchr): Remove.
17968         (strcpy): Remove.
17969         (strcpy_args): Remove.
17970         (__stpcpy_args): Remove.
17971         (__strcmp_cc): Remove.
17972         (__strcmp_gc): Remove.
17973         (strstr): Remove.
17975 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
17977         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
17978         * nis/nis_call.c (nis_server_cache_add): Likewise.
17980 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17982         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
17984 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17986         * malloc/arena.c (__malloc_fork_lock_parent)
17987         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
17988         internal_function attribute.
17990 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
17992         * stdio-common/printf_fp.c (__printf_fp_l):
17993         Rename ___printf_fp_l to __printf_fp_l and
17994         remove strong alias. Use libc_hidden_def instead
17995         of ldbl_hidden_def macro.
17997 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17999         Remove malloc hooks from fork handler.  They are no longer needed
18000         because malloc runs right before fork, and no malloc calls from
18001         other fork handlers are not possible anymore.
18002         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
18003         declarations.
18004         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
18005         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
18006         (atfork_recursive_cntr): Remove.
18007         (__malloc_fork_lock_parent): Do not override malloc hooks and
18008         thread_arena.
18009         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
18010         thread_arena.
18011         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
18012         thread_arena instead of save_arena.
18014 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18016         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
18017         (thread_atfork, thread_atfork_static): Remove.
18018         * sysdeps/mach/hurd/malloc-machine.h:
18019         (thread_atfork, thread_atfork_static): Remove.
18021 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18023         [BZ #19431]
18024         Run the malloc fork handler as late as possible to avoid deadlocks.
18025         * malloc/malloc-internal.h: New file.
18026         * malloc/malloc.c: Include it.
18027         * malloc/arena.c (ATFORK_MEM): Remove.
18028         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
18029         Update comment.
18030         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
18031         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
18032         Remove outdated comment.
18033         (ptmalloc_init): Do not call thread_atfork.  Remove
18034         thread_atfork_static.
18035         * malloc/tst-malloc-fork-deadlock.c: New file.
18036         * Makefile (tests): Add tst-malloc-fork-deadlock.
18037         (tst-malloc-fork-deadlock): Link against libpthread.
18038         * manual/memory.texi (Aligned Memory Blocks): Update safety
18039         annotation comments.
18040         * sysdeps/nptl/fork.c (__libc_fork): Call
18041         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
18042         __malloc_fork_unlock_child.
18043         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
18045 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18047         [BZ #19613]
18048         Remove union wait.
18049         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
18050         (w_stopsig, w_stopval): Remove.
18051         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
18052         stat_loc argument.
18053         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
18054         (__WAIT_STATUS_DEFN): Remove.
18055         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
18056         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
18057         (wait, wait3, wait4): Use int * for the stat_loc argument.
18058         * posix/wait.c (__wait): Likewise.
18059         * posix/wait3.c (__wait3): Likewise.
18060         * posix/wait4.c (__wait4): Likewise.
18061         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
18062         (__WAIT_STATUS_DEFN): Remove.
18063         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
18064         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
18065         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
18066         argument.
18067         * sysdeps/posix/wait.c (__libc_wait): Likewise.
18068         * sysdeps/posix/wait3.c (__wait3): Likewise.
18069         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
18070         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
18071         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
18072         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
18073         stat_loc argument.
18074         * manual/process.texi (BSD Wait Functions): Remove union wait.
18076 2016-04-13  Andreas Schwab  <schwab@suse.de>
18078         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
18079         (test-extras): Add tst-tlsalign-vars.
18080         * math/Makefile: Wrap long lines.
18081         (libm-vec-test-wrappers): Define.
18082         (test-extras): Add $(libm-vec-test-wrappers).
18083         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
18084         * nss/Makefile (extra-test-objs): Add nss_test1.os.
18085         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
18086         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
18087         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
18088         (extra-test-objs): Add corresponding objects.
18090 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
18092         [BZ #19928]
18093         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
18094         New.
18095         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
18096         times of shared cache size.
18097         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
18098         (VMOVNT): New.
18099         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
18100         (VMOVNT): Likewise.
18101         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
18102         (VMOVNT): Likewise.
18103         (VMOVU): Changed to movups for smaller code sizes.
18104         (VMOVA): Changed to movaps for smaller code sizes.
18105         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
18106         comments.
18107         (PREFETCH): New.
18108         (PREFETCH_SIZE): Likewise.
18109         (PREFETCHED_LOAD_SIZE): Likewise.
18110         (PREFETCH_ONE_SET): Likewise.
18111         Rewrite to use forward and backward loops, which move 4 vector
18112         registers at a time, to support overlapping addresses and use
18113         non temporal store if size is above the threshold and there is
18114         no overlap between destination and source.
18116 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
18118         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
18119         Include dl-vdso.
18120         * sysdeps/unix/sysv/linux/mips/Versions: Add
18121         __vdso_clock_gettime.
18122         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
18123         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
18124         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
18125         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
18126         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
18127         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
18128         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18129         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18130         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18132 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18134         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
18135         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
18136         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18137         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18138         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18139         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18142         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
18143         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
18144         syscalls generation.
18145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18146         [__NR_pwrite64] (__NR_write): Remove define.
18147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18148         [__NR_pwrite64] (__NR_write): Remove define.
18149         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
18150         Remove define.
18151         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
18152         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
18153         Remove define.
18154         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
18155         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
18156         Linux implementation as base.
18157         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18159         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
18160         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
18161         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18162         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
18164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18165         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
18166         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
18167         syscall generation.
18168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18169         [__NR_pread64] (__NR_pread): Remove define.
18170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18171         [__NR_pread64] (__NR_pread): Likewise.
18172         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
18173         define.
18174         (__libc_pread): Use SYSCALL_LL macro on offset argument.
18175         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
18176         Remove define.
18177         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
18178         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
18179         Linux implementation as base.
18180         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18181         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18182         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18184         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
18185         definition.
18186         (__ALIGNMENT_COUNT): Likewise.
18187         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
18188         (__ALIGNMENT_COUNT): Likewise.
18189         (SYSCALL_LL): New define.
18190         (SYSCALL_LL64): Likewise.
18191         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
18192         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
18193         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
18194         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
18196         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18197         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
18198         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18199         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
18200         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18201         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
18203 2016-04-11  Florian Weimer  <fweimer@redhat.com>
18205         [BZ #19865]
18206         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
18207         original buffer before retry.
18209 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18211         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
18212         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
18213         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
18214         GLRO(dl_auxv) list.
18215         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
18216         including <ldsodefs.h>.
18217         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
18219 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
18221         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
18222         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
18223         $(CPPFLAGS).
18225 2016-04-09  Khem Raj  <raj.khem@gmail.com>
18227         [BZ #17950]
18228         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
18229         Add -mfpmath=387.
18231 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
18233         * sysdeps/i386/configure.ac: Change == to = when calling test.
18234         * sysdeps/x86_64/configure.ac: Likewise.
18235         * sysdeps/i386/configure: Regenerated.
18236         * sysdeps/x86_64/configure: Likewise.
18238 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
18240         [BZ #16137]
18241         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
18242         * benchtests/bench-strcoll.c (input_files): Likewise.
18243         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18244         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
18245         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
18247 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
18249         [BZ #19929]
18250         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
18251         [__USE_XOPEN2K8 && !__USE_GNU].
18252         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
18253         variable.
18255         [BZ #19925]
18256         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
18257         define if [!__USE_MISC && __USE_XOPEN2K].
18258         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
18259         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
18260         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
18261         Likewise.
18262         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
18263         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
18264         variable.
18265         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18267 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18269         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18270         (sysdep_routines): Add new strspn targets.
18271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18272         (__libc_ifunc_impl_list): Add strspn.
18273         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18274         New file.
18275         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
18276         Likewise.
18277         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
18278         Likewise.
18279         * sysdeps/powerpc/powerpc64/power8/strspn.S:
18280         Likewise.
18282 2016-04-07  Florian Weimer  <fweimer@redhat.com>
18284         * misc/hsearch_r.c: Include <limits.h>.
18286 2016-04-07  Florian Weimer  <fweimer@redhat.com>
18288         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
18290 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18292         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18293         (MEMCPY_SYMBOL): New.
18294         (MEMPCPY_SYMBOL): Likewise.
18295         (MEMMOVE_CHK_SYMBOL): Likewise.
18296         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
18297         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
18298         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
18299         Provide alias for memcpy in libc.a and ld.so.
18301 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18303         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18304         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
18305         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
18306         Disabled fro now.
18307         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
18308         symbols.  Properly check USE_MULTIARCH on __memset symbols.
18310 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18312         * benchtests/Makefile (string-benchset): Add memcpy-large,
18313         memmove-large and memset-large.
18314         * benchtests/bench-memcpy-large.c: New file.
18315         * benchtests/bench-memmove-large.c: Likewise.
18316         * benchtests/bench-memmove-large.c: Likewise.
18317         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
18319 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
18321         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
18322         32-bit displacement to avoid long nop between instructions.
18324 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
18326         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
18327         a comment on VMOVU and VMOVA.
18329 2016-04-04  Florian Weimer  <fweimer@redhat.com>
18331         [BZ #19633]
18332         Use specified locale for number formatting in strfmon_l.
18333         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
18334         (__nl_lookup_word): New inline functions.
18335         * include/printf.h (__print_fp_l): Declare.
18336         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
18337         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
18338         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
18339         (___printf_fp): New function.
18340         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
18341         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
18342         * stdlib/tst-strfmon_l.c (do_test): New test.
18343         * stdlib/Makefile (tests): Add kt.
18344         (LOCALES): Build additional locales.
18345         (tst-strfmon_l.out): Require locales.
18347 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
18349         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
18350         if not in libc.
18351         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18352         Likewise.
18353         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
18354         Likewise.
18355         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18356         Likewise.
18358 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
18360         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
18361         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
18362         with unaligned_erms.
18363         (__memmove_erms): Skip if source == destination.
18364         (__memmove_unaligned_erms): Don't check source == destination
18365         first.
18367 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18369         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
18370         bit_arch_Fast_Copy_Backward for Intel Core proessors.
18372 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18374         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
18375         * string/strspn.c (strspn): Likewise.
18377 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18379         * benchtests/bench-memset.c (do_test): Support 64-byte
18380         alignment.
18381         (test_main): Test 64-byte alignment.
18383 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18385         * benchtests/bench-memmove.c (test_main): Test 64-byte
18386         alignment.
18388 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18390         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
18392 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18394         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
18395         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
18396         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
18398         * string/strpbrk.c (strpbrk): Rewrite function.
18399         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
18400         (__strpbrk_c2): Likewise.
18401         (__strpbrk_c3): Likewise.
18402         * string/string-inlines.c
18403         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
18404         Likewise.
18405         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
18406         Likewise.
18408         * string/strspn.c (strcspn): Rewrite function.
18409         * string/bits/string2.h (strspn): Use __builtin_strcspn.
18410         (__strspn_c1): Remove inline function.
18411         (__strspn_c2): Likewise.
18412         (__strspn_c3): Likewise.
18413         * string/string-inlines.c
18414         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
18415         compatibility symbol.
18416         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
18417         Likewise.
18418         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
18419         Likewise.
18420         * string/string-inlines.c: Include generic version.
18422 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
18423             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18425         * string/Version (libc): Add GLIBC_2.24.
18426         * string/strcspn.c (strcspn): Rewrite function.
18427         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
18428         (__strcspn_c1): Remove inline function.
18429         (__strcspn_c2): Likewise.
18430         (__strcspn_c3): Likewise.
18431         * string/string-inline.c
18432         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
18433         compatibility symbol.
18434         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
18435         Likewise.
18436         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
18437         Likewise.
18438         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
18440 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
18442         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18443         Use ahi instead of aghi to adjust stack pointer.
18445 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18447         [BZ #19853]
18448         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
18449         TEST to take significant digits as second parameter.
18450         [TEST]: Redefine in terms of TEST_N taking 30
18451         significant digits.
18452         (do_test): Add test case to demonstrate precision
18453         failure in the ldbl-128ibm printf.
18454         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
18455         (__mpn_extract_long_double): Carry 7 extra intermediate
18456         bits of precision to aide computing difference when
18457         signs differ.
18459 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
18461         [BZ #19881]
18462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18463         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
18464         memset-avx512-unaligned-erms.
18465         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18466         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
18467         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
18468         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
18469         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
18470         __memset_sse2_unaligned_erms, __memset_erms,
18471         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
18472         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18473         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
18474         file.
18475         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18476         Likewise.
18477         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
18478         Likewise.
18479         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
18480         Likewise.
18482 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
18484         [BZ #19776]
18485         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18486         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
18487         memmove-avx512-unaligned-erms.
18488         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18489         (__libc_ifunc_impl_list): Test
18490         __memmove_chk_avx512_unaligned_2,
18491         __memmove_chk_avx512_unaligned_erms,
18492         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
18493         __memmove_chk_sse2_unaligned_2,
18494         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
18495         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
18496         __memmove_avx512_unaligned_erms, __memmove_erms,
18497         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
18498         __memcpy_chk_avx512_unaligned_2,
18499         __memcpy_chk_avx512_unaligned_erms,
18500         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
18501         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
18502         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
18503         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
18504         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
18505         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
18506         __mempcpy_chk_avx512_unaligned_erms,
18507         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
18508         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
18509         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
18510         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
18511         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
18512         __mempcpy_erms.
18513         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
18514         file.
18515         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18516         Likewise.
18517         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18518         Likewise.
18519         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
18520         Likewise.
18522 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
18524         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
18525         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
18526         (La_s390_64_regs): Likewise.
18527         (La_s390_32_retval): Append vector register lrv_v24.
18528         (La_s390_64_retval): Likeweise.
18529         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
18530         Handle extended structs La_s390_32_regs and La_s390_32_retval.
18531         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
18532         Handle extended structs La_s390_64_regs and La_s390_64_retval.
18534 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
18536         [BZ #19916]
18537         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
18538         to create a non-vector/vector version for _dl_runtime_resolve and
18539         _dl_runtime_profile. Move implementation to ...
18540         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
18541         (_dl_runtime_resolve) Save and restore fpr/vrs.
18542         (_dl_runtime_profile) Save and restore vrs and fix some issues
18543         if _dl_call_pltexit is called.
18544         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
18545         Choose the correct resolver function if running on a machine with vx.
18546         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
18547         to create a non-vector/vector version for _dl_runtime_resolve and
18548         _dl_runtime_profile. Move implementation to ...
18549         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
18550         (_dl_runtime_resolve) Save and restore fpr/vrs.
18551         (_dl_runtime_profile) Save and restore vrs and fix some issues
18552         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
18553         Choose the correct resolver function if running on a machine with vx.
18555 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18557         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
18559 2016-03-31  Florian Weimer  <fweimer@redhat.com>
18561         [BZ #19509]
18562         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
18563         skip_map != NULL.
18564         * elf/tst-dlsym-error.c: New file.
18565         * elf/Makefile (tests): Add tst-dlsym-error.
18566         (tst-dlsym-error): Link against libdl.
18568 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
18570         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18571         (__ASSUME_FUTIMESAT): Remove macro.
18572         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
18574 2016-03-29  Florian Weimer  <fweimer@redhat.com>
18576         [BZ #19879]
18577         CVE-2016-3075
18578         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
18579         copy name.
18581 2016-03-29  Florian Weimer  <fweimer@redhat.com>
18583         [BZ #19837]
18584         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
18585         error if parse_line fails.
18587 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
18589         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
18590         (index_cpu_ERMS): Likewise.
18591         (reg_ERMS): Likewise.
18593 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
18595         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
18596         PER_LINUX_FDPIC): Add.
18598 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
18600         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18601         memcpy-avx512-no-vzeroupper.
18602         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
18603         to ...
18604         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
18605         (MEMCPY): Don't define.
18606         (MEMCPY_CHK): Likewise.
18607         (MEMPCPY): Likewise.
18608         (MEMPCPY_CHK): Likewise.
18609         (MEMPCPY_CHK): Renamed to ...
18610         (__mempcpy_chk_avx512_no_vzeroupper): This.
18611         (MEMPCPY_CHK): Renamed to ...
18612         (__mempcpy_chk_avx512_no_vzeroupper): This.
18613         (MEMCPY_CHK): Renamed to ...
18614         (__memmove_chk_avx512_no_vzeroupper): This.
18615         (MEMCPY): Renamed to ...
18616         (__memmove_avx512_no_vzeroupper): This.
18617         (__memcpy_avx512_no_vzeroupper): New alias.
18618         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
18620 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
18622         [BZ #18858]
18623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18624         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
18625         and mempcpy-avx512-no-vzeroupper.
18626         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
18627         New.
18628         (MEMPCPY): Likewise.
18629         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
18630         (MEMPCPY_CHK): New.
18631         (MEMPCPY): Likewise.
18632         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
18633         (MEMPCPY): Likewise.
18634         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
18635         (MEMPCPY): Likewise.
18636         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
18637         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
18638         Likewise.
18639         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
18640         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
18642 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
18643              Amit Pawar  <Amit.Pawar@amd.com>
18645         [BZ #19583]
18646         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18647         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
18648         processors.  Set Fast_Copy_Backward for AMD Excavator
18649         processors.
18650         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
18651         New.
18652         (index_arch_Fast_Unaligned_Copy): Likewise.
18653         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
18654         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
18656 2016-03-25  Florian Weimer  <fweimer@redhat.com>
18658         [BZ #19791]
18659         * resolv/res_send.c (close_and_return_error): New function.
18660         (send_dg): Initialize *resplen2 after reopen failure.  Call
18661         close_and_return_error for error returns.  On error paths without
18662         __res_iclose, initialze *resplen2 explicitly.  Update comment for
18663         successful return.
18665 2016-03-25  Florian Weimer  <fweimer@redhat.com>
18667         [BZ #19860]
18668         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
18669         zero if the compiler does not provide the AVX512F bit.
18671 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
18673         [BZ #19848]
18674         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
18675         from 8 to 4.
18676         (__ieee754_powl): Compare integer exponent against 4 not 8.
18677         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
18678         from 8 to 4.
18679         (__ieee754_powl): Compare integer exponent against 4 not 8.
18680         * math/auto-libm-test-in: Add more tests of pow.
18681         * math/auto-libm-test-out: Regenerated.
18682         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18685 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
18687         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
18688         Make code unconditional.
18689         [!__NR_utimensat]: Remove conditional code.
18690         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
18691         Make code unconditional.
18692         [!__NR_utimensat]: Remove conditional code.
18693         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
18694         Make code unconditional.
18695         [!__NR_utimensat]: Remove conditional code.
18697 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
18699         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
18700         Make code unconditional.
18702 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
18704         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
18705         call-clobbered %eax on retry path.
18706         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18708 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18710         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
18711         Don't set %rcx twice before "rep movsb".
18713 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18715         [BZ #19583]
18716         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
18717         inline.  Check family before setting family, model and
18718         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
18719         bits here.
18720         (init_cpu_features): Replace HAS_CPU_FEATURE and
18721         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
18722         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
18723         for Intel processors with usable AVX2.  Call get_common_indeces
18724         for other processors with family == NULL.
18725         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
18726         (CPU_FEATURES_ARCH_P): Likewise.
18727         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
18728         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
18730 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18732         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
18733         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
18734         $(shared-thread-library) instead of hardcoding the path to libpthread.
18736 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
18738         * sysdeps/unix/sysv/linux/kernel-features.h
18739         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
18740         * sysdeps/unix/sysv/linux/getdents.c
18741         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
18742         [!have_no_getdents64_defined]: Likewise.
18743         (__GETDENTS): Remove __have_no_getdents64 conditional.
18745 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
18747         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
18748         Remove macro.
18749         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
18750         <kernel-features.h>.
18751         (signalfd) [__NR_signalfd4]: Make code unconditional.
18752         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
18754 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18756         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
18757         style.
18759 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
18761         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
18762         (__pthread_enable_asynccancel): Use JUMPTARGET to call
18763         __pthread_unwind.
18764         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18765         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
18766         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18767         (__condvar_cleanup1): Likewise.
18769 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
18771         [BZ #19822]
18772         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
18773         move it to the final $@ location.
18775 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18777         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
18778         access where posix_spawn success and pid argument is null.
18779         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
18780         success case.
18782 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
18784         * sysdeps/mach/hurd/i386/c++-types.data: New file.
18786         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
18788         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
18789         and __fcntl.
18790         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
18791         __fcntl only.
18792         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
18793         adding attribute_hidden to __open and __fcntl.
18795         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
18796         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
18797         depend on libc-modules.h,
18798         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
18800 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
18802         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
18803         Remove macro.
18804         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
18805         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
18806         entry.
18808         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
18809         Remove macro.
18810         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
18811         include <kernel-features.h>.
18812         [!__ASSUME_FALLOCATE]: Remove conditional code.
18813         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
18815 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18817         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
18818         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
18819         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
18820         (_ZGVdN4v_cos_avx2): Likewise.
18821         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
18822         (_ZGVdN4v_cos): Likewise.
18823         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
18824         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
18825         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
18826         (_ZGVdN4v_exp_avx2): Likewise.
18827         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
18828         (_ZGVdN4v_exp): Likewise.
18829         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
18830         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
18831         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
18832         (_ZGVdN4v_log_avx2): Likewise.
18833         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
18834         (_ZGVdN4v_log): Likewise.
18835         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
18836         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
18837         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
18838         (_ZGVdN4vv_pow_avx2): Likewise.
18839         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
18840         (_ZGVdN4vv_pow): Likewise.
18841         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
18842         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
18843         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
18844         (_ZGVdN4v_sin_avx2): Likewise.
18845         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
18846         (_ZGVdN4v_sin): Likewise.
18847         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
18848         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
18849         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
18850         (_ZGVdN4vvv_sincos_avx2): Likewise.
18851         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
18852         (_ZGVdN4vvv_sincos): Likewise.
18853         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
18854         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
18855         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
18856         (_ZGVbN4v_cosf_sse4): Likewise.
18857         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
18858         (_ZGVdN8v_cosf_avx2): Likewise.
18859         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
18860         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
18861         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
18862         (_ZGVbN4v_expf_sse4): Likewise.
18863         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
18864         (_ZGVdN8v_expf_avx2): Likewise.
18865         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
18866         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
18867         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
18868         (_ZGVbN4v_logf_sse4): Likewise.
18869         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
18870         (_ZGVdN8v_logf_avx2): Likewise.
18871         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
18872         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
18873         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
18874         (_ZGVbN4vv_powf_sse4): Likewise.
18875         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
18876         (_ZGVdN8vv_powf_avx2): Likewise.
18877         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18878         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
18879         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18880         (_ZGVbN4vvv_sincosf_sse4): Likewise.
18881         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18882         (_ZGVdN8vvv_sincosf_avx2): Likewise.
18883         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
18884         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
18885         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
18886         (_ZGVbN4v_sinf_sse4): Likewise.
18887         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
18888         (_ZGVdN8v_sinf_avx2): Likewise.
18889         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
18890         Use JUMPTARGET to call callee.
18891         (WRAPPER_IMPL_SSE2_ff): Likewise.
18892         (WRAPPER_IMPL_SSE2_fFF): Likewise.
18893         (WRAPPER_IMPL_AVX): Likewise.
18894         (WRAPPER_IMPL_AVX_ff): Likewise.
18895         (WRAPPER_IMPL_AVX_fFF): Likewise.
18896         (WRAPPER_IMPL_AVX512): Likewise.
18897         (WRAPPER_IMPL_AVX512_ff): Likewise.
18898         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
18899         Likewise.
18900         (WRAPPER_IMPL_SSE2_ff): Likewise.
18901         (WRAPPER_IMPL_SSE2_fFF): Likewise.
18902         (WRAPPER_IMPL_AVX): Likewise.
18903         (WRAPPER_IMPL_AVX_ff): Likewise.
18904         (WRAPPER_IMPL_AVX_fFF): Likewise.
18905         (WRAPPER_IMPL_AVX512): Likewise.
18906         (WRAPPER_IMPL_AVX512_ff): Likewise.
18907         (WRAPPER_IMPL_AVX512_fFF): Likewise.
18909 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18911         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
18912         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
18913         qualifier.
18914         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
18915         internal_function qualifiers.
18917 2016-03-15  Carlos O'Donell <carlos@redhat.com>
18919         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
18920         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
18921         * math/atest-exp.c (exp_mpn): Mark chk unused.
18922         * math/atest-exp2.c (exp_mpn): Likewise.
18923         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
18924         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
18926 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
18928         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
18929         Remove macro.
18930         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
18931         <kernel-features.h>.
18932         [__NR_ppoll]: Make code unconditional.
18933         [!__ASSUME_PPOLL]: Remove conditional code.
18935         * sysdeps/unix/sysv/linux/kernel-features.h
18936         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
18937         (__ASSUME_ACCEPT4): Likewise.
18938         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18939         Define.
18940         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
18941         Likewise.
18942         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18943         Likewise.
18944         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
18945         Likewise.
18946         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
18947         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
18948         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18949         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18950         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18951         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18952         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18953         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18954         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18955         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18956         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18957         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18958         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18959         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18960         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18961         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18962         Likewise.
18963         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18964         Likewise.
18965         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18966         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18967         0x040300].
18968         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18969         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18970         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18971         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18972         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18973         0x030300].
18974         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
18975         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18976         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18977         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18978         0x040300].
18979         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18980         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18981         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18982         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18983         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18984         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18985         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18986         0x030300].
18987         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18988         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18989         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18990         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18991         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18992         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18993         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18994         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18995         * sysdeps/unix/sysv/linux/s390/kernel-features.h
18996         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18997         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18998         0x040300].
18999         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19000         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19001         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19002         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19003         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19004         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19005         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19006         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19007         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19008         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19009         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19010         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19011         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19012         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19013         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
19014         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19015         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19016         Likewise.
19017         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19018         Likewise.
19020 2016-03-15  Andreas Schwab  <schwab@suse.de>
19022         [BZ #19257]
19023         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
19024         statp->_u._ext.nscount as loop count.
19026 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19028         * math/test-signgam-finite-c99.c: Also #undef
19029         __LIBC_INTERNAL_MATH_INLINES.
19030         * math/test-signgam-main.c: Likewise.
19032 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
19034         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
19035         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19036         (MADV_FREE): Likewise.
19037         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
19038         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
19039         EPOLLEXCLUSIVE.
19041 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
19043         * timezone/README: Remove mention of checktab.awk. Mention wiki
19044         SharedSourceFiles.
19046 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
19048         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
19049         WUNTRACED.
19051 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19053         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
19054         order to match the type of p when calling atomic_exchange_acq().
19056 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19058         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
19059         cfi_offset calls.
19060         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
19061         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
19062         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
19063         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
19064         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
19066 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
19068         * timezone/checktab.awk: Removed.
19070 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
19072         * manual/math.texi (Errors in Math Functions): Document relaxed
19073         accuracy goals for IBM long double.
19074         * math/libm-test.inc (test_exceptions): Always allow spurious
19075         "underflow" and "inexact" exceptions for IBM long double.
19077 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
19079         [BZ #19762]
19080         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
19081         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
19082         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
19083         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
19084         (bit_arch_*): This for feature array.
19085         (bit_*): Renamed to ...
19086         (bit_cpu_*): This for cpu array.
19087         (index_*): Renamed to ...
19088         (index_arch_*): This for feature array.
19089         (index_*): Renamed to ...
19090         (index_cpu_*): This for cpu array.
19091         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
19092         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
19093         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
19094         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
19095         bit_##name with index_cpu_##name and bit_cpu_##name.
19096         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
19097         bit_##name with index_arch_##name and bit_arch_##name.
19099 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
19101         [BZ #19792]
19102         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
19103         Terminate FDE before return label.
19105 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
19107         [BZ #19790]
19108         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
19109         (rintl): Define as macro.
19110         [USE_AS_NEARBYINTL] (__rintl): Likewise.
19111         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
19112         of fesetround.  Ensure results are evaluated before end of scope.
19113         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
19114         USE_AS_NEARBYINTL and include s_rintl.c.
19115         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
19116         Disable exception traps in new environment.
19117         (libc_feholdsetround_ppc_ctx): Likewise.
19119 2016-03-08  Roland McGrath  <roland@hack.frob.com>
19121         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
19122         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
19123         (tst_audit10_aux) [__AVX512F__]: ... here.
19125 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
19127         * include/sys/auxv.h: New file.
19129 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
19131         [BZ #19759]
19132         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
19134 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19136         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
19137         operand modifier.
19138         (feclearexcept): Likewise.
19140 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19142         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
19143         to reflect the entire 32-bit HWCAP.
19144         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
19145         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
19147 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
19149         [BZ #19783]
19150         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
19151         $(test-via-rtld-prefix).
19152         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
19154 2016-03-08  Florian Weimer  <fweimer@redhat.com>
19156         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
19157         union wait.  Report any non-zero exit status as error.
19159 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19161         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
19162         configured with --enable-hardcoded-path-in-tests.
19164 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
19166         [BZ #19677]
19167         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
19168         (__ieee754_remainderl): Put zero low parts in canonical form.
19169         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
19170         file.  Based on
19171         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
19172         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
19173         with wrapper round test-fmodrem-ldbl-128ibm.c.
19174         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
19175         file.
19176         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
19177         Likewise.
19178         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
19179         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
19181 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19183         [BZ #19610]
19184         * elf/ldconfig.c (opt_link): Update comment.
19185         (options): Update help string for option -X.
19186         (search_dir): Unlink stale symbolic link only if updating symbolic
19187         links.
19188         * elf/tst-ldconfig-X.sh: New file.
19189         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
19190         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
19192 2016-03-07  Andreas Schwab  <schwab@suse.de>
19194         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
19195         needed arguments.
19197 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
19199         [BZ #15333]
19200         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
19201         to lstat64.
19203 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19205         * libio/filedoalloc.c (isatty): Remove.
19206         (local_isatty): Add comment.  Call __isatty directly.
19207         (_IO_file_doallocate): Update comment.  Assume _LIBC.
19208         * libio/wfiledoalloc.c (isatty): Remove.
19209         (_IO_wfile_doallocate): Update comment.
19211 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19213         [BZ #19269]
19214         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
19215         tst-audit4-aux.o.
19216         (tst-audit10): Depend on tst-audit10-aux.o.
19217         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
19218         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
19219         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
19220         instead of inline AVX code.
19221         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
19222         instead of inline AVX512 code.
19223         * sysdeps/x86_64/tst-audit4-aux.c: New file
19224         * sysdeps/x86_64/tst-audit10-aux.c: New file
19226         [BZ #19648]
19227         * test-skeleton.c (main): Do not set RLIMIT_DATA.
19229 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19231         [BZ #14750]
19232         [BZ #10354]
19233         [BZ #18433]
19234         * include/sched.h (__clone): Add hidden prototype.
19235         (__clone2): Likewise.
19236         * include/unistd.h (__dup): Likewise.
19237         * posix/Makefile (tests): Add tst-spawn2.
19238         * posix/tst-spawn2.c: New file.
19239         * sysdeps/posix/dup.c (__dup): Add hidden definition.
19240         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
19241         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
19242         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
19243         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
19244         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
19245         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
19246         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
19247         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
19248         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
19249         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
19250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
19251         Likewise.
19252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19253         Likewise.
19254         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
19255         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
19256         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
19257         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
19258         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
19259         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
19260         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
19261         * sysdeps/unix/sysv/linux/nptl-signals.h
19262         (____nptl_is_internal_signal): New function.
19263         * sysdeps/unix/sysv/linux/spawni.c: New file.
19265         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
19266         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
19267         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
19268         * posix/tst-execvp2.c (do_test): Likewise.
19269         * posix/tst-execvp3.c (do_test): Likewise.
19270         * posix/tst-execvp4.c (do_test): Likewise.
19271         * posix/tst-execvpe1.c: New file.
19272         * posix/tst-execvpe2.c: Likewise.
19273         * posix/tst-execvpe3.c: Likewise.
19274         * posix/tst-execvpe4.c: Likewise.
19275         * posix/tst-execvpe5.c: Likewise.
19276         * posix/tst-execvpe6.c: Likewise.
19278         [BZ #19534]
19279         * posix/execl.c (execl): Remove dynamic memory allocation.
19280         * posix/execle.c (execle): Likewise.
19281         * posix/execlp.c (execlp): Likewise.
19283 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19285         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
19286         Replace .text with .text.avx512.
19287         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19288         Likewise.
19290 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
19292         * sysdeps/generic/libnsl.abilist: New file.
19293         * sysdeps/generic/libutil.abilist: New file.
19295 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19297         [BZ #19762]
19298         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
19299         HAS_ARCH_FEATURE with Fast_Rep_String.
19300         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
19301         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
19302         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
19303         Likewise.
19304         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
19305         Likewise.
19306         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
19307         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
19308         Likewise.
19309         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
19310         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
19311         Likewise.
19313 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19315         [BZ #19745]
19316         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
19317         with *%rax in call.
19319 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19321         [BZ #19745]
19322         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
19323         with *__libc_start_main@GOTPCREL(%rip) in call.
19325 2016-03-04  Roland McGrath  <roland@hack.frob.com>
19327         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
19328         inside conditional for nonempty $(CXX).
19330         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
19331         nonempty.
19333         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
19334         to test for empty $(CXX) rather than $(CXX) of "no".
19336 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19338         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
19340 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
19341             H.J. Lu  <hongjiu.lu@intel.com>
19343         [BZ #18880]
19344         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
19345         instead of Slow_BSF, and also check for Fast_Copy_Backward to
19346         enable __memcpy_ssse3_back.
19348 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
19350         [BZ #19758]
19351         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
19352         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
19354 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
19356         [BZ #19490]
19357         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
19358         (__fentry__): Likewise.
19360 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
19362         * gmon/Makefile (noprof): Add $(sysdep_noprof).
19363         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
19365 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
19367         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
19368         __mcount_internal directly.
19369         (C_LABEL(__fentry__)): Likewise.
19370         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
19371         directly.
19373 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
19375         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19376         (__start_context): Call __setcontext directly.
19378 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
19380         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19381         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19382         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
19383         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
19384         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19385         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19386         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
19387         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19388         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19389         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
19390         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
19391         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
19392         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19393         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19394         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19395         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19396         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
19397         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19398         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19399         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
19400         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
19401         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19402         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19403         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
19404         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
19405         Remove conditional code.
19406         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19407         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
19408         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19409         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19410         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
19411         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19412         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
19413         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19414         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19415         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19416         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19417         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19419 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
19421         * NEWS (2.23): Fix typo in bug 19048 text.
19423 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
19425         [BZ #14259]
19426         * Makeconfig: Rename msgcatdir to localedir.
19427         Rename inst_msgcatdir to inst_localedir.
19428         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
19429         * config.make.in: Add localedir.
19430         * elf/Makefile ($(objpfx)sotruss): Use localedir.
19431         (ldd-rewrite): Likewise.
19432         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
19433         (install-others): Use inst_localedir.
19434         (CPPFLAGS): Use localedir.
19435         * locale/Makefile (locale-CPPFLAGS): Likewise.
19436         * po/Makefile (mo-installed): Use inst_localedir.
19438         [BZ #19575]
19439         * localedata/charmaps/GB18030: Update comments regarding PAU to
19440         non-PUA mappings.
19442 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
19444         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
19445         test for header.
19446         * sysdeps/unix/sysv/linux/configure: Regenerated.
19447         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
19448         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
19449         Remove conditional code.
19450         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
19452         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19453         Define to 3.2.0.
19454         (arch_minimum_kernel): Likewise.
19455         * sysdeps/unix/sysv/linux/configure: Regenerated.
19456         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
19457         Define to 2.6.32.
19458         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
19459         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
19460         (arch_minimum_kernel): Define to 2.6.32.
19461         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
19462         * README: Document Linux 3.2 requirement.
19463         * manual/install.texi (Linux): Document Linux 3.2 headers
19464         requirement.
19465         * INSTALL: Regenerated.
19467 2016-02-24  Andreas Schwab  <schwab@suse.de>
19469         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
19470         if !NO_LONG_DOUBLE.
19472 2016-02-22  Roland McGrath  <roland@hack.frob.com>
19474         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
19475         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
19477 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
19479         [BZ #19512]
19480         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
19482 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
19484         * posix/tst-dir.c: Include libc-internal.h.
19486 2016-02-20  Florian Weimer  <fweimer@redhat.com>
19488         [BZ #19056]
19489         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
19490         * manual/filesys.texi (Reading/Closing Directory): Mention
19491         deprecaion.
19492         * posix/tst-dir.c (main): Disable deprecation warning in test.
19494 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
19496         [BZ #19679]
19497         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
19498         Renamed to ...
19499         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
19500         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19501         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
19502         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19503         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
19504         * sysdeps/x86_64/dl-trampoline.h
19505         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19506         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
19508 2016-02-19  Mark Wielaard  <mjw@redhat.com>
19510         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
19512 2016-02-19  Mark Wielaard  <mjw@redhat.com>
19514         * elf/elf.h (R_386_GOT32X): New.
19515         (R_386_NUM): Update.
19516         (R_X86_64_GOTPCRELX: New.
19517         (R_X86_64_REX_GOTPCRELX): New.
19518         (R_X86_64_NUM): Update.
19520 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
19522         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
19524 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
19526         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
19527         assign attr->stackaddr to it, and adjust it down when
19528         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
19529         [_STACK_GROWS_UP]: Delete assert.
19530         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
19531         Implement stack grows up logic.
19532         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
19533         stack grows up logic.
19535 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19537         * NEWS: Update with 2.24 template.
19539 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
19541         [BZ #19678]
19542         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19543         Ensure +0.0 is returned when taking the next value below the least
19544         positive value.
19546 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19548         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
19549         available.  Do not define NO_THREADS.
19550         * malloc/malloc.c: Do not check NO_THREADS.
19551         * malloc/arena.c: Likewise.
19553 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19555         * malloc/malloc.c (__libc_mallinfo): Update comment.
19556         (struct malloc_par): Remove max_total_mem member, it was always 0.
19557         (int_mallinfo): Store 0 into usmblks (no functional change).
19558         * malloc/hooks.c (struct malloc_state): Document that
19559         max_total_mem is always 0.
19560         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
19561         always 0.
19562         * manual/memory.texi (Statistics of Malloc): Likewise.
19564 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19566         * malloc/malloc.c (sysmalloc): Do not update arena_max.
19567         * malloc/arena.c (arena_max): Remove.
19568         (heap_trim, _int_new_arena): Do not update arena_max.
19570 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19572         * resolv/res_init.c (res_ninit): Update comment.
19574 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19576         [BZ #19505]
19577         * posix/spawn_int.h: Add headers and include guard.
19578         (__spawn_valid_fd): New function.
19579         * posix/spawn_faction_addopen.c
19580         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
19581         * posix/spawn_faction_addclose.c
19582         (posix_spawn_file_actions_addclose): Likewise.
19583         * posix/spawn_faction_adddup2.c
19584         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
19585         second file descriptor.
19586         * posix/spawn_valid_fd.c: New file.
19587         * posix/tst-posix_spawn-fd.c: New file.
19588         * posix/Makefile (routines): Add spawn_valid_fd.
19589         (tests): Add tst-posix_spawn-fd.
19591 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19593         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
19594         (do_test): Limit the number of arenas, so that we can use fewer
19595         outer threads.  Limit timeout to 3 seconds, in preparation for a
19596         larger TIMEOUT value.
19598 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
19600         [BZ #19674]
19601         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
19602         sign in overflowing and underflowing results when overflow or
19603         underflow is detected early.  Include sign in result before rather
19604         than after scaling.
19606         [BZ #19603]
19607         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
19608         (__ieee754_remainderl): Adjust sign of integer version of low part
19609         when taking absolute value of high part.
19610         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19611         * math/libm-test.inc (remainder_test_data): Add another test.
19612         (remquo_test_data): Likewise.
19614 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
19616         [BZ #19602]
19617         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
19618         equal high parts and both low parts zero specially.
19619         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
19620         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
19621         Add test-fmodl-ldbl-128ibm.
19623         [BZ #19595]
19624         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
19625         common logic for all cases of shifting subnormal results.  Do not
19626         insert sign bit in shifted mantissa.  Always pass -1023 as biased
19627         exponent to ldbl_insert_mantissa in subnormal case.
19629         [BZ #19594]
19630         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
19631         on high and low parts then adjust result and use
19632         ldbl_canonicalize_int if needed.
19634         [BZ #19593]
19635         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
19636         on high part and __floor or __ceil on low part then use
19637         ldbl_canonicalize_int if needed.
19639         [BZ #19592]
19640         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
19641         high and low parts then use ldbl_canonicalize_int if needed.
19643         [BZ #17899]
19644         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
19645         New function.
19646         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
19647         on high and low parts then use ldbl_canonicalize_int if needed.
19649 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19651         * configure: Regenerated.
19653         * po/libc.pot: Regenerated.
19655         * po/be.po: Updated translation.
19656         * po/bg.po: Likewise.
19657         * po/ca.po: Likewise.
19658         * po/cs.po: Likewise.
19659         * po/da.po: Likewise.
19660         * po/el.po: Likewise.
19661         * po/eo.po: Likewise.
19662         * po/es.po: Likewise.
19663         * po/fi.po: Likewise.
19664         * po/fr.po: Likewise.
19665         * po/gl.po: Likewise.
19666         * po/hr.po: Likewise.
19667         * po/hu.po: Likewise.
19668         * po/ia.po: Likewise.
19669         * po/id.po: Likewise.
19670         * po/it.po: Likewise.
19671         * po/ja.po: Likewise.
19672         * po/lt.po: Likewise.
19673         * po/nb.po: Likewise.
19674         * po/nl.po: Likewise.
19675         * po/pt_BR.po: Likewise.
19676         * po/rw.po: Likewise.
19677         * po/sk.po: Likewise.
19678         * po/sl.po: Likewise.
19679         * po/sv.po: Likewise.
19680         * po/tr.po: Likewise.
19681         * po/zh_CN.po: Likewise.
19682         * po/zh_TW.po: Likewise.
19684         * version.h (RELEAES): Set to "development".
19685         (VERSION): Set to 2.23.90.
19687         * version.h (RELEASE): Set to "stable".
19688         (VERSION): Set to 2.23.
19689         * include/feature.h (__GLIBC_MINOR__): Set to 23.
19691         * NEWS: Updated fixed bugs.
19693 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
19694             Wilco Dijkstra  <wdijkstr@arm.com>
19696         [BZ #19462]
19697         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
19698         (_STRING_INLINE_unaligned): This.
19699         * include/string.h: Include <string_private.h>.
19700         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
19701         _STRING_INLINE_unaligned.
19702         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
19703         (_STRING_INLINE_unaligned): New.
19704         * sysdeps/aarch64/string_private.h: New file.
19705         * sysdeps/generic/string_private.h: Likewise.
19706         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
19707         * sysdeps/s390/string_private.h: Likewise.
19708         * sysdeps/x86/string_private.h: Likewise.
19709         * sysdeps/m68k/m680x0/m68020/bits/string.h
19710         (_STRING_ARCH_unaligned): Renamed to ...
19711         (_STRING_INLINE_unaligned): This.
19712         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
19713         to ...
19714         (_STRING_INLINE_unaligned): This.
19715         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
19716         to ...
19717         (_STRING_INLINE_unaligned): This.
19718         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
19719         to ...
19720         (_STRING_INLINE_unaligned): This.
19722 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19723             H.J. Lu  <hongjiu.lu@intel.com>
19725         [BZ #19590]
19726         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
19727         relocation.
19729 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
19731         [BZ #18665]
19732         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
19733         *herrno_p.
19734         (gaih_getanswer): Document functional behviour. Return tryagain
19735         if any result is tryagain.
19736         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
19737         when freed.
19738         * resolv/res_send.c: Add copyright text.
19739         (__libc_res_nsend): Document that MAXPACKET is expected.
19740         (send_vc): Document. Remove buffer reuse.
19741         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
19742         size of the buffer. Add Dprint for truncated UDP buffer.
19744 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
19746         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
19747         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
19748         * INSTALL: Regenerate.
19750 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
19751             Jonathan Wakely  <jwakely@redhat.com>
19752             Carlos O'Donell  <carlos@redhat.com>
19754         [BZ 19439]
19755         * math/Makefile (tests): Add test-math-isinff.
19756         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
19757         * math/bits/mathcalls.h [__USE_MISC]: Use
19758         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
19759         functions not in C++11 and which don't conflict e.g. isinff,
19760         isinfl etc.
19761         * math/test-math-isinff.cc: New file.
19763 2016-02-12  Florian Weimer  <fweimer@redhat.com>
19765         * misc/bug18240.c (do_test): Set RLIMIT_AS.
19767 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19769         [BZ #19529]
19770         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
19772 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19774         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19776 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
19778         [BZ #19550]
19779         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
19780         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
19781         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
19782         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
19783         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
19784         New syscall entry.
19785         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
19786         New syscall entry.
19787         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
19788         syscall entry.
19790 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
19792         [BZ #18240]
19793         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
19794         unsigned int wraparound.
19796 2016-01-27  Florian Weimer  <fweimer@redhat.com>
19798         [BZ #18240]
19799         * misc/bug18240.c: New test.
19800         * misc/Makefile (tests): Add it.
19802 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
19803             Joseph Myers  <joseph@codesourcery.com>
19805         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
19806         load in branch delay slot when less than a word of input left.
19808 2016-01-27  Andreas Schwab  <schwab@suse.de>
19810         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
19811         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
19812         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
19813         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
19815 2016-01-26  David S. Miller  <davem@davemloft.net>
19817         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
19819 2016-01-25  David S. Miller  <davem@davemloft.net>
19821         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
19822         __sqrtl_finite.
19823         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
19824         instead using versioned_symbol.
19825         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
19826         of entries.
19828         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
19829         __sqrtl_finite to GLIBC_2.23
19831 2016-01-25  Ricchard Henderson  <rth@redhat.com>
19833         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19835 2016-01-25  Andreas Schwab  <schwab@suse.de>
19837         [BZ #17514]
19838         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
19839         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
19840         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
19841         * nptl/tst-mutex-errorcheck.c: New file.
19843 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19845         [BZ #18560]
19846         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
19847         (IPCOP_semop): Likewise.
19848         (IPCOP_semget): Likewise.
19849         (IPCOP_semctl): Likewise.
19850         (IPCOP_msgsnd): Likewise.
19851         (IPCOP_msgrcv): Likewise.
19852         (IPCOP_msgget): Likewise.
19853         (IPCOP_msgctl): Likewise.
19854         (IPCOP_shmat): Likewise.
19855         (IPCOP_shmdt): Likewise.
19856         (IPCOP_shmget): Likewise.
19857         (IPCOP_shmctl): Likewise.
19859 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
19861         * string/tst-endian.c: Include <libc-internal.h>.
19862         (do_test): Ignore tautological-compare warnings around
19863         "htobeXX (beXXtoh (i)) != i" and
19864         "htoleXX (leXXtoh (i)) != i" if-statements.
19866 2016-01-24  David S. Miller  <davem@davemloft.net>
19868         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
19869         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
19870         alias.
19871         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
19872         __sqrtl_finite.
19874         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19876 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
19878         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
19879         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
19880         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19882 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19884         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
19885         (thread_func): Use new function to simplify barrier check.
19886         (do_test): Use new function to simplify checking barrier exit
19887         code, and actually join the child thread.
19889 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19891         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
19892         semicolon.
19893         (__libc_tend): Likewise.
19894         (__libc_tabort): Likewise.
19896 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
19898         * sysdeps/nios2/libm-test-ulps: Update.
19899         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
19900         (__gtsf2): Likewise.
19901         (__unorddf2): Likewise.
19902         (__unordsf2): Likewise.
19903         (__ledf2): Likewise.
19905 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
19907         * nis/nis_table.c (__follow_path): Disable diagnostic for
19908         uninitialized variable that is a false positive for gcc 4.7.
19909         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
19911 2016-01-20  Roland McGrath  <roland@hack.frob.com>
19913         * sysdeps/nacl/lowlevellock-futex.h
19914         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
19915         Always evaluate PRIVATE argument.
19917 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
19919         [BZ #19490]
19920         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
19921         (pthread_cond_broadcast): Use ENTRY/END
19922         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
19923         (pthread_cond_signal): Likewise.
19924         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
19925         Likewise.
19926         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
19927         Likewise.
19928         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
19929         Likewise.
19931 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
19933         * sysdeps/ieee754/dbl-64/s_finite.c
19934         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
19935         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
19936         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
19937         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
19938         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
19940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
19941         (__gtsf2): Add as optional for libc.so.
19942         (__unordsf2): Likewise.
19943         (__signbit): Remove for libc.so.
19944         (__signbitl): Likewise.
19946 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19948         * iconvdata/bug-iconv11.c (test_ibm93x):
19949         Use %zu printf format specifier for size_t argument.
19951 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
19953         * math/gen-libm-test.pl (parse_ulps): Do not reduce
19954         already-recorded ulps.
19955         * sysdeps/arm/libm-test-ulps: Regenerated.
19956         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19957         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19958         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19960 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19961             Paul Pluzhnikov  <ppluzhnikov@google.com>
19963         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
19964         assembler not supporting AVX-512.
19966 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
19968         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19970 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
19972         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19973         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19975         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19977         * sysdeps/arm/libm-test-ulps: Regenerated.
19979 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19981         [BZ #19451]
19982         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
19984 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19986         [BZ #19486]
19987         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
19988         * sysdeps/generic/fix-fp-int-convert-overflow.h
19989         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
19990         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
19991         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
19992         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
19993         Likewise.
19994         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
19995         Avoid conversions to long int where inexact exceptions
19996         could be raised.
19997         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
19998         Likewise.
19999         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
20000         Avoid conversions to long long int where inexact exceptions
20001         could be raised.
20002         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
20003         Likewise.
20005 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
20007         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
20008         * configure: Regenerated.
20010 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
20012         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
20014 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
20016         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
20017         outside of comment.
20019 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20021         * nptl/tst-barrier1.c: Add description on first line.
20022         * nptl/tst-barrier2.c: Likewise.
20023         * nptl/tst-barrier3.c: Likewise.
20024         * nptl/tst-barrier4.c: Likewise.
20025         * nptl/tst-barrier5.c: Likewise.
20027 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20029         [BZ #18868]
20030         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
20032 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
20034         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
20035         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
20036         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
20037         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
20038         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
20039         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
20040         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20041         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20042         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20043         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20044         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20046 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20048         [BZ #13065]
20049         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
20050         new implementation.
20051         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
20052         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
20053         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
20054         (BARRIER_IN_THRESHOLD): New macro.
20055         * nptl/pthread_barrierattr_setpshared.c
20056         (pthread_barrierattr_setpshared): Clean up.
20057         * nptl/tst-barrier4.c: Correct comment.
20058         * nptl/tst-barrier5.c: New file.
20059         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
20060         (gen-as-const-headers): Remove lowlevelbarrier.sym.
20061         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
20062         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
20063         * nptl/lowlevelbarrier.sym: Remove.
20064         * nptl/DESIGN-barrier.txt: Remove.
20065         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
20066         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
20067         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
20068         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
20069         error.
20070         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
20071         implementation.
20073 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20075         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
20076         (do_child): Mask SIGRTMIN while thr is running.
20078 2016-01-15  Martin Sebor  <msebor@redhat.com>
20080         [BZ #19432]
20081         * iconvdata/Makefile: Add bug-iconv11.
20082         * iconvdata/bug-iconv11.c: New test.
20083         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
20084         * iconvdata/ibm933.c: Same.
20085         * iconvdata/ibm935.c: Same.
20086         * iconvdata/ibm937.c: Same.
20087         * iconvdata/ibm939.c: Same.
20089 2016-01-15  Martin Sebor  <msebor@redhat.com>
20091         [BZ #19443]
20092         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
20093         [DEBUG] (_ufc_set_bits): Declare used.
20094         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
20095         [DEBUG] (print_all): Declare used.
20096         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
20097         operands of the ternary ?: expression to target type.
20098         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
20099         calling the undeclared abort.
20100         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
20102 2016-01-15  Martin Sebor  <msebor@redhat.com>
20104         [BZ #18755]
20105         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
20106         warnings.
20107         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
20108         (__gai_create_helper_thread): Same.
20109         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
20110         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
20111         to suppress -Wmaybe-uninitialized warnings.
20113 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
20115         [BZ #19465]
20116         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
20117         inside if.
20118         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20119         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20120         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20122 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
20124         [BZ #19466]
20125         * time/tst-mktime2.c (time_t_max): Removed.
20126         (time_t_min): Likewise.
20127         (TYPE_SIGNED): New.
20128         (TYPE_MINIMUM): Likewise.
20129         (TYPE_MAXIMUM): Likewise.
20130         (TIME_T_MIN): Likewise.
20131         (TIME_T_MAX): Likewise.
20132         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
20133         and TIME_T_MIN.
20134         (do_test): Likewise.
20136 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
20138         [BZ #19467]
20139         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20140         index_Fast_Unaligned_Load flag for Excavator family CPUs.
20142 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
20144         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
20146 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
20148         * benchtests/Makefile (PYTHON): Define.
20149         (bench-func): Use $(PYTHON) to run python scripts.
20150         ($(objpfx)bench-%.c): Likewise.
20152 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
20154         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
20155         leading slash when `file_name' is "/".
20157 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
20159         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
20160         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
20161         Likewise.
20162         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
20163         Likewise.
20164         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
20165         Likewise.
20166         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
20167         enum constant and macro.
20168         (PTRACE_SETSIGMASK): Likewise.
20169         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20170         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20171         (PTRACE_GETSIGMASK): Likewise.
20172         (PTRACE_SETSIGMASK): Likewise.
20173         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20174         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
20175         Likewise.
20176         (PTRACE_SETSIGMASK): Likewise.
20177         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20178         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20179         (PTRACE_GETSIGMASK): Likewise.
20180         (PTRACE_SETSIGMASK): Likewise.
20181         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20182         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
20183         Likewise.
20184         (PTRACE_SETSIGMASK): Likewise.
20185         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20186         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
20187         Likewise.
20188         (PTRACE_SETSIGMASK): Likewise.
20189         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20190         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
20191         Likewise.
20192         (PTRACE_SETSIGMASK): Likewise.
20193         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20195 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
20196             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20198         [BZ #19439]
20199         * math/bits/mathcalls.h
20200         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
20201         prototype.
20202         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
20204 2016-01-11  Andreas Schwab  <schwab@suse.de>
20206         [BZ #19253]
20207         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
20208         cache when TZDEFRULES was used.
20209         * time/tst-tzname.c: New file.
20210         * time/Makefile (test): Add tst-tzname.
20211         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
20212         * timezone/Makefile (test-zones): Add $(posixrules-file).
20213         ($(testdata)/$(posixrules-file)): New rule.
20215 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
20217         Fix doc quoting problems with Texinfo 5
20218         Without this change, in the info file output, Texinfo 5 quotes code
20219         in text with undirected single quotes 'like this' and generates
20220         code examples that with many PDF readers cannot be cut out of PDFs
20221         and pasted into code.
20222         * manual/libc.texinfo: Configure the libc manual like the GNU
20223         Emacs manual, by using @documentencoding and setting
20224         txicodequoteundirected and txicodequotebacktick.  This way,
20225         Texinfo 5 quotes code in text with directed single quotes ‘like
20226         this’ and produces examples that can be cut out of PDFs.  This
20227         change causes Texinfo 5 to generate info files that contain UTF-8
20228         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
20229         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
20231 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20233         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
20234         __libc_tabort, __libc_tend): New wrappers that enforce compiler
20235         barriers to their respective compiler built-ins.
20236         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
20237         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
20238         * sysdeps/powerpc/sysdep.h: Likewise.
20239         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
20240         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
20241         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
20243 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
20245         * scripts/config.guess: Revert previous shebang change.
20246         * scripts/config.sub: Likewise.
20247         * scripts/mkinstalldirs: Likewise.
20249 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20251         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
20252         PPC_FEATURE2_HAS_IEEE128.
20253         * sysdeps/powerpc/dl-procinfo.c:
20254         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
20256 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
20258         [BZ #19415]
20259         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
20260         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
20261         (_dl_lookup_address): Rewrite using function resolver trampoline.
20262         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
20263         two bits in address.
20265 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
20267         * longlong.h: Change !__SHMEDIA__ to
20268         (!defined (__SHMEDIA__) || !__SHMEDIA__).
20269         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
20271 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
20272             Joseph Myers  <joseph@codesourcery.com>
20273             Mark Shinwell  <shinwell@codesourcery.com>
20274             Andrew Stubbs  <ams@codesourcery.com>
20275             Rich Felker <dalias@libc.org>
20277         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
20279 2016-01-07  Richard Henderson  <rth@redhat.com>
20281         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
20283 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
20285         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
20286         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
20287         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20288         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20289         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
20291 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
20292             Joseph Myers  <joseph@codesourcery.com>
20294         * timezone/private.h: Update from tzcode 2015g.
20295         * timezone/tzfile.h: Likewise.
20296         * timezone/tzselect.ksh: Likewise.
20297         * timezone/zdump.c: Likewise.
20298         * timezone/zic.c: Likewise.
20299         * timezone/ialloc.c: Remove file.
20300         * timezone/scheck.c: Likewise.
20301         * timezone/Makefile (extra-objs): Remove variable.
20302         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
20303         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
20304         -Wno-maybe-uninitialized.
20305         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
20306         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
20307         (CFLAGS-ialloc.c): Remove variable.
20308         (CFLAGS-scheck.c): Likewise.
20309         * timezone/README: Update list of files from tzcode.
20311 2016-01-07  Khem Raj  <raj.khem@gmail.com>
20313         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
20314         instead of __fxprintf when _LIBC is undefined.
20316 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
20318         * catgets/test-gencat.sh: Remove space after shebang.
20319         * conform/GlibcConform.pm: Likewise.
20320         * conform/check-header-lists.sh: Likewise.
20321         * conform/conformtest.pl: Likewise.
20322         * conform/linknamespace.pl: Likewise.
20323         * conform/list-header-symbols.pl: Likewise.
20324         * debug/catchsegv.sh: Likewise.
20325         * elf/genrtldtbl.awk: Likewise.
20326         * elf/tst-pathopt.sh: Likewise.
20327         * elf/tst-rtld-load-self.sh: Likewise.
20328         * grp/tst_fgetgrent.sh: Likewise.
20329         * iconvdata/gen-8bit-gap-1.sh: Likewise.
20330         * iconvdata/gen-8bit-gap.sh: Likewise.
20331         * iconvdata/gen-8bit.sh: Likewise.
20332         * iconvdata/run-iconv-test.sh: Likewise.
20333         * intl/tst-gettext.sh: Likewise.
20334         * intl/tst-gettext2.sh: Likewise.
20335         * intl/tst-gettext4.sh: Likewise.
20336         * intl/tst-gettext6.sh: Likewise.
20337         * intl/tst-translit.sh: Likewise.
20338         * io/ftwtest-sh: Likewise.
20339         * libio/test-freopen.sh: Likewise.
20340         * locale/gen-translit.pl: Likewise.
20341         * malloc/tst-mtrace.sh: Likewise.
20342         * manual/check-safety.sh: Likewise.
20343         * manual/libc-texinfo.sh: Likewise.
20344         * manual/tsort.awk: Likewise.
20345         * manual/xtract-typefun.awk: Likewise.
20346         * nptl/tst-cancel-wrappers.sh: Likewise.
20347         * nptl/tst-tls6.sh: Likewise.
20348         * posix/globtest.sh: Likewise.
20349         * posix/tst-getconf.sh: Likewise.
20350         * posix/wordexp-tst.sh: Likewise.
20351         * scripts/check-c++-types.sh: Likewise.
20352         * scripts/check-local-headers.sh: Likewise.
20353         * scripts/config.guess: Likewise.
20354         * scripts/config.sub: Likewise.
20355         * scripts/cpp: Likewise.
20356         * scripts/cross-test-ssh.sh: Likewise.
20357         * scripts/documented.sh: Likewise.
20358         * scripts/evaluate-test.sh: Likewise.
20359         * scripts/gen-libc-abis: Likewise.
20360         * scripts/gen-sorted.awk: Likewise.
20361         * scripts/list-fixed-bugs.py: Likewise.
20362         * scripts/merge-test-results.sh: Likewise.
20363         * scripts/mkinstalldirs: Likewise.
20364         * scripts/rellns-sh: Likewise.
20365         * scripts/test-installation.pl: Likewise.
20366         * scripts/update-copyrights: Likewise.
20367         * stdio-common/tst-printf.sh: Likewise.
20368         * stdio-common/tst-unbputc.sh: Likewise.
20369         * stdlib/tst-fmtmsg.sh: Likewise.
20370         * stdlib/tst-setcontext3.sh: Likewise.
20371         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
20372         * sysdeps/unix/make-syscalls.sh: Likewise.
20374 2016-01-06  John David Anglin  <dave.anglin@bell.net>
20376         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
20377         asm stw with atomic_exchange_rel.  Add explanatory comment.
20378         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20379         Likewise.
20381 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
20383         [BZ #19122]
20384         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
20385         * sysdeps/generic/dl-unistd.h: New file.
20386         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
20388 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
20390          [BZ #19122]
20391          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
20392          * sysdeps/generic/dl-mman.h: New file.
20393          * sysdeps/mach/hurd/dl-mman.h: Likewise.
20395 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
20397         * manual/texinfo.tex: Update to version 2016-01-04.21 with
20398         trailing whitespace removed.
20399         * scripts/config.guess: Update to version 2016-01-01.
20400         * scripts/config.sub: Update to version 2016-01-01.
20401         * scripts/move-if-change: Update from gnulib.
20403 2016-01-04  Anton Blanchard  <anton@samba.org>
20405         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
20406         for array indices.
20407         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
20409 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
20411         * NEWS: Update copyright dates.
20412         * catgets/gencat.c (print_version): Likewise.
20413         * csu/version.c (banner): Likewise.
20414         * debug/catchsegv.sh: Likewise.
20415         * debug/pcprofiledump.c (print_version): Likewise.
20416         * debug/xtrace.sh (do_version): Likewise.
20417         * elf/ldconfig.c (print_version): Likewise.
20418         * elf/ldd.bash.in: Likewise.
20419         * elf/pldd.c (print_version): Likewise.
20420         * elf/sotruss.sh: Likewise.
20421         * elf/sprof.c (print_version): Likewise.
20422         * iconv/iconv_prog.c (print_version): Likewise.
20423         * iconv/iconvconfig.c (print_version): Likewise.
20424         * locale/programs/locale.c (print_version): Likewise.
20425         * locale/programs/localedef.c (print_version): Likewise.
20426         * login/programs/pt_chown.c (print_version): Likewise.
20427         * malloc/memusage.sh (do_version): Likewise.
20428         * malloc/memusagestat.c (print_version): Likewise.
20429         * malloc/mtrace.pl: Likewise.
20430         * manual/libc.texinfo: Likewise.
20431         * nptl/version.c (banner): Likewise.
20432         * nscd/nscd.c (print_version): Likewise.
20433         * nss/getent.c (print_version): Likewise.
20434         * nss/makedb.c (print_version): Likewise.
20435         * posix/getconf.c (main): Likewise.
20436         * scripts/test-installation.pl: Likewise.
20437         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20439         * All files with FSF copyright notices: Update copyright dates
20440         using scripts/update-copyrights.
20441         * intl/plural.c: Regenerated.
20442         * locale/programs/charmap-kw.h: Likewise.
20443         * locale/programs/locfile-kw.h: Likewise.
20445 2016-01-02  Helge Deller  <deller@gmx.de>
20447         [BZ #19285]
20448         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
20449         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
20450         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
20451         (MADV_xxK_PAGES): Remove.
20453 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
20455         [BZ #15421]
20456         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
20457         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
20458         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
20459         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
20461 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
20463         [BZ #19408]
20464         * sysdeps/unix/sysv/linux/personality.c: New file.
20465         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
20466         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
20467         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
20468         (sysdep_routines): Add personality.
20469         (tests): Add tst-personality.
20470         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
20471         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
20472         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
20473         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
20474         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
20475         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
20476         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
20477         Likewise.
20478         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
20479         Likewise.
20480         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
20481         Likewise.
20482         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
20483         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
20484         Likewise.
20486 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
20488         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
20489         (PATH_ARM_SYSTYPE): Remove.
20490         (PATH_CPUINFO): Likewise.
20491         (IO_BASE_FOOTBRIDGE): Likewise.
20492         (IO_SHIFT_FOOTBRIDGE): Likewise.
20493         (struct platform): Likewise.
20494         (init_iosys): Remove compatibility code for 2.4 kernels.
20495         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
20497 2015-12-29  Florian Weimer  <fweimer@redhat.com>
20499         * malloc/tst-malloc-thread-fail.c: New file.
20500         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
20501         (tst-malloc-thread-fail): Link against libpthread.
20503 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
20505         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
20506         (get_parser): New function.
20507         (main): New function.
20509 2015-12-29  Rob Wu  <rob@robwu.nl>
20511         [BZ #19369]
20512         * resolv/res_init.c (__res_vinit): Reset defdname before use.
20514 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
20516         [BZ #19270]
20517         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
20519 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
20521         [BZ #15421]
20522         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
20524 2015-12-23  Torvald Riegel  <triegel@redhat.com>
20526         [BZ #13690]
20527         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
20528         after releasing it.
20529         (__lll_robust_unlock): Likewise.
20530         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20531         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
20532         (lll_robust_unlock): Likewise.
20533         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
20534         Prevent warnings in callers.
20536 2015-12-23  Florian Weimer  <fweimer@redhat.com>
20538         * malloc/arena.c (list_lock): Update comment.
20540 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20542         * sysdeps/powerpc/hwcapinfo.c: Export symbol
20543         __parse_hwcap_and_convert_at_platform to libc.a.
20545 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20547         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
20548         platform and feature support for POWER9.
20549         * sysdeps/powerpc/dl-procinfo.h: Likewise.
20550         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
20551         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
20552         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
20553         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
20554         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
20555         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
20556         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
20558 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20560         Harmonize generic stdio-lock support with nptl
20562         This fixes build when _IO_funlockfile is a macro, fixes build where
20563         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
20564         stack unwind.
20566         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
20567         _IO_release_lock ): Use cleanup attribute on new
20568         _IO_acquire_lock_file variable instead of assuming that
20569         _IO_release_lock will be called.
20570         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
20571         _IO_acquire_lock_needs_exceptions_enabled.
20572         (_IO_acquire_lock_clear_flags2): New macro.
20574 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20576         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
20578 2015-12-21  Florian Weimer  <fweimer@redhat.com>
20580         [BZ #19182]
20581         * malloc/arena.c (list_lock): Document lock ordering requirements.
20582         (free_list_lock): New lock.
20583         (ptmalloc_lock_all): Comment on free_list_lock.
20584         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
20585         (detach_arena): Update comment.  free_list_lock is now needed.
20586         (_int_new_arena): Use free_list_lock around detach_arena call.
20587         Acquire arena lock after list_lock.  Add comment, including FIXME
20588         about incorrect synchronization.
20589         (get_free_list): Switch to free_list_lock.
20590         (reused_arena): Acquire free_list_lock around detach_arena call
20591         and attached threads counter update.  Add two FIXMEs about
20592         incorrect synchronization.
20593         (arena_thread_freeres): Switch to free_list_lock.
20594         * malloc/malloc.c (struct malloc_state): Update comments to
20595         mention free_list_lock.
20597 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20599         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
20600         Remove functions.
20601         (sloww, sloww1): Accept argument to offset quadrant.
20602         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
20603         quadrant.
20604         (__sin, __cos): Consolidate common code into new functions.
20605         (reduce_sincos_1, do_sincos_1): New functions.
20606         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
20608         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
20609         code to new functions.
20610         (reduce_sincos_2, do_sincos_2): New functions.
20611         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
20613         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
20614         common code for sincos.
20615         (__cos) [!IN_SINCOS]: Likewise.
20616         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
20617         New function.
20618         (__sincos): Use it.
20620 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
20622         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
20623         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
20624         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20626 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20628         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
20629         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
20630         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
20631         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
20632         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20633         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
20634         index_Prefer_No_VZEROUPPER): New feature.
20635         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
20636         Prefer_No_VZEROUPPER for Knights Landing.
20638 015-12-18  Torvald Riegel  <triegel@redhat.com>
20640         * math/atest-exp2.c (mp_exp_m1): Remove.
20642 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20644         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
20645         syscalls.
20646         (__SYSCALL0): New macro.
20647         (__SYSCALL1): Likewise.
20648         (__SYSCALL2): Likewise.
20649         (__SYSCALL3): Likewise.
20650         (__SYSCALL4): Likewise.
20651         (__SYSCALL5): Likewise.
20652         (__SYSCALL6): Likewise.
20653         (__SYSCALL_CONCAT_X): Likewise.
20654         (__SYSCALL_CONCAT): Likewise.
20655         (__SYSCALL_DIST): Likewise.
20656         (__SYSCALL_CALL): Likewise.
20658 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
20660         [BZ #19363]
20661         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
20663 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20665         [BZ #19375]
20666         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
20667         negative subnormals.
20669 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
20671         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20672         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
20673         (INTERNAL_SYSCALL_NCS): Use it.
20674         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20676 2015-12-16  Florian Weimer  <fweimer@redhat.com>
20678         [BZ #19243]
20679         * malloc/arena.c (get_free_list): Remove assert and adjust
20680         reference count handling.  Add comment about reused_arena
20681         interaction.
20682         (reused_arena): Add comments abount get_free_list interaction.
20683         * malloc/tst-malloc-thread-exit.c: New file.
20684         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
20685         (tst-malloc-thread-exit): Link against libpthread.
20687 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
20689         [BZ #19367]
20690         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
20691         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
20692         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
20693         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
20694         (index_Prefer_MAP_32BIT_EXEC): Likewise.
20696 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
20698         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
20699         Silvermont optimizations for Knights Landing.
20701 2015-12-15  Andreas Schwab  <schwab@suse.de>
20703         [BZ #17197]
20704         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
20705         immediately after emitting SI.
20706         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
20707         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
20708         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
20709         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
20710         * iconvdata/bug-iconv10.c: New file.
20711         * iconvdata/Makefile (tests): Add bug-iconv10.
20712         ($(objpfx)bug-iconv10.out): New rule.
20714 2015-12-15  Florian Weimer  <fweimer@redhat.com>
20716         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
20717         aliasing violation.
20719 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
20721         [BZ #18472]
20722         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
20723         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
20724         conditionals for them.
20725         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
20726         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
20727         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
20728         sys/kdaemon.h.
20729         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
20730         compat-only syscall, obsoleted in glibc 2.23.
20731         (create_module): Likewise.
20732         (get_kernel_syms): Likewise.
20733         (query_module): Likewise.
20734         (uselib): Likewise.
20735         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
20737 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
20739         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
20740         <linux/version.h>.
20741         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
20742         conditional code.
20743         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
20744         and ioshift_name initialization.
20746 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20748         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20749         Fix indentation.
20751 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20753         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
20755 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20757         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
20759 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
20760             Jakub Wilk  <jwilk@debian.org>
20762         [BZ #19347]
20763         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
20764         to change the group of the device to the tty group.
20766 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
20768         Split large string section; add truncation advice
20769         * manual/examples/strncat.c: Remove.
20770         This example was misleading, as the code would have undefined
20771         behavior if "hello" was longer than SIZE.  Anyway, the manual
20772         shouldn't encourage strncpy+strncat for this sort of thing.
20773         * manual/string.texi (Copying Strings and Arrays): Split into
20774         three sections Copying Strings and Arrays, Concatenating Strings,
20775         and Truncating Strings, as this section was way too long.  All
20776         cross-referenced changed.  Add advice about string-truncation
20777         functions.  Remove misleading strncat example.
20779 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
20781         * manual/nss.texi (NSS Modules Interface): Document
20782         NSS_STATUS_NOTFOUND and SUCCESS.
20784 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
20786         [BZ 18568]
20787         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20788         201505L, for Unicode 8.
20790 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
20792         * locale/C-translit.h: Regenerate.
20794 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
20796         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
20797         and U+0153.
20799 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
20801         [BZ #19351]
20802         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
20803         expanding log(1+z), compare z rather than its square with epsilon
20804         to determine when to avoid evaluating the expansion.
20806         [BZ #19350]
20807         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20808         Increase overflow threshold.
20810         [BZ #19349]
20811         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
20812         when small.
20814         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20815         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
20816         New macro.
20817         [__LINUX_KERNEL_VERSION >= 0x040300]
20818         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20819         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
20820         Likewise.
20821         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
20822         Likewise.
20823         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
20824         Likewise.
20825         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
20826         Likewise.
20827         [__LINUX_KERNEL_VERSION >= 0x040300]
20828         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
20829         [__LINUX_KERNEL_VERSION >= 0x040300]
20830         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20831         [__LINUX_KERNEL_VERSION >= 0x040300]
20832         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20833         [__LINUX_KERNEL_VERSION >= 0x040300]
20834         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20835         [__LINUX_KERNEL_VERSION >= 0x040300]
20836         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20837         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
20838         Likewise.
20839         [__LINUX_KERNEL_VERSION >= 0x040300]
20840         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
20841         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20842         Likewise.
20843         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
20844         Likewise.
20845         [__LINUX_KERNEL_VERSION >= 0x040300]
20846         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
20847         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20848         Likewise.
20849         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
20850         Likewise.
20851         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20852         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
20853         Likewise.
20854         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
20855         Likewise.
20856         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
20857         Likewise.
20858         [__LINUX_KERNEL_VERSION >= 0x040300]
20859         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20860         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
20861         Likewise.
20862         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
20863         Likewise.
20864         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
20865         Likewise.
20866         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
20867         Likewise.
20868         [__LINUX_KERNEL_VERSION >= 0x040300]
20869         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
20870         [__LINUX_KERNEL_VERSION >= 0x040300]
20871         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20872         [__LINUX_KERNEL_VERSION >= 0x040300]
20873         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20874         [__LINUX_KERNEL_VERSION >= 0x040300]
20875         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20876         [__LINUX_KERNEL_VERSION >= 0x040300]
20877         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20878         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
20879         Likewise.
20880         [__LINUX_KERNEL_VERSION >= 0x040300]
20881         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
20882         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20883         Likewise.
20884         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
20885         Likewise.
20886         [__LINUX_KERNEL_VERSION >= 0x040300]
20887         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
20888         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20889         Likewise.
20890         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
20891         Likewise.
20892         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20893         (__ASSUME_SOCKET_SYSCALL): Likewise.
20894         (__ASSUME_BIND_SYSCALL): Likewise.
20895         (__ASSUME_CONNECT_SYSCALL): Likewise.
20896         (__ASSUME_LISTEN_SYSCALL): Likewise.
20897         (__ASSUME_ACCEPT_SYSCALL): Likewise.
20898         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20899         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20900         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20901         (__ASSUME_SEND_SYSCALL): Likewise.
20902         (__ASSUME_SENDTO_SYSCALL): Likewise.
20903         (__ASSUME_RECV_SYSCALL): Likewise.
20904         (__ASSUME_RECVFROM_SYSCALL): Likewise.
20905         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
20906         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20907         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20908         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20909         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20910         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20911         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
20912         Likewise.
20913         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
20914         Likewise.
20915         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
20916         Likewise.
20917         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
20918         Likewise.
20919         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
20920         Likewise.
20921         [__LINUX_KERNEL_VERSION >= 0x020625]
20922         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20923         [__LINUX_KERNEL_VERSION >= 0x020625]
20924         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20925         [__LINUX_KERNEL_VERSION >= 0x020625]
20926         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20927         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
20928         Likewise.
20929         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
20930         Likewise.
20931         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
20932         Likewise.
20933         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
20934         Likewise.
20935         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
20936         Likewise.
20937         [__LINUX_KERNEL_VERSION >= 0x020625]
20938         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20939         [__LINUX_KERNEL_VERSION >= 0x020625]
20940         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20941         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
20942         Likewise.
20943         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
20944         Likewise.
20946 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20948         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
20949         record the current if the current ABI and CPU support the FP64
20950         extension.
20951         (has-modd-spreg): Define to record the current if the current ABI and
20952         CPU support 32-bit floating point values in odd FPU registers.
20953         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20954         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
20955         $(has-modd-spreg) equals yes.
20956         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
20957         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
20958         $(has-modd-spreg) equal yes.
20960 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20962         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
20963         basename.
20965 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
20967         * benchtests/Makefile (bench-math): Move ffs and ffsll...
20968         (bench-string): ... here.
20969         (bench): Add bench-string.
20970         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
20971         to *-benchset to reflect what they are.
20972         (benchset): Adjust.
20974         * benchtests/sincos-inputs: Add inputs from sin-inputs and
20975         cos-inputs.
20977 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
20979         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
20980         __attribute__ ((__simd__)) for vector math function declarations.
20982 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20984         Fix typo in strncat, wcsncat manual entries
20985         * manual/string.texi (Copying and Concatenation): Fix typos in
20986         sample implementations of strncat and wcsncat, by having them use
20987         the old value of the destination length, not the new one.
20989 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
20991         [BZ #16961]
20992         [BZ #16962]
20993         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
20994         string on the stack for strtod.
20995         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
20996         a string on the stack for strtof.
20997         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
20998         constructing a string on the stack for strtold.
20999         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
21000         __strtold_nan to GLIBC_PRIVATE.
21001         * math/test-nan-overflow.c: New file.
21002         * math/test-nan-payload.c: Likewise.
21003         * math/Makefile (tests): Add test-nan-overflow and
21004         test-nan-payload.
21006 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21008         Consistency about byte vs character in string.texi
21009         * manual/string.texi (String and Array Utilities):
21010         Distinguish more carefully among bytes, multibyte characters,
21011         and wide characters.  Use "byte" when talking about C 'char',
21012         to distinguish it more clearly from multibyte characters.
21013         Say "wide character" or "multibyte character" instead of
21014         "character", when a wide or multibyte character is intended.
21015         Similarly for "multibyte string" versus "string".
21016         Define these terms more carefully.
21018 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
21020         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
21021         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
21022         Likewise.
21023         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21024         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21025         * sysdeps/sh/math_private.h: New file.
21026         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
21027         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
21028         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
21029         long double function name.
21030         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21031         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21032         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21033         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21034         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21036         Remove __finitel, __isinfl, and __isnanl.
21037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21038         Likewise.
21039         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21041         Remove __finitel.
21042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21043         Likewise.
21044         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21046 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
21048         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
21049         installed libmvec_nonshared.a.
21051 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21053         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
21054         (sysdep_routines): Likewise.
21055         (sysdep-rtld-routines): Likewise.
21056         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
21057         [$(subdir) = nptl](tests-static): test-get_hwcap-static
21058         * sysdeps/powerpc/Versions: Added new
21059         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
21060         * sysdeps/powerpc/hwcapinfo.c: New file.
21061         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
21062         and parse hwcap, hwcap2 and platform number information.
21063         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
21064         to store HWCAP+HWCAP2 and platform number.
21065         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
21066         for HWCAP+HWCAP2 and platform number in the TCB.
21067         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
21068         the HWCAP, HWCAP2 and platform number in the TCB.
21069         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
21070         (TLS_INIT_TP): Included calls to add the hwcap and
21071         at_platform values in the TCB in TP initialization.
21072         (TLS_DEFINE_INIT_TP): Likewise.
21073         (THREAD_GET_HWCAP): New macro.
21074         (THREAD_SET_HWCAP): Likewise.
21075         (THREAD_GET_AT_PLATFORM): Likewise.
21076         (THREAD_SET_AT_PLATFORM): Likewise.
21077         * sysdeps/powerpc/powerpc32/dl-machine.h:
21078         (dl_platform_init): New function that calls
21079         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
21080         powerpc32.
21081         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
21082         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
21083         this functionality, static linking case.
21084         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
21085         linking case.
21086         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
21087         __parse_hwcap_and_convert_at_platform for the static linking case.
21088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
21089         Included the new __parse_hwcap_and_convert_at_platform symbol in the
21090         ABI list for GLIBC 2.23.
21091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
21092         Likewise.
21093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
21094         Likewise.
21096 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
21098         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
21099         * configure: Regenerate.
21100         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
21101         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
21103 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
21105         * iconvdata/ibm930.c: Add comment explaining encoding uses.
21106         * iconvdata/ibm933.c: Likewise.
21107         * iconvdata/ibm935.c: Likewise.
21108         * iconvdata/ibm937.c: Likewise.
21109         * iconvdata/ibm939.c: Likewise.
21111 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21113         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
21114         pthread_join.
21115         * nptl/tst-cancel21.c (tf): Likewise.
21117 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
21119         [BZ #19313]
21120         * bits/typesizes.h (__CPU_MASK_TYPE): New.
21121         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
21122         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
21123         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
21124         Likewise.
21125         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
21126         Likewise.
21127         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
21128         Likewise.
21129         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
21130         Likewise.
21131         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
21132         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
21133         unsigned long int with __CPU_MASK_TYPE.
21135 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21137         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21139 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
21141         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
21142         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
21143         t512.x.
21144         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
21146 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
21148         [BZ #19214]
21149         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
21150         argument to return extended model.  Update family and model
21151         with extended family and model when family == 0x0f.
21152         (init_cpu_features): Updated.
21154 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21156         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
21157         signed off_t, so 32bit bigger than 2GiB values are fine actually.
21159         * sysdeps/mach/hurd/mmap64.c: New file.
21161 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
21163         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
21164         rights for its main user thread in NEWTASK.
21166 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
21168         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
21169         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
21171 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
21173         [BZ #14259]
21174         * Makeconfig: Rename localedir to complocaledir.
21175         Rename inst_localedir to inst_complocaledir.
21176         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
21177         * config.make.in: Use complocaledir and libc_cv_complocaledir.
21178         * configure.ac: Use libc_cv_complocaledir.
21179         * configure: Regenerate.
21180         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
21181         -DCOMPLOCALEDIR.
21182         * locale/findlocale.c: Use COMPLOCALEDIR.
21183         * locale/loadarchive.c: Likewise.
21184         * locale/programs/locale.c: Likewise.
21185         * locale/programs/localedef.c: Likewise.
21186         * locale/programs/locarchive.c: Likewise.
21187         * localedata/Makefile: Use inst_complocaledir.
21188         * sysdeps/gnu/configure: Regenerate.
21189         * sysdeps/hppa/configure: Regenerate.
21190         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
21191         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21193         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
21194         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
21195         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
21196         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
21198 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
21200         [BZ #19058]
21201         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
21202         AS_NEEDED.
21203         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
21204         workaround.
21205         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
21206         libmvec-static-only-routines): Added new file.
21207         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
21209 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21211         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
21212         of interrupted RPC instead of restoring it.
21214         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
21215         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
21216         libc_hidden_def.
21217         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
21218         into initialized data instead of common. Define rtld_hidden_data_def.
21219         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
21220         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
21221         libc_hidden_def.
21222         (if_freenameindex): Add libc_hidden_weak.
21223         (if_nameindex): Add libc_hidden_weak.
21224         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
21225         __open64.
21226         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
21227         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
21228         * sysdeps/mach/nanosleep.c: Include <time.h>
21229         (__nanosleep): Rename to __libc_nanosleep.
21230         (__nanosleep): Add weak_alias.
21231         (nanosleep): Update alias.
21233 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
21235         * stdlib/strtod_nan.c: New file.
21236         * stdlib/strtod_nan_double.h: Likewise.
21237         * stdlib/strtod_nan_float.h: Likewise.
21238         * stdlib/strtod_nan_main.c: Likewise.
21239         * stdlib/strtod_nan_narrow.h: Likewise.
21240         * stdlib/strtod_nan_wide.h: Likewise.
21241         * stdlib/strtof_nan.c: Likewise.
21242         * stdlib/strtold_nan.c: Likewise.
21243         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
21244         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
21245         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
21246         * wcsmbs/wcstod_nan.c: Likewise.
21247         * wcsmbs/wcstof_nan.c: Likewise.
21248         * wcsmbs/wcstold_nan.c: Likewise.
21249         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
21250         strtold_nan.
21251         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
21252         wcstof_nan.
21253         * include/stdlib.h (__strtof_nan): Declare and use
21254         libc_hidden_proto.
21255         (__strtod_nan): Likewise.
21256         (__strtold_nan): Likewise.
21257         (__wcstof_nan): Likewise.
21258         (__wcstod_nan): Likewise.
21259         (__wcstold_nan): Likewise.
21260         * include/wchar.h (____wcstoull_l_internal): Declare.
21261         * stdlib/strtod_l.c: Do not include <ieee754.h>.
21262         (____strtoull_l_internal): Remove declaration.
21263         (STRTOF_NAN): Define macro.
21264         (SET_MANTISSA): Remove macro.
21265         (STRTOULL): Likewise.
21266         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
21267         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
21268         (STRTOF_NAN): Define macro.
21269         (SET_MANTISSA): Remove macro.
21270         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
21271         (SET_MANTISSA): Remove macro.
21272         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
21273         macro.
21274         (SET_MANTISSA): Remove macro.
21275         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
21276         macro.
21277         (SET_MANTISSA): Remove macro.
21278         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
21279         (SET_MANTISSA): Remove macro.
21280         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
21281         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
21282         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
21284         [BZ #19266]
21285         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
21286         upper case and lower case letters inside NAN(), not using TOLOWER.
21287         * stdlib/tst-strtod-nan-locale-main.c: New file.
21288         * stdlib/tst-strtod-nan-locale.c: Likewise.
21289         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
21290         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
21291         Depend on $(gen-locales).
21292         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
21293         * wcsmbs/tst-wcstod-nan-locale.c: New file.
21294         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
21295         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
21296         Depend on $(gen-locales).
21297         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
21299 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
21301         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
21303         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
21305         __finitel, __isinfl, and __isnanl.
21306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21307         Likewise.
21308         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
21310         __finitel.
21311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21312         Likewise.
21313         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21315 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21317         * malloc/memusage.c (me): Remove redundant getenv call.
21319 2015-10-24  Florian Weimer  <fweimer@redhat.com>
21321         [BZ #19143]
21322         [BZ #19164]
21323         * nptl/check-cpuset.h: Remove.
21324         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21325         Remove CPU set size check.
21326         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21327         Likewise.
21328         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
21329         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21330         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
21331         (__pthread_setaffinity_new): Remove CPU set size check.
21332         * sysdeps/unix/sysv/linux/sched_setaffinity.c
21333         (__kernel_cpumask_size): Remove.
21334         (__sched_setaffinity_new): Remove CPU set size check.
21335         * manual/threads.texi (Default Thread Attributes): Remove stale
21336         reference to check_cpuset_attr, determine_cpumask_size in comment.
21337         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
21338         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
21339         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
21340         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
21341         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
21342         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
21343         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
21344         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
21345         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
21346         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
21347         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
21348         skeleton test file.
21349         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
21350         tst-affinity-pid.
21352 2015-11-24  Florian Weimer  <fweimer@redhat.com>
21354         * scripts/update-abilist.sh: New file.
21355         * Makefile (+subdir_targets): Add subdir_update-all-abi.
21356         * Makerules (update-all-abi-%, update-all-abi)
21357         (subdir_update-all-abi): New targets.
21358         * elf/Makefile (update-all-abi): New target.
21360 2015-11-24  Florian Weimer  <fweimer@redhat.com>
21362         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
21363         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
21364         (__libc_lock_define_initialized): Use it.
21365         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
21366         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
21367         * malloc/malloc.c (main_arena): Likewise.
21368         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
21369         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
21371 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
21373         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21374         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
21375         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21376         (PTRACE_O_MASK): Update value.
21377         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
21378         New value in enum __ptrace_setoptions.
21379         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21380         (PTRACE_O_MASK): Update value.
21381         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21382         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21383         (PTRACE_O_MASK): Update value.
21384         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
21385         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21386         (PTRACE_O_MASK): Update value.
21387         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
21388         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21389         (PTRACE_O_MASK): Update value.
21390         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
21391         New value in enum __ptrace_setoptions.
21392         (PTRACE_O_MASK): Update value.
21393         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
21394         New value in enum __ptrace_setoptions.
21395         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21396         (PTRACE_O_MASK): Update value.
21398         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
21399         New macro.
21400         (PACKET_AUXDATA): Likewise.
21401         (PACKET_ORIGDEV): Likewise.
21402         (PACKET_VERSION): Likewise.
21403         (PACKET_HDRLEN): Likewise.
21404         (PACKET_RESERVE): Likewise.
21405         (PACKET_TX_RING): Likewise.
21406         (PACKET_LOSS): Likewise.
21407         (PACKET_VNET_HDR): Likewise.
21408         (PACKET_TX_TIMESTAMP): Likewise.
21409         (PACKET_TIMESTAMP): Likewise.
21410         (PACKET_FANOUT): Likewise.
21411         (PACKET_TX_HAS_OFF): Likewise.
21412         (PACKET_QDISC_BYPASS): Likewise.
21413         (PACKET_ROLLOVER_STATS): Likewise.
21414         (PACKET_FANOUT_DATA): Likewise.
21415         (PACKET_MR_UNICAST): Likewise.
21417         [BZ #19242]
21418         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
21419         (TOUPPER): Likewise.
21420         * stdlib/tst-strtol-locale-main.c: New file.
21421         * stdlib/tst-strtol-locale.c: Likewise.
21422         * stdlib/Makefile (tests): Add tst-strtol-locale.
21423         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
21424         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
21425         Depend on $(gen-locales).
21426         * wcsmbs/tst-wcstol-locale.c: New file.
21427         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
21428         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
21429         tr_TR.ISO-8859-9.
21430         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
21431         Depend on $(gen-locales).
21433 2015-11-20  Roland McGrath  <roland@hack.frob.com>
21435         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
21436         __glibc_likely instead of __builtin_expect.  After falling back to
21437         dyncode_create in a non-ET_DYN case, use the allocate_code_data
21438         system interface to register the code pages as occupied.
21440 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
21442         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21443         [!ARM_MATH_PRIVATE_H].
21444         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
21445         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21446         [!HPPA_MATH_PRIVATE_H].
21447         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
21448         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
21449         to [!I386_MATH_PRIVATE_H].
21450         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
21451         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
21452         Change guard to [!M68K_MATH_PRIVATE_H].
21453         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
21454         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
21455         guard to [!MICROBLAZE_MATH_PRIVATE_H].
21456         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
21457         macro.
21458         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21459         [!MIPS_MATH_PRIVATE_H].
21460         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
21461         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21462         [!NIO2_MATH_PRIVATE_H].
21463         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
21464         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21465         [!TILE_MATH_PRIVATE_H].
21466         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
21468         [BZ #15421]
21469         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
21470         initialize with 0 and define as weak alias of __signgam.
21471         * include/math.h [!_ISOMAC] (__signgam): Declare.
21472         * math/Makefile (libm-calls): Add w_lgamma_compat.
21473         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
21474         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
21475         test-signgam-ullong-init.
21476         (tests-static): Add test-signgam-uchar-static,
21477         test-signgam-uchar-init-static, test-signgam-uint-static,
21478         test-signgam-uint-init-static, test-signgam-ullong-static and
21479         test-signgam-ullong-init-static.
21480         (CFLAGS-test-signgam-uchar.c): New variable.
21481         (CFLAGS-test-signgam-uchar-init.c): Likewise.
21482         (CFLAGS-test-signgam-uchar-static.c): Likewise.
21483         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21484         (CFLAGS-test-signgam-uint.c): Likewise.
21485         (CFLAGS-test-signgam-uint-init.c): Likewise.
21486         (CFLAGS-test-signgam-uint-static.c): Likewise.
21487         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21488         (CFLAGS-test-signgam-ullong.c): Likewise.
21489         (CFLAGS-test-signgam-ullong-init.c): Likewise.
21490         (CFLAGS-test-signgam-ullong-static.c): Likewise.
21491         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21492         * math/Versions (libm): Add GLIBC_2.23.
21493         * math/lgamma-compat.h: New file.
21494         * math/test-signgam-main.c: Likewise.
21495         * math/test-signgam-uchar-init-static.c: Likewise.
21496         * math/test-signgam-uchar-init.c: Likewise.
21497         * math/test-signgam-uchar-static.c: Likewise.
21498         * math/test-signgam-uchar.c: Likewise.
21499         * math/test-signgam-uint-init-static.c: Likewise.
21500         * math/test-signgam-uint-init.c: Likewise.
21501         * math/test-signgam-uint-static.c: Likewise.
21502         * math/test-signgam-uint.c: Likewise.
21503         * math/test-signgam-ullong-init-static.c: Likewise.
21504         * math/test-signgam-ullong-init.c: Likewise.
21505         * math/test-signgam-ullong-static.c: Likewise.
21506         * math/test-signgam-ullong.c: Likewise.
21507         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
21508         wrapper of w_lgamma_main.c.
21509         * math/w_lgamma_compat.c: New file.
21510         * math/w_lgamma_compatf.c: Likewise.
21511         * math/w_lgamma_compatl.c: Likewise.
21512         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
21513         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
21514         defining compatibility symbols.
21515         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
21516         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
21517         wrapper of w_lgammaf_main.c.
21518         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
21519         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
21520         defining compatibility symbols.
21521         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
21522         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
21523         wrapper of w_lgammal_main.c.
21524         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
21525         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
21526         defining compatibility symbols.
21527         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
21528         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
21529         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
21530         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
21531         <lgamma-compat.h>.
21532         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
21533         (__ieee754_gamma): Define as alias.
21534         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
21535         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
21536         <lgamma-compat.h>.
21537         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
21538         (__ieee754_gammaf): Define as alias.
21539         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
21540         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
21541         <lgamma-compat.h>.
21542         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
21543         (__ieee754_gammal): Define as alias.
21544         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
21545         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
21546         <math/w_lgamma_compat.c>.
21547         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
21548         Define as alias of __lgamma_compat and use in defining lgammal.
21549         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
21550         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
21551         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
21552         (USE_AS_COMPAT): New macro.
21553         (LGAMMA_OLD_VER): Undefine and redefine.
21554         (lgammal): Do not define here.
21555         (gammal): Only define here if [GAMMA_ALIAS].
21556         * conform/linknamespace.pl (@whitelist): Remove signgam.
21557         * sysdeps/nacl/libm.abilist: Update.
21558         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21559         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21560         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21561         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21562         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21563         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21564         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21565         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21566         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21567         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21568         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21569         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21571         Likewise.
21572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21573         Likewise.
21574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21575         Likewise.
21576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21577         Likewise.
21578         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21579         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21580         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21581         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21582         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21584         Likewise.
21585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21586         Likewise.
21587         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21588         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21589         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21591 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21593         [BZ #16364]
21594         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
21595         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
21597 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21599         * sysdeps/s390/fpu/bits/mathinline.h:
21600         Use __asm__ [__volatile__] instead of asm [volatile].
21601         * sysdeps/s390/abort-instr.h: Likewise.
21602         * sysdeps/s390/atomic-machine.h: Likewise.
21603         * sysdeps/s390/bits/string.h: Likewise.
21604         * sysdeps/s390/dl-tls.h: Likewise.
21605         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21606         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21607         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21608         * sysdeps/s390/fpu/fesetround.c: Likewise.
21609         * sysdeps/s390/fpu/fpu_control.h: Likewise.
21610         * sysdeps/s390/fpu/s_fma.c: Likewise.
21611         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
21612         * sysdeps/s390/memusage.h: Likewise.
21613         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
21614         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
21615         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
21616         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
21617         * sysdeps/s390/nptl/tls.h: Likewise.
21618         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
21619         * sysdeps/s390/s390-32/backtrace.c: Likewise.
21620         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21621         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
21622         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21623         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21624         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
21625         * sysdeps/s390/s390-64/backtrace.c: Likewise.
21626         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21627         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
21628         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
21629         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21630         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21631         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
21632         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21633         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21634         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
21635         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21636         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
21637         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21638         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
21639         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21640         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
21642 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21643             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21645         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
21646         Add lwarx hint, and use macro for acquire instruction.
21647         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21648         Likewise.
21649         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
21650         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
21651         update to use new atomic macros.
21653 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21655         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21656         (__lll_trylock_elision): Fix setting of adapt_count.
21657         * sysdeps/unix/sysv/linux/powerpc/htm.h
21658         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
21659         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
21660         (_ABORT_SYSCALL): Renumber, and clarify definition.
21661         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
21663 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21665         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
21666         after system headers to prevent MIN/MAX redefinition.  Define
21667         HAVE_ALLOCA to preserve builtin alloca usage.
21669 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
21671         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
21672         static and don't set or restore rounding.
21673         (__cos)[IN_SINCOS]: Likewise.
21674         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
21675         (__sincos): Set and restore rounding mode.  Remove check for infinite
21676         or NaN input.
21678         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
21680         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
21681         as used.
21683 2015-11-16  Florian Weimer  <fweimer@redhat.com>
21685         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
21687 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
21689         * config.make.in (have-glob-dat-reloc): New.
21690         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
21691         target supports GLOB_DAT relocaton. AC_SUBST.
21692         * configure: Regenerated.
21693         * elf/Makefile (tests): Add tst-prelink.
21694         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
21695         (tst-prelink-ENV): New.
21696         ($(objpfx)tst-prelink-conflict.out): Likewise.
21697         ($(objpfx)tst-prelink-cmp.out): Likewise.
21698         * sysdeps/x86/tst-prelink.c: Moved to ...
21699         * elf/tst-prelink.c: Here.
21700         * sysdeps/x86/tst-prelink.exp: Moved to ...
21701         * elf/tst-prelink.exp: Here.
21702         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
21703         (tst-prelink-ENV): Removed.
21704         ($(objpfx)tst-prelink-conflict.out): Likewise.
21705         ($(objpfx)tst-prelink-cmp.out): Likewise.
21706         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
21708 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
21710         [BZ #14551]
21711         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
21712         (__mpn_construct_long_double): If high part overflows to infinity,
21713         set errno and recompute overflowed result of the correct sign.
21714         * sysdeps/ieee754/ldbl-128ibm/Makefile
21715         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
21716         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
21717         $(libm).
21718         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
21720 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
21722         [BZ #15479]
21723         [BZ #19238]
21724         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
21725         floating-point state after first operation on input.  Restore full
21726         state rather than just rounding mode.
21727         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
21728         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
21729         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
21731         [BZ #19235]
21732         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
21733         add 0.5 to integer arguments.
21734         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
21735         Likewise.
21736         (.LC2): New object.
21738 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
21740         * scripts/pylintrc (reports): Set to no.
21742 2015-11-10  Roland McGrath  <roland@hack.frob.com>
21744         * elf/dl-load.c (open_verify): Take new argument FD.
21745         Skip __open call if passed FD is not -1.
21746         (_dl_map_object, open_path): Update callers.
21747         * elf/dl-sysdep-open.h: New file.
21748         * elf/dl-load.c: Include it.
21749         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
21750         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
21751         * sysdeps/nacl/dl-sysdep-open.h: New file.
21752         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
21753         from libc to rtld.
21755 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
21757         [BZ #19228]
21758         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
21759         and restore full floating-point state.
21760         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21761         Likewise.
21762         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
21763         Likewise.
21764         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
21765         Likewise.
21766         * math/test-nearbyint-except-2.c: New file.
21767         * math/Makefile (tests): Add test-nearbyint-except-2.
21769 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
21771         [BZ #19178]
21772         * sysdeps/x86/Makefile (tests): Add tst-prelink.
21773         (tst-prelink-ENV): New.
21774         ($(objpfx)tst-prelink-conflict.out): Likewise.
21775         ($(objpfx)tst-prelink-cmp.out): Likewise.
21776         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
21777         * sysdeps/x86/tst-prelink.c: New file.
21778         * sysdeps/x86/tst-prelink.exp: Likewise.
21780 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
21782         * math/auto-libm-test-in: Add another test of pow.
21783         * math/auto-libm-test-out: Regenerated.
21784         * math/libm-test.inc (pow_test_data): Add another test.
21786 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21788         [BZ #19219]
21789         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
21790         weak_alias to nearbyintl.
21792 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
21794         * sysdeps/aarch64/bits/string.h: New file.
21795         (_STRING_ARCH_unaligned): Define.
21797 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
21799         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
21800         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21801         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21802         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
21803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
21805 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
21807         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
21808         for original name of the DSO.  Add it to the name list of the DSO
21809         if it is actually given.
21810         (_dl_map_object): Keep track of whether an audit module rewrote
21811         the file name.  If yes, pass the original name to
21812         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
21813         debugging is enabled, log the change of the file name.
21814         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
21815         _dl_map_object_from_fd.
21816         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
21817         * elf/tst-audit11.c: New file
21818         * elf/tst-auditmod11.c: New file.
21819         * elf/tst-audit11mod1.c: New file.
21820         * elf/tst-audit11mod2.c: New file.
21821         * elf/tst-audit11mod2.map: New file.
21822         * elf/tst-audit12.c: New file
21823         * elf/tst-auditmod12.c: New file.
21824         * elf/tst-audit12mod1.c: New file.
21825         * elf/tst-audit12mod2.c: New file.
21826         * elf/tst-audit12mod2.map: New file.
21827         * elf/tst-audit12mod3.c: New file.
21829 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21831         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
21832         Don't create weak aliases,
21833         because versioned symbols are created later.
21834         * sysdeps/s390/s390-32/setjmp.S
21835         (setjmp, _setjmp): Remove weak and rename to an unique name
21836         in SHARED case due to existing versioned symbols.
21837         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21838         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
21839         (getcontext): Create weak alias only in non SHARED case.
21840         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21842 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21844         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
21845         (__ASSUME_*_SYSCALL) Define new macros.
21846         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
21847         Remove socketcall syscalls.
21848         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
21849         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
21850         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
21851         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
21852         * sysdeps/unix/sysv/linux/send.c (__libc_send):
21853         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
21855 2015-11-09  Florian Weimer  <fweimer@redhat.com>
21857         [BZ #12926]
21858         Terminate process on invalid netlink response.
21859         * sysdeps/unix/sysv/linux/netlinkaccess.h
21860         (__netlink_assert_response): Declare.
21861         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
21862         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
21863         (sysdep_routines): Add netlink_assert_response.
21864         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
21865         __netlink_assert_response.
21866         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21867         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21868         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
21869         __netlink_assert_response.
21871 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21873         [BZ #19178]
21874         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
21875         (RTYPE_CLASS_PLT): Likewise.
21876         (RTYPE_CLASS_COPY): Likewise.
21877         (RTYPE_CLASS_TLS): Likewise.
21878         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
21879         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
21880         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
21881         DL_DEBUG_PRELINK.
21883 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
21885         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
21886         calls with argument -0.5.
21887         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
21889         * configure.ac (libc_cv_z_nodelete): Remove configure test.
21890         (libc_cv_z_nodlopen): Likewise.
21891         (libc_cv_z_initfirst): Likewise.
21892         * configure: Regenerated.
21894 2015-11-06  Florian Weimer  <fweimer@redhat.com>
21896         Simplify abilist format to be line-based.
21897         * scripts/abilist.awk: Collect descriptors in the descs variable.
21898         (emit): Write descs variable and sort it
21899         externally, with sort.
21900         * sysdeps/**/*.abilist: Convert to new format.
21902 2015-11-06  Mark Wielaard  <mjw@redhat.com>
21904         [BZ #11460]
21905         * io/Makefile (routines): Add fts64.
21906         (tests): Add tst-fts and tst-fts-lfs.
21907         (CFLAGS-fts64.c): New.
21908         * io/Versions (GLIBC_2.23): New.
21909         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
21910         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
21911         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
21912         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
21913         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
21914         (FTSENT64): Likewise.
21915         (fts64_children): Likewise.
21916         (fts64_close): Likewise.
21917         (fts64_open): Likewise.
21918         (fts64_read): Likewise.
21919         (fts64_set): Likewise.
21920         * io/fts64.c: New file.
21921         * io/tst-fts.c: New test.
21922         * io/tst-fts-lfs.c: Likewise.
21923         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
21924         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
21925         fts64_set.
21926         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21927         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21928         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21929         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21930         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21931         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21932         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21933         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21934         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21935         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21936         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21937         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21938         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21940         Likewise.
21941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21942         Likewise.
21943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21945         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21946         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21947         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21948         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21949         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21952         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21953         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21954         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21955         * sysdeps/wordsize-64/fts.c: New file.
21956         * sysdeps/wordsize-64/fts64.c: Likewise.
21957         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
21958         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
21959         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
21960         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
21962 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21964         * math/libm-test.inc (NON_FINITE): New macro.
21965         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
21966         * math/gen-libm-test.pl (show_exceptions): Add argument
21967         $non_finite.
21968         (parse_args): Update call to show_exceptions.
21969         * math/test-math-finite.h: New file.
21970         * math/test-math-no-finite.h: Likewise.
21971         * math/test-double-finite.c: Likewise.
21972         * math/test-float-finite.c: Likewise.
21973         * math/test-ldouble-finite.c: Likewise.
21974         * math/test-double.c: Include "test-math-no-finite.h".
21975         * math/test-float.c: Include "test-math-no-finite.h".
21976         * math/test-ldouble.c: Include "test-math-no-finite.h".
21977         * math/test-math-inline.h (TEST_FINITE): New macro.
21978         * math/test-math-vector.h (TEST_FINITE): Likewise.
21979         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
21980         (libm-tests): Add test-float-finite and test-double-finite.
21981         ($(objpfx)test-float-finite.o): New dependency on
21982         $(objpfx)libm-test.stmp.
21983         ($(objpfx)test-double-finite.o): Likewise.
21984         ($(objpfx)test-ldouble-finite.o): Likewise.
21985         (libm-test-no-inline-cflags): New variable.
21986         (libm-test-finite-cflags): Likewise.
21987         (CFLAGS-test-float-finite.c): Likewise.
21988         (CFLAGS-test-double-finite.c): Likewise.
21989         (CFLAGS-test-ldouble-finite.c): Likewise.
21990         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
21991         (CFLAGS-test-double.c): Likewise.
21992         (CFLAGS-test-ldouble.c): Likewise.
21994 2015-11-05  Roland McGrath  <roland@hack.frob.com>
21996         * io/fcntl.c (__fcntl): Add ... to prototype.
21997         * misc/ioctl.c (__ioctl): Likewise.
21998         * misc/syscall.c (syscall): Likewise.
22000 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
22002         * scripts/list-fixed-bugs.py: New file.
22004         [BZ #19213]
22005         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
22006         returned for argument 1.
22007         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
22008         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
22009         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
22010         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
22011         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
22012         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
22014         [BZ #19211]
22015         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
22016         __USE_XOPEN], not if [!__USE_ISOC99].
22017         (lgammaf): Likewise.
22018         (lgammal): Likewise.
22019         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
22020         (gammaf): Likewise.
22021         (gammal): Likewise.
22022         * math/test-signgam-finite-c11.c: New file.
22023         * math/test-signgam-finite-c99.c: Likewise.
22024         * math/test-signgam-finite.c: Likewise.
22025         * math/Makefile (tests): Add test-signgam-finite,
22026         test-signgam-finite-c99 and test-signgam-finite-c11.
22027         (CFLAGS-test-signgam-finite.c): New variable.
22028         (CFLAGS-test-signgam-finite-c99.c): Likewise.
22029         (CFLAGS-test-signgam-finite-c11.c): Likewise.
22031         [BZ #19212]
22032         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
22033         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
22034         500].
22035         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
22036         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
22037         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
22038         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
22039         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
22040         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
22041         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
22042         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
22043         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
22044         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
22046         [BZ #19209]
22047         * math/bits/math-finite.h (ldexp): Remove declaration.
22048         (ldexpf): Likewise.
22049         (ldexpl): Likewise.
22051         [BZ #19205]
22052         * math/bits/math-finite.h (acosf): Condition declaration on
22053         [__USE_ISOC99].
22054         (acosl): Likewise.
22055         (acoshf): Likewise.
22056         (acoshl): Likewise.
22057         (asinf): Likewise.
22058         (asinl): Likewise.
22059         (atan2f): Likewise.
22060         (atan2l): Likewise.
22061         (atanhf): Likewise.
22062         (atanhl): Likewise.
22063         (coshf): Likewise.
22064         (coshl): Likewise.
22065         (expf): Likewise.
22066         (expl): Likewise.
22067         (fmodf): Likewise.
22068         (fmodl): Likewise.
22069         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
22070         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
22071         (j0l): Likewise.
22072         (y0f): Likewise.
22073         (y0l): Likewise.
22074         (j1f): Likewise.
22075         (j1l): Likewise.
22076         (y1f): Likewise.
22077         (y1l): Likewise.
22078         (jnf): Likewise.
22079         (jnl): Likewise.
22080         (ynf): Likewise.
22081         (ynl): Likewise.
22082         (lgammaf_r): Condition declaration on [__USE_ISOC99].
22083         (lgammal_r): Likewise.
22084         (__lgamma_r_finite): New declaration.
22085         (__lgammaf_r_finite): Likewise.
22086         (__lgammal_r_finite): Likewise.
22087         (lgamma): Use __lgamma_r_finite.
22088         (lgammaf): Condition definition on [__USE_ISOC99].  Use
22089         __lgammaf_r_finite.
22090         (lgammal): Condition definition on [__USE_ISOC99].  Use
22091         __lgammal_r_finite.
22092         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
22093         __lgamma_r_finite.
22094         (gammaf): Condition definition on [__USE_ISOC99].  Use
22095         __lgammaf_r_finite.
22096         (gammal): Condition definition on [__USE_ISOC99].  Use
22097         __lgammal_r_finite.
22098         (logf): Condition declaration on [__USE_ISOC99].
22099         (logl): Likewise.
22100         (log10f): Likewise.
22101         (log10l): Likewise.
22102         (ldexpf): Likewise.
22103         (ldexpl): Likewise.
22104         (powf): Likewise.
22105         (powl): Likewise.
22106         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
22107         __USE_ISOC99].
22108         (remainderf): Condition declaration on [__USE_ISOC99].
22109         (remainderl): Likewise.
22110         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
22111         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
22112         (scalbl): Likewise.
22113         (sinhf): Condition declaration on [__USE_ISOC99].
22114         (sinhl): Likewise.
22115         (sqrtf): Likewise.
22116         (sqrtl): Likewise.
22118 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
22120         * sysdeps/arm/atomic-machine.h
22121         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
22122         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
22123         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
22124         Remove conditional code.
22125         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
22126         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
22127         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
22128         Change conditional to [__ASSEMBLER__].
22129         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
22130         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
22131         [!__ASSEMBLER__].
22132         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
22133         code.
22134         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
22135         conditional macro definitions.
22136         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
22137         (__arch_compare_and_exchange_val_16_acq): Likewise.
22138         (__arch_compare_and_exchange_val_32_acq): Likewise.
22139         (atomic_exchange_and_add): Likewise.
22140         (atomic_add): Likewise.
22141         (atomic_add_negative): Likewise.
22142         (atomic_add_zero): Likewise.
22143         (atomic_bit_set): Likewise.
22144         (atomic_bit_test_set): Likewise.
22145         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
22146         code unconditional.
22147         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22149         * math/test-math-errno.h: New file.
22150         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
22151         empty.
22152         (TEST_ERRNO): New macro.
22153         (TEST_EXCEPTIONS): Likewise.
22154         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
22155         (TEST_EXCEPTIONS): Likewise.
22156         * math/test-math-vector.h (TEST_ERRNO): Likewise.
22157         * math/test-double.c: Include "test-math-errno.h".
22158         * math/test-float.c: Likewise.
22159         * math/test-ldouble.c: Likewise.
22160         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
22161         code unconditional.
22162         (test_exceptions): Only run code if TEST_EXCEPTIONS.
22163         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
22164         unconditional.
22165         (test_errno): Only run code if TEST_ERRNO.
22166         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
22168 2015-11-04  Florian Weimer  <fweimer@redhat.com>
22170         * nptl/tst-once5.cc: Remove attribution.
22172 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
22174         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
22175         sqrt, tan, tanh, y0, y1 and yn.
22176         * math/auto-libm-test-out: Regenerated.
22177         * math/libm-test.inc (scalb_test_data): Add more tests.
22178         (scalbn_test_data): Likewise.
22179         (scalbln_test_data): Likewise.
22180         (signbit_test_data): Likewise.
22181         (sin_test_data): Likewise.
22182         (sincos_test_data): Likewise.
22183         (sinh_test_data): Likewise.
22184         (sqrt_test_data): Likewise.
22185         (tan_test_data): Likewise.
22186         (tanh_test_data): Likewise.
22187         (tgamma_test_data): Likewise.
22188         (y0_test_data): Likewise.
22189         (y1_test_data): Likewise.
22190         (yn_test_data): Likewise.
22191         (significand_test_data): Likewise.
22192         * sysdeps/i386/fpu/libm-test-ulps: Update.
22194 2015-11-03  David Kastrup  <dak@gnu.org>
22196         [BZ #18604]
22197         * assert/assert.h (assert): Don't macro-expand failed assertion
22198         expression in error message.
22199         * malloc/malloc.c (assert): Likewise.
22201 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
22203         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
22204         test.
22205         * configure: Regenerated.
22207 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
22209         * math/libm-test.inc (modf_test_data): Add more tests.
22210         (nearbyint_test_data): Likewise.
22211         (nextafter_test_data): Likewise.
22212         (nexttoward_test_data): Likewise.
22213         (pow_test_data): Likewise.
22214         (remainder_test_data): Likewise.
22215         (remquo_test_data): Likewise.
22216         (rint_test_data): Likewise.
22218         [BZ #19201]
22219         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22220         Check for zero remainder in case of large exponents and ensure
22221         correct sign of result in that case.
22222         * math/libm-test.inc (remainder_test_data): Add more tests.
22224         [BZ #6799]
22225         * math/s_nextafter.c: Include <errno.h>.
22226         (__nextafter): Set errno on overflow and underflow.
22227         * math/s_nexttowardf.c: Include <errno.h>.
22228         (__nexttowardf): Set errno on overflow and underflow.
22229         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
22230         (__nextafterl): Set errno on overflow and underflow.
22231         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
22232         (__nexttoward): Set errno on overflow and underflow.
22233         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
22234         (__nexttowardf): Set errno on overflow and underflow.
22235         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
22236         (__nextafterf): Set errno on overflow and underflow.
22237         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
22238         (__nextafterl): Set errno on overflow and underflow.
22239         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
22240         (__nexttoward): Set errno on overflow and underflow.
22241         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
22242         (__nexttowardf): Set errno on overflow and underflow.
22243         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
22244         (__nextafterl): Set errno on overflow and underflow.
22245         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
22246         (__nexttoward): Set errno on overflow and underflow.
22247         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
22248         (__nexttowardf): Set errno on overflow and underflow.
22249         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
22250         (__nexttoward): Set errno on overflow and underflow.
22251         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
22252         (__nexttowardf): Set errno on overflow and underflow.
22253         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
22254         (__nldbl_nexttowardf): Set errno on overflow and underflow.
22255         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
22256         (__nextafterl): Set errno on overflow and underflow.
22257         * math/libm-test.inc (nextafter_test_data): Do not allow errno
22258         setting to be missing on overflow.  Add more tests.
22259         (nexttoward_test_data): Likewise.
22261         * configure.ac (libc_cv_initfini_array): Remove configure test.
22262         * configure: Regenerated.
22264 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
22266         [BZ #19189]
22267         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
22268         non-finite argument handle arguments with negative sign.
22270         * math/libm-test.inc (j0_test_data): Do not test sign of zero
22271         result from infinite argument.
22272         (j1_test_data): Likewise.
22273         (jn_test_data): Likewise.
22274         (y0_test_data): Likewise.
22275         (y1_test_data): Likewise.
22276         (yn_test_data): Likewise.
22278         [BZ #16171]
22279         * math/w_remainder.c (drem): Define as weak alias of __remainder.
22280         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
22281         * math/w_remainderf.c (dremf): Define as weak alias of
22282         __remainderf.
22283         * math/w_remainderl.c (dreml): Define as weak alias of
22284         __remainderl.
22285         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
22286         __remainder.
22287         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
22288         __remainderf.
22289         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
22290         __remainderl.
22291         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
22292         weak alias of remainderl.
22293         * sysdeps/ieee754/ldbl-opt/w_remainder.c
22294         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
22295         alias of __remainder.
22296         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
22297         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
22298         strong alias of __remainderl.
22299         (dreml): Use long_double_symbol.
22300         * math/Makefile (libm-calls): Remove w_drem.
22301         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
22302         (CFLAGS-nldbl-drem.c): Remove variable.
22303         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
22304         * math/w_drem.c: Remove file.
22305         * math/w_dremf.c: Likewise.
22306         * math/w_dreml.c: Likewise.
22307         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
22308         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
22309         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
22311         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
22312         * sysdeps/i386/configure: Regenerated.
22313         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
22314         * sysdeps/x86_64/configure: Regenerated.
22316         * configure.ac (libc_cv_asm_protected_directive): Remove configure
22317         test.
22318         (libc_cv_visibility_attribute): Likewise.
22319         (libc_cv_protected_data): Test unconditionally.
22320         (libc_cv_broken_visibility_attribute): Remove configure test.
22321         (libc_cv_have_sdata_section): Test unconditionally.
22322         * configure: Regenerated.
22324         * include/libc-internal.h (libc_max_align_t): Remove typedef.
22325         * include/scratch_buffer.h: Include <stddef.h> instead of
22326         <libc-internal.h>.
22327         (struct scratch_buffer): Use max_align_t instead of
22328         libc_max_align_t.
22330 2015-10-29  Florian Weimer  <fweimer@redhat.com>
22332         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
22333         instead of extend_alloca.  Change control flow to avoid a goto.
22334         Remove assert which is trivially always true.
22336 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22338         [BZ #16068]
22339         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
22340         (FE_ALL_EXCEPT_X86): New macro.
22341         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
22342         FE_ALL_EXCEPT.  Ensure precision control is included in
22343         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
22344         handle "denormal operand exception" and clear FZ and DAZ bits.
22345         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
22346         (FE_ALL_EXCEPT_X86): New macro.
22347         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
22348         FE_ALL_EXCEPT.  Ensure precision control is included in
22349         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
22350         handle "denormal operand exception" and clear FZ and DAZ bits.
22351         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
22352         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
22353         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22354         test-fenv-x87 and test-fenv-sse-2.
22355         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
22357         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
22358         * math/test-double.h (BUILD_COMPLEX): New macro.
22359         * math/test-float.h (BUILD_COMPLEX): Likewise.
22360         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
22362         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
22363         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
22364         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
22365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
22366         instead of DBL_DENORM_MIN in comment.
22367         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
22368         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
22369         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
22370         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
22371         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
22372         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
22374 2015-10-28  Florian Weimer  <fweimer@redhat.com>
22376         [BZ #19048]
22377         * malloc/malloc.c (struct malloc_state): Update comment.  Add
22378         attached_threads member.
22379         (main_arena): Initialize attached_threads.
22380         * malloc/arena.c (list_lock): Update comment.
22381         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
22382         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
22383         (deattach_arena): New function.
22384         (_int_new_arena): Initialize arena reference count and deattach
22385         replaced arena.
22386         (get_free_list, reused_arena): Update reference count and deattach
22387         replaced arena.
22388         (arena_thread_freeres): Update arena reference count and only put
22389         unreferenced arenas on the free list.
22391 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22393         [BZ #19181]
22394         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
22395         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
22396         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
22397         * math/test-fenv-clear-main.c: New file.
22398         * math/test-fenv-clear.c: Likewise.
22399         * math/Makefile (tests): Add test-fenv-clear.
22400         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
22401         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22402         test-fenv-clear-sse.
22403         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
22405         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
22406         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
22407         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
22409 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22411         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
22412         static libc.
22414 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22416         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
22417         test.
22418         * sysdeps/i386/configure: Regenerated.
22419         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
22420         test.
22421         * sysdeps/x86_64/configure: Regenerated.
22422         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
22423         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22424         memset-avx2 unconditionally instead of conditionally on
22425         [$(config-cflags-avx2) = yes].
22426         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22427         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
22428         unconditional.
22429         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
22430         * sysdeps/x86_64/multiarch/memset_chk.S
22431         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
22432         to [IS_IN (libc) && SHARED].
22434 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
22436         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
22437         configure test.
22438         * sysdeps/arm/configure: Regenerated.
22439         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
22440         Define variable if not already defined.
22442         [BZ #17404]
22443         * sysdeps/mips/atomic-machine.h
22444         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
22445         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
22446         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
22448         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
22449         unconditional.
22450         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
22451         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22452         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
22453         unconditional.
22454         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22455         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
22456         unconditional.
22457         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22458         * stdlib/setenv.c
22459         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
22460         code unconditional.
22461         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
22462         Remove conditional code.
22463         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
22464         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
22465         unconditional.
22466         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22467         code.
22468         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
22469         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
22470         unconditional.
22471         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22472         code.
22473         * sysdeps/ieee754/ldbl-128/k_tanl.c
22474         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22475         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22476         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
22477         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22478         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22479         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
22480         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
22481         unconditional.
22482         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22483         code.
22484         * sysdeps/ieee754/ldbl-96/k_tanl.c
22485         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22486         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22488         * nptl/tst-initializers1-c11.c: New file.
22489         * nptl/tst-initializers1-gnu11.c: Likewise.
22490         * nptl/Makefile (tests): Add these new tests.
22491         (CFLAGS-tst-initializers1-c11.c): New variable.
22492         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22494         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
22495         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
22496         instead of -std=gnu99.
22497         * configure.ac (systemtap): Test with -std=gnu11 instead of
22498         -std=gnu99.
22499         * configure: Regenerated.
22500         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
22501         in compilation command in comment.
22503         * sysdeps/nptl/configure.ac: Remove file.
22504         * sysdeps/nptl/configure: Remove generated file.
22505         * configure.ac (libc_cv_forced_unwind): Do not substitute.
22506         * configure: Regenerated.
22507         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
22508         * config.make.in (have-forced-unwind): Remove variable.
22509         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
22510         unconditional.
22511         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
22512         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
22513         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
22514         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
22515         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
22516         unconditional.
22518 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22520         [BZ #19174]
22521         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
22522         .skip_lock_out_of_tbegin_retries.
22523         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22524         (__lll_lock_elision): Likewise, and respect a value of
22525         try_tbegin <= 0.
22527 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22529         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
22530         statement.
22532 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
22534         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
22535         variable.
22536         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22537         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22539         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
22540         of -std=c1x -D_ISOC11_SOURCE.
22542         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
22543         * configure: Regenerated.
22544         * manual/install.texi (Tools for Compilation): Document
22545         requirement for GCC 4.7 or later.
22546         * INSTALL: Regenerated.
22548 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
22550         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
22551         on CNT to a conditional jump to 'puntdata'.
22553 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
22555         * configure.ac (libc_cv_gcc___thread): Remove configure test.
22556         (libc_cv_gcc_tls_model_attr): Likewise.
22557         * configure: Regenerated.
22559         * configure.ac (libc_cv_need_minus_P): Remove configure test.
22560         * configure: Regenerated.
22561         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
22563 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
22565         * configure.ac (old_glibc_headers): Remove configure test.
22566         * configure: Regenerated.
22567         * config.make.in (old-glibc-headers): Remove variable.
22568         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
22569         (install): Remove dependency on remove-old-headers.
22570         (headers2_0): Remove variable.
22571         (remove-old-headers): Remove rule.
22573         * configure.ac (libc_cv_dot_text): Remove configure test.
22574         (libc_cv_asm_set_directive): Use .text instead of
22575         ${libc_cv_dot_text} in configure test.
22576         * configure: Regenerated.
22578 2015-10-26  Florian Weimer  <fweimer@redhat.com>
22580         [BZ #19168]
22581         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22583 2015-10-26  Florian Weimer  <fweimer@redhat.com>
22585         * configure.ac (CXX): Clear the variable if the C++ toolchain does
22586         not support static linking.
22587         * configure: Regenerate.
22589 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
22591         * math/libm-test.inc (check_float_internal): Do not special-case
22592         errors up to 0.5 ulp.
22594         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22595         log2.
22596         * math/auto-libm-test-out: Regenerated.
22597         * math/libm-test.inc (MAX_EXP): New macro.
22598         (ilogb_test_data): Add more tests.
22599         (isfinite_test_data): Likewise.
22600         (isgreater_test_data): Likewise.
22601         (isgreaterequal_test_data): Likewise.
22602         (isinf_test_data): Likewise.
22603         (isless_test_data): Likewise.
22604         (islessequal_test_data): Likewise.
22605         (islessgreater_test_data): Likewise.
22606         (isnan_test_data): Likewise.
22607         (isnormal_test_data): Likewise.
22608         (issignaling_test_data): Likewise.
22609         (isunordered_test_data): Likewise.
22610         (j0_test_data): Likewise.
22611         (j1_test_data): Likewise.
22612         (jn_test_data): Likewise.
22613         (lgamma_test_data): Likewise.
22614         (log_test_data): Likewise.
22615         (log10_test_data): Likewise.
22616         (log1p_test_data): Likewise.
22617         (log2_test_data): Likewise.
22618         (logb_test_data): Likewise.
22619         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22621         [BZ #18611]
22622         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
22623         avoid excess range and precision on underflow.
22624         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22625         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
22626         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22627         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
22628         underflow.
22629         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22630         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22631         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22632         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22633         * math/auto-libm-test-in: Do not allow missing errno setting for
22634         tests of j1 and jn.
22635         * math/auto-libm-test-out: Regenerated.
22637 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
22639         [BZ #15491]
22640         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
22641         floating-point environment instead of clearing all exceptions.
22642         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
22643         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
22644         merging in "invalid" exceptions from frndint.
22645         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
22646         * math/test-nearbyint-except.c: New file.
22647         * math/Makefile (tests): Add test-nearbyint-except.
22649 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
22651         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
22653         * sysdeps/tile/libm-test-ulps: Regenerated.
22655 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
22658         (__NR_sync_file_range2): Assume it is always defined.
22659         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
22660         (__NR_sync_file_range): Assume it is always defined.
22662 2015-10-22  Andreas Schwab  <schwab@suse.de>
22664         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22665         INTERNAL_SYSCALL_ERRNO.
22666         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22667         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22668         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22669         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22670         Likewise.
22671         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22673 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
22675         * io/tst-fcntl.c (fd): New static variable.
22676         (do_prepare): Open temporary file here....
22677         (do_test): ...not here.
22679         * io/ftwtest-sh: Also trap on exit to remove temporary files.
22681 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
22683         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
22684         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
22685         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
22686         Moved before "#ifdef __ASSEMBLER__".
22688 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
22690         [BZ #19156]
22691         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
22692         arguments very close to 0.
22694 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
22696         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
22697         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
22699 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
22701         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
22702         New.  Defined for GCC 5 and above when not compiling for
22703         profiling.
22704         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
22706         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
22707         Renamed to ...
22708         (CFLAGS-epoll_pwait.o): This.
22709         (CFLAGS-mmap.c): Renamed to ...
22710         (CFLAGS-mmap.o): This.
22711         (CFLAGS-mmap64.c): Renamed to ...
22712         (CFLAGS-mmap64.o): This.
22713         (CFLAGS-epoll_pwait.os): New.
22714         (CFLAGS-mmap.os): Likewise.
22715         (CFLAGS-mmap64.os): Likewise.
22716         (CFLAGS-semtimedop.os): Likewise.
22717         (CFLAGS-semtimedop.c): Renamed to ...
22718         (CFLAGS-semtimedop.o): This.
22720 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22722         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
22723         warning message.
22725 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
22727         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
22728         * Makefile ($(objpfx)c++-types-check.out): Filter out
22729         $(+gccwarn-c) instead of -Wstrict-prototypes.
22731         * io/fts.c (fts_open): Convert to prototype-style function
22732         definition.
22733         * malloc/mcheck.c (mcheck): Likewise.
22734         (mcheck_pedantic): Likewise.
22735         * posix/regexec.c (re_search_2_stub): Likewise.  Use
22736         internal_function.
22737         (re_search_internal): Likewise.
22738         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
22739         prototype-style function definition.
22740         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22741         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
22742         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
22743         (xdr_utmpptr): Likewise.
22744         (xdr_utmparr): Likewise.
22745         (xdr_utmpidle): Likewise.
22746         (xdr_utmpidleptr): Likewise.
22747         (xdr_utmpidlearr): Likewise.
22749         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
22750         log, log10 and log2.
22751         * math/auto-libm-test-out: Regenerated.
22752         * math/libm-test.inc (fmod_test_data): Add more tests.
22753         (fpclassify_test_data): Likewise.
22754         (frexp_test_data): Likewise.
22755         (hypot_test_data): Likewise.
22756         (ilogb_test_data): Likewise.
22758 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
22760         * debug/fortify_fail.c (__fortify_fail): Convert to
22761         prototype-style function definition.  Use internal_function.
22762         * libio/genops.c (save_for_backup): Convert to prototype-style
22763         function definition.
22764         * libio/wgenops.c (save_for_wbackup): Likewise.
22765         * login/grantpt.c (grantpt): Likewise.
22766         * login/ptsname.c (ptsname): Likewise.
22767         (__ptsname_r): Likewise.
22768         * login/unlockpt.c (unlockpt): Likewise.
22769         * mach/msgserver.c (__mach_msg_server): Likewise.
22770         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
22771         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
22772         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
22773         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
22774         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
22775         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
22776         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
22777         Likewise.
22778         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
22779         internal_function.
22780         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
22781         prototype-style function definition.
22782         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
22783         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
22784         (__pthread_create_2_0): Likewise.
22785         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
22786         * nptl/register-atfork.c (__register_atfork): Likewise.
22787         * posix/glob.c (glob): Likewise.
22788         * posix/regcomp.c (re_comp): Likewise.
22789         * posix/regexec.c (re_exec): Likewise.
22790         * stdlib/add_n.c [__STDC__]: Make code unconditional.
22791         [!__STDC__]: Remove conditional code.
22792         * stdlib/cmp.c [__STDC__]: Make code unconditional.
22793         [!__STDC__]: Remove conditional code.
22794         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
22795         [!__STDC__]: Remove conditional code.
22796         * stdlib/divrem.c [__STDC__]: Make code unconditional.
22797         [!__STDC__]: Remove conditional code.
22798         * stdlib/lshift.c [__STDC__]: Make code unconditional.
22799         [!__STDC__]: Remove conditional code.
22800         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
22801         [!__STDC__]: Remove conditional code.
22802         * stdlib/mul.c [__STDC__]: Make code unconditional.
22803         [!__STDC__]: Remove conditional code.
22804         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
22805         [!__STDC__]: Remove conditional code.
22806         * stdlib/rshift.c [__STDC__]: Make code unconditional.
22807         [!__STDC__]: Remove conditional code.
22808         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
22809         function definition.
22810         (STRTOF): Likewise.
22811         * stdlib/strtod_l.c (__STRTOF): Likewise.
22812         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
22813         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
22814         (__strtol_l): Likewise.
22815         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
22816         [!__STDC__]: Remove conditional code.
22817         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
22818         definition.
22819         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
22820         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22821         type.
22822         (__strcasecmp): Convert to prototype-style function definition.
22823         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
22824         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22825         type.
22826         (__strncasecmp): Convert to prototype-style function definition.
22827         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
22828         * sunrpc/xdr.c (xdr_union): Likewise.
22829         * sunrpc/xdr_array.c (xdr_array): Likewise.
22830         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
22831         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
22832         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
22833         Likewise.
22834         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
22835         Likewise.
22836         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
22837         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22838         Likewise.
22839         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
22840         (LOCALE_PARAM_PROTO): Likewise.
22841         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
22842         argument type.
22843         (ut_argument_spec): Remove macro.
22844         (ut_argument_spec_iso): Rename to ut_argument_spec.
22845         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
22846         prototype-style function definition.
22847         (memcpy_uppcase): Likewise.
22848         (__strftime_internal): Likewise.
22849         (my_strftime): Likewise.
22850         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
22851         (LOCALE_PARAM_DECL): Likewise.
22852         [_LIBC] (LOCALE_PARAM): Include argument type.
22853         (__strptime_internal): Convert to prototype-style function
22854         definition.
22855         (strptime): Likewise.
22856         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
22857         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22858         type.
22859         (__wcscasecmp): Convert to prototype-style function definition.
22860         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
22861         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22862         type.
22863         (__wcsncasecmp): Convert to prototype-style function definition.
22865         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
22866         function definition.
22867         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22868         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22869         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
22870         * elf/dl-minimal.c (_itoa): Likewise.
22871         * hurd/hurdmalloc.c (malloc): Likewise.
22872         (free): Likewise.
22873         (realloc): Likewise.
22874         * inet/inet6_option.c (inet6_option_space): Likewise.
22875         (inet6_option_init): Likewise.
22876         (inet6_option_append): Likewise.
22877         (inet6_option_alloc): Likewise.
22878         (inet6_option_next): Likewise.
22879         (inet6_option_find): Likewise.
22880         * io/ftw.c (FTW_NAME): Likewise.
22881         (NFTW_NAME): Likewise.
22882         (NFTW_NEW_NAME): Likewise.
22883         (NFTW_OLD_NAME): Likewise.
22884         * libio/iofwide.c (_IO_fwide): Likewise.
22885         * libio/strops.c (_IO_str_init_static_internal): Likewise.
22886         (_IO_str_init_static): Likewise.
22887         (_IO_str_init_readonly): Likewise.
22888         (_IO_str_overflow): Likewise.
22889         (_IO_str_underflow): Likewise.
22890         (_IO_str_count): Likewise.
22891         (_IO_str_seekoff): Likewise.
22892         (_IO_str_pbackfail): Likewise.
22893         (_IO_str_finish): Likewise.
22894         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
22895         (_IO_wstr_overflow): Likewise.
22896         (_IO_wstr_underflow): Likewise.
22897         (_IO_wstr_count): Likewise.
22898         (_IO_wstr_seekoff): Likewise.
22899         (_IO_wstr_pbackfail): Likewise.
22900         (_IO_wstr_finish): Likewise.
22901         * locale/programs/localedef.c (normalize_codeset): Likewise.
22902         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22903         (add_locales_to_archive): Likewise.
22904         (delete_locales_from_archive): Likewise.
22905         * malloc/malloc.c (__libc_mallinfo): Likewise.
22906         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
22907         * misc/tsearch.c (__tfind): Likewise.
22908         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
22909         * nptl/pthread_attr_getdetachstate.c
22910         (__pthread_attr_getdetachstate): Likewise.
22911         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22912         Likewise.
22913         * nptl/pthread_attr_getinheritsched.c
22914         (__pthread_attr_getinheritsched): Likewise.
22915         * nptl/pthread_attr_getschedparam.c
22916         (__pthread_attr_getschedparam): Likewise.
22917         * nptl/pthread_attr_getschedpolicy.c
22918         (__pthread_attr_getschedpolicy): Likewise.
22919         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
22920         Likewise.
22921         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
22922         Likewise.
22923         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22924         Likewise.
22925         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22926         Likewise.
22927         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
22928         (__pthread_attr_init_2_0): Likewise.
22929         * nptl/pthread_attr_setdetachstate.c
22930         (__pthread_attr_setdetachstate): Likewise.
22931         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22932         Likewise.
22933         * nptl/pthread_attr_setinheritsched.c
22934         (__pthread_attr_setinheritsched): Likewise.
22935         * nptl/pthread_attr_setschedparam.c
22936         (__pthread_attr_setschedparam): Likewise.
22937         * nptl/pthread_attr_setschedpolicy.c
22938         (__pthread_attr_setschedpolicy): Likewise.
22939         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
22940         Likewise.
22941         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
22942         Likewise.
22943         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22944         Likewise.
22945         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22946         Likewise.
22947         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
22948         Likewise.
22949         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
22950         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22951         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
22952         use internal_function.
22953         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
22954         prototype-style function definition.
22955         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22956         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
22957         internal_function.
22958         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
22959         Convert to prototype-style function definition.
22960         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22961         Likewise.
22962         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
22963         Likewise.
22964         (__pthread_mutex_unlock): Likewise.
22965         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
22966         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
22967         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
22968         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
22969         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
22970         * nss/makedb.c (process_input): Likewise.
22971         * posix/fnmatch.c (__strchrnul): Likewise.
22972         (__wcschrnul): Likewise.
22973         (fnmatch): Likewise.
22974         * posix/fnmatch_loop.c (FCT): Likewise.
22975         * posix/glob.c (globfree): Likewise.
22976         (__glob_pattern_type): Likewise.
22977         (__glob_pattern_p): Likewise.
22978         * posix/regcomp.c (re_compile_pattern): Likewise.
22979         (re_set_syntax): Likewise.
22980         (re_compile_fastmap): Likewise.
22981         (regcomp): Likewise.
22982         (regerror): Likewise.
22983         (regfree): Likewise.
22984         * posix/regexec.c (regexec): Likewise.
22985         (re_match): Likewise.
22986         (re_search): Likewise.
22987         (re_match_2): Likewise.
22988         (re_search_2): Likewise.
22989         (re_search_stub): Likewise.  Use internal_function
22990         (re_copy_regs): Likewise.
22991         (re_set_registers): Convert to prototype-style function
22992         definition.
22993         (prune_impossible_nodes): Likewise.  Use internal_function.
22994         * resolv/inet_net_pton.c (inet_net_pton): Convert to
22995         prototype-style function definition.
22996         (inet_net_pton_ipv4): Likewise.
22997         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22998         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
22999         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
23000         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
23001         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23002         Make variadic.
23003         * time/strptime_l.c (localtime_r): Convert to prototype-style
23004         function definition.
23005         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23006         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23007         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23008         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23010         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
23011         definition.
23012         (_ufc_doit_r): Likewise.
23013         * crypt/crypt_util.c (_ufc_copymem): Likewise.
23014         (_ufc_output_conversion_r): Likewise.
23015         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
23016         * inet/rcmd.c (rcmd_af): Likewise.
23017         (rcmd): Likewise.
23018         (ruserok_af): Likewise.
23019         (ruserok): Likewise.
23020         (ruserok2_sa): Likewise.
23021         (ruserok_sa): Likewise.
23022         (iruserok_af): Likewise.
23023         (iruserok): Likewise.
23024         (__ivaliduser): Likewise.
23025         (__validuser2_sa): Likewise.
23026         * inet/rexec.c (rexec_af): Likewise.
23027         (rexec): Likewise.
23028         * inet/ruserpass.c (ruserpass): Likewise.
23029         * locale/programs/xmalloc.c (xcalloc): Likewise.
23030         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
23031         * math/w_drem.c (__drem): Likewise.
23032         * math/w_dremf.c (__dremf): Likewise.
23033         * math/w_dreml.c (__dreml): Likewise.
23034         * misc/daemon.c (daemon): Likewise.
23035         * resolv/res_debug.c (p_fqnname): Likewise.
23036         * stdlib/div.c (div): Likewise.
23037         * string/memcmp.c (memcmp_bytes): Likewise.
23038         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
23039         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
23041         * crypt/cert.c (main): Convert to prototype-style function
23042         definition.
23043         * io/pipe.c (__pipe): Likewise.
23044         * io/pipe2.c (__pipe2): Likewise.
23045         * misc/futimesat.c (futimesat): Likewise.
23046         * misc/utimes.c (__utimes): Likewise.
23047         * posix/execve.c (__execve): Likewise.
23048         * posix/execvp.c (execvp): Likewise.
23049         * posix/execvpe.c (__execvpe): Likewise.
23050         * posix/fexecve.c (fexecve): Likewise.
23051         * socket/socketpair.c (socketpair): Likewise.
23052         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23053         * stdlib/erand48.c (erand48): Likewise.
23054         * stdlib/erand48_r.c (__erand48_r): Likewise.
23055         * stdlib/jrand48.c (jrand48): Likewise.
23056         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
23057         * stdlib/lcong48.c (lcong48): Likewise.
23058         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
23059         * stdlib/nrand48.c (nrand48): Likewise.
23060         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
23061         * stdlib/seed48.c (seed48): Likewise.
23062         * stdlib/seed48_r.c (__seed48_r): Likewise.
23063         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
23064         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
23065         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
23067 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
23069         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
23070         * configure: Regenerated.
23071         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
23072         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
23073         unconditional.
23074         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23075         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23076         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23077         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
23078         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
23079         unconditional.
23080         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23082         * posix/Makefile (CFLAGS-regex.c): Remove variable.
23083         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
23085         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
23086         function definition.
23087         * crypt/crypt_util.c (__encrypt_r): Likewise.
23088         * libio/genops.c (_IO_no_init): Likewise.
23089         * libio/iofopncook.c (_IO_fopencookie): Likewise.
23090         (_IO_old_fopencookie): Likewise.
23091         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23092         * libio/iogetline.c (_IO_getline): Likewise.
23093         (_IO_getline_info): Likewise.
23094         * libio/iogetwline.c (_IO_getwline): Likewise.
23095         (_IO_getwline_info): Likewise.
23096         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
23097         * libio/vswprintf.c (_IO_vswprintf): Likewise.
23098         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
23099         (find_entry): Likewise.
23100         (iterate_table): Likewise.
23101         (lookup): Likewise.
23102         * login/forkpty.c (forkpty): Likewise.
23103         * misc/hsearch_r.c (__hsearch_r): Likewise.
23104         * misc/select.c (__select): Likewise.
23105         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
23106         Likewise.
23107         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
23108         Likewise.
23109         * nptl/old_pthread_cond_timedwait.c
23110         (__pthread_cond_timedwait_2_0): Likewise.
23111         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23112         * nptl/pthread_barrierattr_getpshared.c
23113         (pthread_barrierattr_getpshared): Likewise.
23114         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
23115         Likewise.
23116         * nptl/pthread_mutex_setprioceiling.c
23117         (pthread_mutex_setprioceiling): Likewise.
23118         * nptl/pthread_mutexattr_getprioceiling.c
23119         (pthread_mutexattr_getprioceiling): Likewise.
23120         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23121         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23122         Likewise.
23123         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23124         Likewise.
23125         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
23126         Likewise.
23127         * socket/recvfrom.c (__recvfrom): Likewise.
23128         * socket/sendto.c (__sendto): Likewise.
23129         * socket/setsockopt.c (__setsockopt): Likewise.
23130         * stdio-common/_itoa.c (_itoa): Likewise.
23131         * stdio-common/_itowa.c (_itowa): Likewise.
23132         * stdio-common/reg-printf.c (__register_printf_specifier):
23133         Likewise.
23134         (__register_printf_function): Likewise.
23135         * stdio-common/tempname.c (__path_search): Likewise.
23136         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
23137         * stdlib/mul_1.c (mpn_mul_1): Likewise.
23138         * stdlib/random_r.c (__initstate_r): Likewise.
23139         * stdlib/setenv.c (__add_to_environ): Likewise.
23140         * stdlib/submul_1.c (mpn_submul_1): Likewise.
23141         * streams/getpmsg.c (getpmsg): Likewise.
23142         * streams/putmsg.c (putmsg): Likewise.
23143         * streams/putpmsg.c (putpmsg): Likewise.
23144         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
23145         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
23146         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
23147         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
23148         * sunrpc/pm_getport.c (pmap_getport): Likewise.
23149         * sunrpc/svc_udp.c (cache_get): Likewise.
23150         * sunrpc/xdr_array.c (xdr_vector): Likewise.
23151         * sysdeps/mach/hurd/getcwd.c
23152         (__canonicalize_directory_name_internal): Likewise.
23153         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
23154         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
23155         * sysdeps/mach/hurd/select.c (__select): Likewise.
23156         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
23157         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
23158         * sysdeps/sparc/nptl/pthread_barrier_init.c
23159         (__pthread_barrier_init): Likewise.
23160         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
23161         (__pthread_cond_timedwait): Likewise.
23162         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
23163         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
23164         Likewise.
23165         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
23166         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
23167         Likewise.
23168         * sysvipc/semtimedop.c (semtimedop): Likewise.
23169         * time/setitimer.c (__setitimer): Likewise.
23170         * time/strftime_l.c (emacs_strftime): Likewise.
23172 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
23174         * config.make.in (have-ssp): Delete.
23175         (stack-protector): New variable.
23176         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
23177         cache test for -fstack-protector-strong.  Export stack_protector to
23178         the best ssp flag.
23179         * configure: Regenerated.
23180         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
23181         * nscd/Makefile (CFLAGS-nscd): Likewise.
23182         * resolv/Makefile (CFLAGS-libresolv): Likewise.
23184 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
23186         [BZ #19122]
23187         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
23188         attribute_hidden.
23190 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23192         [BZ #18743]
23193         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
23194         code to...
23195         (ELIDE_LOCK): ...here.
23196         (__get_new_count): New function with part of the code from
23197         __elide_lock that updates the value of adapt_count after a
23198         transaction abort.
23199         (__elided_trylock): Moved this code to...
23200         (ELIDE_TRYLOCK): ...here.
23202 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
23204         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
23205         * configure: Regenerate.
23206         * INSTALL: Regenerate.
23207         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
23208         and tweak grammar.
23210 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
23212         * login/programs/pt_chown.c: Include signal.h
23213         (main): Clear any signal mask from the parent process.
23215 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
23217         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
23218         * configure: Regenerated.
23219         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
23220         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
23221         $(gnu89-inline-CFLAGS).
23223         * configure.ac (libc_cv_asm_weak_directive): Remove configure
23224         test.
23225         (libc_cv_asm_weakext_directive): Likewise.
23226         * configure: Regenerated.
23227         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
23228         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
23229         * include/libc-symbols.h
23230         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
23231         #error.
23232         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
23233         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
23235         * sysdeps/arm/backtrace.c (__backtrace): Convert to
23236         prototype-style function definition.
23237         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
23238         * sysdeps/i386/ffs.c (__ffs): Likewise.
23239         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23240         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
23241         Likewise.
23242         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23243         Likewise.
23244         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
23245         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23246         Likewise.
23247         * sysdeps/m68k/ffs.c (__ffs): Likewise.
23248         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
23249         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
23250         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
23251         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
23252         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
23253         * sysdeps/mach/hurd/access.c (__access): Likewise.
23254         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
23255         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
23256         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
23257         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
23258         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
23259         (cthread_getspecific): Likewise.
23260         (cthread_setspecific): Likewise.
23261         (__libc_getspecific): Likewise.
23262         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
23263         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
23264         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
23265         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
23266         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
23267         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
23268         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
23269         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
23270         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
23271         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
23272         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
23273         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
23274         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
23275         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
23276         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
23277         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
23278         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
23279         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
23280         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
23281         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
23282         * sysdeps/mach/hurd/link.c (__link): Likewise.
23283         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
23284         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
23285         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
23286         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
23287         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23288         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
23289         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
23290         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
23291         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
23292         * sysdeps/mach/hurd/rename.c (rename): Likewise.
23293         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
23294         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
23295         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
23296         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
23297         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
23298         * sysdeps/mach/hurd/send.c (__send): Likewise.
23299         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
23300         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
23301         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
23302         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
23303         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
23304         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
23305         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
23306         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
23307         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
23308         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
23309         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
23310         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
23311         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
23312         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
23313         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
23314         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
23315         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
23316         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
23317         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
23318         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
23319         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
23320         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
23321         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
23322         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
23323         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
23324         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
23325         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
23326         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
23327         * sysdeps/posix/alarm.c (alarm): Likewise.
23328         * sysdeps/posix/cuserid.c (cuserid): Likewise.
23329         * sysdeps/posix/dirfd.c (dirfd): Likewise.
23330         * sysdeps/posix/dup.c (__dup): Likewise.
23331         * sysdeps/posix/dup2.c (__dup2): Likewise.
23332         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
23333         (main): Likewise.
23334         * sysdeps/posix/flock.c (__flock): Likewise.
23335         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
23336         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
23337         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
23338         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
23339         * sysdeps/posix/isatty.c (__isatty): Likewise.
23340         * sysdeps/posix/killpg.c (killpg): Likewise.
23341         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23342         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
23343         * sysdeps/posix/raise.c (raise): Likewise.
23344         * sysdeps/posix/remove.c (remove): Likewise.
23345         * sysdeps/posix/rename.c (rename): Likewise.
23346         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
23347         * sysdeps/posix/seekdir.c (seekdir): Likewise.
23348         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
23349         * sysdeps/posix/sigignore.c (sigignore): Likewise.
23350         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
23351         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
23352         * sysdeps/posix/sigset.c (sigset): Likewise.
23353         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
23354         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
23355         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
23356         * sysdeps/posix/time.c (time): Likewise.
23357         * sysdeps/posix/ttyname.c (getttyname): Likewise.
23358         (ttyname): Likewise.
23359         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
23360         * sysdeps/posix/utime.c (utime): Likewise.
23361         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
23362         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23363         Likewise.
23364         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
23365         (pthread_spin_trylock): Likewise.
23366         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
23367         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
23368         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
23369         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
23370         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
23371         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
23372         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
23373         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
23374         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
23375         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
23376         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
23377         * sysdeps/s390/ffs.c (__ffs): Likewise.
23378         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
23379         Likewise.
23380         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23381         Likewise.
23382         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
23383         Likewise.
23384         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
23385         (pthread_barrier_destroy): Likewise.
23386         * sysdeps/sparc/nptl/pthread_barrier_wait.c
23387         (__pthread_barrier_wait): Likewise.
23388         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
23389         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
23390         (__pthread_barrier_wait): Likewise.
23391         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
23392         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
23393         (memcmp_not_common_alignment): Likewise.
23394         (MEMCMP): Likewise.
23395         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
23396         (_wordcopy_fwd_dest_aligned): Likewise.
23397         (_wordcopy_bwd_aligned): Likewise.
23398         (_wordcopy_bwd_dest_aligned): Likewise.
23399         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
23400         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
23401         * sysdeps/unix/bsd/stty.c (stty): Likewise.
23402         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
23403         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
23404         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
23405         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
23406         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
23407         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
23408         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
23409         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
23410         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
23411         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
23412         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
23413         * sysdeps/unix/stime.c (stime): Likewise.
23414         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
23415         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
23416         Likewise.  Use internal_function.
23417         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
23418         Convert to prototype-style function definition.
23419         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23420         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23421         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
23422         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23423         Likewise.  Use internal_function.
23424         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
23425         prototype-style function definition
23426         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23427         Likewise.
23428         (__getlogin_r): Likewise.
23429         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
23430         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
23431         (__pthread_cond_broadcast): Likewise.
23432         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
23433         (__pthread_cond_destroy): Likewise.
23434         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
23435         (__pthread_cond_init): Likewise.
23436         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
23437         (__pthread_cond_signal): Likewise.
23438         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
23439         (__pthread_cond_wait): Likewise.
23440         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
23441         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23442         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
23443         Likewise.
23444         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
23445         Likewise.
23446         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
23447         Likewise.
23448         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
23449         Likewise.
23450         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
23451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
23452         (__ftruncate64): Likewise.
23453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
23454         (truncate64): Likewise.
23455         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
23456         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
23457         (pthread_getcpuclockid): Likewise.
23458         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
23459         Likewise.
23460         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
23461         Likewise.
23462         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
23463         Likewise.
23464         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
23465         Likewise.
23466         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
23467         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
23468         (__libc_sigaction): Likewise.
23469         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
23470         Likewise.
23471         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
23472         (__sigprocmask): Likewise.
23473         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
23474         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
23475         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
23476         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23477         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23478         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
23479         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23480         Likewise.
23481         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
23482         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
23483         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23484         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
23485         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
23486         Likewise.
23487         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
23488         (__sigprocmask): Likewise.
23489         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
23490         (cfgetispeed): Likewise.
23491         (cfsetospeed): Likewise.
23492         (cfsetispeed): Likewise.
23493         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
23494         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
23495         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23496         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23497         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
23498         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
23499         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
23500         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
23501         Likewise.
23502         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
23503         Likewise.
23504         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
23505         Likewise.
23506         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
23507         Likewise.
23508         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
23510 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23512         sunrpc: Rewrite with explicit TLS access using __thread.
23513         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
23514         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
23515         directly.
23516         (__rpc_thread_variables): Access thread_rpc_vars directly.
23517         Eliminate redundant assignment of the tvp variable.
23519 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23521         malloc: Rewrite with explicit TLS access using __thread.
23522         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
23523         (tsd_setspecific, tsd_getspecific): Remove.
23524         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
23525         (tsd_setspecific, tsd_getspecific): Likewise.
23526         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
23527         (tsd_setspecific, tsd_getspecific): Likewise.
23528         * malloc/arena.c (thread_arena): New TLS variable.
23529         (arena_key): Remove variable.
23530         (arena_get): Use thread_arena.
23531         (arena_lookup): Remove macro.
23532         (malloc_atfork, free_atfork, ptmalloc_lock_all)
23533         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
23534         (_int_new_arena, get_free_list, reused_arena)
23535         (arena_thread_freeres): Use thread_arena.
23536         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
23537         tsd_getspecific, tsd_setspecific from safety annotations.
23538         (Allocating Cleared Space): Remove arena_lookup from safety
23539         annotations.
23541 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23543         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
23544         struct scratch_buffer instead of extend_alloca.
23546 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23548         * sysdeps/unix/sysv/linux/kernel-features.h
23549         (__ASSUME_SOCK_CLOEXEC): Remove.
23550         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
23551         (__have_paccept): Remove unused macro.
23552         * include/unistd.h (__have_sock_cloexec): Remove declaration.
23553         * misc/syslog.c (openlog_internal): Remove fallback code for
23554         !__ASSUME_SOCK_CLOEXEC.
23555         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
23556         missing SOCK_CLOEXEC.
23557         * nscd/connections.c (have_sock_cloexec): Remove definition.
23558         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
23559         * nscd/nscd_helper.c (open_socket): Remove fallback code for
23560         !__ASSUME_SOCK_CLOEXEC.
23561         * resolv/res_send.c (__have_o_nonblock): Remove definition.
23562         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
23563         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
23564         definition.
23565         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
23566         code for !__ASSUME_SOCK_CLOEXEC.
23568 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23570         [BZ #18982]
23571         * manual/stdio.texi (Variable Arguments Output): Add portability
23572         note, explaining that vfprintf clobbers the va_list pointer.
23574 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
23576         * math/libm-test.inc (fabs_test_data): Add more tests.
23577         (fdim_test_data): Likewise.
23578         (fma_test_data): Likewise.
23579         (fmax_test_data): Likewise.
23580         (fmin_test_data): Likewise.
23581         (fmod_test_data): Likewise.
23583 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
23585         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
23586         data.
23588 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
23590         * math/libm-test.inc (ceil_test_data): Add more tests and more
23591         expectations for "inexact".
23592         (floor_test_data): Add more tests.
23593         (round_test_data): Likewise.
23594         (trunc_test_data): Likewise.
23596         * crypt/cert.c (good_bye): Convert to prototype-style function
23597         definition.
23598         (get8): Likewise.
23599         (put8): Likewise.
23600         * crypt/crypt-entry.c (crypt): Likewise.
23601         (__fcrypt): Likewise.
23602         * crypt/crypt_util.c (_ufc_prbits): Likewise.
23603         (_ufc_set_bits): Likewise.
23604         (_ufc_clearmem): Likewise.
23605         (__init_des_r): Likewise.
23606         (shuffle_sb): Likewise.
23607         (shuffle_sb): Likewise.
23608         (_ufc_setup_salt_r): Likewise.
23609         (_ufc_mk_keytab_r): Likewise.
23610         (_ufc_dofinalperm_r): Likewise.
23611         (encrypt): Likewise.
23612         (__setkey_r): Likewise.
23613         (setkey): Likewise.
23614         * crypt/md5.c (md5_init_ctx): Likewise.
23615         (md5_read_ctx): Likewise.
23616         (md5_finish_ctx): Likewise.
23617         (md5_stream): Likewise.
23618         (md5_buffer): Likewise.
23619         (md5_process_bytes): Likewise.
23620         * crypt/sha256.c (__sha256_init_ctx): Likewise.
23621         (__sha256_finish_ctx): Likewise.
23622         (__sha256_process_bytes): Likewise.
23623         * crypt/sha512.c (__sha512_init_ctx): Likewise.
23624         (__sha512_finish_ctx): Likewise.
23625         (__sha512_process_bytes): Likewise.
23626         * ctype/isctype.c (__isctype): Likewise.
23627         * debug/backtrace.c (__backtrace): Likewise.
23628         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
23629         * debug/fgets_chk.c (__fgets_chk): Likewise.
23630         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
23631         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
23632         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23633         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23634         * debug/memset_chk.c (__memset_chk): Likewise.
23635         * debug/strcat_chk.c (__strcat_chk): Likewise.
23636         * debug/strncat_chk.c (__strncat_chk): Likewise.
23637         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
23638         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
23639         * dirent/dirfd.c (dirfd): Likewise.
23640         * dirent/getdents.c (__getdirentries): Likewise.
23641         * dirent/getdents64.c (getdirentries64): Likewise.
23642         * dirent/rewinddir.c (__rewinddir): Likewise.
23643         * dirent/seekdir.c (seekdir): Likewise.
23644         * dirent/telldir.c (telldir): Likewise.
23645         * elf/sln.c (makesymlinks): Likewise.
23646         (makesymlink): Likewise.
23647         * gmon/gmon.c (__moncontrol): Likewise.
23648         (__monstartup): Likewise.
23649         (write_hist): Likewise.
23650         (write_call_graph): Likewise.
23651         (write_bb_counts): Likewise.
23652         * grp/setgroups.c (setgroups): Likewise.
23653         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23654         * inet/inet_net.c (inet_network): Likewise.
23655         * inet/inet_netof.c (inet_netof): Likewise.
23656         * inet/rcmd.c (rresvport_af): Likewise.
23657         (rresvport): Likewise.
23658         * io/access.c (__access): Likewise.
23659         * io/chdir.c (__chdir): Likewise.
23660         * io/chmod.c (__chmod): Likewise.
23661         * io/chown.c (__chown): Likewise.
23662         * io/close.c (__close): Likewise.
23663         * io/creat.c (creat): Likewise.
23664         * io/creat64.c (creat64): Likewise.
23665         * io/dup.c (__dup): Likewise.
23666         * io/dup2.c (__dup2): Likewise.
23667         * io/dup3.c (__dup3): Likewise.
23668         * io/euidaccess.c (__euidaccess): Likewise.
23669         * io/faccessat.c (faccessat): Likewise.
23670         * io/fchmod.c (__fchmod): Likewise.
23671         * io/fchmodat.c (fchmodat): Likewise.
23672         * io/fchown.c (__fchown): Likewise.
23673         * io/fchownat.c (fchownat): Likewise.
23674         * io/fcntl.c (__fcntl): Likewise.
23675         * io/flock.c (__flock): Likewise.
23676         * io/fts.c (fts_load): Likewise.
23677         (fts_close): Likewise.
23678         (fts_read): Likewise.
23679         (fts_set): Likewise.
23680         (fts_children): Likewise.
23681         (fts_build): Likewise.
23682         (fts_stat): Likewise.
23683         (fts_sort): Likewise.
23684         (fts_alloc): Likewise.
23685         (fts_lfree): Likewise.
23686         (fts_palloc): Likewise.
23687         (fts_padjust): Likewise.
23688         (fts_maxarglen): Likewise.
23689         (fts_safe_changedir): Likewise.
23690         * io/getwd.c (getwd): Likewise.
23691         * io/isatty.c (__isatty): Likewise.
23692         * io/lchown.c (__lchown): Likewise.
23693         * io/link.c (__link): Likewise.
23694         * io/linkat.c (linkat): Likewise.
23695         * io/lseek.c (__libc_lseek): Likewise.
23696         * io/mkdir.c (__mkdir): Likewise.
23697         * io/mkdirat.c (mkdirat): Likewise.
23698         * io/mkfifo.c (mkfifo): Likewise.
23699         * io/mkfifoat.c (mkfifoat): Likewise.
23700         * io/open.c (__libc_open): Likewise.
23701         * io/open64.c (__libc_open64): Likewise.
23702         * io/readlink.c (__readlink): Likewise.
23703         * io/readlinkat.c (readlinkat): Likewise.
23704         * io/rmdir.c (__rmdir): Likewise.
23705         * io/symlink.c (__symlink): Likewise.
23706         * io/symlinkat.c (symlinkat): Likewise.
23707         * io/ttyname.c (ttyname): Likewise.
23708         * io/ttyname_r.c (__ttyname_r): Likewise.
23709         * io/umask.c (__umask): Likewise.
23710         * io/unlink.c (__unlink): Likewise.
23711         * io/unlinkat.c (unlinkat): Likewise.
23712         * io/utime.c (utime): Likewise.
23713         * libio/clearerr.c (clearerr): Likewise.
23714         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
23715         * libio/feof.c (_IO_feof): Likewise.
23716         * libio/feof_u.c (feof_unlocked): Likewise.
23717         * libio/ferror.c (_IO_ferror): Likewise.
23718         * libio/ferror_u.c (ferror_unlocked): Likewise.
23719         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23720         * libio/fileno.c (__fileno): Likewise.
23721         * libio/fputc.c (fputc): Likewise.
23722         * libio/fputc_u.c (fputc_unlocked): Likewise.
23723         * libio/fputwc.c (fputwc): Likewise.
23724         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
23725         * libio/freopen.c (freopen): Likewise.
23726         * libio/freopen64.c (freopen64): Likewise.
23727         * libio/fseek.c (fseek): Likewise.
23728         * libio/fseeko.c (fseeko): Likewise.
23729         * libio/fseeko64.c (fseeko64): Likewise.
23730         * libio/ftello.c (__ftello): Likewise.
23731         * libio/ftello64.c (ftello64): Likewise.
23732         * libio/fwide.c (fwide): Likewise.
23733         * libio/genops.c (_IO_un_link): Likewise.
23734         (_IO_link_in): Likewise.
23735         (_IO_least_marker): Likewise.
23736         (_IO_switch_to_main_get_area): Likewise.
23737         (_IO_switch_to_backup_area): Likewise.
23738         (_IO_switch_to_get_mode): Likewise.
23739         (_IO_free_backup_area): Likewise.
23740         (_IO_switch_to_put_mode): Likewise.
23741         (__overflow): Likewise.
23742         (__underflow): Likewise.
23743         (__uflow): Likewise.
23744         (_IO_setb): Likewise.
23745         (_IO_doallocbuf): Likewise.
23746         (_IO_default_underflow): Likewise.
23747         (_IO_default_uflow): Likewise.
23748         (_IO_default_xsputn): Likewise.
23749         (_IO_sgetn): Likewise.
23750         (_IO_default_xsgetn): Likewise.
23751         (_IO_sync): Likewise.
23752         (_IO_default_setbuf): Likewise.
23753         (_IO_default_seekpos): Likewise.
23754         (_IO_default_doallocate): Likewise.
23755         (_IO_init): Likewise.
23756         (_IO_old_init): Likewise.
23757         (_IO_default_sync): Likewise.
23758         (_IO_default_finish): Likewise.
23759         (_IO_default_seekoff): Likewise.
23760         (_IO_sputbackc): Likewise.
23761         (_IO_sungetc): Likewise.
23762         (_IO_set_column): Likewise.
23763         (_IO_set_column): Likewise.
23764         (_IO_adjust_column): Likewise.
23765         (_IO_get_column): Likewise.
23766         (_IO_init_marker): Likewise.
23767         (_IO_remove_marker): Likewise.
23768         (_IO_marker_difference): Likewise.
23769         (_IO_marker_delta): Likewise.
23770         (_IO_seekmark): Likewise.
23771         (_IO_unsave_markers): Likewise.
23772         (_IO_nobackup_pbackfail): Likewise.
23773         (_IO_default_pbackfail): Likewise.
23774         (_IO_default_seek): Likewise.
23775         (_IO_default_stat): Likewise.
23776         (_IO_default_read): Likewise.
23777         (_IO_default_write): Likewise.
23778         (_IO_default_showmanyc): Likewise.
23779         (_IO_default_imbue): Likewise.
23780         (_IO_iter_next): Likewise.
23781         (_IO_iter_file): Likewise.
23782         * libio/getc.c (_IO_getc): Likewise.
23783         * libio/getwc.c (_IO_getwc): Likewise.
23784         * libio/iofclose.c (_IO_new_fclose): Likewise.
23785         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23786         * libio/iofflush.c (_IO_fflush): Likewise.
23787         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
23788         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
23789         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
23790         * libio/iofgets.c (_IO_fgets): Likewise.
23791         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
23792         * libio/iofgetws.c (fgetws): Likewise.
23793         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23794         * libio/iofopen64.c (_IO_fopen64): Likewise.
23795         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23796         (_IO_cookie_write): Likewise.
23797         (_IO_cookie_seek): Likewise.
23798         (_IO_cookie_close): Likewise.
23799         (_IO_cookie_seekoff): Likewise.
23800         (_IO_old_cookie_seek): Likewise.
23801         * libio/iofputs.c (_IO_fputs): Likewise.
23802         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
23803         * libio/iofputws.c (fputws): Likewise.
23804         * libio/iofputws_u.c (fputws_unlocked): Likewise.
23805         * libio/iofread.c (_IO_fread): Likewise.
23806         * libio/iofread_u.c (__fread_unlocked): Likewise.
23807         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
23808         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
23809         * libio/ioftell.c (_IO_ftell): Likewise.
23810         * libio/iofwrite.c (_IO_fwrite): Likewise.
23811         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23812         * libio/iogets.c (_IO_gets): Likewise.
23813         * libio/iopadn.c (_IO_padn): Likewise.
23814         * libio/iopopen.c (_IO_new_proc_open): Likewise.
23815         (_IO_new_popen): Likewise.
23816         (_IO_new_proc_close): Likewise.
23817         * libio/ioputs.c (_IO_puts): Likewise.
23818         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
23819         (_IO_seekoff): Likewise.
23820         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
23821         (_IO_seekpos): Likewise.
23822         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
23823         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
23824         * libio/ioungetc.c (_IO_ungetc): Likewise.
23825         * libio/ioungetwc.c (ungetwc): Likewise.
23826         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23827         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
23828         * libio/iowpadn.c (_IO_wpadn): Likewise.
23829         * libio/libc_fatal.c (__libc_fatal): Likewise.
23830         * libio/memstream.c (__open_memstream): Likewise.
23831         (_IO_mem_sync): Likewise.
23832         (_IO_mem_finish): Likewise.
23833         * libio/oldfileops.c (_IO_old_file_init): Likewise.
23834         (_IO_old_file_close_it): Likewise.
23835         (_IO_old_file_finish): Likewise.
23836         (_IO_old_file_fopen): Likewise.
23837         (_IO_old_file_attach): Likewise.
23838         (_IO_old_file_setbuf): Likewise.
23839         (_IO_old_do_write): Likewise.
23840         (old_do_write): Likewise.
23841         (_IO_old_file_underflow): Likewise.
23842         (_IO_old_file_overflow): Likewise.
23843         (_IO_old_file_sync): Likewise.
23844         (_IO_old_file_seekoff): Likewise.
23845         (_IO_old_file_write): Likewise.
23846         (_IO_old_file_xsputn): Likewise.
23847         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
23848         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23849         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
23850         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
23851         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23852         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
23853         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
23854         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
23855         (_IO_old_popen): Likewise.
23856         (_IO_old_proc_close): Likewise.
23857         * libio/oldpclose.c (__old_pclose): Likewise.
23858         * libio/pclose.c (__new_pclose): Likewise.
23859         * libio/peekc.c (_IO_peekc_locked): Likewise.
23860         * libio/putc.c (_IO_putc): Likewise.
23861         * libio/putc_u.c (putc_unlocked): Likewise.
23862         * libio/putchar.c (putchar): Likewise.
23863         * libio/putchar_u.c (putchar_unlocked): Likewise.
23864         * libio/putwc.c (putwc): Likewise.
23865         * libio/putwc_u.c (putwc_unlocked): Likewise.
23866         * libio/putwchar.c (putwchar): Likewise.
23867         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
23868         * libio/rewind.c (rewind): Likewise.
23869         * libio/setbuf.c (setbuf): Likewise.
23870         * libio/setlinebuf.c (setlinebuf): Likewise.
23871         * libio/vasprintf.c (_IO_vasprintf): Likewise.
23872         * libio/vscanf.c (_IO_vscanf): Likewise.
23873         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
23874         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
23875         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
23876         * libio/wgenops.c (_IO_least_wmarker): Likewise.
23877         (_IO_switch_to_main_wget_area): Likewise.
23878         (_IO_switch_to_wbackup_area): Likewise.
23879         (_IO_wsetb): Likewise.
23880         (_IO_wdefault_pbackfail): Likewise.
23881         (_IO_wdefault_finish): Likewise.
23882         (_IO_wdefault_uflow): Likewise.
23883         (__woverflow): Likewise.
23884         (__wuflow): Likewise.
23885         (__wunderflow): Likewise.
23886         (_IO_wdefault_xsputn): Likewise.
23887         (_IO_wdefault_xsgetn): Likewise.
23888         (_IO_wdoallocbuf): Likewise.
23889         (_IO_wdefault_doallocate): Likewise.
23890         (_IO_switch_to_wget_mode): Likewise.
23891         (_IO_free_wbackup_area): Likewise.
23892         (_IO_switch_to_wput_mode): Likewise.
23893         (_IO_sputbackwc): Likewise.
23894         (_IO_sungetwc): Likewise.
23895         (_IO_adjust_wcolumn): Likewise.
23896         (_IO_init_wmarker): Likewise.
23897         (_IO_wmarker_delta): Likewise.
23898         (_IO_seekwmark): Likewise.
23899         (_IO_unsave_wmarkers): Likewise.
23900         * libio/wmemstream.c (open_wmemstream): Likewise.
23901         (_IO_wmem_sync): Likewise.
23902         (_IO_wmem_finish): Likewise.
23903         * locale/nl_langinfo.c (nl_langinfo): Likewise.
23904         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
23905         * locale/programs/simple-hash.c (init_hash): Likewise.
23906         (delete_hash): Likewise.
23907         (insert_entry): Likewise.
23908         (set_entry): Likewise.
23909         (next_prime): Likewise.
23910         (is_prime): Likewise.
23911         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
23912         (xmalloc): Likewise.
23913         (xrealloc): Likewise.
23914         * locale/programs/xstrdup.c (xstrdup): Likewise.
23915         * localedata/collate-test.c (xstrcoll): Likewise.
23916         * localedata/xfrm-test.c (xstrcmp): Likewise.
23917         * login/getlogin_r.c (__getlogin_r): Likewise.
23918         * login/getpt.c (__posix_openpt): Likewise.
23919         * login/login_tty.c (login_tty): Likewise.
23920         * login/setlogin.c (setlogin): Likewise.
23921         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
23922         (mach_msg_destroy_port): Likewise.
23923         (mach_msg_destroy_memory): Likewise.
23924         * malloc/mcheck.c (flood): Likewise.
23925         * misc/acct.c (acct): Likewise.
23926         * misc/brk.c (__brk): Likewise.
23927         * misc/chflags.c (chflags): Likewise.
23928         * misc/chroot.c (chroot): Likewise.
23929         * misc/fchflags.c (fchflags): Likewise.
23930         * misc/fstab.c (getfsspec): Likewise.
23931         (getfsfile): Likewise.
23932         * misc/fsync.c (fsync): Likewise.
23933         * misc/ftruncate.c (__ftruncate): Likewise.
23934         * misc/ftruncate64.c (__ftruncate64): Likewise.
23935         * misc/getdomain.c (getdomainname): Likewise.
23936         (getdomainname): Likewise.
23937         * misc/gethostname.c (__gethostname): Likewise.
23938         * misc/getpass.c (getpass): Likewise.
23939         * misc/getttyent.c (skip): Likewise.
23940         (value): Likewise.
23941         * misc/gtty.c (gtty): Likewise.
23942         * misc/hsearch.c (hsearch): Likewise.
23943         (hcreate): Likewise.
23944         * misc/hsearch_r.c (__hcreate_r): Likewise.
23945         (__hdestroy_r): Likewise.
23946         * misc/ioctl.c (__ioctl): Likewise.
23947         * misc/mkdtemp.c (mkdtemp): Likewise.
23948         * misc/mkostemp.c (mkostemp): Likewise.
23949         * misc/mkostemp64.c (mkostemp64): Likewise.
23950         * misc/mkostemps.c (mkostemps): Likewise.
23951         * misc/mkostemps64.c (mkostemps64): Likewise.
23952         * misc/mkstemp.c (mkstemp): Likewise.
23953         * misc/mkstemp64.c (mkstemp64): Likewise.
23954         * misc/mkstemps.c (mkstemps): Likewise.
23955         * misc/mkstemps64.c (mkstemps64): Likewise.
23956         * misc/mktemp.c (__mktemp): Likewise.
23957         * misc/preadv.c (preadv): Likewise.
23958         * misc/preadv64.c (preadv64): Likewise.
23959         * misc/pwritev.c (pwritev): Likewise.
23960         * misc/pwritev64.c (pwritev64): Likewise.
23961         * misc/readv.c (__readv): Likewise.
23962         * misc/revoke.c (revoke): Likewise.
23963         * misc/setdomain.c (setdomainname): Likewise.
23964         * misc/setegid.c (setegid): Likewise.
23965         * misc/seteuid.c (seteuid): Likewise.
23966         * misc/sethostid.c (sethostid): Likewise.
23967         * misc/sethostname.c (sethostname): Likewise.
23968         * misc/setregid.c (__setregid): Likewise.
23969         * misc/setreuid.c (__setreuid): Likewise.
23970         * misc/sstk.c (sstk): Likewise.
23971         * misc/stty.c (stty): Likewise.
23972         * misc/syscall.c (syscall): Likewise.
23973         * misc/syslog.c (setlogmask): Likewise.
23974         * misc/truncate.c (__truncate): Likewise.
23975         * misc/truncate64.c (truncate64): Likewise.
23976         * misc/ualarm.c (ualarm): Likewise.
23977         * misc/usleep.c (usleep): Likewise.
23978         * misc/ustat.c (ustat): Likewise.
23979         * misc/writev.c (__writev): Likewise.
23980         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
23981         * nptl/old_pthread_cond_broadcast.c
23982         (__pthread_cond_broadcast_2_0): Likewise.
23983         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
23984         Likewise.
23985         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
23986         Likewise.
23987         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
23988         Likewise.
23989         * nptl/pt-raise.c (raise): Likewise.
23990         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
23991         Likewise.
23992         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
23993         * nptl/pthread_barrierattr_destroy.c
23994         (pthread_barrierattr_destroy): Likewise.
23995         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23996         Likewise.
23997         * nptl/pthread_barrierattr_setpshared.c
23998         (pthread_barrierattr_setpshared): Likewise.
23999         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
24000         Likewise.
24001         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
24002         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24003         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
24004         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
24005         Likewise.
24006         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
24007         Likewise.
24008         * nptl/pthread_condattr_getpshared.c
24009         (pthread_condattr_getpshared): Likewise.
24010         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
24011         Likewise.
24012         * nptl/pthread_condattr_setpshared.c
24013         (pthread_condattr_setpshared): Likewise.
24014         * nptl/pthread_detach.c (pthread_detach): Likewise.
24015         * nptl/pthread_equal.c (__pthread_equal): Likewise.
24016         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
24017         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
24018         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
24019         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
24020         Likewise.
24021         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
24022         Likewise.
24023         * nptl/pthread_mutex_getprioceiling.c
24024         (pthread_mutex_getprioceiling): Likewise.
24025         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
24026         Likewise.
24027         * nptl/pthread_mutexattr_getprotocol.c
24028         (pthread_mutexattr_getprotocol): Likewise.
24029         * nptl/pthread_mutexattr_getpshared.c
24030         (pthread_mutexattr_getpshared): Likewise.
24031         * nptl/pthread_mutexattr_getrobust.c
24032         (pthread_mutexattr_getrobust): Likewise.
24033         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24034         Likewise.
24035         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
24036         Likewise.
24037         * nptl/pthread_mutexattr_setprioceiling.c
24038         (pthread_mutexattr_setprioceiling): Likewise.
24039         * nptl/pthread_mutexattr_setprotocol.c
24040         (pthread_mutexattr_setprotocol): Likewise.
24041         * nptl/pthread_mutexattr_setpshared.c
24042         (pthread_mutexattr_setpshared): Likewise.
24043         * nptl/pthread_mutexattr_setrobust.c
24044         (pthread_mutexattr_setrobust): Likewise.
24045         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
24046         Likewise.
24047         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
24048         Likewise.
24049         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
24050         Likewise.
24051         * nptl/pthread_rwlockattr_getkind_np.c
24052         (pthread_rwlockattr_getkind_np): Likewise.
24053         * nptl/pthread_rwlockattr_getpshared.c
24054         (pthread_rwlockattr_getpshared): Likewise.
24055         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
24056         Likewise.
24057         * nptl/pthread_rwlockattr_setkind_np.c
24058         (pthread_rwlockattr_setkind_np): Likewise.
24059         * nptl/pthread_rwlockattr_setpshared.c
24060         (pthread_rwlockattr_setpshared): Likewise.
24061         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
24062         Likewise.
24063         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
24064         Likewise.
24065         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
24066         Likewise.
24067         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
24068         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
24069         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
24070         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
24071         * nptl/sem_close.c (sem_close): Likewise.
24072         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
24073         * nptl/sem_init.c (__old_sem_init): Likewise.
24074         * nptl/sigaction.c (__sigaction): Likewise.
24075         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
24076         * posix/_exit.c (_exit): Likewise.
24077         * posix/alarm.c (alarm): Likewise.
24078         * posix/confstr.c (confstr): Likewise.
24079         * posix/fpathconf.c (__fpathconf): Likewise.
24080         * posix/getgroups.c (__getgroups): Likewise.
24081         * posix/getpgid.c (__getpgid): Likewise.
24082         * posix/group_member.c (__group_member): Likewise.
24083         * posix/pathconf.c (__pathconf): Likewise.
24084         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
24085         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
24086         * posix/setgid.c (__setgid): Likewise.
24087         * posix/setpgid.c (__setpgid): Likewise.
24088         * posix/setuid.c (__setuid): Likewise.
24089         * posix/sleep.c (__sleep): Likewise.
24090         * posix/sysconf.c (__sysconf): Likewise.
24091         * posix/times.c (__times): Likewise.
24092         * posix/uname.c (__uname): Likewise.
24093         * posix/waitid.c (__waitid): Likewise.
24094         * pwd/getpw.c (__getpw): Likewise.
24095         * resolv/base64.c (b64_pton): Likewise.
24096         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
24097         * resolv/gethnamaddr.c (Dprintf): Likewise.
24098         (gethostbyname): Likewise.
24099         (gethostbyname2): Likewise.
24100         (gethostbyaddr): Likewise.
24101         (_sethtent): Likewise.
24102         (_gethtbyname): Likewise.
24103         (_gethtbyname2): Likewise.
24104         (_gethtbyaddr): Likewise.
24105         (map_v4v6_address): Likewise.
24106         (map_v4v6_hostent): Likewise.
24107         (addrsort): Likewise.
24108         (ht_sethostent): Likewise.
24109         (ht_gethostbyname): Likewise.
24110         (ht_gethostbyaddr): Likewise.
24111         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
24112         (inet_net_ntop_ipv4): Likewise.
24113         * resolv/inet_neta.c (inet_neta): Likewise.
24114         * resolv/inet_ntop.c (inet_ntop): Likewise.
24115         (inet_ntop4): Likewise.
24116         (inet_ntop6): Likewise.
24117         * resolv/inet_pton.c (__inet_pton): Likewise.
24118         (inet_pton4): Likewise.
24119         (inet_pton6): Likewise.
24120         * resolv/res_debug.c (loc_aton): Likewise.
24121         (loc_ntoa): Likewise.
24122         * resource/getpriority.c (__getpriority): Likewise.
24123         * resource/getrusage.c (__getrusage): Likewise.
24124         * resource/nice.c (nice): Likewise.
24125         * resource/setpriority.c (__setpriority): Likewise.
24126         * resource/setrlimit64.c (setrlimit64): Likewise.
24127         * resource/vlimit.c (vlimit): Likewise.
24128         * resource/vtimes.c (vtimes): Likewise.
24129         * rt/aio_error.c (aio_error): Likewise.
24130         * rt/aio_return.c (aio_return): Likewise.
24131         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
24132         * signal/kill.c (__kill): Likewise.
24133         * signal/killpg.c (killpg): Likewise.
24134         * signal/raise.c (raise): Likewise.
24135         * signal/sigaction.c (__sigaction): Likewise.
24136         * signal/sigaddset.c (sigaddset): Likewise.
24137         * signal/sigaltstack.c (sigaltstack): Likewise.
24138         * signal/sigandset.c (sigandset): Likewise.
24139         * signal/sigblock.c (__sigblock): Likewise.
24140         * signal/sigdelset.c (sigdelset): Likewise.
24141         * signal/sigempty.c (sigemptyset): Likewise.
24142         * signal/sigfillset.c (sigfillset): Likewise.
24143         * signal/sighold.c (sighold): Likewise.
24144         * signal/sigignore.c (sigignore): Likewise.
24145         * signal/sigintr.c (siginterrupt): Likewise.
24146         * signal/sigisempty.c (sigisemptyset): Likewise.
24147         * signal/sigismem.c (sigismember): Likewise.
24148         * signal/signal.c (signal): Likewise.
24149         * signal/sigorset.c (sigorset): Likewise.
24150         * signal/sigpause.c (__sigpause): Likewise.
24151         * signal/sigpending.c (sigpending): Likewise.
24152         * signal/sigprocmask.c (__sigprocmask): Likewise.
24153         * signal/sigrelse.c (sigrelse): Likewise.
24154         * signal/sigreturn.c (__sigreturn): Likewise.
24155         * signal/sigset.c (sigset): Likewise.
24156         * signal/sigsetmask.c (__sigsetmask): Likewise.
24157         * signal/sigstack.c (sigstack): Likewise.
24158         * signal/sigsuspend.c (__sigsuspend): Likewise.
24159         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
24160         * signal/sysv_signal.c (__sysv_signal): Likewise.
24161         * socket/accept.c (accept): Likewise.
24162         * socket/accept4.c (__libc_accept4): Likewise.
24163         * socket/bind.c (__bind): Likewise.
24164         * socket/connect.c (__connect): Likewise.
24165         * socket/getpeername.c (getpeername): Likewise.
24166         * socket/getsockname.c (__getsockname): Likewise.
24167         * socket/getsockopt.c (getsockopt): Likewise.
24168         * socket/listen.c (__listen): Likewise.
24169         * socket/recv.c (__recv): Likewise.
24170         * socket/recvmsg.c (__recvmsg): Likewise.
24171         * socket/send.c (__send): Likewise.
24172         * socket/sendmsg.c (__sendmsg): Likewise.
24173         * socket/shutdown.c (shutdown): Likewise.
24174         * socket/sockatmark.c (sockatmark): Likewise.
24175         * socket/socket.c (__socket): Likewise.
24176         * stdio-common/ctermid.c (ctermid): Likewise.
24177         * stdio-common/cuserid.c (cuserid): Likewise.
24178         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
24179         * stdio-common/remove.c (remove): Likewise.
24180         * stdio-common/rename.c (rename): Likewise.
24181         * stdio-common/renameat.c (renameat): Likewise.
24182         * stdio-common/tempname.c (__gen_tempname): Likewise.
24183         * stdio-common/xbug.c (InitBuffer): Likewise.
24184         (AppendToBuffer): Likewise.
24185         (ReadFile): Likewise.
24186         * stdlib/a64l.c (a64l): Likewise.
24187         * stdlib/drand48_r.c (drand48_r): Likewise.
24188         * stdlib/getcontext.c (getcontext): Likewise.
24189         * stdlib/getenv.c (getenv): Likewise.
24190         * stdlib/l64a.c (l64a): Likewise.
24191         * stdlib/llabs.c (llabs): Likewise.
24192         * stdlib/lldiv.c (lldiv): Likewise.
24193         * stdlib/lrand48_r.c (lrand48_r): Likewise.
24194         * stdlib/mrand48_r.c (mrand48_r): Likewise.
24195         * stdlib/putenv.c (putenv): Likewise.
24196         * stdlib/random.c (__srandom): Likewise.
24197         (__initstate): Likewise.
24198         (__setstate): Likewise.
24199         * stdlib/random_r.c (__srandom_r): Likewise.
24200         (__setstate_r): Likewise.
24201         (__random_r): Likewise.
24202         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
24203         * stdlib/setcontext.c (setcontext): Likewise.
24204         * stdlib/setenv.c (setenv): Likewise.
24205         (unsetenv): Likewise.
24206         * stdlib/srand48.c (srand48): Likewise.
24207         * stdlib/srand48_r.c (__srand48_r): Likewise.
24208         * stdlib/swapcontext.c (swapcontext): Likewise.
24209         * stdlib/system.c (__libc_system): Likewise.
24210         * stdlib/tst-strtod.c (expand): Likewise.
24211         * stdlib/tst-strtol.c (expand): Likewise.
24212         * stdlib/tst-strtoll.c (expand): Likewise.
24213         * streams/fattach.c (fattach): Likewise.
24214         * streams/fdetach.c (fdetach): Likewise.
24215         * streams/getmsg.c (getmsg): Likewise.
24216         * streams/isastream.c (isastream): Likewise.
24217         * string/ffs.c (__ffs): Likewise.
24218         * string/ffsll.c (ffsll): Likewise.
24219         * string/memcmp.c (memcmp_common_alignment): Likewise.
24220         (memcmp_not_common_alignment): Likewise.
24221         (MEMCMP): Likewise.
24222         * string/memcpy.c (memcpy): Likewise.
24223         * string/memmove.c (MEMMOVE): Likewise.
24224         * string/memset.c (memset): Likewise.
24225         * string/rawmemchr.c (RAWMEMCHR): Likewise.
24226         * string/strchrnul.c (STRCHRNUL): Likewise.
24227         * string/strerror.c (strerror): Likewise.
24228         * string/strndup.c (__strndup): Likewise.
24229         * string/strverscmp.c (__strverscmp): Likewise.
24230         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
24231         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
24232         (clnttcp_freeres): Likewise.
24233         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
24234         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
24235         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
24236         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
24237         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
24238         (xdr_callhdr): Likewise.
24239         * sunrpc/rpcinfo.c (udpping): Likewise.
24240         (tcpping): Likewise.
24241         (pstatus): Likewise.
24242         (pmapdump): Likewise.
24243         (brdcst): Likewise.
24244         (deletereg): Likewise.
24245         (getprognum): Likewise.
24246         (getvers): Likewise.
24247         (get_inet_address): Likewise.
24248         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
24249         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24250         (svcudp_stat): Likewise.
24251         (svcudp_recv): Likewise.
24252         (svcudp_reply): Likewise.
24253         (svcudp_getargs): Likewise.
24254         (svcudp_freeargs): Likewise.
24255         (svcudp_destroy): Likewise.
24256         * sunrpc/xdr.c (xdr_bytes): Likewise.
24257         (xdr_netobj): Likewise.
24258         (xdr_string): Likewise.
24259         (xdr_wrapstring): Likewise.
24260         * sunrpc/xdr_float.c (xdr_float): Likewise.
24261         (xdr_double): Likewise.
24262         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
24263         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
24264         * sysvipc/ftok.c (ftok): Likewise.
24265         * sysvipc/msgctl.c (msgctl): Likewise.
24266         * sysvipc/msgget.c (msgget): Likewise.
24267         * sysvipc/msgrcv.c (msgrcv): Likewise.
24268         * sysvipc/msgsnd.c (msgsnd): Likewise.
24269         * sysvipc/semget.c (semget): Likewise.
24270         * sysvipc/semop.c (semop): Likewise.
24271         * sysvipc/shmat.c (shmat): Likewise.
24272         * sysvipc/shmctl.c (shmctl): Likewise.
24273         * sysvipc/shmdt.c (shmdt): Likewise.
24274         * sysvipc/shmget.c (shmget): Likewise.
24275         * termios/cfmakeraw.c (cfmakeraw): Likewise.
24276         * termios/speed.c (cfgetospeed): Likewise.
24277         (cfgetispeed): Likewise.
24278         (cfsetospeed): Likewise.
24279         (cfsetispeed): Likewise.
24280         * termios/tcflow.c (tcflow): Likewise.
24281         * termios/tcflush.c (tcflush): Likewise.
24282         * termios/tcgetattr.c (__tcgetattr): Likewise.
24283         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
24284         * termios/tcgetsid.c (tcgetsid): Likewise.
24285         * termios/tcsendbrk.c (tcsendbreak): Likewise.
24286         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
24287         * time/adjtime.c (__adjtime): Likewise.
24288         * time/dysize.c (dysize): Likewise.
24289         * time/ftime.c (ftime): Likewise.
24290         * time/getitimer.c (__getitimer): Likewise.
24291         * time/gettimeofday.c (__gettimeofday): Likewise.
24292         * time/gmtime.c (__gmtime_r): Likewise.
24293         (gmtime): Likewise.
24294         * time/localtime.c (__localtime_r): Likewise.
24295         (localtime): Likewise.
24296         * time/offtime.c (__offtime): Likewise.
24297         * time/settimeofday.c (__settimeofday): Likewise.
24298         * time/stime.c (stime): Likewise.
24299         * time/strftime_l.c (tm_diff): Likewise.
24300         (iso_week_days): Likewise.
24301         * time/strptime.c (strptime): Likewise.
24302         * time/time.c (time): Likewise.
24303         * time/timespec_get.c (timespec_get): Likewise.
24304         * time/tzset.c (tzset_internal): Likewise.
24305         (compute_change): Likewise.
24306         (__tz_compute): Likewise.
24307         * wcsmbs/btowc.c (__btowc): Likewise.
24308         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
24309         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
24310         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
24311         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
24312         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
24313         * wcsmbs/wcscat.c (__wcscat): Likewise.
24314         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24315         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
24316         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
24317         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24318         * wcsmbs/wcsdup.c (wcsdup): Likewise.
24319         * wcsmbs/wcslen.c (__wcslen): Likewise.
24320         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
24321         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
24322         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
24323         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
24324         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24325         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
24326         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24327         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24328         * wcsmbs/wcstok.c (wcstok): Likewise.
24329         * wcsmbs/wctob.c (wctob): Likewise.
24330         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
24331         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24332         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
24333         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
24334         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
24335         * wcsmbs/wmemset.c (__wmemset): Likewise.
24336         * wctype/wcfuncs.c (__towlower): Likewise.
24337         (__towupper): Likewise.
24339         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
24340         (lll_unlock_elision): Add adapt_count parameter.
24342 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
24344         * sysdeps/nptl/configure.ac: Do not give errors based on the
24345         results of top-level configure tests.
24346         * sysdeps/nptl/configure: Regenerated.
24348         * configure.ac (libc_cv_Bgroup): Remove configure test.
24349         * configure: Regenerated.
24350         * config.make.in (have-Bgroup): Remove variable.
24352         * configure.ac (sizeof_long_double): Remove configure test.
24353         * configure: Regenerated.
24354         * config.make.in (sizeof-long-double): Remove variable.
24356         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
24357         * configure: Regenerated.
24358         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
24359         variable.
24360         (exceptions): Likewise.
24361         * sysdeps/arm/configure: Regenerated.
24362         * config.make.in (exceptions): Remove variable.
24363         * Makeconfig (uses-callbacks): Use -fexceptions instead of
24364         $(exceptions).
24365         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
24366         (CFLAGS-vdprintf_chk.c): Likewise.
24367         (CFLAGS-printf_chk.c): Likewise.
24368         (CFLAGS-fprintf_chk.c): Likewise.
24369         (CFLAGS-vprintf_chk.c): Likewise.
24370         (CFLAGS-vfprintf_chk.c): Likewise.
24371         (CFLAGS-gets_chk.c): Likewise.
24372         (CFLAGS-fgets_chk.c): Likewise.
24373         (CFLAGS-fgets_u_chk.c): Likewise.
24374         (CFLAGS-fread_chk.c): Likewise.
24375         (CFLAGS-fread_u_chk.c): Likewise.
24376         (CFLAGS-wprintf_chk.c): Likewise.
24377         (CFLAGS-fwprintf_chk.c): Likewise.
24378         (CFLAGS-vwprintf_chk.c): Likewise.
24379         (CFLAGS-vfwprintf_chk.c): Likewise.
24380         (CFLAGS-fgetws_chk.c): Likewise.
24381         (CFLAGS-fgetws_u_chk.c): Likewise.
24382         * libio/Makefile (CFLAGS-fileops.c): Likewise.
24383         (CFLAGS-fputc.c): Likewise.
24384         (CFLAGS-fputwc.c): Likewise.
24385         (CFLAGS-freopen64.c): Likewise.
24386         (CFLAGS-freopen.c): Likewise.
24387         (CFLAGS-fseek.c): Likewise.
24388         (CFLAGS-fseeko64.c): Likewise.
24389         (CFLAGS-fseeko.c): Likewise.
24390         (CFLAGS-ftello64.c): Likewise.
24391         (CFLAGS-ftello.c): Likewise.
24392         (CFLAGS-fwide.c): Likewise.
24393         (CFLAGS-genops.c): Likewise.
24394         (CFLAGS-getc.c): Likewise.
24395         (CFLAGS-getchar.c): Likewise.
24396         (CFLAGS-getwc.c): Likewise.
24397         (CFLAGS-getwchar.c): Likewise.
24398         (CFLAGS-iofclose.c): Likewise.
24399         (CFLAGS-iofflush.c): Likewise.
24400         (CFLAGS-iofgetpos64.c): Likewise.
24401         (CFLAGS-iofgetpos.c): Likewise.
24402         (CFLAGS-iofgets.c): Likewise.
24403         (CFLAGS-iofgetws.c): Likewise.
24404         (CFLAGS-iofputs.c): Likewise.
24405         (CFLAGS-iofputws.c): Likewise.
24406         (CFLAGS-iofread.c): Likewise.
24407         (CFLAGS-iofsetpos64.c): Likewise.
24408         (CFLAGS-iofsetpos.c): Likewise.
24409         (CFLAGS-ioftell.c): Likewise.
24410         (CFLAGS-iofwrite.c): Likewise.
24411         (CFLAGS-iogetdelim.c): Likewise.
24412         (CFLAGS-iogetline.c): Likewise.
24413         (CFLAGS-iogets.c): Likewise.
24414         (CFLAGS-iogetwline.c): Likewise.
24415         (CFLAGS-ioputs.c): Likewise.
24416         (CFLAGS-ioseekoff.c): Likewise.
24417         (CFLAGS-ioseekpos.c): Likewise.
24418         (CFLAGS-iosetbuffer.c): Likewise.
24419         (CFLAGS-iosetvbuf.c): Likewise.
24420         (CFLAGS-ioungetc.c): Likewise.
24421         (CFLAGS-ioungetwc.c): Likewise.
24422         (CFLAGS-oldfileops.c): Likewise.
24423         (CFLAGS-oldiofclose.c): Likewise.
24424         (CFLAGS-oldiofgetpos64.c): Likewise.
24425         (CFLAGS-oldiofgetpos.c): Likewise.
24426         (CFLAGS-oldiofsetpos64.c): Likewise.
24427         (CFLAGS-oldiofsetpos.c): Likewise.
24428         (CFLAGS-peekc.c): Likewise.
24429         (CFLAGS-putc.c): Likewise.
24430         (CFLAGS-putchar.c): Likewise.
24431         (CFLAGS-putwc.c): Likewise.
24432         (CFLAGS-putwchar.c): Likewise.
24433         (CFLAGS-rewind.c): Likewise.
24434         (CFLAGS-wfileops.c): Likewise.
24435         (CFLAGS-wgenops.c): Likewise.
24436         (CFLAGS-oldiofopen.c): Likewise.
24437         (CFLAGS-iofopen.c): Likewise.
24438         (CFLAGS-iofopen64.c): Likewise.
24439         (CFLAGS-oldtmpfile.c): Likewise.
24440         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24441         (CFLAGS-fprintf.c): Likewise.
24442         (CFLAGS-printf.c): Likewise.
24443         (CFLAGS-vfwprintf.c): Likewise.
24444         (CFLAGS-vfscanf.c): Likewise.
24445         (CFLAGS-vfwscanf.c): Likewise.
24446         (CFLAGS-fscanf.c): Likewise.
24447         (CFLAGS-scanf.c): Likewise.
24448         (CFLAGS-isoc99_vfscanf.c): Likewise.
24449         (CFLAGS-isoc99_vscanf.c): Likewise.
24450         (CFLAGS-isoc99_fscanf.c): Likewise.
24451         (CFLAGS-isoc99_scanf.c): Likewise.
24452         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
24453         (CFLAGS-isoc99_fwscanf.c): Likewise.
24454         (CFLAGS-isoc99_vwscanf.c): Likewise.
24455         (CFLAGS-isoc99_vfwscanf.c): Likewise.
24457         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
24458         after mkstemp64.
24459         * login/tst-utmp.c (do_prepare): Likewise.
24460         * rt/tst-aio.c (do_prepare): Likewise.
24461         * rt/tst-aio64.c (do_prepare): Likewise.
24463 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24465         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24466         (__lll_lock_elision): Remove adapt_count decrement...
24467         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24468         (__lll_trylock_elision): Likewise.
24469         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
24470         (__lll_unlock_elision): ... to here. And utilize
24471         new adapt_count parameter.
24472         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
24473         (__lll_unlock_elision): Update to include adapt_count
24474         parameter.
24475         (lll_unlock_elision): Pass pointer to adapt_count
24476         variable.
24478 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24480         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
24481         Add elision adapt_count parameter to list of arguments.
24482         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
24483         (lll_unlock_elision): Update with new parameter list
24484         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
24485         (lll_unlock_elision): Likewise.
24486         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
24487         (lll_unlock_elision): Likewise.
24489 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24491         [BZ #19122]
24492         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
24493         attribute_hidden.
24495         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
24496         attribute_hidden.
24497         [IS_IN (rtld)] (__strdup): Likewise.
24498         [IS_IN (rtld)] (__strerror_r): Likewise.
24499         [IS_IN (rtld)] (__strsep_g): Likewise.
24500         [IS_IN (rtld)] (memchr): Likewise.
24501         [IS_IN (rtld)] (memcmp): Likewise.
24502         [IS_IN (rtld)] (memcpy): Likewise.
24503         [IS_IN (rtld)] (memmove): Likewise.
24504         [IS_IN (rtld)] (memset): Likewise.
24505         [IS_IN (rtld)] (rawmemchr): Likewise.
24506         [IS_IN (rtld)] (stpcpy): Likewise.
24507         [IS_IN (rtld)] (strchr): Likewise.
24508         [IS_IN (rtld)] (strcmp): Likewise.
24509         [IS_IN (rtld)] (strlen): Likewise.
24510         [IS_IN (rtld)] (strnlen): Likewise.
24511         [IS_IN (rtld)] (strsep): Likewise.
24513         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
24514         attribute_hidden.
24515         [IS_IN (rtld)] (__strtoul_internal): Likewise.
24517         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
24518         attribute_hidden.
24519         [IS_IN (rtld)] (__libc_sigaction): Likewise.
24521         * include/setjmp.h (__longjmp): Add attribute_hidden.
24522         [IS_IN (rtld)] (__sigsetjmp): Likewise.
24524         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
24525         Add attribute_hidden.
24527         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
24528         [IS_IN (rtld)] (__open): Likewise.
24529         [IS_IN (rtld)] (__fcntl): Likewise.
24531         * include/dirent.h (__opendirat): Add attribute_hidden.
24532         (__getdents): Likewise.
24533         (__getdents64): Likewise.
24534         (__alloc_dir): Likewise.
24535         [IS_IN (rtld)] (__closedir): Likewise.
24536         [IS_IN (rtld)] (__fdopendir): Likewise.
24537         [IS_IN (rtld)] (__readdir): Likewise.
24538         [IS_IN (rtld)] (__readdir64): Likewise.
24539         [IS_IN (rtld)] (__rewinddir): Likewise.
24541         * include/dlfcn.h (_dl_catch_error): Moved to ...
24542         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
24543         attribute_hidden.
24545         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
24546         (_itoa_word): Likewise.
24548         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
24549         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
24550         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
24551         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
24552         (_dl_higher_prime_number): Likewise.
24553         (_dl_debug_printf_c): Likewise.
24554         (_dl_signal_cerror): Likewise.
24555         (_dl_receive_error): Likewise.
24556         (_dl_reloc_bad_type): Likewise.
24557         (_dl_resolve_conflicts): Likewise.
24558         (_dl_check_all_versions): Likewise.
24559         (_dl_check_map_versions): Likewise.
24560         (_dl_sort_fini): Likewise.
24561         (_dl_debug_initialize): Likewise.
24562         (_dl_init_paths): Likewise.
24563         (_dl_show_auxv): Likewise.
24564         (_dl_next_ld_env_entry): Likewise.
24565         (_dl_important_hwcaps): Likewise.
24566         (_dl_load_cache_lookup): Likewise.
24567         (_dl_update_slotinfo): Likewise.
24568         (_dl_show_scope): Likewise.
24570         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
24571         attribute_hidden.
24572         (_wordcopy_fwd_dest_aligned): Likewise.
24573         (_wordcopy_bwd_aligned): Likewise.
24574         (_wordcopy_bwd_dest_aligned): Likewise.
24576         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
24577         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
24578         Likewise.
24579         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
24580         Likewise.
24581         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
24583 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24585         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
24586         GCC 5 requirement.
24588 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
24590         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
24591         test.
24592         * sysdeps/i386/configure: Regenerated.
24593         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
24594         code unconditional.
24596         * configure.ac (libc_cv_asm_previous_directive): Remove configure
24597         test.
24598         (libc_cv_asm_popsection_directive): Likewise.
24599         * configure: Regenerated.
24600         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
24601         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
24602         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
24603         (__make_section_unallocated): Make definition unconditional.
24604         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
24605         Remove conditional definition.
24606         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
24607         (__make_section_unallocated): Likewise.
24609         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
24610         * configure: Regenerated.
24611         * config.make.in (static-libgcc): Remove variable.
24612         * Makerules (build-shlib-helper): Use -static-libgcc instead of
24613         $(static-libgcc).
24614         (build-module-helper): Likewise.
24616         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
24617         * configure: Regenerated.
24619 2015-10-15  Florian Weimer  <fweimer@redhat.com>
24621         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
24622         (struct char_buffer): New type.
24623         (char_buffer_start, char_buffer_size, char_buffer_error)
24624         (char_buffer_rewind, char_buffer_add): New functions.
24625         (ADDW): Remove macro, replaced by the char_buffer_add function.
24626         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
24627         of extend_alloca.  Make control flow more explicit.
24629 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24631         [BZ #19137]
24632         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
24633         Add -fomit-frame-pointer.
24634         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
24636 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24638         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
24639         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
24640         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
24641         only if !__GNUC_PREREQ (5,0).
24642         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
24643         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
24644         (INTERNAL_SYSCALL_NCS): Likewise.
24645         (LOADREGS_0): New macro for GCC 5.
24646         (ASMARGS_0): Likewise.
24647         (LOADREGS_1): Likewise.
24648         (ASMARGS_1): Likewise.
24649         (LOADREGS_2): Likewise.
24650         (ASMARGS_2): Likewise.
24651         (LOADREGS_3): Likewise.
24652         (ASMARGS_3): Likewise.
24653         (LOADREGS_4): Likewise.
24654         (ASMARGS_4): Likewise.
24655         (LOADREGS_5): Likewise.
24656         (ASMARGS_5): Likewise.
24657         (LOADREGS_6): Likewise.
24658         (ASMARGS_6): Likewise.
24660 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24662         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
24663         -fomit-frame-pointer.
24664         (CFLAGS-mmap64.c): Likewise.
24665         (CFLAGS-semtimedop.c): Likewise.
24666         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
24667         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
24668         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24669         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24671 2015-10-15  Florian Weimer  <fweimer@redhat.com>
24673         [BZ #18928]
24674         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
24675         _dl_pointer_guard member.
24676         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
24677         initializer.
24678         (security_init): Always set up pointer guard.
24679         (process_envvars): Do not process LD_POINTER_GUARD.
24681 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
24683         [BZ #19134]
24684         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
24685         (.LC2): Likewise.
24686         (.LC3): Likewise.
24687         (__lround): Do not add 0.5 to integer or out-of-range arguments.
24689 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24691         [BZ #19129]
24692         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
24693         r0 and r1.
24695 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
24697         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
24699 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
24701         * include/stap-probe.h: Fix macro definition formatting.
24703 2015-10-14  Florian Weimer  <fweimer@redhat.com>
24705         [BZ #19074]
24706         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
24707         load and store num_ifs.
24709 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24711         [BZ #18822]
24712         * sysdeps/unix/sysv/linux/sched_getaffinity.c
24713         (__sched_getaffinity_new): Add libc_hidden_proto and
24714         libc_hidden_def.
24716 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24718         [BZ #19007]
24719         * scripts/localplt.awk: Also allow GOT references.
24720         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
24721         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
24722         with "+ REL R_386_GLOB_DAT".
24723         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
24724         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
24726 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24728         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
24729         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24730         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
24731         Likewise.
24732         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
24733         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
24734         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
24735         INTERNAL_SYSCALLINTERNAL_SYSCALL and
24736         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24737         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
24738         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24739         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
24740         Likewise.
24741         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24743 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
24745         [BZ #19125]
24746         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
24747         <math_private.h> and <stdint.h>.
24748         (__llround): Avoid conversions to and from long long int, and
24749         subtractions, where those might raise spurious exceptions.
24750         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
24751         <math_private.h> and <stdint.h>.
24752         (__llroundf): Avoid conversions to and from long long int, and
24753         subtractions, where those might raise spurious exceptions.
24755 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24757         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
24758         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24759         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24760         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
24761         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24762         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24763         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
24764         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
24765         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
24766         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24767         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24768         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24769         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
24770         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24771         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24772         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
24773         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
24774         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24775         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
24776         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
24777         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
24778         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
24779         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
24780         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24781         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
24782         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24783         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
24784         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24785         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24786         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
24787         (__xstat64_conv): Likewise.
24788         (__xstat32_conv): Likewise.
24790 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24792         * sysdeps/unix/sysv/linux/sysdep.h: New file.
24793         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
24794         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
24795         <sysdeps/unix/sysv/linux/sysdep.h>.
24796         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24797         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
24798         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
24799         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24800         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24801         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
24802         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
24803         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
24804         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
24805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24807         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24808         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24809         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24810         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24811         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24812         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
24813         (sysdep-dl-routines): Add sysdep.
24814         [$(subdir) == nptl] (libpthread-routines): Likewise.
24815         [$(subdir) == rt] (librt-routines): Likewise.
24816         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
24817         PIC when branching to SYSCALL_ERROR_LABEL.
24818         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
24819         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
24820         <sysdeps/unix/sysv/linux/sysdep.h>.
24821         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
24822         (SYSCALL_ERROR_ERRNO): Removed.
24823         (SYSCALL_ERROR_HANDLER): Changed to empty.
24824         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
24825         (__syscall_error): New prototype.
24826         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
24827         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
24829 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24831         [BZ #19124]
24832         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
24833         (_dl_runtime_resolve_avx512): Make it a hidden alias of
24834         _dl_runtime_resolve_avx.
24835         (_dl_runtime_profile_avx512): Make it a hidden alias of
24836         _dl_runtime_profile_avx.
24838 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
24840         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
24841         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
24842         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
24843         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
24845         [BZ #16422]
24846         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
24847         New configure test.
24848         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
24849         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
24850         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
24851         <math_private.h> and <stdint.h>.
24852         (__llrint): Avoid conversions to long long int where those might
24853         raise spurious exceptions.
24854         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
24855         <math_private.h> and <stdint.h>.
24856         (__llrintf): Avoid conversions to long long int where those might
24857         raise spurious exceptions.
24859 2015-10-12  Andreas Schwab  <schwab@suse.de>
24861         [BZ #18969]
24862         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
24863         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
24864         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
24865         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
24866         $(gen-locales).
24867         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
24868         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
24869         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
24870         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
24871         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
24872         $(gen-locales).
24873         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
24874         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
24875         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
24876         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
24877         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
24878         ($(objpfx)tst-ftell-active-handler.out)
24879         ($(objpfx)tst-ftell-append.out)
24880         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
24881         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
24882         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
24883         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
24884         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
24885         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
24886         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
24887         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
24888         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
24889         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
24890         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
24891         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
24892         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
24893         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
24894         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
24895         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
24896         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
24897         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
24898         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
24899         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
24900         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
24901         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
24902         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
24903         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
24904         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
24905         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
24906         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
24907         $(gen-locales).
24908         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
24909         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
24910         $(gen-locales).
24911         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
24912         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
24913         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
24914         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
24915         $(gen-locales).
24916         * libio/tst_wprintf2.c (main): Use explicit locale.
24917         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
24919 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24921         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
24922         __msg_sig_post.
24923         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
24925 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24927         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24928         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24930         * sysdeps/arm/libm-test-ulps: Regenerated.
24932         [BZ #15470]
24933         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
24935         [BZ #16399]
24936         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
24937         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
24938         and <fix-fp-int-convert-overflow.h>.
24939         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24940         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24941         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
24942         and <fix-fp-int-convert-overflow.h>.
24943         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
24944         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24945         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
24946         <fix-fp-int-convert-overflow.h>.
24947         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24948         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24949         * sysdeps/ieee754/dbl-64/s_lround.c: Include
24950         <fix-fp-int-convert-overflow.h>.
24951         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
24952         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24953         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
24954         and <fix-fp-int-convert-overflow.h>.
24955         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24956         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24957         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
24958         <limits.h> and <fix-fp-int-convert-overflow.h>.
24959         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24960         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24961         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
24962         and <fix-fp-int-convert-overflow.h>.
24963         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24964         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24965         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
24966         and <fix-fp-int-convert-overflow.h>.
24967         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24968         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24969         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
24971 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
24973         [BZ #18589]
24974         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
24975         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
24976         $(gen-locales).
24978 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24979             Phil Blundell <pb@pbcl.net>
24981         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
24982         * nptl/tst-cancel26.c: New file.
24983         * nptl/tst-cancel27.c: Likewise.
24985 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
24987         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
24988         __ILP32__ isn't defined.
24989         (lrint): Likewise.
24990         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
24991         (lrintf): Likewise.
24992         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
24993         (lrintl): Likewise.
24994         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
24995         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
24996         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
24998 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25000         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
25001         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
25003         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
25004         file.
25005         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
25006         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
25008 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
25010         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
25011         configure test.
25012         * sysdeps/i386/configure: Regenerated.
25013         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
25014         configure test.
25015         * sysdeps/x86_64/configure: Regenerated.
25016         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
25017         Make code unconditional.
25019         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
25020         test.
25021         * sysdeps/i386/configure: Regenerated.
25022         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
25023         test.
25024         * sysdeps/x86_64/configure: Regenerated.
25025         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
25026         Make code unconditional.
25027         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25028         Likewise.
25029         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
25030         Likewise.
25031         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25032         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
25033         code unconditional.
25034         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25035         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
25036         code unconditional.
25037         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25038         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
25039         code unconditional.
25040         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
25041         code unconditional.
25042         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25043         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
25044         code unconditional.
25045         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25046         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
25047         code unconditional.
25048         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25049         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
25050         code unconditional.
25051         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25052         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
25053         code unconditional.
25054         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25055         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
25057         [BZ #19095]
25058         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
25059         mantissa to long int before shifting left.
25061 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
25063         [BZ #19094]
25064         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
25065         <limits.h>.
25066         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25067         when result overflows but exception would not result from cast.
25068         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
25069         <limits.h>.
25070         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25071         when result overflows but exception would not result from cast.
25072         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
25073         <limits.h>.
25074         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25075         when result overflows but exception would not result from cast.
25076         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
25077         <limits.h>.
25078         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25079         when result overflows but exception would not result from cast.
25080         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
25081         <limits.h>.
25082         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25083         when result overflows but exception would not result from cast.
25084         * math/libm-test.inc (lrint_test_data): Add more tests.
25085         (llrint_test_data): Likewise.
25087 2015-10-08  Roland McGrath  <roland@hack.frob.com>
25089         [BZ #18872]
25090         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
25091         Move out from under [$(run-built-tests) = yes] conditional.
25092         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
25093         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
25095 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
25097         [BZ #18589]
25098         * string/Makefile (tests): Add bug-strcoll2.
25099         (LOCALES): Add cs_CZ.UTF-8.
25100         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
25102         [BZ #18589]
25103         * string/bug-strcoll2.c: New file.
25104         * locale/categories.def: Revert commit
25105         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
25106         * locale/langinfo.h: Likewise.
25107         * locale/localeinfo.h: Likewise.
25108         * locale/C-collate.c: Likewise.
25109         * locale/programs/ld-collate.c (collate_output): Likewise.
25110         * string/strcoll_l.c (STRDIFF): Likewise.
25111         (STRCOLL): Likewise.
25112         * wcsmbs/wcscoll_l.c: Likewise.
25114 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
25116         * math/libm-test.inc (lround_test_data): Do not expect the absence
25117         of "inexact" for some tests with non-integer arguments.
25118         (llround_test_data): Likewise.
25120         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
25121         test.
25122         (libc_cv_cc_sse2avx): Likewise.
25123         * sysdeps/i386/configure: Regenerated.
25124         * sysdeps/i386/i686/multiarch/Makefile
25125         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
25126         [$(subdir) = math].
25127         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
25128         code unconditional.
25129         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
25130         Likewise.
25131         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
25132         Likewise.
25133         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
25134         Likewise.
25135         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
25136         test.
25137         (libc_cv_cc_sse2avx): Likewise.
25138         * sysdeps/x86_64/configure: Regenerated.
25139         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
25140         unconditional.
25141         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
25142         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
25143         unconditional.
25144         (_dl_runtime_profile)
25145         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
25146         conditional code.
25147         * sysdeps/x86_64/fpu/multiarch/Makefile
25148         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
25149         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
25150         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25151         * sysdeps/x86_64/fpu/multiarch/e_exp.c
25152         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25153         * sysdeps/x86_64/fpu/multiarch/e_log.c
25154         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25155         * sysdeps/x86_64/fpu/multiarch/s_atan.c
25156         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25157         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
25158         Likewise.
25159         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
25160         Likewise.
25161         * sysdeps/x86_64/fpu/multiarch/s_sin.c
25162         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25163         * sysdeps/x86_64/fpu/multiarch/s_tan.c
25164         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25165         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
25166         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
25167         (HAVE_SSE2AVX_SUPPORT): Likewise.
25169 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
25171         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
25172         instead of #pragma optimize.
25174 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
25176         [BZ #17195]
25177         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
25178         as is similarly done in systrim and _int_free already.
25180 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25182         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
25184 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25186         [BZ #19088]
25187         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
25188         <limits.h>.
25189         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
25190         overflows but exception would not result from cast.
25191         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
25192         and <limits.h>.
25193         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
25194         overflows but exception would not result from cast.
25195         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
25196         <limits.h>.
25197         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
25198         overflows but exception would not result from cast.
25199         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
25200         <limits.h>.
25201         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
25202         overflows but exception would not result from cast.
25203         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
25204         <limits.h>.
25205         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
25206         overflows but exception would not result from cast.
25207         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
25208         <limits.h>.
25209         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
25210         overflows but exception would not result from cast.
25211         * math/libm-test.inc (lround_test_data): Add more tests.
25212         (llround_test_data): Likewise.
25214 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
25216         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
25217         (CFLAGS-ialloc.c): Ditto.
25218         (CFLAGS-scheck.c): Ditto.
25220 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
25222         [BZ #19086]
25223         * manual/filesys.texi (Storage Allocation): Fix argument order for
25224         posix_fallocate64.
25226 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25228         [BZ #19085]
25229         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
25230         exponent below 48 inside case for non-overflowing exponent.
25231         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
25233 2015-10-07  Florian Weimer  <fweimer@redhat.com>
25235         * iconvdata/cp737.h (from_idx): Add const.
25236         * iconvdata/cp775.h (from_idx): Likewise.
25238 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25240         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
25241         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
25242         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
25244         [BZ #19079]
25245         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
25246         file, conditioned on [!_LP64].
25247         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
25248         [!_LP64] (__lround): Do not define as function or alias.
25249         [!_LP64] (lround): Likewise.
25250         [!_LP64] (__lroundl): Likewise.
25251         [!_LP64] (lroundl): Likewise.
25252         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
25253         macro.
25254         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25255         Likewise.
25257 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
25259         * math/libm-test.inc (lrint_test_data): Add more tests.
25260         (llrint_test_data): Likewise.
25261         (lround_test_data): Likewise.
25262         (llround_test_data): Likewise.
25264         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
25265         (llrint_test_data): Add tests used for lrint.
25267         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
25268         test.
25269         * sysdeps/i386/configure: Regenerated.
25270         * sysdeps/i386/i686/multiarch/Makefile
25271         [$(config-cflags-sse4) = yes]: Make code unconditional.
25272         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
25273         Likewise.
25274         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
25275         Likewise.
25276         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
25277         test.
25278         * sysdeps/x86_64/configure: Regenerated.
25279         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
25280         Make code unconditional.
25281         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
25282         Likewise.
25283         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
25284         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
25286         * scripts/rpm2dynsym.sh: Remove file.
25288 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25290         * configure.ac (libc_cv_cxx_thread_local): Define.
25291         * configure: Regenerate.
25292         * config.make.in (have-cxx-thread_local): Define.
25293         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
25294         (LDLIBS-tst-thread_local1): Define.
25295         (tests): Add tst-thread_local1.
25296         [have-cxx-thread_local != yes] (tests-unsupported): Add
25297         tst-thread_local1.
25298         * nptl/tst-thread_local1.cc: New file.
25300 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
25302         [BZ #19078]
25303         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
25304         (u_thres): Likewise.
25305         (__expl): Determine whether to call __kernel_standard_l based on
25306         value of result, not argument.
25308         * math/libm-test.inc (scalb_test_data): Add more expectations for
25309         the "inexact" exception.
25311         [BZ #19077]
25312         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
25313         0.0L for argument 1.0L.
25315         [BZ #19076]
25316         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
25317         constant 0.0L when computing infinite result.
25319 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25321         [BZ #10432]
25322         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
25323         malloc_usable_size.
25325 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25327         [BZ #19018]
25328         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25329         Mangle function pointer before storing it.
25330         (__call_tls_dtors): Demangle function pointer before calling it.
25332 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25334         [BZ #19012]
25335         * iconv/gconv_db.c (gen_steps): Check for additional errors.
25336         Clean up on failure.
25338 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
25340         [BZ #19071]
25341         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
25342         long int variable to store possibly incremented high part of
25343         mantissa.
25344         * math/libm-test.inc (lround_test_data): Add tests used for
25345         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
25346         for tests requiring 64-bit long.  Do not condition tests on
25347         [TEST_FLOAT] unnecessarily.
25348         (llround_test_data): Add tests used for lround.  Add another
25349         expectation for the "inexact" exception.  Do not condition tests
25350         on [TEST_FLOAT] unnecessarily.
25352         [BZ #887]
25353         [BZ #19049]
25354         [BZ #19050]
25355         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
25356         * sysdeps/ieee754/dbl-64/e_log10.c: Include
25357         <fix-int-fp-convert-zero.h>.
25358         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25359         * sysdeps/ieee754/dbl-64/e_log2.c: Include
25360         <fix-int-fp-convert-zero.h>.
25361         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25362         * sysdeps/ieee754/dbl-64/s_erf.c: Include
25363         <fix-int-fp-convert-zero.h>.
25364         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25365         * sysdeps/ieee754/dbl-64/s_logb.c: Include
25366         <fix-int-fp-convert-zero.h>.
25367         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25368         * sysdeps/ieee754/flt-32/e_log10f.c: Include
25369         <fix-int-fp-convert-zero.h>.
25370         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25371         * sysdeps/ieee754/flt-32/e_log2f.c: Include
25372         <fix-int-fp-convert-zero.h>.
25373         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25374         * sysdeps/ieee754/flt-32/s_erff.c: Include
25375         <fix-int-fp-convert-zero.h>.
25376         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25377         * sysdeps/ieee754/flt-32/s_logbf.c: Include
25378         <fix-int-fp-convert-zero.h>.
25379         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25380         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
25381         <fix-int-fp-convert-zero.h>.
25382         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25383         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
25384         <fix-int-fp-convert-zero.h>.
25385         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25386         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
25387         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
25388         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
25389         file.
25390         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
25392 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
25394         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25396 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
25398         [BZ #19059]
25399         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
25400         overflowing computation.
25401         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25402         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25403         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25404         Likewise.
25405         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25406         Likewise.
25407         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
25408         Likewise.
25409         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25410         Likewise.
25411         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25412         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25413         Likewise.
25414         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25415         Likewise.
25416         * math/libm-test.inc (nexttoward_test_data): Add more tests.
25418         * nss/rewrite_field.c (__nss_rewrite_field): Use
25419         internal_function.
25420         * nss/valid_field.c (__nss_valid_field): Likewise.
25421         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
25423 2015-10-02  Florian Weimer  <fweimer@redhat.com>
25425         [BZ #18724]
25426         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
25427         (__nss_invalid_field_characters, __nss_valid_field)
25428         (__nss_valid_list_field, __nss_rewrite_field): Declare.
25429         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
25430         tst-field.c: New file.
25431         * nss/Makefile (routines): Add valid_field, rewrite_field.
25432         (tests-static): Define unconditionally.
25433         (tests): Include tests-static.
25434         [build-static-nss] (tests-static): Use append.
25435         [build-static-nss] (tests): Remove modification.
25436         * nss/getent.c (print_group): Call putgrent.  Report error.
25437         (print_gshadow): Call putsgent.  Report error.
25438         (print_passwd): Call putpwent.  Report error.
25439         (print_shadow): Call putspent.  Report error.
25440         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
25441         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
25442         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
25443         name, password, directory, shell fields for valid syntax.  Rewrite
25444         GECOS field to match syntax.
25445         * pwd/Makefile (tests): Add tst-putpwent.
25446         * pwd/tst-putpwent.c: New file.
25447         * grp/putgrent.c (putgrent): Convert to ISO function definition.
25448         Check grName, grpasswd, gr_mem fields for valid syntax.
25449         Change loop variable i to size_t.
25450         * grp/Makefile (tests): Add tst-putgrent.
25451         * grp/tst-putgrent.c: New file.
25452         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
25453         valid syntax.
25454         * shadow/Makefile (tests): Add tst-putspent.
25455         * shadow/tst-putspent.c: New file.
25456         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
25457         sg_mem fields for valid syntax.
25458         * gshadow/Makefile (tests): Add tst-putsgent.
25459         * gshadow/tst-putsgent.c: New file.
25461 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25463         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
25464         assembly instructions.
25466 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25468         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
25469         prefix from operands.
25471 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
25473         [BZ #16347]
25474         [BZ #19046]
25475         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
25476         <libc-internal.h>.
25477         (MAXLGM): Do not use diagnostic control macros.
25478         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
25479         threshold for ldbl-128ibm.
25480         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
25481         instead of multiplying by log then subtracting.
25482         * math/auto-libm-test-in: Add more tests of lgamma.
25483         * math/auto-libm-test-out: Regenerated.
25485         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
25486         (TYPE_HEX_DIG): Likewise.
25487         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
25488         precisions when printing floating-point numbers.
25489         (check_float_internal): Likewise.
25491 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
25493         [BZ #16620]
25494         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
25495         of log (10) rounded downward to 48 bits.
25496         (log10_low): Use corresponding low part of log (10).
25498         [BZ #19032]
25499         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
25500         compute result as (x - x) / (x - x) not as 0 / 0.
25501         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
25502         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
25504         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25505         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
25506         and expm1.
25507         * math/auto-libm-test-out: Regenerated.
25508         * math/libm-test.inc (acos_test_data): Add more tests.
25509         (asin_test_data): Likewise.
25510         (asinh_test_data): Likewise.
25511         (atan_test_data): Likewise.
25512         (atanh_test_data): Likewise.
25513         (atan2_test_data): Likewise.
25514         (cbrt_test_data): Likewise.
25515         (ceil_test_data): Likewise.
25516         (copysign_test_data): Likewise.
25517         (cos_test_data): Likewise.
25518         (cosh_test_data): Likewise.
25519         (erf_test_data): Likewise.
25520         (erfc_test_data): Likewise.
25521         (exp_test_data): Likewise.
25522         (exp10_test_data): Likewise.
25523         (exp2_test_data): Likewise.
25524         (expm1_test_data): Likewise.
25525         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25527 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
25529         [BZ #19006]
25530         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
25531         to ...
25532         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
25533         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
25534         to ...
25535         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
25536         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
25537         to ...
25538         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
25539         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
25540         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
25541         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
25542         to ...
25543         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
25544         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
25545         Moved to ...
25546         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
25547         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
25548         Moved to ...
25549         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
25550         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
25551         to ...
25552         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
25553         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
25554         Moved to ...
25555         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
25556         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
25557         to ...
25558         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
25559         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
25560         Removed.
25561         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
25562         Likewise.
25563         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
25564         Likewise.
25565         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
25566         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
25567         Likewise.
25568         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
25569         Likewise.
25570         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
25571         Likewise.
25572         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
25573         Likewise.
25574         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
25575         Likewise.
25576         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
25577         Likewise.
25578         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
25579         Likewise.
25580         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
25581         Likewise.
25582         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
25583         Likewise.
25584         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
25585         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
25586         Likewise.
25587         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
25588         Likewise.
25589         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
25590         Likewise.
25591         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
25592         Likewise.
25593         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
25594         Likewise.
25595         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
25596         Replace ../i486/pthread_cond_timedwait.S with
25597         ../pthread_cond_timedwait.S.
25599 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
25601         * math/libm-test.inc (acos_test_data): Refine expectations for
25602         errno and "inexact" exceptions.
25603         (acosh_test_data): Likewise.
25604         (asin_test_data): Likewise.
25605         (asinh_test_data): Likewise.
25606         (atan_test_data): Likewise.
25607         (atanh_test_data): Likewise.
25608         (atan2_test_data): Likewise.
25609         (cbrt_test_data): Likewise.
25610         (ceil_test_data): Likewise.
25611         (copysign_test_data): Likewise.
25612         (cosh_test_data): Likewise.
25613         (erf_test_data): Likewise.
25614         (erfc_test_data): Likewise.
25615         (exp_test_data): Likewise.
25616         (exp10_test_data): Likewise.
25617         (exp2_test_data): Likewise.
25618         (expm1_test_data): Likewise.
25619         (fabs_test_data): Likewise.
25620         (floor_test_data): Likewise.
25621         (fma_test_data): Likewise.
25622         (fmax_test_data): Likewise.
25623         (fmin_test_data): Likewise.
25624         (fmod_test_data): Likewise.
25625         (fpclassify_test_data): Likewise.
25626         (frexp_test_data): Likewise.
25627         (hypot_test_data): Likewise.
25628         (ilogb_test_data): Likewise.
25629         (isgreater_test_data): Likewise.
25630         (isgreaterequal_test_data): Likewise.
25631         (isinf_test_data): Likewise.
25632         (isless_test_data): Likewise.
25633         (islessequal_test_data): Likewise.
25634         (islessgreater_test_data): Likewise.
25635         (isnan_test_data): Likewise.
25636         (isnormal_test_data): Likewise.
25637         (issignaling_test_data): Likewise.
25638         (isunordered_test_data): Likewise.
25639         (j0_test_data): Likewise.
25640         (j1_test_data): Likewise.
25641         (jn_test_data): Likewise.
25642         (lgamma_test_data): Likewise.
25643         (lrint_test_data): Likewise.
25644         (llrint_test_data): Likewise.
25645         (log_test_data): Likewise.
25646         (log10_test_data): Likewise.
25647         (log1p_test_data): Likewise.
25648         (log2_test_data): Likewise.
25649         (logb_test_data): Likewise.
25650         (lround_test_data): Likewise.
25651         (llround_test_data): Likewise.
25652         (modf_test_data): Likewise.
25653         (nearbyint_test_data): Likewise.
25654         (nextafter_test_data): Likewise.
25655         (nexttoward_test_data): Likewise.
25656         (pow_test_data): Likewise.
25657         (remainder_test_data): Likewise.
25658         (remquo_test_data): Likewise.
25659         (rint_test_data): Likewise.
25660         (round_test_data): Likewise.
25661         (signbit_test_data): Likewise.
25662         (sinh_test_data): Likewise.
25663         (sqrt_test_data): Likewise.
25664         (tanh_test_data): Likewise.
25665         (tgamma_test_data): Likewise.
25666         (trunc_test_data): Likewise.
25667         (y0_test_data): Likewise.
25668         (y1_test_data): Likewise.
25669         (yn_test_data): Likewise.
25670         (significand_test_data): Likewise.
25672 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
25674         * manual/filesys.texi (Storage Allocation): Document that
25675         posix_fallocate emulation fails when fd is open with O_WRONLY.
25677 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
25679         [BZ #19016]
25680         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
25681         allow more cases with X^2 + Y^2 >= 0.5.
25682         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
25683         normal element in sum instead of special-casing based on values of
25684         arguments.
25685         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
25686         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
25687         -1 as normal element in sum instead of special-casing based on
25688         values of arguments.
25689         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
25690         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
25691         (__x2y2m1): Update comment.
25692         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
25693         as normal element in sum instead of special-casing based on values
25694         of arguments.
25695         * math/s_clog.c (__clog): Handle more cases using log1p without
25696         hypot.
25697         * math/s_clog10.c (__clog10): Likewise.
25698         * math/s_clog10f.c (__clog10f): Likewise.
25699         * math/s_clog10l.c (__clog10l): Likewise.
25700         * math/s_clogf.c (__clogf): Likewise.
25701         * math/s_clogl.c (__clogl): Likewise.
25702         * math/auto-libm-test-in: Add more tests of clog and clog10.
25703         * math/auto-libm-test-out: Regenerated.
25704         * sysdeps/i386/fpu/libm-test-ulps: Update.
25705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25707 2015-09-28  Martin Sebor  <msebor@redhat.com>
25709         [BZ #18969]
25710         * string/Makefile (LOCALES): Define.
25711         (gen-locales.mk): Include.
25712         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
25713         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
25714         * string/tst-strxfrm2.c (do_test): Print the name of the locale
25715         on setlocale failure.
25717 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
25719         [BZ #18985]
25720         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
25721         (__strftime_internal): Likewise.
25722         * time/tst-strftime.c (do_bz18985): New test.
25723         (do_test): Call it.
25725 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
25727         [BZ #18956]
25728         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
25729         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
25730         extracting high part.
25731         * math/auto-libm-test-in: Add another test of pow.
25732         * math/auto-libm-test-out: Regenerated.
25733         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25735 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
25737         [BZ #18825]
25738         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
25739         New macro.
25740         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
25741         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25742         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
25743         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
25744         DBL_NARROW_EVAL, reloading the PIC register as needed.
25745         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
25746         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
25747         FLT_NARROW_EVAL.  Use separate return path for case when first
25748         argument is NaN.
25749         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
25750         DEFINE_LDBL_MIN.
25751         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
25752         PIC register.
25753         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
25754         math_check_force_underflow_nonneg.
25755         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
25756         underflow for subnormal result.
25757         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
25758         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
25759         math_check_force_underflow_nonneg.
25760         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
25761         math_check_force_underflow.
25762         * sysdeps/x86_64/fpu/x86_64-math-asm.h
25763         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
25764         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
25765         DEFINE_LDBL_MIN.
25766         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
25767         * math/auto-libm-test-in: Add more tests of pow.
25768         * math/auto-libm-test-out: Regenerated.
25770 2015-09-25  Florian Weimer  <fweimer@redhat.com>
25772         * nss/bug17079.c (init_test_items): Add diagnostic for
25773         inconsistent entries.
25774         (test_buffer_size): Skip inconsistent entries.
25776 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
25778         [BZ #13304]
25779         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
25780         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
25781         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
25783         [BZ #13304]
25784         * sysdeps/microblaze/s_fma.c: New file.
25785         * sysdeps/microblaze/s_fmaf.c: Likewise.
25786         * sysdeps/microblaze/sfp-machine.h: Likewise.
25788 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
25790         [BZ #17250]
25791         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
25792         member.
25794 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
25796         [BZ #18803]
25797         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
25798         (MO): New macro.
25799         (__ieee754_hypot) [PIC]: Load PIC register.
25800         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
25801         DBL_NARROW_EVAL.
25802         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
25803         math_check_force_underflow_nonneg in case where result might be
25804         tiny.
25805         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25806         Likewise.
25807         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25808         Likewise.
25809         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
25810         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
25811         * math/auto-libm-test-in: Add more tests of hypot.
25812         * math/auto-libm-test-out: Regenerated.
25814 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
25816         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
25818 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
25820         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
25821         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
25822         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
25823         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
25824         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
25825         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
25826         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
25828         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
25829         LOAD_PIC_REG.
25831         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
25832         (FLT_CHECK_FORCE_UFLOW): Likewise.
25833         (DBL_CHECK_FORCE_UFLOW): Likewise.
25834         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
25835         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
25836         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
25837         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25838         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25839         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25840         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25841         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25842         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
25843         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25844         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
25845         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
25846         (flt_min): Replace with use of DEFINE_FLT_MIN.
25847         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
25848         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
25849         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25850         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
25851         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
25852         (flt_min): Replace with use of DEFINE_FLT_MIN.
25853         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
25854         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
25855         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25856         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
25857         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
25858         (flt_min): Replace with use of DEFINE_FLT_MIN.
25859         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
25860         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
25861         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
25862         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
25863         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
25864         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
25865         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
25866         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
25867         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25868         (__atan): Use DBL_CHECK_FORCE_UFLOW.
25869         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
25870         (flt_min): Replace with use of DEFINE_FLT_MIN.
25871         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
25872         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
25873         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25874         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
25875         main computation.
25876         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
25877         (flt_min): Replace with use of DEFINE_FLT_MIN.
25878         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
25879         main computation.
25880         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
25881         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25882         (MO): New macro.
25883         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
25884         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
25885         (flt_min): Replace with use of DEFINE_FLT_MIN.
25886         (MO): New macro.
25887         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
25888         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
25889         (__log1pl): Use MO.
25891         [BZ #19003]
25892         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
25893         $(config-cflags-nofma).
25895 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25897         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25899 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
25901         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
25902         (TWO127): Likewise.
25904         * sysdeps/generic/math_private.h (fabs_tg): New macro.
25905         (min_of_type): Likewise.
25906         (math_check_force_underflow): Likewise.
25907         (math_check_force_underflow_nonneg): Likewise.
25908         (math_check_force_underflow_complex): Likewise.
25909         * math/e_exp2l.c (__ieee754_exp2l): Use
25910         math_check_force_underflow_nonneg.
25911         * math/k_casinh.c (__kernel_casinh): Likewise.
25912         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25913         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25914         * math/s_catan.c (__catan): Use
25915         math_check_force_underflow_complex.
25916         * math/s_catanf.c (__catanf): Likewise.
25917         * math/s_catanh.c (__catanh): Likewise.
25918         * math/s_catanhf.c (__catanhf): Likewise.
25919         * math/s_catanhl.c (__catanhl): Likewise.
25920         * math/s_catanl.c (__catanl): Likewise.
25921         * math/s_ccosh.c (__ccosh): Likewise.
25922         * math/s_ccoshf.c (__ccoshf): Likewise.
25923         * math/s_ccoshl.c (__ccoshl): Likewise.
25924         * math/s_cexp.c (__cexp): Likewise.
25925         * math/s_cexpf.c (__cexpf): Likewise.
25926         * math/s_cexpl.c (__cexpl): Likewise.
25927         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
25928         * math/s_clog10.c (__clog10): Likewise.
25929         * math/s_clog10f.c (__clog10f): Likewise.
25930         * math/s_clog10l.c (__clog10l): Likewise.
25931         * math/s_clogf.c (__clogf): Likewise.
25932         * math/s_clogl.c (__clogl): Likewise.
25933         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
25934         * math/s_csinf.c (__csinf): Likewise.
25935         * math/s_csinh.c (__csinh): Likewise.
25936         * math/s_csinhf.c (__csinhf): Likewise.
25937         * math/s_csinhl.c (__csinhl): Likewise.
25938         * math/s_csinl.c (__csinl): Likewise.
25939         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
25940         * math/s_csqrtf.c (__csqrtf): Likewise.
25941         * math/s_csqrtl.c (__csqrtl): Likewise.
25942         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
25943         * math/s_ctanf.c (__ctanf): Likewise.
25944         * math/s_ctanh.c (__ctanh): Likewise.
25945         * math/s_ctanhf.c (__ctanhf): Likewise.
25946         * math/s_ctanhl.c (__ctanhl): Likewise.
25947         * math/s_ctanl.c (__ctanl): Likewise.
25948         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
25949         instead of volatile.
25950         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
25951         math_check_force_underflow.
25952         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25953         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
25954         volatile when forcing underflow.
25955         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25956         math_check_force_underflow_nonneg.
25957         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
25958         Likewise.
25959         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
25960         math_check_force_underflow.
25961         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25962         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25963         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25964         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
25965         math_check_force_underflow_nonneg.
25966         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
25967         math_check_force_underflow.
25968         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
25969         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
25970         instead of volatile.
25971         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
25972         math_check_force_underflow.
25973         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25974         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25975         math_check_force_underflow_nonneg.
25976         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
25977         math_check_force_underflow.
25978         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
25979         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25980         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
25981         math_check_force_underflow_nonneg.
25982         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25983         Likewise.
25984         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
25985         math_check_force_underflow.
25986         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25987         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25988         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
25989         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
25990         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
25991         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
25992         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
25993         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
25994         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25995         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
25996         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
25997         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
25998         Likewise.
25999         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
26000         math_check_force_underflow_nonneg.
26001         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
26002         Likewise.
26003         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
26004         math_check_force_underflow.
26005         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26006         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
26007         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26008         Likewise.
26009         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
26010         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
26011         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
26012         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
26013         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
26014         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
26015         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
26016         instead of volatile.
26017         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
26018         math_check_force_underflow.
26019         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
26020         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
26021         math_check_force_underflow.
26022         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
26023         Likewise.
26024         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26025         Use math_check_force_underflow_nonneg.
26026         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
26027         math_check_force_underflow.
26028         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
26029         Likewise.
26030         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26031         Likewise.
26032         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26033         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26034         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26035         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26036         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
26037         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26038         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
26039         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
26040         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
26041         math_check_force_underflow_nonneg.
26042         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
26043         math_check_force_underflow.
26044         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26045         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
26046         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
26047         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
26048         math_check_force_underflow_nonneg.
26049         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
26050         math_check_force_underflow.
26051         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
26052         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
26053         instead of volatile.
26054         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
26055         math_check_force_underflow.
26057         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
26058         * stdlib/strtod_l.c: Include <math_private.h>.
26059         (overflow_value): Use math_narrow_eval.
26060         (underflow_value): Likewise.
26061         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26062         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
26063         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
26064         (__ieee754_gamma_r): Likewise.
26065         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
26066         Likewise.
26067         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
26068         Likewise.
26069         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
26070         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
26071         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
26072         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
26073         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
26074         (__ieee754_gammaf_r): Likewise.
26075         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
26076         Likewise.
26077         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
26078         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
26079         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
26080         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
26081         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
26082         volatile.
26083         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
26084         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
26085         math_narrow_eval.
26086         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26087         Likewise.
26088         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26089         Likewise.
26090         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
26091         Likewise.
26092         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
26093         volatile.
26094         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
26095         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
26096         math_narrow_eval.
26097         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26098         Likewise.
26099         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26100         Likewise.
26102 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
26104         * nptl/Versions: Remove ignored symbols.
26106 2015-09-22  Florian Weimer  <fweimer@redhat.com>
26108         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
26109         * nss/Makefile (tests): Update.
26111 2015-09-22  Florian Weimer  <fweimer@redhat.com>
26113         * nss/bug18287.c: New file.
26114         * nss/Makefile (tests): Add bug18287.
26116 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26118         * mach/Versions (__mach_host_self_): Add symbol.
26120 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26122         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
26123         vm_page_size.
26125 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26127         Really fix sysdeps/i386/fpu/s_scalbn.S build
26129         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
26130         (libc: GLIBC_2_22): Remove unused version set.
26132 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26134         * config.make.in (enable-timezone-tools): New variable.
26135         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
26136         (enable_timezone_tools): Export to generated files.
26137         * configure: Regenerate.
26138         * INSTALL: Regenerate.
26139         * manual/install.texi (--disable-timezone-tools): Document new flag.
26140         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
26141         ifeq ($(enable-timezone-tools),yes) check.
26143 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26145         * timezone/Makefile: Revert previous change.
26147         [BZ #18980]
26148         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
26149         (DEFINE_DBL_MIN): Likewise.
26150         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
26151         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
26152         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
26153         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
26154         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
26155         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26156         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26157         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
26158         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
26159         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26160         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26161         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
26162         (flt_min): Replace with use of DEFINE_FLT_MIN.
26163         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26164         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
26165         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26166         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26167         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
26168         (flt_min): Replace with use of DEFINE_FLT_MIN.
26169         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26170         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
26171         (flt_min): Replace with use of DEFINE_FLT_MIN.
26172         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26173         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
26174         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
26175         (__ieee754_hypot): Use DBL_NARROW_EVAL.
26176         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
26177         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
26178         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
26179         (__ieee754_pow): Use DBL_NARROW_EVAL.
26180         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
26181         (__ieee754_powf): Use FLT_NARROW_EVAL.
26182         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
26183         (__ieee754_expf_sse2): Convert double-precision result to single
26184         precision.
26185         * sysdeps/i386/fpu/libm-test-ulps: Update.
26187 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26189         * timezone/Makefile: Ignore unused variable errors due to private.h
26190         (time_t_min) and (time_t_max).
26191         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
26192         Likewise.
26194 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26196         [BZ #18981]
26197         * sysdeps/i386/fpu/i386-math-asm.h: New file.
26198         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
26199         (__ieee754_scalb): Use DBL_NARROW_EVAL.
26200         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
26201         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
26202         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
26203         (__scalbn): Use DBL_NARROW_EVAL.
26204         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
26205         (__scalbnf): Use FLT_NARROW_EVAL.
26207 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26209         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
26210         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
26211         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
26212         * stdio-common/printf_fp.c (___printf_fp):
26213         Use signbit to get the sign. Use isinf macro to allow inlining.
26214         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
26215         * stdio-common/printf_size.c (__printf_size): Likewise.
26217 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26219         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
26221 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26223         [BZ #18980]
26224         * sysdeps/generic/math_private.h: Include <float.h>.
26225         (math_narrow_eval): New macro.
26226         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
26227         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
26228         math_narrow_eval on overflowing return value.
26229         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
26230         Likewise.
26231         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26232         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
26233         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
26234         Likewise.
26235         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
26237 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26239         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
26240         * math/Makefile: Remove isinf_ns.c.
26241         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
26242         * math/multc3.c (__multc3): Likewise.
26243         * math/s_casin.c (__casin): Likewise.
26244         * math/s_casinf.c (__casinf): Likewise.
26245         * math/s_casinl.c (__casinl): Likewise.
26246         * math/s_cproj.c (__cproj): Likewise.
26247         * math/s_cprojf.c (__cprojf): Likewise.
26248         * math/s_cprojl.c (__cprofl): Likewise.
26249         * math/s_ctan.c (__ctan): Likewise.
26250         * math/s_ctanf.c (__ctanf): Likewise.
26251         * math/s_ctanh.c (__ctanh): Likewise.
26252         * math/s_ctanhf.c (__ctanhf): Likewise.
26253         * math/s_ctanhl.c (__ctanhl): Likewise.
26254         * math/s_ctanl.c (__ctanl): Likewise.
26255         * math/w_fmod.c (__fmod): Likewise.
26256         * math/w_fmodf.c (__fmodf): Likewise.
26257         * math/w_fmodl.c (_fmodl): Likewise.
26258         * math/w_remainder.c (__remainder): Likewise.
26259         * math/w_remainderf.c (__remainderf): Likewise.
26260         * math/w_remainderl.c (__remainderl): Likewise.
26261         * math/w_scalb.c (__scalb): Likewise.
26262         * math/w_scalbf.c (__scalbf): Likewise.
26263         * math/w_scalbl.c (__scalbl): Likewise.
26264         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
26265         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
26266         with isinf.
26267         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
26268         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
26269         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
26270         __isinf_nsf with isinf.
26271         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
26272         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
26273         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
26274         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
26275         with isinf.
26276         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
26277         __isinf_nsl with isinf.
26278         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
26279         with isinf.
26280         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
26281         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
26282         __isinf_nsl with isinf.
26283         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
26284         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
26285         with isinf.
26287 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26289         * resolv/base64.c (rcsid): Remove unused static.
26290         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
26291         static.  (tqpi1): Likewise.
26292         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
26293         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
26294         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
26295         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
26296         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
26297         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
26298         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
26299         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
26300         Likewise.
26302 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
26304         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
26305         <nptl/pthreadP.h>.
26306         (_longjmp_unwind): Use __libc_ptf_call.
26307         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
26309 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
26311         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
26312         * sysdeps/arm/__longjmp.S: Likewise.
26314 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26316         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
26317         Use __builtin_signbit.
26318         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
26319         Use __builtin_signbitf.
26320         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
26321         Use __builtin_signbitl.
26322         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26323         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
26325 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26327         [BZ #15367]
26328         [BZ #17441]
26330         * math/Makefile: Build test-snan.c with -fsignaling-nans.
26331         * math/math.h (fpclassify): Use __builtin_fpclassify when
26332         available.  (signbit): Use __builtin_signbit(f/l).
26333         (isfinite): Use__builtin_isfinite.  (isnormal): Use
26334         __builtin_isnormal.  (isnan): Use __builtin_isnan.
26335         (isinf): Use __builtin_isinf_sign.
26337 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26339         * benchtests/Makefile: Add bench-math-inlines, link with libm.
26340         * benchtests/bench-math-inlines.c: New benchmark.
26341         * benchtests/bench-util.h: New file.
26342         * benchtests/bench-util.c: New file.
26343         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
26345 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
26347         * elf/tst-dlmopen1.c: Define TEST_SO.
26348         (do_test): Use TEST_SO.
26350         * elf/dl-load.c: Include libc-internal.h.
26351         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
26353 2015-09-18  Vincent Bernat  <vincent@bernat.im>
26355         [BZ #17887]
26356         * time/strptime_l.c (__strptime_internal): Make %z accept
26357         [+-]HH:MM time zones.
26359 2015-09-18  Vincent Bernat  <vincent@bernat.im>
26361         [BZ #17886]
26362         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
26363         valid time zone.
26365 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
26367         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
26368         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
26369         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26370         (__ASSUME_FDATASYNC): Delete.
26372 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26374         * conform/linknamespace.pl: Require weak undefined symbols to be
26375         in the standard namespace.
26376         (%strong_syms): Rename to %seen_syms.
26377         (%strong_seen): Rename to %seen_where.
26379 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
26381         [BZ #18970]
26382         * misc/error.c (error): Replace pthread_setcancelstate with
26383         __pthread_setcancelstate.
26384         (error_at_line): Likewise.
26385         * posix/wordexp.c (parse_comm): Likewise.
26386         * stdlib/fmtmsg.c (fmtmsg): Likewise.
26387         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
26388         (__pthread_setcancelstate): This.
26389         (pthread_setcancelstate): Add an alias.
26390         * nptl/nptl-init.c (pthread_functions): Replace
26391         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
26392         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
26393         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
26394         hidden_proto.
26395         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
26396         it with hidden_def.
26397         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
26398         (pthread_setcancelstate): Renamed to ...
26399         (__pthread_setcancelstate): This.
26400         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
26401         __libc_ptf_call with __pthread_setcancelstate.
26403 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26404             Andreas Schwab  <schwab@suse.de>
26406         [BZ #17118]
26407         * math/s_ctan.c (__ctan): Determine sign of zero real part of
26408         result when imaginary part of argument is infinite using sine and
26409         cosine.
26410         * math/s_ctanf.c (__ctanf): Likewise.
26411         * math/s_ctanl.c (__ctanl): Likewise.
26412         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
26413         of result when real part of argument is infinite using sine and
26414         cosine.
26415         * math/s_ctanhf.c (__ctanhf): Likewise.
26416         * math/s_ctanhl.c (__ctanhl): Likewise.
26417         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
26418         (ctanh_test_data): Add more tests of ctanh.
26420 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26422         [BZ #15384]
26423         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
26424         bit-mask as in subtraction.
26425         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
26426         Likewise.
26427         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
26428         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
26429         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
26431         [BZ #18951]
26432         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
26433         underflow exception for small results.
26434         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
26435         Likewise.
26436         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
26437         Likewise.
26438         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26439         Likewise.
26440         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26441         Likewise.
26442         * math/auto-libm-test-in: Add more tests of tgamma.
26443         * math/auto-libm-test-out: Regenerated.
26445 2015-09-17  Andreas Schwab  <schwab@suse.de>
26447         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
26449 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
26451         [BZ #18977]
26452         * math/bits/mathcalls.h
26453         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
26454         not declare.
26455         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
26456         Likewise.
26457         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
26458         Likewise.
26459         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
26460         Likewise.
26461         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
26462         Likewise.
26463         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
26464         Likewise.
26465         * conform/data/math.h-data
26466         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
26467         function.
26468         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
26469         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
26470         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
26471         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
26472         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
26473         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
26474         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
26475         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
26476         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
26477         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
26478         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
26480         [BZ #6803]
26481         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
26482         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
26483         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
26484         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
26485         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
26486         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
26487         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
26488         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
26489         [NO_LONG_DOUBLE] (scalbnl): Likewise.
26490         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
26491         Likewise.
26492         [NO_LONG_DOUBLE] (scalbnl): Likewise.
26493         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
26494         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
26495         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
26496         long_double_symbol calls.
26497         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
26498         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
26499         strong alias of __ldexpl.
26500         (scalbnl): Define using long_double_symbol.
26501         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
26502         Remove alias.
26503         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
26504         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
26505         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
26506         (scalbln_test_data): Add more errno expectations.
26508 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
26510         Cache the host port like we cache the task port.  This way we do not
26511         need to call the kernel just to get the port.  Furthermore, we no
26512         longer increase the reference count on every invocation of
26513         `mach_host_self'.
26515         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
26516         Protect declarations against the macro expansion.
26517         * mach/mach_init.c (__mach_host_self_): New variable.
26518         (mach_init): Initialize `__mach_host_self_'.
26519         * mach/mach_init.h (__mach_host_self_): New declaration.
26520         (__mach_host_self, mach_host_self): New macros.
26521         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
26522         Release reference.
26524 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
26526         [BZ #4404]
26527         * po/de.po: Update from Translation Project.
26529         [BZ #16415]
26530         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
26531         (__expm1l): Remove code to handle positive infinity and overflow.
26532         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
26533         variable.
26534         (__expm1l): Remove code to handle positive infinity and overflow.
26536 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
26537             Paul Pluzhnikov  <ppluzhnikov@google.com>
26539         [BZ #18872]
26540         * stdio-common/Makefile (tst-printf-bz18872): New test.
26541         (tst-printf-bz18872-mem.out): Likewise.
26542         * stdio-common/tst-printf-bz18872.sh: Generate new test.
26543         * stdio-common/vfprintf.c: Fix memory leaks.
26545 2015-09-16  Andreas Schwab  <schwab@suse.de>
26547         [BZ #17244]
26548         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
26549         Remove extra va_start/va_end calls.
26551         [BZ #17243]
26552         * posix/execl.c (execl): Add missing va_end.
26553         * posix/execle.c (execle): Likewise.
26554         * posix/execlp.c (execlp): Likewise.
26556 2015-09-15  Roland McGrath  <roland@hack.frob.com>
26558         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
26559         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
26561 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
26563         [BZ #18967]
26564         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
26565         undefine around includes of <bits/mathcalls.h>.
26566         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
26567         not declare function.
26568         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
26569         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
26570         (scalb): Likewise.
26571         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
26572         not define macro.
26573         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
26574         variable.
26575         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
26576         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
26577         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
26579         [BZ #18857]
26580         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
26581         return non-finite argument without doing ordered comparisons on
26582         it.
26584         [BZ #16296]
26585         * math/fenv.h (fegetround): Use __attribute_pure__.
26586         * include/fenv.h (__fegetround): Likewise.
26588         [BZ #18595]
26589         * math/s_ctan.c (__ctan): Force underflow exception for results
26590         whose real or imaginary part has small absolute value.
26591         * math/s_ctanf.c (__ctanf): Likewise.
26592         * math/s_ctanh.c (__ctanh): Likewise.
26593         * math/s_ctanhf.c (__ctanhf): Likewise.
26594         * math/s_ctanhl.c (__ctanhl): Likewise.
26595         * math/s_ctanl.c (__ctanl): Likewise.
26596         * math/auto-libm-test-in: Do not allow missing underflow for ctan
26597         and ctanh.  Add more tests of ctan and ctanh.
26599         [BZ #15918]
26600         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
26601         handling of cases where one argument is an infinity.
26603         [BZ #18875]
26604         [BZ #18966]
26605         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
26606         (MO): New macro.
26607         (__ieee754_exp10): For small results, force underflow exception
26608         and remove excess range and precision from return value.
26609         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
26610         (MO): New macro.
26611         (__ieee754_exp10f): For small results, force underflow exception
26612         and remove excess range and precision from return value.
26613         * math/auto-libm-test-in: Add more tests of exp10.
26614         * math/auto-libm-test-out: Regenerated.
26616 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
26618         [BZ #18875]
26619         [BZ #18961]
26620         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
26621         (MO): New macro.
26622         (__ieee754_exp): For small results, force underflow exception and
26623         remove excess range and precision from return value.
26624         (__exp_finite): Likewise.
26625         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
26626         (MO): New macro.
26627         (__ieee754_expf): For small results, force underflow exception and
26628         remove excess range and precision from return value.
26629         (__expf_finite): Likewise.
26630         * math/auto-libm-test-in: Add more tests of exp.
26631         * math/auto-libm-test-out: Regenerated.
26633         [BZ #16521]
26634         [BZ #18875]
26635         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
26636         small results.
26637         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
26638         (MO): New macro.
26639         (__ieee754_exp2): For small results, force underflow exception and
26640         remove excess range and precision from return value.
26641         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
26642         (MO): New macro.
26643         (__ieee754_exp2f): For small results, force underflow exception
26644         and remove excess range and precision from return value.
26645         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
26646         (MO): New macro.
26647         (__ieee754_exp2l): Force underflow exception for small results.
26648         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26649         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26650         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
26651         (MO): New macro.
26652         (__ieee754_exp2l): Force underflow exception for small results.
26653         * math/auto-libm-test-in: Add more tests or exp2.
26654         * math/auto-libm-test-out: Regenerated.
26656 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
26658         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
26660         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
26661         /dev/null.
26663 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26665         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26666         io fs process)): Drop spurious backslash.
26668 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26670         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
26671         Use sysinfo system call instead of parsing /proc/meminfo.
26672         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
26673         Likewise.
26675 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
26677         [BZ #16985]
26678         * programs/localedef.c (main): Display argv[remaining] when
26679         output_path is NULL.
26681 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
26683         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26684         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
26685         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
26686         tanh.
26687         * math/auto-libm-test-out: Regenerated.
26688         * sysdeps/i386/fpu/libm-test-ulps: Update.
26689         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26690         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26693 2015-09-11  Roland McGrath  <roland@hack.frob.com>
26695         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
26696         Use 'override' keyword to freeze the value here, preventing
26697         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
26699 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
26701         [BZ #14912]
26702         * sysdeps/aarch64/bits/atomic.h: Move to ...
26703         * sysdeps/aarch64/atomic-machine.h: ...here.
26704         (_AARCH64_BITS_ATOMIC_H): Rename macro to
26705         _AARCH64_ATOMIC_MACHINE_H.
26706         * sysdeps/alpha/bits/atomic.h: Move to ...
26707         * sysdeps/alpha/atomic-machine.h: ...here.
26708         * sysdeps/arm/bits/atomic.h: Move to ...
26709         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
26710         * bits/atomic.h: Move to ...
26711         * sysdeps/generic/atomic-machine.h: ...here.
26712         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26713         * sysdeps/i386/bits/atomic.h: Move to ...
26714         * sysdeps/i386/atomic-machine.h: ...here.
26715         * sysdeps/ia64/bits/atomic.h: Move to ...
26716         * sysdeps/ia64/atomic-machine.h: ...here.
26717         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
26718         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
26719         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26720         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
26721         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
26722         * sysdeps/microblaze/bits/atomic.h: Move to ...
26723         * sysdeps/microblaze/atomic-machine.h: ...here.
26724         * sysdeps/mips/bits/atomic.h: Move to ...
26725         * sysdeps/mips/atomic-machine.h: ...here.
26726         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
26727         * sysdeps/powerpc/bits/atomic.h: Move to ...
26728         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
26729         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
26730         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
26731         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
26732         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
26733         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
26734         <atomic-machine.h> instead of <bits/atomic.h>.
26735         * sysdeps/s390/bits/atomic.h: Move to ...
26736         * sysdeps/s390/atomic-machine.h: ...here.
26737         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
26738         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
26739         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26740         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
26741         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
26742         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
26743         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
26744         * sysdeps/tile/bits/atomic.h: Move to ...
26745         * sysdeps/tile/atomic-machine.h: ...here.
26746         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
26747         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
26748         <sysdeps/tile/atomic-machine.h> instead of
26749         <sysdeps/tile/bits/atomic.h>.
26750         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26751         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
26752         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
26753         <sysdeps/tile/atomic-machine.h> instead of
26754         <sysdeps/tile/bits/atomic.h>.
26755         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26756         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
26757         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
26758         <sysdeps/arm/atomic-machine.h> instead of
26759         <sysdeps/arm/bits/atomic.h>.
26760         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
26761         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
26762         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26763         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
26764         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
26765         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26766         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
26767         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
26768         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
26769         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
26770         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
26771         * sysdeps/x86_64/bits/atomic.h: Move to ...
26772         * sysdeps/x86_64/atomic-machine.h: ...here.
26773         * include/atomic.h: Include <atomic-machine.h> instead of
26774         <bits/atomic.h>.
26776         * sysdeps/mips/mips32/libm-test-ulps: Update.
26777         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26779         [BZ #18952]
26780         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
26781         not convert non-integer negative arguments to int to determine the
26782         value of signgam.
26783         * math/auto-libm-test-in: Add more tests of lgamma.
26784         * math/auto-libm-test-out: Regenerated.
26786         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
26787         cosh, csqrt, erfc, expm1 and lgamma.
26788         * math/auto-libm-test-out: Regenerated.
26789         * sysdeps/i386/fpu/libm-test-ulps: Update.
26790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26792 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
26794         [BZ #2542]
26795         [BZ #2543]
26796         [BZ #2558]
26797         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
26798         __lgamma_neg for arguments from -28.0 to -2.0.
26799         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
26800         __lgamma_negf for arguments from -15.0 to -2.0.
26801         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26802         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
26803         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
26804         Call __lgamma_negl for arguments from -33.0 to -2.0.
26805         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
26806         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
26807         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
26808         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
26809         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
26810         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
26811         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
26812         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
26813         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
26814         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
26815         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
26816         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
26817         (__lgamma_neg): Likewise.
26818         (__lgamma_negl): Likewise.
26819         (__lgamma_product): Likewise.
26820         (__lgamma_productl): Likewise.
26821         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
26822         * math/auto-libm-test-in: Add more tests of lgamma.
26823         * math/auto-libm-test-out: Regenerated.
26824         * sysdeps/i386/fpu/libm-test-ulps: Update.
26825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26827 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
26829         [BZ #18675]
26830         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
26832 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
26834         [BZ #14912]
26835         * bits/libc-lock.h: Move to ...
26836         * sysdeps/generic/libc-lock.h: ...here.
26837         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26838         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
26839         * sysdeps/mach/hurd/libc-lock.h: ...here.
26840         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26841         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
26842         * sysdeps/mach/bits/libc-lock.h: Move to ...
26843         * sysdeps/mach/libc-lock.h: ...here.
26844         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26845         * sysdeps/nptl/bits/libc-lock.h: Move to ...
26846         * sysdeps/nptl/libc-lock.h: ...here.
26847         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26848         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
26849         * sysdeps/nptl/libc-lockP.h: ...here.
26850         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
26851         * crypt/crypt_util.c: Include <libc-lock.h> instead of
26852         <bits/libc-lock.h>.
26853         * dirent/scandir-tail.c: Likewise.
26854         * dlfcn/dlerror.c: Likewise.
26855         * elf/dl-close.c: Likewise.
26856         * elf/dl-iteratephdr.c: Likewise.
26857         * elf/dl-lookup.c: Likewise.
26858         * elf/dl-open.c: Likewise.
26859         * elf/dl-support.c: Likewise.
26860         * elf/dl-writev.h: Likewise.
26861         * elf/rtld.c: Likewise.
26862         * grp/fgetgrent.c: Likewise.
26863         * gshadow/fgetsgent.c: Likewise.
26864         * gshadow/sgetsgent.c: Likewise.
26865         * iconv/gconv_conf.c: Likewise.
26866         * iconv/gconv_db.c: Likewise.
26867         * iconv/gconv_dl.c: Likewise.
26868         * iconv/gconv_int.h: Likewise.
26869         * iconv/gconv_trans.c: Likewise.
26870         * include/link.h: Likewise.
26871         * inet/getnameinfo.c: Likewise.
26872         * inet/getnetgrent.c: Likewise.
26873         * inet/getnetgrent_r.c: Likewise.
26874         * intl/bindtextdom.c: Likewise.
26875         * intl/dcigettext.c: Likewise.
26876         * intl/finddomain.c: Likewise.
26877         * intl/gettextP.h: Likewise.
26878         * intl/loadmsgcat.c: Likewise.
26879         * intl/localealias.c: Likewise.
26880         * intl/textdomain.c: Likewise.
26881         * libidn/idn-stub.c: Likewise.
26882         * libio/libioP.h: Likewise.
26883         * locale/duplocale.c: Likewise.
26884         * locale/freelocale.c: Likewise.
26885         * locale/newlocale.c: Likewise.
26886         * locale/setlocale.c: Likewise.
26887         * login/getutent_r.c: Likewise.
26888         * login/getutid_r.c: Likewise.
26889         * login/getutline_r.c: Likewise.
26890         * login/utmp-private.h: Likewise.
26891         * login/utmpname.c: Likewise.
26892         * malloc/mtrace.c: Likewise.
26893         * misc/efgcvt.c: Likewise.
26894         * misc/error.c: Likewise.
26895         * misc/fstab.c: Likewise.
26896         * misc/getpass.c: Likewise.
26897         * misc/mntent.c: Likewise.
26898         * misc/syslog.c: Likewise.
26899         * nis/nis_call.c: Likewise.
26900         * nis/nis_callback.c: Likewise.
26901         * nis/nss-default.c: Likewise.
26902         * nis/nss_compat/compat-grp.c: Likewise.
26903         * nis/nss_compat/compat-initgroups.c: Likewise.
26904         * nis/nss_compat/compat-pwd.c: Likewise.
26905         * nis/nss_compat/compat-spwd.c: Likewise.
26906         * nis/nss_nis/nis-alias.c: Likewise.
26907         * nis/nss_nis/nis-ethers.c: Likewise.
26908         * nis/nss_nis/nis-grp.c: Likewise.
26909         * nis/nss_nis/nis-hosts.c: Likewise.
26910         * nis/nss_nis/nis-network.c: Likewise.
26911         * nis/nss_nis/nis-proto.c: Likewise.
26912         * nis/nss_nis/nis-pwd.c: Likewise.
26913         * nis/nss_nis/nis-rpc.c: Likewise.
26914         * nis/nss_nis/nis-service.c: Likewise.
26915         * nis/nss_nis/nis-spwd.c: Likewise.
26916         * nis/nss_nisplus/nisplus-alias.c: Likewise.
26917         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
26918         * nis/nss_nisplus/nisplus-grp.c: Likewise.
26919         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
26920         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
26921         * nis/nss_nisplus/nisplus-network.c: Likewise.
26922         * nis/nss_nisplus/nisplus-proto.c: Likewise.
26923         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
26924         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
26925         * nis/nss_nisplus/nisplus-service.c: Likewise.
26926         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
26927         * nis/ypclnt.c: Likewise.
26928         * nptl/libc_pthread_init.c: Likewise.
26929         * nss/getXXbyYY.c: Likewise.
26930         * nss/getXXent.c: Likewise.
26931         * nss/getXXent_r.c: Likewise.
26932         * nss/nss_db/db-XXX.c: Likewise.
26933         * nss/nss_db/db-netgrp.c: Likewise.
26934         * nss/nss_db/nss_db.h: Likewise.
26935         * nss/nss_files/files-XXX.c: Likewise.
26936         * nss/nss_files/files-alias.c: Likewise.
26937         * nss/nsswitch.c: Likewise.
26938         * posix/regex_internal.h: Likewise.
26939         * posix/wordexp.c: Likewise.
26940         * pwd/fgetpwent.c: Likewise.
26941         * resolv/res_hconf.c: Likewise.
26942         * resolv/res_libc.c: Likewise.
26943         * shadow/fgetspent.c: Likewise.
26944         * shadow/lckpwdf.c: Likewise.
26945         * shadow/sgetspent.c: Likewise.
26946         * socket/opensock.c: Likewise.
26947         * stdio-common/reg-modifier.c: Likewise.
26948         * stdio-common/reg-printf.c: Likewise.
26949         * stdio-common/reg-type.c: Likewise.
26950         * stdio-common/vfprintf.c: Likewise.
26951         * stdio-common/vfscanf.c: Likewise.
26952         * stdlib/abort.c: Likewise.
26953         * stdlib/cxa_atexit.c: Likewise.
26954         * stdlib/fmtmsg.c: Likewise.
26955         * stdlib/random.c: Likewise.
26956         * stdlib/setenv.c: Likewise.
26957         * string/strsignal.c: Likewise.
26958         * sunrpc/auth_none.c: Likewise.
26959         * sunrpc/bindrsvprt.c: Likewise.
26960         * sunrpc/create_xid.c: Likewise.
26961         * sunrpc/key_call.c: Likewise.
26962         * sunrpc/rpc_thread.c: Likewise.
26963         * sysdeps/arm/backtrace.c: Likewise.
26964         * sysdeps/generic/ldsodefs.h: Likewise.
26965         * sysdeps/generic/stdio-lock.h: Likewise.
26966         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
26967         * sysdeps/i386/backtrace.c: Likewise.
26968         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26969         * sysdeps/m68k/backtrace.c: Likewise.
26970         * sysdeps/mach/hurd/cthreads.c: Likewise.
26971         * sysdeps/mach/hurd/dirstream.h: Likewise.
26972         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26973         * sysdeps/nptl/malloc-machine.h: Likewise.
26974         * sysdeps/nptl/stdio-lock.h: Likewise.
26975         * sysdeps/posix/dirstream.h: Likewise.
26976         * sysdeps/posix/getaddrinfo.c: Likewise.
26977         * sysdeps/posix/system.c: Likewise.
26978         * sysdeps/pthread/aio_suspend.c: Likewise.
26979         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26980         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26981         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26982         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26983         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
26984         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
26985         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
26986         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26987         * sysdeps/unix/sysv/linux/system.c: Likewise.
26988         * sysdeps/x86_64/backtrace.c: Likewise.
26989         * time/alt_digit.c: Likewise.
26990         * time/era.c: Likewise.
26991         * time/tzset.c: Likewise.
26992         * wcsmbs/wcsmbsload.c: Likewise.
26993         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
26994         instead of <bits/libc-lock.h> in comment.
26996 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
26998         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
26999         Only use .set mips2 if the current ISA is below mips2.
27000         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
27001         Likewise.
27002         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
27003         mips32r2 if the current ISA is below mips32r2.
27004         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
27005         (TLS_IE): Updated to use the TLD_RDHWR macro.
27006         (TLS_LE): Likewise.
27007         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
27008         __ASSEMBLER__ condition.
27010 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27012         Fix parallel build of before-compile targets.
27014         * sysdeps/mach/Makefile ($(patsubst
27015         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
27016         mach-before-compile target.
27017         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27018         io fs process)): Move rule to dedicated hurd-before-compile target.
27020 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27022         Fix rules generating headers in hurd/ and mach/ when initial make call
27023         has subdir= explicitly set.
27025         * sysdeps/mach/Makefile ($(patsubst
27026         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
27027         calling $(MAKE).
27028         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27029         io fs process)): Force subdir to hurd when calling $(MAKE).
27030         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
27031         subdir to mach when calling $(MAKE).
27033 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
27035         Check sysheaders when looking for Mach and Hurd headers
27037         * sysdeps/mach/configure.ac: Add sysheaders check.
27038         * sysdeps/mach/configure: Regenerate.
27039         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
27040         * sysdeps/mach/hurd/configure: Regenerate.
27042 2015-09-04  Roland McGrath  <roland@hack.frob.com>
27044         [BZ #18921]
27045         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
27046         Fix inverted sense of test of 'o_directory_works' value.
27047         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
27048         Bernhard Voelker <mail@bernhard-voelker.de>.
27050 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
27052         [BZ #14912]
27053         * bits/linkmap.h: Move to ...
27054         * sysdeps/generic/linkmap.h: ...here.
27055         * sysdeps/aarch64/bits/linkmap.h: Move to ...
27056         * sysdeps/aarch64/linkmap.h: ...here.
27057         * sysdeps/arm/bits/linkmap.h: Move to ...
27058         * sysdeps/arm/linkmap.h: ...here.
27059         * sysdeps/hppa/bits/linkmap.h: Move to ...
27060         * sysdeps/hppa/linkmap.h: ...here.
27061         * sysdeps/ia64/bits/linkmap.h: Move to ...
27062         * sysdeps/ia64/linkmap.h: ...here.
27063         * sysdeps/mips/bits/linkmap.h: Move to ...
27064         * sysdeps/mips/linkmap.h: ...here.
27065         * sysdeps/s390/bits/linkmap.h: Move to ...
27066         * sysdeps/s390/linkmap.h: ...here.
27067         * sysdeps/sh/bits/linkmap.h: Move to ...
27068         * sysdeps/sh/linkmap.h: ...here.
27069         * sysdeps/x86/bits/linkmap.h: Move to ...
27070         * sysdeps/x86/linkmap.h: ...here.
27071         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
27073 2015-09-04  Andreas Schwab  <schwab@suse.de>
27075         [BZ #18635]
27076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
27077         (__makecontext): Terminate FDE before return label.
27078         (__novec_makecontext): Likewise.
27080 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27082         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
27083         first member of struct sv in syscall macro.
27085 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
27087         [BZ #14912]
27088         * bits/stdio-lock.h: Move to ...
27089         * sysdeps/generic/stdio-lock.h: ...here.
27090         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
27091         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
27092         * sysdeps/nptl/stdio-lock.h: ...here.
27093         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
27094         * include/libio.h: Include <stdio-lock.h> instead of
27095         <bits/stdio-lock.h>.
27096         * sysdeps/nptl/fork.c: Likewise.
27097         * sysdeps/pthread/flockfile.c: Likewise.
27098         * sysdeps/pthread/ftrylockfile.c: Likewise.
27099         * sysdeps/pthread/funlockfile.c: Likewise.
27101         [BZ #14912]
27102         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
27103         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
27104         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
27105         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
27106         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
27107         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27108         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
27110 2015-09-03  Roland McGrath  <roland@hack.frob.com>
27112         * elf/Makefile (test-xfail-tst-protected1a): New variable.
27113         (test-xfail-tst-protected1b): New variable.
27115 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
27117         [BZ #14912]
27118         * bits/libc-tsd.h: Move to ...
27119         * sysdeps/generic/libc-tsd.h: ...here.
27120         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
27121         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
27122         * sysdeps/mach/hurd/libc-tsd.h: ...here.
27123         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
27124         * include/ctype.h: Include <libc-tsd.h> instead of
27125         <bits/libc-tsd.h>.
27126         * include/rpc/rpc.h: Likewise.
27127         * locale/localeinfo.h: Likewise.
27128         * sunrpc/rpc_thread.c: Likewise.
27129         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
27130         * sysdeps/nptl/malloc-machine.h: Likewise.
27132         * Makefile (headers): Remove bits/libc-lock.h.
27133         * libio/Makefile (headers): Remove bits/stdio-lock.h.
27135         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
27136         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
27137         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
27138         <bits/stdio-lock.h>.
27139         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
27140         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
27142 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
27144         [BZ #18757]
27145         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
27146         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
27147         BZ #18757.
27149 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
27151         * malloc/mtrace.pl: Filter out NULL entries.
27153 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
27155         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
27156         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
27157         macro.
27159         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
27160         (TCP_CC_INFO): Likewise.
27161         (TCP_SAVE_SYN): Likewise.
27162         (TCP_SAVED_SYN): Likewise.
27164 2015-08-31  Brett Neumeier <brett@neumeier.us>
27166         [BZ #18870]
27167         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
27169 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
27171         [BZ #18873]
27172         Fix broken overflow check in posix_fallocate
27173         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
27174         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27175         Fix parenthesization typo.
27177 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
27179         [BZ #18887]
27180         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
27181         tst-mntent-blank-passno.
27182         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
27183         * misc/tst-mntent-blank-corrupt.c: New test.
27184         * misc/tst-mntent-blank-passno.c: New test ripped from ...
27185         * misc/tst-mntent.c (do_test): ... here.
27187 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
27189         [BZ #4404]
27190         * po/de.po: Fix SIGALRM typo.
27192 2015-08-28  James Perkins  <james@loowit.net>
27194         * time/tst-strptime2.c (tests): Replace short list of test
27195         strings for strptime %z specifier with code which exhaustively
27196         tests every combination of sign and 0 to 5 digits. Tests for
27197         rejection of invalid strings.
27199 2015-08-28  James Perkins  <james@loowit.net>
27201         [BZ #16141]
27202         * time/strptime_l.c (__strptime_internal): Fix %z minutes
27203         calculation, removing incorrect decimal time rounding, so that
27204         all minute values result in a valid seconds value.
27205         * time/strptime_l.c (__strptime_internal): Extend %z time zone
27206         offset range limits to UTC-99:59 through UTC+99:59 to parse
27207         current and historical use cases.
27208         * time/tst-strptime2.c (tests): Modify and add tests for the
27209         strptime %z input field descriptor, specifically conversion of
27210         minutes to seconds and validating an offset range of -9959 to
27211         +9959.
27213 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27214             Dmitry V. Levin  <ldv@altlinux.org>
27216         [BZ #18877]
27217         * posix/Makefile (tests): Add tst-mmap-offset.
27218         * posix/tst-mmap.c: New file.
27219         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
27220         offset calculation for negative values.
27222 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27224         * sysdeps/i386/init-arch.h: New file.
27225         * sysdeps/i386/i586/init-arch.h: Likewise.
27226         * sysdeps/i386/i686/init-arch.h: Likewise.
27227         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
27228         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
27229         * sysdeps/x86/cpu-features.h (bit_I586): New.
27230         (bit_I686): Likewise.
27231         (bit_CX8): Likewise.
27232         (bit_CMOV): Likewise.
27233         (index_CX8): Likewise.
27234         (index_CMOV): Likewise.
27235         (index_I586): Likewise.
27236         (index_I686): Likewise.
27237         (reg_CX8): Likewise.
27238         (reg_CMOV): Likewise.
27239         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
27240         available at compile-time.
27241         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
27242         available at compile-time.
27243         * sysdeps/x86/init-arch.h (USE_I586): New macro.
27244         (USE_I686): Likewise.
27246 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27248         * sysdeps/i386/bcopy.S: New file.
27249         * sysdeps/i386/bzero.S: Likewise.
27250         * sysdeps/i386/memcpy.S: Likewise.
27251         * sysdeps/i386/memmove.S: Likewise.
27252         * sysdeps/i386/mempcpy.S: Likewise.
27253         * sysdeps/i386/memset.S: Likewise.
27254         * sysdeps/i386/bzero.c: Removed.
27255         * sysdeps/i386/memset.c: Likewise.
27256         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
27257         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
27258         * sysdeps/i386/i586/memset_chk.S: Likewise.
27259         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
27260         * sysdeps/i386/memcpy_chk.S: Here.
27261         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
27262         * sysdeps/i386/memmove_chk.S: Here.
27263         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
27264         * sysdeps/i386/mempcpy_chk.S: Likewise.
27265         * sysdeps/i386/i686/memset_chk.S: Moved to ...
27266         * sysdeps/i386/memset_chk.S: Likewise.
27268 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
27270         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
27271         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
27272         file, move DIAG_POP_NEEDS_COMMENT to end of file.
27273         * soft-fp/fmadf4.c: Ditto.
27274         * soft-fp/fmatf4.c: Ditto.
27276 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27278         * sysdeps/i386/i586/Implies: Removed.
27279         * sysdeps/i386/i686/Implies: Likewise.
27281 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27283         * sysdeps/i386/i486/strlen.S: Moved to ...
27284         * sysdeps/i386/strlen.S: Here.
27286 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27288         * sysdeps/i386/i486/strcat.S: Moved to ...
27289         * sysdeps/i386/strcat.S: Here.
27291 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27293         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
27294         * sysdeps/i386/pthread_spin_trylock.S: Here.
27295         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
27296         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
27298 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27300         * sysdeps/i386/i486/string-inlines.c: Moved to ...
27301         * sysdeps/i386/string-inlines.c: Here.
27303 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27305         * sysdeps/i386/i486/htonl.S: Moved ...
27306         * sysdeps/i386/htonl.S: here.
27308 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27310         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
27311         * sysdeps/i386/bits/atomic.h: Here.
27313 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27315         * sysdeps/i386/i486/Versions: Removed.
27317 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27319         [BZ #2898]
27320         * misc/mktemp.c: Add mkdtemp to the link_warning message.
27321         Based on patch by Aurelien Jarno.
27323 2015-08-26  Stan Shebs  <stanshebs@google.com>
27325         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
27326         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27328 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27330         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
27331         * sysdeps/powerpc/dl-procinfo.c:
27332         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
27333         feature so it shows when LD_SHOW_AUXV=1.
27335 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27337         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27338         (__arch_compare_and_exchange_val_32_acq): Remove and use common
27339         definition.  ISA 2.07B no longer requires full sync.
27341 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
27343         [BZ #18863]
27344         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
27345         (si_call_addr): Define.
27346         (si_syscall): Define.
27347         (si_arch): Define.
27349 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27351         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
27352         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
27353         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
27354         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
27355         (__memset_zero_constant_len_parameter): New.
27356         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
27357         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
27358         (__memset_zero_constant_len_parameter): Don't define if
27359         __memset_chk or USE_AS_BZERO are defined.
27361         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
27362         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
27363         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
27365         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
27366         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
27367         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
27368         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
27369         comments.
27370         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
27371         -mno-mmx for $(all-rtld-routines).
27372         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
27373         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
27374         i386.
27376 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27378         * sysdeps/generic/unwind.h
27379         (_Unwind_Word): Use __mode__(__unwind_word__)
27380         instead of __mode__(__word__).
27381         (_Unwind_Sword): Likewise.
27383         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27384         (MAX_NEEDED_INPUT): New define.
27385         (MAX_NEEDED_OUTPUT): New define.
27387         * NEWS: New item for IBM z13 string optimizations.
27389         * sysdeps/s390/multiarch/memrchr-c.c: New File.
27390         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
27391         * sysdeps/s390/multiarch/memrchr.c: Likewise.
27392         * sysdeps/s390/multiarch/Makefile
27393         (sysdep_routines): Add memrchr functions.
27394         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27395         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
27397         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
27398         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
27399         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
27400         * sysdeps/s390/multiarch/Makefile
27401         (sysdep_routines): Add wmemcmp functions.
27402         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27403         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
27404         * benchtests/bench-wmemcmp.c: New File.
27405         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
27407         * sysdeps/s390/multiarch/wmemset-c.c: New File.
27408         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
27409         * sysdeps/s390/multiarch/wmemset.c: Likewise.
27410         * sysdeps/s390/multiarch/Makefile
27411         (sysdep_routines): Add wmemset functions.
27412         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27413         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
27414         * wcsmbs/wmemset.c: Use WMEMSET if defined.
27415         * string/test-memset.c: Add wmemset support.
27416         * wcsmbs/test-wmemset.c: New File.
27417         * wcsmbs/Makefile (strop-tests): Add wmemset.
27418         * benchtests/bench-memset.c: Add wmemset support.
27419         * benchtests/bench-wmemset.c: New File.
27420         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
27422         * sysdeps/s390/multiarch/memccpy-c.c: New File.
27423         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
27424         * sysdeps/s390/multiarch/memccpy.c: Likewise.
27425         * sysdeps/s390/multiarch/Makefile
27426         (sysdep_routines): Add memccpy functions.
27427         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27428         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
27429         * string/memccpy.c: Use MEMCCPY if defined.
27431         * sysdeps/s390/multiarch/memchr-vx.S: New File.
27432         * sysdeps/s390/multiarch/memchr.c: Likewise.
27433         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
27434         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
27435         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
27436         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
27437         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
27438         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
27439         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
27440         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
27441         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
27442         and rawmemchr functions.
27443         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27444         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
27445         and wmemchr.
27446         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
27447         * string/test-memchr.c: Add wmemchr support.
27448         * wcsmbs/test-wmemchr.c: New File.
27449         * wcsmbs/Makefile (strop-tests): Add wmemchr.
27450         * benchtests/bench-memchr.c: Add wmemchr support.
27451         * benchtests/bench-wmemchr.c: New File.
27452         * benchtests/Makefile (wcsmbs-bench): wmemchr.
27454         * sysdeps/s390/multiarch/strcspn-c.c: New File.
27455         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
27456         * sysdeps/s390/multiarch/strcspn.c: Likewise.
27457         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
27458         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
27459         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
27460         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
27461         wcscspn functions.
27462         * sysdeps/s390/multiarch/ifunc-impl-list.c
27463         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
27464         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
27465         * string/test-strcspn.c: Add wcscspn support.
27466         * wcsmbs/test-wcscspn.c: New File.
27467         * wcsmbs/Makefile (strop-tests): Add wcscspn.
27468         * benchtests/bench-strcspn.c: Add wcscspn support.
27469         * benchtests/bench-wcscspn.c: New File.
27470         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
27472         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
27473         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
27474         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
27475         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
27476         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
27477         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
27478         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
27479         wcspbrk functions.
27480         * sysdeps/s390/multiarch/ifunc-impl-list.c
27481         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
27482         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
27483         * string/test-strpbrk.c: Add wcspbrk support.
27484         * wcsmbs/test-wcspbrk.c: New File.
27485         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
27486         * benchtests/bench-strpbrk.c: Add wcspbrk support.
27487         * benchtests/bench-wcspbrk.c: New File.
27488         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
27490         * sysdeps/s390/multiarch/strspn-c.c: New File.
27491         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
27492         * sysdeps/s390/multiarch/strspn.c: Likewise.
27493         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
27494         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
27495         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
27496         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
27497         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
27498         wcsspn functions.
27499         * sysdeps/s390/multiarch/ifunc-impl-list.c
27500         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
27501         * string/test-strspn.c: Add wcsspn support.
27502         * wcsmbs/test-wcsspn.c: New File.
27503         * wcsmbs/Makefile (strop-tests): Add wcsspn.
27504         * benchtests/bench-strspn.c: Add wcsspn support.
27505         * benchtests/bench-wcsspn.c: New File.
27506         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
27508         * sysdeps/s390/multiarch/strrchr-c.c: New File.
27509         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
27510         * sysdeps/s390/multiarch/strrchr.c: Likewise.
27511         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
27512         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
27513         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
27514         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
27515         wcsrchr functions.
27516         * sysdeps/s390/multiarch/ifunc-impl-list.c
27517         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
27518         * benchtests/bench-wcsrchr.c: New File.
27519         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
27521         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
27522         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
27523         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
27524         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
27525         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
27526         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
27527         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
27528         wcschrnul functions.
27529         * sysdeps/s390/multiarch/ifunc-impl-list.c
27530         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
27531         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
27532         * string/test-strchr.c: Add wcschrnul support.
27533         * wcsmbs/test-wcschrnul.c: New File.
27534         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
27535         * benchtests/bench-strchr.c: Add wcschrnul support.
27536         * benchtests/bench-wcschrnul.c: New File.
27537         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
27539         * sysdeps/s390/multiarch/strchr-c.c: New File.
27540         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
27541         * sysdeps/s390/multiarch/strchr.c: Likewise.
27542         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
27543         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
27544         * sysdeps/s390/multiarch/wcschr.c: Likewise.
27545         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
27546         wcschr functions.
27547         * sysdeps/s390/multiarch/ifunc-impl-list.c
27548         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
27549         * string/strchr.c (STRCHR): Define and use macro.
27550         * benchtests/bench-wcschr.c: New File.
27551         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
27553         * sysdeps/s390/multiarch/strncmp-c.c: New File.
27554         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
27555         * sysdeps/s390/multiarch/strncmp.c: Likewise.
27556         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
27557         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
27558         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
27559         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
27560         wcsncmp functions.
27561         * sysdeps/s390/multiarch/ifunc-impl-list.c
27562         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
27563         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
27564         * benchtests/bench-strncmp.c: Add wcsncmp support.
27565         * benchtests/bench-wcsncmp.c: New File.
27566         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
27568         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
27569         * sysdeps/s390/multiarch/strcmp.c: Likewise.
27570         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
27571         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
27572         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
27573         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
27574         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
27575         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
27576         wcscmp functions.
27577         * sysdeps/s390/multiarch/ifunc-impl-list.c
27578         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
27579         * string/strcmp.c (STRCMP): Define and use macro.
27580         * benchtests/bench-wcscmp.c: New File.
27581         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
27582         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
27583         instead of _HAVE_STRING_ARCH_memchr.
27585         * sysdeps/s390/multiarch/strncat-c.c: New File.
27586         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
27587         * sysdeps/s390/multiarch/strncat.c: Likewise.
27588         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
27589         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
27590         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
27591         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
27592         wcsncat functions.
27593         * sysdeps/s390/multiarch/ifunc-impl-list.c
27594         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
27595         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
27596         * string/test-strncat.c: Add wcsncat support.
27597         * wcsmbs/test-wcsncat.c: New File.
27598         * wcsmbs/Makefile (strop-tests): Add wcsncat.
27599         * benchtests/bench-strncat.c: Add wcsncat support.
27600         * benchtests/bench-wcsncat.c: New File.
27601         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
27603         * sysdeps/s390/multiarch/strcat-c.c: New File.
27604         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
27605         * sysdeps/s390/multiarch/strcat.c: Likewise.
27606         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
27607         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
27608         * sysdeps/s390/multiarch/wcscat.c: Likewise.
27609         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
27610         wcscat functions.
27611         * sysdeps/s390/multiarch/ifunc-impl-list.c
27612         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
27613         * string/strcat.c (STRCAT): Define and use macro.
27614         * wcsmbs/wcscat.c: Use WCSCAT if defined.
27615         * string/test-strcat.c: Add wcscat support.
27616         * wcsmbs/test-wcscat.c: New File.
27617         * wcsmbs/Makefile (strop-tests): Add wcscat.
27618         * benchtests/bench-strcat.c: Add wcscat support.
27619         * benchtests/bench-wcscat.c: New File.
27620         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
27622         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
27623         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
27624         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
27625         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
27626         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
27627         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
27628         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
27629         wcpncpy functions.
27630         * sysdeps/s390/multiarch/ifunc-impl-list.c
27631         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
27632         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
27633         * string/test-stpncpy.c: Add wcpncpy support.
27634         * wcsmbs/test-wcpncpy.c: New File.
27635         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
27636         * benchtests/bench-stpncpy.c: Add wcpncpy support.
27637         * benchtests/bench-wcpncpy.c: New File.
27638         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
27640         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
27641         * sysdeps/s390/multiarch/strncpy.c: Likewise.
27642         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
27643         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
27644         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
27645         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
27646         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
27647         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
27648         wcsncpy functions.
27649         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
27650         * sysdeps/s390/multiarch/ifunc-impl-list.c
27651         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
27652         * string/test-strncpy.c: Add wcsncpy support.
27653         * wcsmbs/test-wcsncpy.c: New File.
27654         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
27655         * benchtests/bench-strncpy.c: Add wcsncpy support.
27656         * benchtests/bench-wcsncpy.c: New File.
27657         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
27659         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
27660         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
27661         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
27662         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
27663         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
27664         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
27665         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
27666         wcpcpy functions.
27667         * string/stpcpy.c: Use STPCPY if defined.
27668         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
27669         * sysdeps/s390/multiarch/ifunc-impl-list.c
27670         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
27671         * string/test-stpcpy.c: Add wcpcpy support.
27672         * wcsmbs/test-wcpcpy.c: New File.
27673         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
27674         * benchtests/bench-stpcpy.c: Add wcpcpy support.
27675         * benchtests/bench-wcpcpy.c: New File.
27676         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
27678         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
27679         * sysdeps/s390/multiarch/strcpy.c: Likewise.
27680         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
27681         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
27682         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
27683         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
27684         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
27685         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
27686         wcscpy functions.
27687         * sysdeps/s390/multiarch/ifunc-impl-list.c
27688         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
27689         * benchtests/bench-wcscpy.c: New File.
27690         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
27692         * sysdeps/s390/multiarch/strnlen-c.c: New File.
27693         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
27694         * sysdeps/s390/multiarch/strnlen.c: Likewise.
27695         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
27696         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
27697         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
27698         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
27699         wcsnlen functions.
27700         * sysdeps/s390/multiarch/ifunc-impl-list.c
27701         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
27702         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
27703         * string/test-strnlen.c: Add wcsnlen support.
27704         * wcsmbs/test-wcsnlen.c: New File.
27705         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
27706         * benchtests/bench-strnlen.c: Add wcsnlen support.
27707         * benchtests/bench-wcsnlen.c: New File.
27708         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
27710         * sysdeps/s390/multiarch/Makefile: New File.
27711         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
27712         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
27713         * sysdeps/s390/multiarch/strlen.c: Likewise.
27714         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
27715         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
27716         * sysdeps/s390/multiarch/wcslen.c: Likewise.
27717         * string/strlen.c (STRLEN): Define and use macro.
27718         * sysdeps/s390/multiarch/ifunc-impl-list.c
27719         (IFUNC_VX_IMPL): New macro function.
27720         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
27721         * benchtests/Makefile (wcsmbs-bench): New variable.
27722         (string-bench-all): Added wcsmbs-bench.
27723         * benchtests/bench-wcslen.c: New File.
27725         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
27726         s390_vx_libc_ifunc2): New macro function.
27728         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
27729         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
27730         assembler support.
27731         * sysdeps/s390/configure: Regenerated.
27733         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
27734         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
27736         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
27737         * sysdeps/s390/dl-procinfo.h: Add vector capability.
27738         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
27740         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
27741         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
27742         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
27743         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
27744         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
27745         (memcmp, bcmp): Use __memcmp_default as alias source.
27746         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
27747         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
27748         Rename to __memcmp_default.
27749         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
27750         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
27751         (memcpy): Use __memcpy_default as alias source.
27752         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
27753         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
27754         Rename to __memcpy_default.
27755         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
27756         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
27757         (memset): Use __memset_default as alias source.
27758         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
27759         * sysdeps/s390/s390-32/memset.S (__memset_g5):
27760         Rename to __memset_default.
27761         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
27762         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
27763         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
27764         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
27765         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
27766         (memcmp, bcmp): Use __memcmp_default as alias source.
27767         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
27768         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
27769         Rename to __memcmp_default.
27770         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
27771         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
27772         (memcpy): Use __memcpy_default as alias source.
27773         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
27774         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
27775         Rename to __memcpy_default.
27776         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
27777         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
27778         (memset): Use __memset_default as alias source.
27779         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
27780         * sysdeps/s390/s390-64/memset.S (__memset_z900):
27781         Rename to __memset_default.
27782         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
27783         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
27785         [BZ #18610]
27786         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
27787         __ieee_instruction_pointer to __unused.
27788         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
27789         __ieee_instruction_pointer.
27790         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
27791         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
27792         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27793         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27794         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
27795         Mark dxc-field as reserved.
27797 2015-08-25  Roland McGrath  <roland@hack.frob.com>
27799         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
27800         if the weak reference is not null.
27802 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27804         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
27806         [BZ #11214]
27807         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
27809 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27811         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
27812         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
27813         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
27814         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
27815         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
27816         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
27817         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
27818         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
27819         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
27820         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
27821         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
27822         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
27823         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
27824         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
27825         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
27826         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
27827         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
27828         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
27830 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27832         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
27833         register other than r0 for tabort, it has special meaning.
27834         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
27835         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
27836         transaction before starting syscall.
27838 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27840         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
27842 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27844         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
27846         * sysdeps/x86_64/rtld-memcmp.c: Removed.
27847         * sysdeps/x86_64/rtld-memset.S: Likewise.
27848         * sysdeps/x86_64/rtld-strchr.S: Likewise.
27849         * sysdeps/x86_64/rtld-strlen.S: Likewise.
27850         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
27851         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27853         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
27855 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
27857         * debug/strcpy_chk.c: Improve performance.
27858         * debug/stpcpy_chk.c: Likewise.
27859         * sysdeps/x86_64/strcpy_chk.S: Remove.
27860         * sysdeps/x86_64/stpcpy_chk.S: Remove.
27862         [BZ #18240]
27863         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
27865 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27867         [BZ #15128]
27868         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
27869         ifuncmain8.
27870         (modules-names): Add ifuncmod8.
27871         ($(objpfx)ifuncmain8): New rule.
27872         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
27873         <cpuid.h>.
27874         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
27875         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
27876         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
27877         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
27878         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
27879         * sysdeps/x86_64/dl-trampoline.h: Likewise.
27880         * sysdeps/x86_64/ifuncmain8.c: New file.
27881         * sysdeps/x86_64/ifuncmod8.c: Likewise.
27882         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
27883         Removed.
27884         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
27885         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
27886         Change rtld_savespace_sse to __glibc_unused2.
27887         (RTLD_CHECK_FOREIGN_CALL): Removed.
27888         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
27889         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
27890         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
27892 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
27894         * sysdeps/aarch64/bzero.S (__bzero): Remove.
27896 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
27898         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
27899         Unconditionally set __fpcr to avoid uninialized warning.
27900         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
27902 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27904         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
27905         is corrupt.
27907         * malloc/arena.c (arena_get2): Drop unused argument.
27908         (arena_lock): Adjust.
27909         (arena_get_retry): Likewise.
27911 2015-08-24  Andreas Schwab  <schwab@suse.de>
27913         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
27914         Don't define.
27915         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
27916         (__ASSUME_IPC64): Don't undef.
27917         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
27918         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27919         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27920         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
27921         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
27922         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
27923         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
27924         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
27925         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
27926         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
27927         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
27928         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
27929         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
27930         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
27931         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
27932         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
27933         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
27934         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
27935         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
27936         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
27937         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
27939 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
27941         * manual/Makefile (install): Only build manual when perl is available.
27943 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27945         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
27946         '#undef memcpy' by '#undef memchr'.
27948 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27950         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
27951         memchr not point to the internal __GI_memchr implementation.
27953 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27955         * timezone/Makefile (CFLAGS-zdump.c): Remove
27956         -Wno-strict-prototypes.
27957         (CFLAGS-zic.c): Likewise.
27958         (CFLAGS-ialloc.c): Likewise.
27959         (CFLAGS-scheck.c): Likewise.
27961         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
27962         -Wno-error=undef.
27964 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27966         * i386/i686/multiarch/strcasestr-c.c: Removed.
27967         * x86_64/multiarch/strcasestr.c: Likewise.
27968         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27969         Remove strcasestr.
27971 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27973         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
27975         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
27976         variables for high and low parts before possibly modifying them.
27978 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27980         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
27981         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
27982         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
27983         of "multiarch/init-arch.h".
27984         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
27985         * sysdeps/x86/init-arch.h: This.
27987 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27989         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
27990         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
27992 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
27994         [BZ #17787]
27995         * manual/macros.texi: Add twoexp macro.
27996         * manual/filesys.texi: Fix exponents.
27997         * manual/llio.texi: Likewise.
27998         * manual/stdio.texi: Likewise.
28000 2015-08-20  Florian Weimer  <fweimer@redhat.com>
28002         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
28003         incorrect use.
28005 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
28007         [BZ #18370]
28008         * math/s_csqrt.c (__csqrt): Force underflow exception for results
28009         whose real or imaginary part has small absolute value.
28010         * math/s_csqrtf.c (__csqrtf): Likewise.
28011         * math/s_csqrtl.c (__csqrtl): Likewise.
28012         * math/auto-libm-test-in: Add more tests of csqrt.
28013         * math/auto-libm-test-out: Regenerated.
28014         * sysdeps/i386/fpu/libm-test-ulps: Update.
28016 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28018         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
28019         __ppc_set_ppr_very_low): New functions.
28020         * manual/platform.texi: Add documentation about
28021         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
28023 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
28025         * string/stpncpy.c (stpncpy): Improve performance using
28026         __strnlen/memcpy/memset.
28028 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28030         [BZ #18796]
28031         * scripts/test-installation.pl: Don't add -lmvec to build options if
28032         libmvec wasn't built.
28034 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28036         [BZ #14341]
28037         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
28038         case when there is a gap between DT_REL and DT_JMPREL sections.
28039         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
28040         (LDFLAGS-tst-split-dynreloc): New.
28041         (tst-split-dynreloc-ENV): Likewise.
28042         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
28043         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
28045 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28047         [BZ #18822]
28048         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
28049         attribute_hidden.
28050         (__xstat64_conv): Likewise.
28051         (__xstat32_conv): Likewise.
28053 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28055         [BZ #18822]
28056         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
28057         Don't load %ebx when calling __setcontext.  Call __setcontext
28058         with HIDDEN_JUMPTARGET.
28059         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
28060         libc_hidden_def.
28062 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28064         * sysdeps/i386/i686/Makefile
28065         [$(subdir) == string] (sysdep_routines): Moved to ...
28066         * sysdeps/i386/Makefile: Here.
28067         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
28068         * sysdeps/i386/cacheinfo.c: Here.
28069         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
28070         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
28071         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
28072         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
28074 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28076         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
28077         __i586__ is defined.
28078         (HAS_I686): Defined to 1 if __i686__ is defined.
28080 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
28082         * elf/Makefile [$(have-z-execstack) = yes]
28083         (CPPFLAGS-tst-execstack.c): New variable.
28085         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
28086         conditional to [defined UTMPX || _HAVE_UT_TYPE].
28087         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
28088         UTMPX || _HAVE_UT_TV].
28089         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
28090         UTMPX || _HAVE_UT_TV - 0].
28092 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
28094         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
28095         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
28096         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
28098 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28100         * sysdeps/powerpc/dl-procinfo.c:
28101         (_dl_powerpc_cap_flags): Added missing strings for some
28102         hwcap features.
28103         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
28105 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
28107         Port the 0x7efe...feff pattern to GCC 6.
28108         See Steve Ellcey's bug report in:
28109         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
28110         * string/memrchr.c (MEMRCHR):
28111         * string/rawmemchr.c (RAWMEMCHR):
28112         * string/strchr.c (strchr):
28113         * string/strchrnul.c (STRCHRNUL):
28114         Rewrite code to avoid issues with signed shift overflow.
28116 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
28118         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
28119         whether cpuid is available only if HAS_CPUID is 0.
28120         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
28121         (HAS_I586): Likewise.
28122         (HAS_I686): Likewise.
28124 2015-08-18  Zack Weinberg  <zackw@panix.com>
28126         * misc/Versions (libc): Add GLIBC_2.23.
28128 2015-08-18  Alan Modra  <amodra@gmail.com>
28130         [BZ #18421]
28131         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
28132         .Lp__global.
28133         (_start): Load %dp via .Lp__global.
28134         [!SHARED]: Use .section .rodata.
28136 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28138         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
28139         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
28141 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28143         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
28144         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
28146 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28148         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
28149         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
28151 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28153         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
28154         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
28156 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28158         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
28159         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
28161 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28163         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
28164         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
28166 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28168         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
28170 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28172         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
28173         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
28174         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28175         (__ASSUME_LWS_CAS): Delete.
28177 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28179         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
28180         * sysdeps/hppa/configure: Regenerated.
28181         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
28182         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
28183         * sysdeps/hppa/nptl/tls.h: Likewise.
28185 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
28187         [BZ #18823]
28188         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
28189         for scaling up small arguments.
28190         * math/s_csqrtf.c (__csqrtf): Likewise.
28191         * math/s_csqrtl.c (__csqrtl): Likewise.
28192         * math/auto-libm-test-in: Add more tests of csqrt.
28193         * math/auto-libm-test-out: Regenerated.
28195 2015-08-17  Andreas Schwab  <schwab@suse.de>
28197         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
28198         version set GLIBC_2.19.
28200 2015-08-16  Zack Weinberg  <zackw@panix.com>
28202         [BZ #18681]
28203         * misc/regexp.h: This interface is no longer supported.
28204         Remove all contents, leaving only an #error directive.
28205         * misc/regexp.c (loc1, loc2, locs, step, advance):
28206         Demote to compatibility symbols.
28208 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
28210         [BZ #18084]
28211         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
28212         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
28213         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28214         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
28215         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
28216         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
28217         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
28218         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
28219         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28221 2015-08-15  Zack Weinberg  <zackw@panix.com>
28223         [BZ #18795]
28224         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
28225         buffer length is known to be too large, not if it's known to be
28226         small enough.
28227         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
28228         overflow at runtime, involving a length parameter, twice: once
28229         with a compile-time constant length parameter, once without.
28231 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
28233         [BZ #18824]
28234         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
28235         scaling x * y up instead of down.
28236         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28237         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28238         * math/auto-libm-test-in: Add more tests of fma.
28239         * math/auto-libm-test-out: Regenerated.
28241 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28243         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28245 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28247         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
28248         unnecessary movq.
28249         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
28250         Likewise.
28252 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
28254         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28255         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
28256         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
28257         and tgamma.
28258         * math/auto-libm-test-out: Regenerated.
28259         * sysdeps/i386/fpu/libm-test-ulps: Update.
28260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28262         [BZ #16520]
28263         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
28264         (__tanh): Force underflow exception for arguments with small
28265         absolute value.
28266         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
28267         (__tanhf): Force underflow exception for arguments with small
28268         absolute value.
28269         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
28270         (__tanhl): Force underflow exception for arguments with small
28271         absolute value.
28272         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
28273         (__tanhl): Force underflow exception for arguments with small
28274         absolute value.
28275         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
28276         (__tanhl): Force underflow exception for arguments with small
28277         absolute value.
28278         * math/auto-libm-test-in: Add more tests of tanh.
28279         * math/auto-libm-test-out: Regenerated.
28280         * sysdeps/i386/fpu/libm-test-ulps: Update.
28282 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28284         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
28285         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
28287 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28289         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
28290         <cpuid.h>.
28292 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28294         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
28295         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
28297 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28299         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
28300         Remove $(objpfx)init-arch.o.
28301         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
28302         init-arch.
28303         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
28304         (INIT_ARCH_EXT): Defined as empty.
28305         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
28306         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
28307         __init_cpu_features call.  Replace HAS_XXX with
28308         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28309         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
28310         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
28311         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
28312         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
28313         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
28314         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
28315         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
28316         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
28317         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
28318         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
28319         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
28320         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
28321         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
28322         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
28323         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
28324         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
28325         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
28326         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
28327         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
28328         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
28329         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
28330         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
28331         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
28332         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
28333         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
28334         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
28335         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
28336         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
28337         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
28338         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
28339         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
28340         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
28341         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
28342         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
28343         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
28345 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28347         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
28348         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28349         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
28350         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
28351         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
28352         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
28353         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
28354         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
28355         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
28356         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
28357         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
28358         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
28359         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28360         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28361         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28362         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28363         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28364         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28365         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28366         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28367         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28368         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28369         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28370         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28371         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28372         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28373         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28374         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28375         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28376         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28377         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28378         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28379         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28380         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28381         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28382         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28383         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28384         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28385         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28386         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28387         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28388         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28389         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28391 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28393         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
28394         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28395         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28396         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28397         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28398         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
28399         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28400         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
28401         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28402         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28403         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28404         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
28405         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
28406         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
28407         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
28408         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
28409         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
28410         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
28411         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
28412         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
28413         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
28414         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
28415         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
28416         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28417         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28418         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
28419         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
28420         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
28421         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28422         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28423         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28424         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28425         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28426         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28427         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28428         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28429         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28430         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28431         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28432         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28433         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28434         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28435         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28437 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28439         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
28440         (dl_platform_init): Call init_cpu_features.
28441         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
28442         * sysdeps/i386/i686/cacheinfo.c
28443         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
28444         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
28445         * sysdeps/i386/i686/multiarch/Versions: Removed.
28446         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
28447         Removed.
28448         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
28449         * sysdeps/unix/sysv/linux/x86/Makefile
28450         (libpthread-sysdep_routines): Remove init-arch.
28451         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
28452         <sysdeps/x86_64/dl-procinfo.c> instead of
28453         sysdeps/generic/dl-procinfo.c>.
28454         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
28455         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
28456         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
28457         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
28458         [$(subdir) == elf] (tests-static): Add
28459         tst-get-cpu-features-static.
28460         * sysdeps/x86/Versions: New file.
28461         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
28462         * sysdeps/x86/cpu-features.c: Likewise.
28463         * sysdeps/x86/cpu-features.h: Likewise.
28464         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
28465         * sysdeps/x86/libc-start.c: Likewise.
28466         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
28467         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
28468         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
28469         * sysdeps/x86_64/dl-procinfo.c: Likewise.
28470         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
28471         Assume USE_MULTIARCH is defined and don't check it.
28472         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
28473         (is_amd): Likewise.
28474         (max_cpuid): Likewise.
28475         (intel_check_word): Likewise.
28476         (__cache_sysconf): Don't call __init_cpu_features.
28477         (__x86_preferred_memory_instruction): Removed.
28478         (init_cacheinfo): Don't call __init_cpu_features. Replace
28479         __cpu_features with GLRO(dl_x86_cpu_features).
28480         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
28481         (dl_platform_init): Call init_cpu_features.
28482         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
28483         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
28484         * sysdeps/x86_64/multiarch/Versions: Removed.
28485         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
28486         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
28487         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
28488         Removed.
28489         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
28491 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28493         [BZ #18820]
28494         * libio/Makefile (test-fmemopen-mem): New test.
28495         * libio/test-fmemopen.c (do_bz18820): New test.
28496         * libio/fmemopen.c (__fmemopen): Fix memory leak.
28497         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
28499 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28501         [BZ #16734]
28502         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
28503         (FREE_BUF): Delete.
28504         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
28505         * libio/genops.c (_IO_setb): Use malloc and free directly.
28506         (_IO_default_doallocate, _IO_default_finish): Likewise.
28507         ( _IO_unbuffer_all): Likewise.
28508         ( libc_freeres_fn): Likewise.
28509         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28510         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28511         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
28512         (_IO_wdefault_doallocate): Likewise.
28514 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28516         [BZ #18086]
28517         * sysdeps/posix/nice.c (nice): Restore old errno.
28518         * posix/tst-nice.c (do_test): Add test for BZ #18086.
28520 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
28522         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
28524 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28526         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
28527         __bcopy and add a weak_alias to bcopy.
28528         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
28529         for static build.
28531         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
28532         cleanup macro usage.
28533         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
28534         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
28535         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28536         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
28537         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28538         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
28539         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
28540         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
28541         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28542         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
28543         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28544         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
28545         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28546         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
28547         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28548         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
28549         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
28550         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
28551         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
28553         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
28554         libc_hidden_def.
28555         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
28557         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
28558         (sysdep_routines): Add strstr-ppc64.
28559         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
28561 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
28563         [BZ #18778]
28564         * elf/Makefile (tests): Add Add tst-nodelete2.
28565         (modules-names): Add tst-nodelete2mod.
28566         (tst-nodelete2mod.so-no-z-defs): New.
28567         ($(objpfx)tst-nodelete2): Likewise.
28568         ($(objpfx)tst-nodelete2.out): Likewise.
28569         (LDFLAGS-tst-nodelete2): Likewise.
28570         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
28571         out of loop through all loaded libraries.
28572         * elf/tst-nodelete2.c: New file.
28573         * elf/tst-nodelete2mod.c: Likewise.
28574         * elf/tst-znodelete-zlib.cc: Delete.
28576 2015-08-11  Andreas Schwab  <schwab@suse.de>
28578         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
28579         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
28580         (__openat64_nocancel): Likewise.
28582 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
28584         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
28585         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
28586         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
28587         * math/auto-libm-test-out: Regenerated.
28588         * sysdeps/i386/fpu/libm-test-ulps: Update.
28589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28591 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
28593         [BZ #18790]
28594         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
28595         threshold for returning +/- 1.
28596         * math/auto-libm-test-in: Add more tests of tanh.
28597         * math/auto-libm-test-out: Regenerated.
28598         * sysdeps/i386/fpu/libm-test-ulps: Update.
28600 2015-08-10  Andreas Schwab  <schwab@suse.de>
28602         [BZ #18781]
28603         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
28604         MORE_OFLAGS to oflag.
28605         * io/test-lfs.c (do_test): Test openat64.
28607 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
28609         [BZ #18789]
28610         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
28611         smaller threshold for returning the argument.
28612         * math/auto-libm-test-in: Add more tests of sinh.
28613         * math/auto-libm-test-out: Regenerated.
28614         * sysdeps/i386/fpu/libm-test-ulps: Update.
28616 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28618         [BZ #18674]
28619         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
28620         break.
28622 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
28624         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
28625         (generated): Don't add $(addprefix z.,$(tzfiles)).
28627 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
28629         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
28630         * scripts/sysd-rules.awk: Likewise.
28632 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
28634         * iconvdata/tst-tables.sh: Change echo -n to printf.
28635         * nss/db-Makefile: Likewise.
28636         * posix/tst-getconf.sh: Likewise.
28637         * stdio-common/tst-unbputc.sh: Likewise.
28639 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
28641         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
28642         MADV_*_PAGES defines behind this feature check.
28644 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
28646         [BZ #18480]
28647         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
28648         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
28649         Define.
28650         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
28651         LOAD_REGS_5, LOAD_REGS_6): Update.
28652         (INTERNAL_SYSCALL): Update using new LOAD defines.
28653         (INTERNAL_SYSCALL_NCS): Likewise.
28654         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
28656 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28658         [BZ #16734]
28659         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
28661 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28663         [BZ #17905]
28664         * catgets/Makefile (tst-catgets-mem): New test.
28665         * catgets/catgets.c (catopen): Don't use unbounded alloca.
28666         * catgets/open_catalog.c (__open_catalog): Likewise.
28667         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
28669 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
28671         [BZ #18787]
28672         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
28673         clobber registers.
28674         (atomic_compare_and_exchange_val_acq): Use register asms to assign
28675         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
28676         Cast return to __typeof (oldval).
28678 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
28680         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
28681         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
28682         and delete sys/syscall.h include.
28684 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
28686         [BZ #16517]
28687         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
28688         (tan): Force underflow exception for arguments with small absolute
28689         value.
28690         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
28691         (__kernel_tanf): Force underflow exception for arguments with
28692         small absolute value.
28693         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
28694         (__kernel_tanl): Force underflow exception for arguments with
28695         small absolute value.
28696         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
28697         (__kernel_tanl): Force underflow exception for arguments with
28698         small absolute value.
28699         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
28700         (__kernel_tanl): Force underflow exception for arguments with
28701         small absolute value.
28702         * math/auto-libm-test-in: Add more tests of tan.
28703         * math/auto-libm-test-out: Regenerated.
28705 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28707         Fix sysdeps/i386/fpu/s_scalbn.S build
28709         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
28711 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
28713         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28715 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28717         Fix gcrt0.o compilation
28719         When static-start-installed-name is different from
28720         start-installed-name, we must not use the shared objects.
28722         * csu/Makefile
28723         (extra-objs): Add gmon-start.o when building shared library and
28724         $(static-start-installed-name) is different from
28725         $(start-installed-name).
28726         $(objpfx)g$(static-start-installed-name): When building shared
28727         library and $(static-start-installed-name) is different from
28728         $(static-start-installed-name), revert to non-shared rule,
28729         i.e. using $(objpfx)% and gmon-start.o.
28731 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
28733         [BZ #16519]
28734         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
28735         (__ieee754_sinh): Force underflow exception for arguments with
28736         small absolute value.
28737         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
28738         (__ieee754_sinhf): Force underflow exception for arguments with
28739         small absolute value.
28740         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
28741         (__ieee754_sinhl): Force underflow exception for arguments with
28742         small absolute value.
28743         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
28744         (__ieee754_sinhl): Force underflow exception for arguments with
28745         small absolute value.
28746         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
28747         (__ieee754_sinhl): Force underflow exception for arguments with
28748         small absolute value.
28749         * math/auto-libm-test-in: Add more tests of sinh.
28750         * math/auto-libm-test-out: Regenerated.
28751         * sysdeps/i386/fpu/libm-test-ulps: Update.
28753 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28755         * libio/oldfileops.c: Include unistd.h.
28757 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
28759         * stdlib/isomac.c: Include ctype.h.
28761 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
28763         * dirent/tst-seekdir.c (main): Converted to ...
28764         (do_test): ... this.
28765         (TEST_FUNCTION): New macro.
28766         Include test-skeleton.c.
28767         * elf/tst-dlmodcount.c (main): Converted to ...
28768         (do_test): ... this.
28769         (TEST_FUNCTION): New macro.
28770         Include test-skeleton.c.
28771         * elf/tst-order-main.c (main): Converted to ...
28772         (do_test): ... this.
28773         (TEST_FUNCTION): New macro.
28774         Include test-skeleton.c.
28775         * elf/tst-pie2.c (main): Converted to ...
28776         (do_test): ... this.
28777         (TEST_FUNCTION): New macro.
28778         Include test-skeleton.c.
28779         * inet/tst-ether_aton.c (main): Converted to ...
28780         (do_test): ... this.
28781         (TEST_FUNCTION): New macro.
28782         Include test-skeleton.c.
28783         * misc/tst-mntent.c (main): Converted to ...
28784         (do_test): ... this.
28785         (TEST_FUNCTION): New macro.
28786         Include test-skeleton.c.
28787         * misc/tst-tsearch.c (main): Converted to ...
28788         (do_test): ... this.
28789         (TEST_FUNCTION): New macro.
28790         Include test-skeleton.c.
28791         * posix/tst-regexloc.c (main): Converted to ...
28792         (do_test): ... this.
28793         (TEST_FUNCTION): New macro.
28794         Include test-skeleton.c.
28795         * resolv/tst-aton.c (main): Converted to ...
28796         (do_test): ... this.
28797         (TEST_FUNCTION): New macro.
28798         Include test-skeleton.c.
28799         * stdio-common/test-fwrite.c (main): Converted to ...
28800         (do_test): ... this.
28801         (TEST_FUNCTION): New macro.
28802         Include test-skeleton.c.
28803         * stdio-common/tst-ferror.c (main): Converted to ...
28804         (do_test): ... this.
28805         (TEST_FUNCTION): New macro.
28806         Include test-skeleton.c.
28807         * stdio-common/tst-printf.c (main): Converted to ...
28808         (do_test): ... this.
28809         (TEST_FUNCTION): New macro.
28810         Include test-skeleton.c.
28811         * stdio-common/tst-printfsz.c (main): Converted to ...
28812         (do_test): ... this.
28813         (TEST_FUNCTION): New macro.
28814         Include test-skeleton.c.
28815         * stdlib/tst-strtod.c (main): Converted to ...
28816         (do_test): ... this.
28817         (TEST_FUNCTION): New macro.
28818         Include test-skeleton.c.
28819         * string/tst-strlen.c (main): Converted to ...
28820         (do_test): ... this.
28821         (TEST_FUNCTION): New macro.
28822         Include test-skeleton.c.
28823         * string/tst-svc.c (main): Converted to ...
28824         (do_test): ... this.
28825         (TEST_FUNCTION): New macro.
28826         Include test-skeleton.c.
28827         * time/tst-strptime.c (main): Converted to ...
28828         (do_test): ... this.
28829         (TEST_FUNCTION): New macro.
28830         Include test-skeleton.c.
28831         * timezone/tst-timezone.c (main): Converted to ...
28832         (do_test): ... this.
28833         (TEST_FUNCTION): New macro.
28834         Include test-skeleton.c.
28836 2015-08-05  Zack Weinberg  <zackw@panix.com>
28838         * misc/regexp.h: Update comments.
28840 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
28842         [BZ #18635]
28843         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
28844         before return label.
28846 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28848         [BZ #18661]
28849         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
28850         when calling __errno_location.
28851         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
28852         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
28854 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28856         [BZ #18661]
28857         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
28858         (__lll_timedwait_tid): Align stack to 16 bytes when calling
28859         __gettimeofday.
28861 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28863         [BZ #18661]
28864         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28865         (__start_context): Don't use pop to restore %rdi so that stack
28866         is aligned to 16 bytes when calling __setcontext.
28868 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28870         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
28871         only for libc.
28872         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28874 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28876         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
28877         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
28878         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
28880 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28882         * string/memccpy.c (memccpy):
28883         Improve performance by using memchr/memcpy/__mempcpy.
28885 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28887         * string/strncpy.c (strncpy):
28888         Improve performance by using __strnlen/memcpy.
28890 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28892         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28893         Optimize to avoid an unnecessary FPCR read.
28895 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28897         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28898         Optimize to reduce FPCR/FPSR accesses.
28900 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28902         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
28903         dead->data[category] != NULL.
28905 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
28907         [BZ #18647]
28908         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
28909         and |x| close to 1, use absolute value of x when computing log.
28910         * math/auto-libm-test-in: Add more tests of pow.
28911         * math/auto-libm-test-out: Regenerated.
28913 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28915         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
28916         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
28917         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
28919 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
28921         [BZ #18525]
28922         * locales/km_KH: Remove timezone definition.
28923         * locales/lo_LA: Likewise.
28924         * locales/my_MM: Likewise.
28925         * locales/nan_TW@latin: Likewise.
28926         * locales/th_TH: Likewise.
28927         * locales/uk_UA: Likewise.
28929 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
28931         [BZ #18265]
28932         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
28933         (wcsncat): Likewise.
28934         (wcscmp): Likewise.
28935         (wcsncmp): Likewise.
28937 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28939         * test-skeleton.c (usage): New function.
28940         (main): Call usage when opt is '?'.
28942 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28944         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
28945         before first use.
28947 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28949         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
28950         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
28951         in there too.
28953 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
28955         * version.h (RELEASE): Set to "development".
28956         (VERSION): Set to "2.22.90"
28958         * version.h (RELEASE): Set to "stable".
28959         (VERSION): Set to "2.22"
28960         * include/features.h (__GLIBC_MINOR__): Set to 22.
28962 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
28964         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
28965         Restructure macro to avoid "value computed is not used" warning.
28966         (atomic_compare_and_exchange_val_acq): Likewise.
28968 2015-08-04  Andreas Schwab  <schwab@suse.de>
28970         [BZ #18635]
28971         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
28972         ret.
28973         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
28975 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
28977         * po/pl.po: Updated translation.
28978         * po/uk.po: Likewise.
28979         * po/fi.po: Likewise.
28980         * po/ko.po: Likewise.
28981         * po/ru.po: Likewise.
28982         * po/vi.po: Likewise.
28984 2015-07-31  Zack Weinberg  <zackw@panix.com>
28986         [BZ #18681]
28987         * regexp.h: Add unconditional #warning stating that this header
28988         will be removed soon.  Revise banner comment to match.
28989         (compile): Consistently use ERROR instead of RETURN to report
28990         errors (partial fix for BZ #18681).
28991         * regexp.c: Don't include regexp.h. Remove some unnecessary
28992         declarations.
28994 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
28996         * po/libc.pot: Regenerated.
28998 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
29000         [BZ #18740]
29001         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
29002         float-vlen4-arch-ext-cflags): Removed.
29003         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
29004         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
29006 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29008         [BZ #14113]
29009         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
29010         aligned to __aligned__.
29011         (pthread_cond_t, pthread_rwlock_t): Likewise.
29013 2015-07-30  Torvald Riegel  <triegel@redhat.com>
29015         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
29017 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29019         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
29020         (struct sigaction): Change sa_flags from a long to an int, and add
29021         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
29023 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29025         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
29026         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
29027         sysdeps/generic/sysdep.h include.
29028         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
29029         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
29030         sysdeps/hppa/sysdep.h.
29031         (ENTRY, PSEUDO): Undefine before defining.
29033 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29035         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
29036         from scratch to use INTERNAL_SYSCALL.
29038 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
29040         [BZ #18078]
29041         * scripts/check-localplt.awk: Support alternate relocations.
29042         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
29043         sections.
29044         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
29045         malloc entries with + REL R_386_GLOB_DAT.
29046         * sysdeps/x86_64/localplt.data: New file.
29048 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
29050         [BZ #18731]
29051         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
29052         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29053         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29055 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29057         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
29059 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29061         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
29062         directly in terms of __sync_fetch_and_add and delete (int) cast.
29064 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29066         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
29067         the -D_ASM_IA64_CURRENT_H flag.
29069 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29071         [BZ #18641]
29072         * pwd/pwd.h (putpwent): Delete __nonnull markings.
29074 2015-07-27  Andreas Schwab  <schwab@suse.de>
29076         * conform/conformtest.pl (checknamespace): Filter out string
29077         literals while tokenizing.
29079 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
29081         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29082         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
29083         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29085 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
29087         * nptl/tst-join7mod.c: Add #include <string.h>.
29089 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
29091         * sysdeps/nios2/libm-test-ulps: Update.
29093 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
29095         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
29096         Fix order of arguments to the rt_sigprocmask syscall.
29097         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
29098         Likewise.
29100 2015-07-24  Roland McGrath  <roland@hack.frob.com>
29102         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
29104 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29106         [BZ #18457]
29107         * nptl/Makefile (tests): New test case tst-join7.
29108         (modules-names): New test case module tst-join7mod.
29109         * nptl/tst-join7.c: New file.
29110         * nptl/tst-join7mod.c: New file.
29111         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
29112         all translation units in libc.so, libpthread.so and rtld.
29114 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29118 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29120         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
29121         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
29122         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
29123         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
29124         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
29125         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
29126         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
29127         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
29128         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
29129         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
29130         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
29131         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
29132         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
29133         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29134         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
29135         implementation.
29137 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29139         [BZ #17711]
29140         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29141         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
29142         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29143         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29144         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
29145         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29147 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29149         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
29150         instead of just saying load lock in the comments.
29152 2015-07-23  Roland McGrath  <roland@hack.frob.com>
29154         * sysdeps/unix/Subdirs: Moved ...
29155         * sysdeps/posix/Subdirs: ... here.
29156         * login/pty.h (struct termios, struct winsize): Add forward decls.
29157         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
29158         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
29159         * sysdeps/arm/nacl/libc.abilist: Updated.
29160         * sysdeps/nacl/libutil.abilist: New file.
29162         * bits/signum.h: Update comments to mention 1003.1-2013 too.
29163         (SIGWINCH): New macro.
29165         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
29166         * sysdeps/arm/nacl/libc.abilist: Add it.
29168 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
29170         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
29172 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
29174         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
29175         Swap __glibc_reserved0 and sa_flags order.
29177 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29179         [BZ #18657]
29180         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
29181         are pending TLS destructor calls.
29182         * include/link.h (struct link_map): Add concurrency note for
29183         L_TLS_DTOR_COUNT.
29184         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29185         Don't touch the link map flag.  Atomically increment
29186         l_tls_dtor_count.
29187         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
29188         Avoid taking the load lock and don't touch the link map flag.
29189         * stdlib/tst-tls-atexit-nodelete.c: New test case.
29190         * stdlib/Makefile (tests): Use it.
29191         * stdlib/tst-tls-atexit.c (do_test): dlopen
29192         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
29193         to allow tst-tls-atexit-nodelete test case to use it.
29195 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29197         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
29198         to bits/types.h.
29199         (msgqnum_t): New typedef.
29200         (msglen_t): Likewise.
29201         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
29202         and msg_qbytes type to msglen_t.
29204 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29206         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
29207         pad0 to __glibc_reserved0.
29208         (struct stat64): Likewise.
29210 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29212         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
29213         Change sa_flags from a long to an int and add __glibc_reserved0 before
29214         it for padding.
29216 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29218         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
29219         anonymous by deleting "siginfo" name.
29221 2015-07-21  Roland McGrath  <roland@hack.frob.com>
29223         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
29224         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
29225         rather than __nacl_irt_filename.
29226         * sysdeps/nacl/xstat.c (__xstat): Likewise.
29228         * NEWS: New item for arm-nacl port.
29229         * sysdeps/arm/nacl/libc.abilist: New file.
29230         * sysdeps/nacl/ld.abilist: New file.
29231         * sysdeps/nacl/libBrokenLocale.abilist: New file.
29232         * sysdeps/nacl/libanl.abilist: New file.
29233         * sysdeps/nacl/libcrypt.abilist: New file.
29234         * sysdeps/nacl/libdl.abilist: New file.
29235         * sysdeps/nacl/libm.abilist: New file.
29236         * sysdeps/nacl/libpthread.abilist: New file.
29237         * sysdeps/nacl/libresolv.abilist: New file.
29238         * sysdeps/nacl/librt.abilist: New file.
29240 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
29242         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
29243         __startcontext to initialize the new context.
29244         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
29245         up CFI directive to forbid further backtracing.
29247 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
29249         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
29250         reference.
29251         * charmaps/ANSI_X3.4-1968: Likewise.
29252         * charmaps/BS_4730: Likewise.
29253         * charmaps/BS_VIEWDATA: Likewise.
29254         * charmaps/CP1250: Likewise.
29255         * charmaps/CP1251: Likewise.
29256         * charmaps/CP1252: Likewise.
29257         * charmaps/CP1253: Likewise.
29258         * charmaps/CP1254: Likewise.
29259         * charmaps/CP1255: Likewise.
29260         * charmaps/CP1256: Likewise.
29261         * charmaps/CSN_369103: Likewise.
29262         * charmaps/EBCDIC-DK-NO: Likewise.
29263         * charmaps/GB_1988-80: Likewise.
29264         * charmaps/GREEK-CCITT: Likewise.
29265         * charmaps/GREEK7: Likewise.
29266         * charmaps/INIS-8: Likewise.
29267         * charmaps/ISIRI-3342: Likewise.
29268         * charmaps/ISO_2033-1983: Likewise.
29269         * charmaps/ISO_5427-EXT: Likewise.
29270         * locales/POSIX: Likewise.
29271         * locales/ar_SA: Likewise.
29272         * locales/be_BY: Likewise.
29273         * locales/be_BY@latin: Likewise.
29274         * locales/ca_ES: Likewise.
29275         * locales/cs_CZ: Likewise.
29276         * locales/da_DK: Likewise.
29277         * locales/de_BE: Likewise.
29278         * locales/de_CH: Likewise.
29279         * locales/de_LU: Likewise.
29280         * locales/en_AU: Likewise.
29281         * locales/en_BW: Likewise.
29282         * locales/en_CA: Likewise.
29283         * locales/en_DK: Likewise.
29284         * locales/en_GB: Likewise.
29285         * locales/en_IE: Likewise.
29286         * locales/en_NZ: Likewise.
29287         * locales/en_ZA: Likewise.
29288         * locales/en_ZW: Likewise.
29289         * locales/es_AR: Likewise.
29290         * locales/es_BO: Likewise.
29291         * locales/es_CL: Likewise.
29292         * locales/es_CO: Likewise.
29293         * locales/es_DO: Likewise.
29294         * locales/es_EC: Likewise.
29295         * locales/es_ES: Likewise.
29296         * locales/es_HN: Likewise.
29297         * locales/es_MX: Likewise.
29298         * locales/es_PA: Likewise.
29299         * locales/es_PE: Likewise.
29300         * locales/es_PY: Likewise.
29301         * locales/es_SV: Likewise.
29302         * locales/es_US: Likewise.
29303         * locales/es_UY: Likewise.
29304         * locales/es_VE: Likewise.
29305         * locales/et_EE: Likewise.
29306         * locales/fa_IR: Likewise.
29307         * locales/fo_FO: Likewise.
29308         * locales/fr_CA: Likewise.
29309         * locales/fr_CH: Likewise.
29310         * locales/gv_GB: Likewise.
29311         * locales/he_IL: Likewise.
29312         * locales/hr_HR: Likewise.
29313         * locales/id_ID: Likewise.
29314         * locales/is_IS: Likewise.
29315         * locales/it_CH: Likewise.
29316         * locales/iw_IL: Likewise.
29317         * locales/kl_GL: Likewise.
29318         * locales/ko_KR: Likewise.
29319         * locales/kw_GB: Likewise.
29320         * locales/lg_UG: Likewise.
29321         * locales/lt_LT: Likewise.
29322         * locales/lv_LV: Likewise.
29323         * locales/mi_NZ: Likewise.
29324         * locales/nhn_MX: Likewise.
29325         * locales/nl_BE: Likewise.
29326         * locales/pl_PL: Likewise.
29327         * locales/sk_SK: Likewise.
29328         * locales/sl_SI: Likewise.
29329         * locales/sv_FI: Likewise.
29330         * locales/tl_PH: Likewise.
29331         * locales/tr_TR: Likewise.
29332         * locales/vi_VN: Likewise.
29334 2015-07-21  Khem Raj  <raj.khem@gmail.com>
29336         [BZ #17475]
29337         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
29338         of tu_IN and bh_IN.
29340 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
29342         [BZ #18694]
29343         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
29344         bits/wordsize.h.
29345         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
29347 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29349         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
29350         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
29351         (spawn_thread): New function.
29352         (load): Rename to reg_dtor_and_close.  Move dlopen to...
29353         (do_test): ... here.  Use IS_LOADED to test for its
29354         availability.
29356 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
29358         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29360 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
29362         [BZ #18696]
29363         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
29364         si_addr_bnd.
29365         (si_lower): New.
29366         (si_upper): Likewise.
29368 2015-07-16  David S. Miller  <davem@davemloft.net>
29370         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
29372 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29374         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
29375         buffer.
29376         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
29377         fail output information.
29379 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
29382         and strstr-ppc64..
29383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29384         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
29385         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
29386         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
29387         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
29389 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
29391         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
29392         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29393         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
29394         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29396 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
29398         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29399         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
29400         rtld_hidden_proto.
29401         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
29403 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29405         * tst-nodelete-opened.c (do_test): Add comment to clarify how
29406         the test can fail.
29408         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
29410         [BZ #18676]
29411         * elf/tst-nodelete-opened.c: New test case.
29412         * elf/tst-nodelete-opened-lib.c: New test case module.
29413         * elf/Makefile (tests, modules-names): Use them.
29414         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
29415         early.
29417 2015-07-15  David S. Miller  <davem@davemloft.net>
29419         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
29420         futex-intenal.h
29421         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
29422         * sysdeps/sparc/sparc64/Makefile: Likewise.
29423         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
29424         Remove space from macro define.
29425         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
29427 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
29429         [BZ #17475]
29430         * locale/iso-639.def: Update Bhili and Tulu language codes as
29431         per iso639-3.
29433 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
29435         * elf/tst-leaks1.c (main): Converted to ...
29436         (do_test): ... this.
29437         (TEST_FUNCTION): New macro.
29438         Include test-skeleton.c.
29439         * localedata/tst-langinfo.c (main): Converted to ...
29440         (do_test): ... this.
29441         (TEST_FUNCTION): New macro.
29442         Include test-skeleton.c.
29443         * math/test-fpucw.c (main): Converted to ...
29444         (do_test): ... this.
29445         (TEST_FUNCTION): New macro.
29446         Include test-skeleton.c.
29447         * math/test-tgmath.c (main): Converted to ...
29448         (do_test): ... this.
29449         (TEST_FUNCTION): New macro.
29450         Include test-skeleton.c.
29451         * math/test-tgmath2.c (main): Converted to ...
29452         (do_test): ... this.
29453         (TEST_FUNCTION): New macro.
29454         Include test-skeleton.c.
29455         * setjmp/tst-setjmp.c (main): Converted to ...
29456         (do_test): ... this.
29457         (TEST_FUNCTION): New macro.
29458         Include test-skeleton.c.
29459         * stdio-common/tst-sscanf.c (main): Converted to ...
29460         (do_test): ... this.
29461         (TEST_FUNCTION): New macro.
29462         Include test-skeleton.c.
29463         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
29464         (do_test): ... this.
29465         (TEST_FUNCTION): New macro.
29466         Include test-skeleton.c.
29468         * elf/tst-audit9.c (main): Converted to ...
29469         (do_test): ... this.
29470         (TEST_FUNCTION): New macro.
29471         Include test-skeleton.c.
29473 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
29475         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
29477 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
29479         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
29480         New variable.
29482 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
29484         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29486 2015-07-14  Roland McGrath  <roland@hack.frob.com>
29488         * sysdeps/generic/dl-fileid.h: New file.
29489         * sysdeps/posix/dl-fileid.h: New file.
29490         * sysdeps/nacl/dl-fileid.h: New file.
29491         * include/link.h: Include <dl-fileid.h>.
29492         (struct link_map): Replace l_dev and l_ino with l_file_id.
29493         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
29494         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
29495         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
29497 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29499         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
29501 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29503         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
29504         Add iff $CXX is set.
29505         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
29506         Likewise.
29507         (tst-nodelete-zmodiff): Likewise.
29508         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
29510 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29512         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
29514 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
29516         * sysdeps/aarch64/fpu/math_private.h
29517         (define math_opt_barrier): Add AArch64 version.
29518         (math_force_eval): Likewise.
29520 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
29522         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
29524 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
29526         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
29527         %ld with %jd and cast to intmax_t.
29528         (do_test_length_zero): Likewise.
29530 2015-07-10  Roland McGrath  <roland@hack.frob.com>
29532         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
29534 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
29536         * sysdeps/tile/libm-test-ulps: Regenerated.
29538         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
29539         Comment out the whole function, not just its body.
29541 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29543         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
29544         locks.
29546         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
29548 2015-07-10  Torvald Riegel  <triegel@redhat.com>
29550         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
29551         (sem_assume_only_signals_cause_futex_EINTR): Remove.
29553 2015-07-10  Torvald Riegel  <triegel@redhat.com>
29555         * sysdeps/nptl/futex-internal.h: New file.
29556         * sysdeps/nacl/futex-internal.h: New file.
29557         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
29558         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
29559         error checking.
29560         (setxid_unmark_thread): Likewise.
29561         (__nptl_setxid): Likewise.
29562         (__wait_lookup_done): Likewise.
29563         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29564         * nptl/nptl-init.c (sighandler_setxid): Likewise.
29565         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
29566         * nptl/pthread_once.c (clear_once_control): Likewise.
29567         (__pthread_once_slow): Likewise.
29568         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
29569         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
29570         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
29571         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
29572         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
29573         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
29574         Likewise.
29575         (__pthread_rwlock_rdlock): Likewise.
29576         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29577         Likewise.
29578         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29579         Likewise.
29580         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
29581         Likewise.
29582         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
29583         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
29584         Likewise.
29585         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
29586         __ASSUME_PRIVATE_FUTEX check.
29587         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
29588         Check that shared futexes are supported.
29589         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
29590         wrappers with error checking.
29591         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
29592         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
29593         * nptl/pthread_barrierattr_setpshared.c
29594         (pthread_barrierattr_setpshared): Check that shared futexes are
29595         supported.
29596         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
29597         Likewise.
29598         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
29599         Likewise.
29600         * nptl/sem_init.c (futex_private_if_supported): Remove.
29601         (__new_sem_init): Adapt and check that shared futexes are supported.
29602         * nptl/sem_open.c (sem_open): Likewise.
29603         * nptl/sem_post.c (futex_wake): Remove.
29604         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
29605         (do_futex_wait): Use futex wrappers with error checking.
29606         * nptl/sem_wait.c: Include lowlevellock.h.
29607         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
29608         Use futex_supports_pshared.
29609         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
29610         Use futex wrappers with error checking.
29611         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
29612         Likewise.
29613         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
29614         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
29615         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
29616         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
29617         (futex_wake): Likewise.
29618         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
29619         (do_futex_wait): Use futex wrappers with error checking.
29620         (__new_sem_wait_slow): Update EINTR handling.
29621         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
29623 2015-07-09  Martin Sebor  <msebor@redhat.com>
29625         [BZ #18435]
29626         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
29627         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
29628         * nptl/Makefile (test-xfail-tst-once5): Define.
29630 2015-07-09  Roland McGrath  <roland@hack.frob.com>
29632         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
29633         * elf/dl-minimal.c: For readability, reorder some definitions and
29634         introduce more page breaks.  Include <stdio.h>.
29635         (__libc_fatal): New function.
29637         * include/unistd.h: Add rtld_hidden_proto for _exit.
29638         * posix/_exit.c: Add rtld_hidden_def.
29639         * sysdeps/mach/hurd/_exit.c: Likewise.
29640         * sysdeps/nacl/_exit.c: Likewise.
29641         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
29642         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
29644 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
29646         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
29647         bndmov encoding with zero displacement.
29649 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29650             H.J. Lu  <hongjiu.lu@intel.com>
29652         [BZ #18134]
29653         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
29654         * sysdeps/i386/configure: Regenerated.
29655         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
29656         (_dl_runtime_profile): Save and restore Intel MPX return bound
29657         registers when calling _dl_call_pltexit.  Add
29658         PRESERVE_BND_REGS_PREFIX before return.
29659         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
29660         (LRV_BND1_OFFSET): Likewise.
29661         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
29662         lrv_bnd1.
29663         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
29664         typo in bndmov encoding.
29665         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
29666         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
29667         branch instructions to preserve bounds.
29669 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
29672         [GLIBC_2.22]: Add fmemopen.
29674 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29676         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
29677         returns an error, also try to use host port from __mach_host_self for
29678         the __vm_wire call.
29679         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
29681 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29683         [BZ #18400]
29684         [BZ #18648]
29685         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
29686         Fix pr_uid and pr_gid members.
29687         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
29688         definition to elf_greg_t.
29690 2015-07-08  Roland McGrath  <roland@hack.frob.com>
29692         [BZ #18383]
29693         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
29694         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
29695         * sysdeps/arm/configure: Regenerated.
29696         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
29697         (test-xfail-tst-tlsalign-static): Variable removed.
29699         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
29700         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
29701         rather than explicit 'ln -s'.
29703         * resolv/rpc/netdb.h: New file.
29704         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
29706 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29708         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
29709         length buffers.
29710         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29711         test-skeleton.c.
29713         [BZ #6544]
29714         [BZ #11216]
29715         [BZ #12836]
29716         [BZ #13151]
29717         [BZ #13152]
29718         [BZ #14292]
29719         * include/stdio.h (fmemopen): Remove hidden prototype.
29720         (__fmemopen): Add new hidden prototype.
29721         * libio/Makefile: Add oldfmemopen object.
29722         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
29723         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
29724         compliance.
29725         * libio/oldfmemopen.c: New file: old fmemopen implementation for
29726         symbol compatibility.
29727         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
29728         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
29729         fmemopen.
29730         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
29731         on append and read mode.
29732         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
29733         fmemopen.
29734         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
29735         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
29736         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
29737         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
29738         Likewise.
29739         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
29740         [GLIBC_2.22]: Likewise.
29741         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
29742         Likewise.
29743         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
29744         Likewise.
29745         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
29746         [GLIBC_2.22]: Likewise.
29747         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
29748         [GLIBC_2.22]: Likewise.
29749         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
29750         [GLIBC_2.22]: Likewise.
29751         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
29752         [GLIBC_2.22]: Likewise.
29753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
29754         [GLIBC_2.22]: Likewise.
29755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
29756         [GLIBC_2.22]: Likewise.
29757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
29758         [GLIBC_2.22]: Likewise.
29759         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
29760         Likewise.
29761         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
29762         Likewise.
29763         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
29764         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
29765         [GLIBC_2.22]: Likewise.
29766         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
29767         [GLIBC_2.22]: Likewise.
29768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
29769         [GLIBC_2.22]: Likewise.
29770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
29771         [GLIBC_2.22]: Likewise.
29772         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
29773         Likewise.
29774         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
29775         Likewise.
29776         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
29777         Likewise.
29778         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
29779         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
29781 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
29783         [BZ #18643]
29784         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
29785         IPV6_PATHMTU, and IPV6_DONTFRAG.
29787 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
29789         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
29790         and _IO_UNBUFFERED.
29791         * libio/oldfileops.c: Likewise.
29792         * libio/wfileops.c: Likewise.
29794 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
29796         * nscd/selinux.c: Delete selinux/flask.h include.
29798 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
29800         [BZ #18641]
29801         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
29802         (putpwent): Likewise.
29803         (getpwnam): Likewise.
29804         (getpwent_r): Likewise.
29805         (getpwuid_r): Likewise.
29806         (getpwnam_r): Likewise.
29807         (fgetpwent_r): Likewise.
29809 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
29811         [BZ #18557]
29812         * inet/rcmd.c (__validuser2_sa): Check user first to
29813         short-circuit host check.
29815 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
29816             Mikhail Ilin  <m.ilin@samsung.com>
29818         [BZ #17833]
29819         * elf/Makefile (tests): Add tst-nodelete.
29820         (modules-names): Add tst-nodelete-uniquemod.
29821         (tst-nodelete-uniquemod.so-no-z-defs): New.
29822         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
29823         (tst-nodelete-zmod.so-no-z-defs): Likewise.
29824         ($(objpfx)tst-nodelete): Likewise.
29825         ($(objpfx)tst-nodelete.out): Likewise.
29826         (LDFLAGS-tst-nodelete): Likewise.
29827         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
29828         * elf/dl-close.c (_dl_close_worker): Add a parameter to
29829         implement forced object deletion.
29830         (_dl_close): Pass false to _dl_close_worker.
29831         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
29832         * elf/tst-nodelete.cc: New file.
29833         * elf/tst-nodeletelib.cc: Likewise.
29834         * elf/tst-znodeletelib.cc: Likewise.
29835         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
29837 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29839         [BZ #18508]
29840         * stdlib/Makefile ($(objpfx)tst-makecontext3):
29841         Depend on $(libdl).
29842         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
29843         is not called infinitely times.
29844         (backtrace_helper): New function.
29845         (trace_arg): New struct.
29846         (st1): Enlarge stack size.
29847         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29848         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
29849         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29850         Likewise.
29852 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29854         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29856 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29858         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
29859         Include sys/types.h instead of bits/types.h.
29860         Remove inclusion of bits/wordsize.h.
29862 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29864         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
29865         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
29866         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
29867         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
29868         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
29869         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
29871 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29873         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
29874         link-defines.sym.
29875         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
29876         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
29877         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
29878         and LR_SIZE.
29879         * sysdeps/i386/link-defines.sym: New file.
29881 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29883         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
29884         (modules-names): Add tst-auditmod3a tst-auditmod3b.
29885         ($(objpfx)tst-audit3): New rule.
29886         ($(objpfx)tst-audit3.out): Likewise.
29887         * sysdeps/i386/tst-audit3.c: New file.
29888         * sysdeps/i386/tst-audit3.h: Likewise.
29889         * sysdeps/i386/tst-auditmod3a.c: Likewise.
29890         * sysdeps/i386/tst-auditmod3b.c: Likewise.
29892 2015-07-07  Torvald Riegel  <triegel@redhat.com>
29894         [BZ #18633]
29895         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
29896         pointer in C code.
29897         (__strcat_c): Likewise.
29898         (__strcat_g): Likewise.
29900 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
29902         [BZ #18592]
29903         * misc/sbrk.c: Set errno to ENOMEM on overflow.
29905 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29907         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
29908         New function.  (__ieee754_sqrtf): New function.
29909         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
29910         New function.
29911         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
29912         New function.
29914 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29916         * sysdeps/ieee754/support.c: Remove unused file.
29918 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29920         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
29921         registers instead of d ones so the layout is kernel abi compatible.
29922         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
29923         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
29924         Likewise.
29926 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29928         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29930 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29932         [BZ #18619]
29933         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
29934         and return argument in case of subnormal argument.
29936 2015-07-01  Martin Sebor  <msebor@redhat.com>
29938         [BZ #18435]
29939         * nptl/Makefile: Add tst-once5.cc.
29940         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
29941         Remove macro redefinitions.
29942         * nptl/tst-once5.cc: New test.
29944 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29946         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29948         * sysdeps/arm/libm-test-ulps: Regenerated.
29950         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29951         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29953 2015-06-30  Torvald Riegel  <triegel@redhat.com>
29955         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
29956         lll_lock_wait_private and lll_futex_wake probes.
29958         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29959         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
29960         Likewise.
29961         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
29962         atomic_spin_nop.
29963         * sysdeps/x86_64/bits/atomic.h: Likewise.
29964         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
29965         to atomic_spin_nop and move ...
29966         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
29967         ... here and ...
29968         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
29969         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
29970         atomic_spin_nop instead of BUSY_WAIT_NOP.
29971         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
29972         Likewise.
29973         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
29974         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29975         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
29976         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
29977         instead of atomic_delay.
29979 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
29981         [BZ #18613]
29982         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
29983         X_ADJ not X when adjusting exponent.
29984         (__ieee754_gamma_r): Do intermediate computations in
29985         round-to-nearest then adjust overflowing and underflowing results
29986         as needed.
29987         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
29988         of X_ADJ not X when adjusting exponent.
29989         (__ieee754_gammaf_r): Do intermediate computations in
29990         round-to-nearest then adjust overflowing and underflowing results
29991         as needed.
29992         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
29993         log of X_ADJ not X when adjusting exponent.
29994         (__ieee754_gammal_r): Do intermediate computations in
29995         round-to-nearest then adjust overflowing and underflowing results
29996         as needed.  Use 1.0L not 1.0f as numerator of division.
29997         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
29998         log of X_ADJ not X when adjusting exponent.
29999         (__ieee754_gammal_r): Do intermediate computations in
30000         round-to-nearest then adjust overflowing and underflowing results
30001         as needed.  Use 1.0L not 1.0f as numerator of division.
30002         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
30003         of X_ADJ not X when adjusting exponent.
30004         (__ieee754_gammal_r): Do intermediate computations in
30005         round-to-nearest then adjust overflowing and underflowing results
30006         as needed.  Use 1.0L not 1.0f as numerator of division.
30007         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
30008         to auto-libm-test-in.
30009         (tgamma_test): Use ALL_RM_TEST.
30010         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
30011         tests of tgamma with spurious-overflow.
30012         * math/auto-libm-test-out: Regenerated.
30013         * math/gen-libm-have-vector-test.sh: Do not check for START.
30014         * sysdeps/i386/fpu/libm-test-ulps: Update.
30015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30017         [BZ #18612]
30018         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
30019         arguments, just return 0.5 times the argument, with underflow
30020         forced as needed.
30021         * math/auto-libm-test-in: Add more tests of j1.
30022         * math/auto-libm-test-out: Regenerated.
30024         [BZ #16559]
30025         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
30026         (__ieee754_j1): Force underflow exception for small results.
30027         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30028         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
30029         (__ieee754_j1f): Force underflow exception for small results.
30030         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30031         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30032         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30033         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
30034         (__ieee754_j1l): Force underflow exception for small results.
30035         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30036         * math/auto-libm-test-in: Add more tests of j1 and jn.
30037         * math/auto-libm-test-out: Regenerated.
30039         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
30040         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
30041         (PF_MPLS): Likewise.
30042         (AF_IB): Likewise.
30043         (AF_MPLS): Likewise.
30044         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
30045         value and macro.
30046         (MS_RMT_MASK): Include MS_LAZYTIME.
30048 2015-06-26  Mel Gorman  <mgorman@suse.de>
30050         [BZ #18502]
30051         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
30052         already minimal.
30054 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
30056         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
30057         (DT_MIPS_NUM): Update.
30058         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
30059         DT_MIPS_RLD_MAP_REL.
30061 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
30063         [BZ #16559]
30064         [BZ #18602]
30065         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
30066         round-to-nearest internally then recompute results that
30067         underflowed to zero in the original rounding mode.
30068         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30069         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30070         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30071         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30072         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
30073         * sysdeps/i386/fpu/libm-test-ulps: Update.
30074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30076 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30078         * NEWS: Fixed description of link with vector math library.
30080 2015-06-25  Andreas Schwab  <schwab@suse.de>
30082         [BZ #18549]
30083         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
30084         * libio/test-fmemopen.c (do_test): Add test for it.
30086 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
30088         [BZ #17841]
30089         * Makeconfig (no-pie-ldflag): New.
30090         (+link): Set to $(+link-pie) if default to PIE.
30091         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
30092         * config.make.in (build-pie-default): New.
30093         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
30094         is default.  AC_SUBST.
30095         * configure: Regenerated.
30096         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
30098 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30100         * nptl/descr.h (struct pthread): Change type of field setxid_futex
30101         to 'unsigned int'.
30103         * resolv/gai_misc.h (struct waitlist): Change type of field
30104         counterp to 'volatile unsigned int *'.
30105         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
30106         FUTEXADDR and OLDVAL.
30107         * resolv/getaddrinfo_a.c (getaddrinfo_a):
30108         Give local variable TOTAL type 'volatile unsigned int'.
30109         (struct async_waitlist): Change type of field counter to 'unsigned int'.
30110         * resolv/gai_suspend.c (gai_suspend):
30111         Give local variable CNTR type 'unsigned int'.
30113         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
30114         counterp to 'volatile unsigned int *'.
30115         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
30116         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
30117         (aio_suspend): Give local variable CNTR type 'unsigned int'.
30118         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
30119         Give local variable TOTAL type 'volatile unsigned int'.
30120         (struct async_waitlist): Change type of field counter to 'unsigned int'.
30122 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30124         [BZ #18383]
30125         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
30126         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
30127         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
30128         comment for i386/x86-64.
30129         (test-xfail-tst-tlsalign-extern-static): Removed.
30131 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30133         * math/test-double.h: New file.
30134         * math/test-float.h: Likewise.
30135         * math/test-ldouble.h: Likewise.
30136         * math/test-math-inline.h: Likewise.
30137         * math/test-math-no-inline.h: Likewise.
30138         * math/test-math-scalar.h: Likewise.
30139         * math/test-math-vector.h: Likewise.
30140         * math/test-vec-loop.h: Remove file.  Contents moved into
30141         test-math-vector.h.
30142         * math/libm-test.inc (MATHCONST): Do not document macro.
30143         * math/test-double.c: Include test-double.h, test-math-no-inline.h
30144         and test-math-scalar.h.
30145         (FUNC): Remove macro.
30146         (FUNC_TEST): Likewise.
30147         (FLOAT): Likewise.
30148         (MATHCONST): Likewise.
30149         (PRINTF_EXPR): Likewise.
30150         (PRINTF_XEXPR): Likewise.
30151         (PRINTF_NEXPR): Likewise.
30152         (TEST_DOUBLE): Likewise.
30153         (TEST_MATHVEC): Likewise.
30154         (__NO_MATH_INLINES): Likewise.
30155         * math/test-float.c: Include test-float.h, test-math-no-inline.h
30156         and test-math-scalar.h.
30157         (FUNC): Remove macro.
30158         (FUNC_TEST): Likewise.
30159         (FLOAT): Likewise.
30160         (MATHCONST): Likewise.
30161         (PRINTF_EXPR): Likewise.
30162         (PRINTF_XEXPR): Likewise.
30163         (PRINTF_NEXPR): Likewise.
30164         (TEST_FLOAT): Likewise.
30165         (TEST_MATHVEC): Likewise.
30166         (__NO_MATH_INLINES): Likewise.
30167         * math/test-idouble.c: Include test-double.h, test-math-inline.h
30168         and test-math-scalar.h.
30169         (FUNC): Remove macro.
30170         (FUNC_TEST): Likewise.
30171         (FLOAT): Likewise.
30172         (MATHCONST): Likewise.
30173         (PRINTF_EXPR): Likewise.
30174         (PRINTF_XEXPR): Likewise.
30175         (PRINTF_NEXPR): Likewise.
30176         (TEST_DOUBLE): Likewise.
30177         (TEST_MATHVEC): Likewise.
30178         (TEST_INLINE): Likewise.
30179         (__NO_MATH_INLINES): Likewise.
30180         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
30181         test-math-scalar.h.
30182         (FUNC): Remove macro.
30183         (FUNC_TEST): Likewise.
30184         (FLOAT): Likewise.
30185         (MATHCONST): Likewise.
30186         (PRINTF_EXPR): Likewise.
30187         (PRINTF_XEXPR): Likewise.
30188         (PRINTF_NEXPR): Likewise.
30189         (TEST_FLOAT): Likewise.
30190         (TEST_MATHVEC): Likewise.
30191         (TEST_INLINE): Likewise.
30192         (__NO_MATH_INLINES): Likewise.
30193         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
30194         and test-math-scalar.h.
30195         (FUNC): Remove macro.
30196         (FUNC_TEST): Likewise.
30197         (FLOAT): Likewise.
30198         (MATHCONST): Likewise.
30199         (PRINTF_EXPR): Likewise.
30200         (PRINTF_XEXPR): Likewise.
30201         (PRINTF_NEXPR): Likewise.
30202         (TEST_LDOUBLE): Likewise.
30203         (TEST_MATHVEC): Likewise.
30204         (TEST_INLINE): Likewise.
30205         (__NO_MATH_INLINES): Likewise.
30206         * math/test-ldouble.c: Include test-ldouble.h,
30207         test-math-no-inline.h and test-math-scalar.h.
30208         (FUNC): Remove macro.
30209         (FUNC_TEST): Likewise.
30210         (FLOAT): Likewise.
30211         (MATHCONST): Likewise.
30212         (PRINTF_EXPR): Likewise.
30213         (PRINTF_XEXPR): Likewise.
30214         (PRINTF_NEXPR): Likewise.
30215         (TEST_LDOUBLE): Likewise.
30216         (TEST_MATHVEC): Likewise.
30217         (__NO_MATH_INLINES): Likewise.
30218         * math/test-double-vlen2.h: Include test-double.h,
30219         test-math-no-inline.h and test-math-vector.h.
30220         (FLOAT): Remove macro.
30221         (FUNC): Likewise.
30222         (MATHCONST): Likewise.
30223         (PRINTF_EXPR): Likewise.
30224         (PRINTF_XEXPR): Likewise.
30225         (PRINTF_NEXPR): Likewise.
30226         (TEST_DOUBLE): Likewise.
30227         (TEST_MATHVEC): Likewise.
30228         (__NO_MATH_INLINES): Likewise.
30229         (CNCT): Likewise.
30230         (CONCAT): Likewise.
30231         (WRAPPER_NAME): Likewise.
30232         (WRAPPER_DECL): Likewise.
30233         (WRAPPER_DECL_ff): Likewise.
30234         (WRAPPER_DECL_fFF): Likewise.
30235         (VECTOR_WRAPPER): Likewise.
30236         (VECTOR_WRAPPER_ff): Likewise.
30237         (VECTOR_WRAPPER_fFF): Likewise.
30238         (VEC_LEN): New macro.
30239         * math/test-double-vlen4.h: Include test-double.h,
30240         test-math-no-inline.h and test-math-vector.h.
30241         (FLOAT): Remove macro.
30242         (FUNC): Likewise.
30243         (MATHCONST): Likewise.
30244         (PRINTF_EXPR): Likewise.
30245         (PRINTF_XEXPR): Likewise.
30246         (PRINTF_NEXPR): Likewise.
30247         (TEST_DOUBLE): Likewise.
30248         (TEST_MATHVEC): Likewise.
30249         (__NO_MATH_INLINES): Likewise.
30250         (CNCT): Likewise.
30251         (CONCAT): Likewise.
30252         (WRAPPER_NAME): Likewise.
30253         (WRAPPER_DECL): Likewise.
30254         (WRAPPER_DECL_ff): Likewise.
30255         (WRAPPER_DECL_fFF): Likewise.
30256         (VECTOR_WRAPPER): Likewise.
30257         (VECTOR_WRAPPER_ff): Likewise.
30258         (VECTOR_WRAPPER_fFF): Likewise.
30259         (VEC_LEN): New macro.
30260         * math/test-double-vlen8.h: Include test-double.h,
30261         test-math-no-inline.h and test-math-vector.h.
30262         (FLOAT): Remove macro.
30263         (FUNC): Likewise.
30264         (MATHCONST): Likewise.
30265         (PRINTF_EXPR): Likewise.
30266         (PRINTF_XEXPR): Likewise.
30267         (PRINTF_NEXPR): Likewise.
30268         (TEST_DOUBLE): Likewise.
30269         (TEST_MATHVEC): Likewise.
30270         (__NO_MATH_INLINES): Likewise.
30271         (CNCT): Likewise.
30272         (CONCAT): Likewise.
30273         (WRAPPER_NAME): Likewise.
30274         (WRAPPER_DECL): Likewise.
30275         (WRAPPER_DECL_ff): Likewise.
30276         (WRAPPER_DECL_fFF): Likewise.
30277         (VECTOR_WRAPPER): Likewise.
30278         (VECTOR_WRAPPER_ff): Likewise.
30279         (VECTOR_WRAPPER_fFF): Likewise.
30280         (VEC_LEN): New macro.
30281         * math/test-float-vlen4.h: Include test-float.h,
30282         test-math-no-inline.h and test-math-vector.h.
30283         (FLOAT): Remove macro.
30284         (FUNC): Likewise.
30285         (MATHCONST): Likewise.
30286         (PRINTF_EXPR): Likewise.
30287         (PRINTF_XEXPR): Likewise.
30288         (PRINTF_NEXPR): Likewise.
30289         (TEST_FLOAT): Likewise.
30290         (TEST_MATHVEC): Likewise.
30291         (__NO_MATH_INLINES): Likewise.
30292         (CNCT): Likewise.
30293         (CONCAT): Likewise.
30294         (WRAPPER_NAME): Likewise.
30295         (WRAPPER_DECL): Likewise.
30296         (WRAPPER_DECL_ff): Likewise.
30297         (WRAPPER_DECL_fFF): Likewise.
30298         (VECTOR_WRAPPER): Likewise.
30299         (VECTOR_WRAPPER_ff): Likewise.
30300         (VECTOR_WRAPPER_fFF): Likewise.
30301         (VEC_LEN): New macro.
30302         * math/test-float-vlen8.h: Include test-float.h,
30303         test-math-no-inline.h and test-math-vector.h.
30304         (FLOAT): Remove macro.
30305         (FUNC): Likewise.
30306         (MATHCONST): Likewise.
30307         (PRINTF_EXPR): Likewise.
30308         (PRINTF_XEXPR): Likewise.
30309         (PRINTF_NEXPR): Likewise.
30310         (TEST_FLOAT): Likewise.
30311         (TEST_MATHVEC): Likewise.
30312         (__NO_MATH_INLINES): Likewise.
30313         (CNCT): Likewise.
30314         (CONCAT): Likewise.
30315         (WRAPPER_NAME): Likewise.
30316         (WRAPPER_DECL): Likewise.
30317         (WRAPPER_DECL_ff): Likewise.
30318         (WRAPPER_DECL_fFF): Likewise.
30319         (VECTOR_WRAPPER): Likewise.
30320         (VECTOR_WRAPPER_ff): Likewise.
30321         (VECTOR_WRAPPER_fFF): Likewise.
30322         (VEC_LEN): New macro.
30323         * math/test-float-vlen16.h: Include test-float.h,
30324         test-math-no-inline.h and test-math-vector.h.
30325         (FLOAT): Remove macro.
30326         (FUNC): Likewise.
30327         (MATHCONST): Likewise.
30328         (PRINTF_EXPR): Likewise.
30329         (PRINTF_XEXPR): Likewise.
30330         (PRINTF_NEXPR): Likewise.
30331         (TEST_FLOAT): Likewise.
30332         (TEST_MATHVEC): Likewise.
30333         (__NO_MATH_INLINES): Likewise.
30334         (CNCT): Likewise.
30335         (CONCAT): Likewise.
30336         (WRAPPER_NAME): Likewise.
30337         (WRAPPER_DECL): Likewise.
30338         (WRAPPER_DECL_ff): Likewise.
30339         (WRAPPER_DECL_fFF): Likewise.
30340         (VECTOR_WRAPPER): Likewise.
30341         (VECTOR_WRAPPER_ff): Likewise.
30342         (VECTOR_WRAPPER_fFF): Likewise.
30343         (VEC_LEN): New macro.
30344         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
30345         test-vec-loop.h.
30346         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30347         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30348         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30349         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30350         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30351         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30352         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
30354 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30356         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
30357         (__getlogin_r): ... this.
30359 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30361         [BZ #18594]
30362         * math/s_ccosh.c (__ccosh): Compare with least normal value
30363         instead of comparing class with FP_SUBNORMAL.
30364         * math/s_ccoshf.c (__ccoshf): Likewise.
30365         * math/s_ccoshl.c (__ccoshl): Likewise.
30366         * math/s_cexp.c (__cexp): Likewise.
30367         * math/s_cexpf.c (__cexpf): Likewise.
30368         * math/s_cexpl.c (__cexpl): Likewise.
30369         * math/s_csin.c (__csin): Likewise.
30370         * math/s_csinf.c (__csinf): Likewise.
30371         * math/s_csinh.c (__csinh): Likewise.
30372         * math/s_csinhf.c (__csinhf): Likewise.
30373         * math/s_csinhl.c (__csinhl): Likewise.
30374         * math/s_csinl.c (__csinl): Likewise.
30375         * math/s_ctan.c (__ctan): Likewise.
30376         * math/s_ctanf.c (__ctanf): Likewise.
30377         * math/s_ctanh.c (__ctanh): Likewise.
30378         * math/s_ctanhf.c (__ctanhf): Likewise.
30379         * math/s_ctanhl.c (__ctanhl): Likewise.
30380         * math/s_ctanl.c (__ctanl): Likewise.
30381         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
30382         csin, csinh, ctan and ctanh.
30383         * math/auto-libm-test-out: Regenerated.
30384         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
30385         * sysdeps/i386/fpu/libm-test-ulps: Update.
30386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30388 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30390         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
30391         return value is wrong, print the expected value too.
30393 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30395         [BZ #18585]
30396         * elf/readlib.c (is_gdb_python_file): New.
30397         (process_file): Don't issue errors on filenames with -gdb.py
30398         suffix.
30400 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30402         * math/auto-libm-test-in: Add more tests of csin and csinh.
30403         * math/auto-libm-test-out: Regenerated.
30404         * math/libm-test.inc (csin_test_data): Remove tests moved to
30405         auto-libm-test-in.
30406         (csinh_test_data): Likewise.
30408         [BZ #18593]
30409         * math/s_csin.c (__csin): Negate before rather than after possibly
30410         overflowing multiplication.
30411         * math/s_csinf.c (__csinf): Likewise.
30412         * math/s_csinh.c (__csinh): Likewise.
30413         * math/s_csinhf.c (__csinhf): Likewise.
30414         * math/s_csinhl.c (__csinhl): Likewise.
30415         * math/s_csinl.c (__csinl): Likewise.
30416         * math/auto-libm-test-in: Add some tests of csin and csinh.
30417         * math/auto-libm-test-out: Regenerated.
30418         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
30419         (csinh_test_data): Likewise.
30420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30422         [BZ #18586]
30423         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
30424         underflow exception for small results.
30426 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30428         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
30429         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
30430         variable and included header.
30431         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
30432         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
30433         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
30434         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
30435         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
30436         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
30437         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
30438         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
30439         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
30440         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
30441         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
30442         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
30443         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
30444         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
30445         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
30446         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
30448 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
30450         [BZ #16526]
30451         [BZ #16538]
30452         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
30453         (__sin): Force underflow exception for arguments with small
30454         absolute value.
30455         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
30456         (__kernel_sinf): Force underflow exception for arguments with
30457         small absolute value.
30458         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
30459         (__kernel_sincosl): Force underflow exception for arguments with
30460         small absolute value.
30461         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
30462         (__kernel_sinl): Force underflow exception for arguments with
30463         small absolute value.
30464         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
30465         (__kernel_sincosl): Force underflow exception for arguments with
30466         small absolute value.
30467         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
30468         (__kernel_sinl): Force underflow exception for arguments with
30469         small absolute value.
30470         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
30471         (__kernel_sinl): Force underflow exception for arguments with
30472         small absolute value.
30473         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
30474         (__kernel_sinf): Force underflow exception for arguments with
30475         small absolute value.
30476         * math/auto-libm-test-in: Add more tests of sin and sincos.
30477         * math/auto-libm-test-out: Regenerated.
30479         [BZ #18245]
30480         [BZ #18583]
30481         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
30482         (__kernel_standard_l): Use feholdexcept and fesetenv around
30483         conversion to double instead of special-casing overflow and
30484         underflow.
30485         * math/libm-test.inc (fmod_test_data): Add more tests.
30486         (remainder_test_data): Likewise.
30487         (sqrt_test_data): Likewise.
30489 2015-06-23  Torvald Riegel  <triegel@redhat.com>
30491         [BZ #17403]
30492         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
30493         atomic_read_barrier, atomic_write_barrier): Define.
30494         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
30495         atomic_read_barrier, atomic_write_barrier): Define.
30497 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
30499         * math/Makefile [$(PERL) != no]
30500         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
30501         dependency on libm-test.stmp below the inclusion of Rules.
30503 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
30505         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
30506         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
30507         and included header.
30508         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
30509         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
30510         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
30511         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
30512         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
30513         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
30514         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
30515         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
30516         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
30517         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
30518         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
30519         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
30520         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
30521         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
30522         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
30523         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
30524         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
30525         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
30526         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
30528 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
30530         [BZ #18371]
30531         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
30532         intermediate but not final result might underflow.
30533         * math/s_csqrtf.c (__csqrtf): Likewise.
30534         * math/s_csqrtl.c (__csqrtl): Likewise.
30535         * math/auto-libm-test-in: Add more tests of csqrt.
30536         * math/auto-libm-test-out: Regenerated.
30537         * sysdeps/i386/fpu/libm-test-ulps: Update.
30539         [BZ #18219]
30540         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
30541         threshold on absolute value of exponent for which scaling is used.
30542         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
30543         * math/auto-libm-test-in: Add more tests of exp2.
30544         * math/auto-libm-test-out: Regenerated.
30546 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
30548         [BZ #17977]
30549         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
30550         when initializing interface list, based on the bug analysis
30551         and the patch proposed by Eric Newton.
30552         * resolv/tst-res_hconf_reorder.c: New test.
30553         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
30554         tst-res_hconf_reorder.
30555         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
30556         and $(shared-thread-library).
30557         (tst-res_hconf_reorder-ENV): New variable.
30559         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
30560         in comment.
30562 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
30564         [BZ #16353]
30565         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
30566         (__expm1): Force underflow exception for arguments with small
30567         absolute value.
30568         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
30569         (__expm1f): Force underflow exception for arguments with small
30570         absolute value.
30571         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
30572         (__expm1): Force underflow exception for arguments with small
30573         absolute value.
30574         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
30575         (__expm1f): Force underflow exception for arguments with small
30576         absolute value.
30577         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30578         Check for small arguments before calling __expm1.
30579         * math/auto-libm-test-in: Do not mark underflow exceptions as
30580         possibly missing for bug 16353.
30581         * math/auto-libm-test-out: Regenerated.
30583 2015-06-22  Andreas Schwab  <schwab@suse.de>
30585         [BZ #18513]
30586         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
30587         PTR queries.
30589 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
30591         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
30593         * string/strcoll_l.c: Remove unused struct element idxnow.
30595 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
30597         [BZ #18569]
30598         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
30599         underflow and return argument in case of subnormal argument.
30600         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30601         Likewise.
30602         * math/auto-libm-test-in: Add more tests of expm1.
30603         * math/auto-libm-test-out: Regenerated.
30605         [BZ #16361]
30606         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
30607         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
30608         tiny results.
30609         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
30610         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
30611         tiny results.
30612         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
30613         mark underflow exceptions as possibly missing for bug 16361.
30614         * math/auto-libm-test-out: Regenerated.
30616 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
30618         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
30619         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
30620         Remove variable.
30621         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
30622         (test-xfail-XOPEN2K8/utmpx.h/conform).
30624         * conform/conformtest.pl ($xerrors): New variable.
30625         (note_error): New function.
30626         (compiletest): New argument $xfail.  Use not_error.
30627         (runtest): Likewise.
30628         (top level): Handle xfail- lines.  Update calls to compiletest and
30629         runtest.  Handle xfail- and optional- in headers listed with
30630         allow-header.
30631         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
30632         (O_EXEC): Likewise.
30633         (O_SEARCH): Likewise.
30634         * conform/data/stropts.h-data (ioctl): Likewise.
30635         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
30636         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
30637         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
30638         (msghdr.msg_controllen): Likewise.
30639         (cmsghdr.cmsg_len): Likewise.
30640         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
30641         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
30642         variable.
30643         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30644         (test-xfail-XPG4/stropts.h/conform): Likewise.
30645         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30646         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30647         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30648         (test-xfail-UNIX98/stropts.h/conform): Likewise.
30649         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30650         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30651         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30652         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30653         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30654         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30655         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30656         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30657         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30658         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30659         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30660         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30661         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30662         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30663         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30665 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
30667         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
30668         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
30669         definitions for proper unfolding of __MATHDECL_VEC.
30671 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
30673         * benchtests/bench-strcoll.c:
30674         Include string.h.
30675         (main): Remove unused variable res.
30677 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
30679         * timezone/Makefile (%/UTC %/Universal):
30680         Generate test-result files for UTC and Universal.
30682 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
30684         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30686 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
30688         [BZ #16350]
30689         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
30690         for arguments with small absolute value.
30691         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
30692         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
30693         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
30694         (__asinh): Force underflow exception for arguments with small
30695         absolute value.
30696         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
30697         (__asinhf): Force underflow exception for arguments with small
30698         absolute value.
30699         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
30700         (__asinhl): Force underflow exception for arguments with small
30701         absolute value.
30702         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
30703         (__asinhl): Force underflow exception for arguments with small
30704         absolute value.
30705         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
30706         (__asinhl): Force underflow exception for arguments with small
30707         absolute value.
30708         * math/auto-libm-test-in: Do not mark underflow exceptions as
30709         possibly missing for bug 16350.
30710         * math/auto-libm-test-out: Regenerated.
30712         * include/bits/ipc.h: Remove file.
30713         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
30714         variable.
30715         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30716         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30717         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30718         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30719         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30720         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30721         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30722         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30723         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30725         * math/auto-libm-test-in: Remove spurious underflow allowance for
30726         tests of cexp.
30727         * math/auto-libm-test-out: Regenerated.
30729         [BZ #18558]
30730         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
30731         unconditional definition.
30732         (MCAST_BLOCK_SOURCE): Likewise.
30733         (MCAST_UNBLOCK_SOURCE): Likewise.
30734         (MCAST_LEAVE_GROUP): Likewise.
30735         (MCAST_JOIN_SOURCE_GROUP): Likewise.
30736         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
30737         (MCAST_MSFILTER): Likewise.
30738         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
30739         Remove variable.
30740         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30741         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30742         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30743         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30744         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30746 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
30748         * NEWS: Mention addition of x86_64 vector sincosf.
30749         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
30750         * math/test-float-vlen4.h: Likewise.
30751         * math/test-float-vlen8.h: Likewise.
30752         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30753         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
30754         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30755         * sysdeps/x86_64/fpu/Versions: New versions added.
30756         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30757         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30758         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30759         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
30760         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
30761         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
30762         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
30763         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
30764         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
30765         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
30766         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
30767         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
30768         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
30769         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
30770         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
30771         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
30772         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
30773         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
30774         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30775         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30776         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30777         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30778         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30779         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30781         * NEWS: Mention addition of x86_64 vector sincos.
30782         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
30783         * math/math.h (__MATHDECL_VEC): New macro.
30784         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
30785         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
30786         declaration under condition.
30787         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
30788         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
30789         TEST_VEC_LOOP change.
30790         * math/test-double-vlen4.h: Likewise.
30791         * math/test-double-vlen8.h: Likewise.
30792         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
30793         * math/test-float-vlen4.h: Likewise.
30794         * math/test-float-vlen8.h: Likewise.
30795         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30796         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
30797         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30798         * sysdeps/x86_64/fpu/Versions: New versions added.
30799         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30800         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30801         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30802         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
30803         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
30804         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
30805         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
30806         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
30807         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
30808         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
30809         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
30810         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
30811         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
30812         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
30813         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
30814         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
30815         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
30816         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30817         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30818         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30819         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30820         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30821         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30822         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30824         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30825         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30826         redirections for powf.
30827         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30828         * sysdeps/x86_64/fpu/Versions: New versions added.
30829         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30830         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30831         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30832         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
30833         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
30834         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
30835         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
30836         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
30837         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
30838         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
30839         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
30840         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
30841         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
30842         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
30843         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
30844         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
30845         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
30846         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30847         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30848         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30849         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30850         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30851         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30852         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30853         * math/test-float-vlen16.h: Fixed 2 argument macro.
30854         * math/test-float-vlen4.h: Likewise.
30855         * math/test-float-vlen8.h: Likewise.
30856         * NEWS: Mention addition of x86_64 vector powf.
30858 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
30860         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30861         and redefine.
30862         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30863         and redefine.
30864         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
30865         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30866         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30868         [BZ #18553]
30869         * resource/getpriority.c (getpriority): Rename to __getpriority
30870         and define as weak alias of __getpriority.
30871         * resource/setpriority.c (setpriority): Rename to __setpriority
30872         and define as weak alias of __setpriority.
30873         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
30874         __getpriority and define as weak alias of __getpriority.
30875         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
30876         __setpriority and define as weak alias of __setpriority.
30877         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
30878         strong name.
30879         (setpriority): Use __setpriority as strong name.
30880         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
30881         __getpriority and define as weak alias of __getpriority.
30882         * include/sys/resource.h (__getpriority): Declare.  Use
30883         libc_hidden_proto.
30884         (__setpriority): Likewise.
30885         (getpriority): Don't use libc_hidden_proto.
30886         (setpriority): Likewise.
30887         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
30888         getpriority.  Call __setpriority instead of setpriority.
30889         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
30890         Remove variable.
30892         [BZ #18547]
30893         * misc/getttyent.c (getttynam): Rename to __getttynam and define
30894         as weak alias of __getttynam.  Use prototype function definition.
30895         Call __setttyent, __getttyent and __endttyent instead of
30896         setttyent, getttyent and endttyent.
30897         (getttyent): Rename to __getttyent and define as weak alias of
30898         __getttyent.  Call __setttyent instead of setttyent.  Call
30899         __fgets_unlocked instead of fgets_unlocked.
30900         (setttyent): Rename to __setttyent and define as weak alias of
30901         __setttyent.
30902         (endttyent): Rename to __endttyent and define as weak alias of
30903         __endttyent.
30904         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
30905         (__setttyent): Likewise.
30906         (__endttyent): Likewise.
30907         (getttyent): Don't use libc_hidden_proto.
30908         (setttyent): Likewise.
30909         (endttyent): Likewise.
30910         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
30911         __endttyent instead of setttyent, getttyent and endttyent.
30912         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
30913         Remove variable.
30915         [BZ #18546]
30916         * socket/recv.c (__recv): Use libc_hidden_def.
30917         * socket/socket.c (__socket): Likewise.
30918         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
30919         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
30920         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
30921         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
30922         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
30923         libc_hidden_def.
30924         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
30925         libc_hidden_weak.
30926         * include/sys/socket.h (__socket): Do not use attribute_hidden.
30927         Use libc_hidden_proto.
30928         (__recv): Likewise.
30929         * socket/Versions (libc): Export __recv and __socket at version
30930         GLIBC_PRIVATE.
30931         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
30932         instead of recv.
30933         (init_mq_netlink): Call __socket instead of socket.
30934         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
30935         Remove variable.
30937         [BZ #18545]
30938         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
30939         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
30940         hidden_weak.
30941         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
30942         define as alias of __mq_timedsend.  Use hidden_weak.
30943         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
30944         __mq_timedsend as strong name.
30945         (mq_timedreceive): Use __mq_timedreceive as strong name.
30946         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
30947         (__mq_timedreceive): Likewise.
30948         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
30949         __mq_timedreceive instead of mq_timedreceive.
30950         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
30951         instead of mq_timedsend.
30952         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
30953         Remove variable.
30955         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
30956         hidden_def and hidden_weak instead of libc_hidden_def and
30957         libc_hidden_weak.
30958         (top level): Refer to hidden_def in comment.
30959         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
30960         macro.  Use it instead of libc_hidden_def.
30961         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
30962         specify __GI_* name explicitly.
30963         (mq_timedreceive): Likewise.
30964         (mq_setattr): Likewise.
30966         [BZ #18544]
30967         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
30968         __pthread_barrier_init and define as weak alias of
30969         __pthread_barrier_init.
30970         * sysdeps/sparc/nptl/pthread_barrier_init.c
30971         (pthread_barrier_init): Likewise.
30972         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
30973         __pthread_barrier_wait and define as weak alias of
30974         __pthread_barrier_wait.
30975         * sysdeps/sparc/nptl/pthread_barrier_wait.c
30976         (pthread_barrier_wait): Likewise.
30977         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
30978         (pthread_barrier_wait): Likewise.
30979         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
30980         (pthread_barrier_wait): Likewise.
30981         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
30982         (pthread_barrier_wait): Likewise.
30983         * nptl/Versions (libpthread): Export __pthread_barrier_init and
30984         __pthread_barrier_wait at version GLIBC_PRIVATE.
30985         * include/pthread.h (__pthread_barrier_init): Declare.
30986         (__pthread_barrier_wait): Likewise.
30987         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
30988         Call __pthread_barrier_wait instead of pthread_barrier_wait.
30989         (helper_thread): Likewise.
30990         (init_mq_netlink): Call __pthread_barrier_init instead of
30991         pthread_barrier_init.
30993         [BZ #18542]
30994         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
30995         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
30996         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
30997         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
30998         vswscanf.
30999         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
31000         Remove variable.
31002         [BZ #18540]
31003         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
31004         strong alias of _IO_fflush.  Use libc_hidden_def.
31005         * libio/iofflush_u.c (fflush_unlocked): Rename to
31006         __fflush_unlocked and define as weak alias of __fflush_unlocked.
31007         Use libc_hidden_weak.
31008         * include/stdio.h (__fflush_unlocked): Declare.  Use
31009         libc_hidden_proto.
31010         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
31011         fflush_unlocked.
31012         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
31013         Remove variable.
31015         [BZ #18539]
31016         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
31017         define as weak alias of __addseverity.
31018         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
31019         Remove variable.
31020         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31021         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31022         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31024         [BZ #18536]
31025         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
31026         (__tfind): Likewise.
31027         (__tdelete): Likewise.
31028         (__twalk): Likewise.
31029         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
31030         __twalk to GLIBC_PRIVATE.
31031         * include/search.h (__tsearch): Use libc_hidden_proto.
31032         (__tfind): Likewise.
31033         (__tdelete): Likewise.
31034         (__twalk): Likewise.
31035         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
31036         Call __tdelete instead of tdelete.
31037         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
31038         tfind.  Call __tsearch instead of tsearch.
31039         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
31040         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
31041         Remove variable.
31042         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31044         [BZ #18534]
31045         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
31046         (dprintf): Define as a weak alias of __dprintf, not a strong
31047         alias.
31048         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
31049         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
31050         dprintf.
31051         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
31052         Remove variable.
31053         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31054         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31056         [BZ #18533]
31057         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
31058         not a strong alias.
31059         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
31060         Remove variable.
31062         [BZ #18532]
31063         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
31064         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
31065         (in6addr_loopback): Rename to __in6addr_loopback and define as
31066         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
31067         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
31068         libc_hidden_proto.
31069         (__in6addr_any): Likewise.
31070         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
31071         in6addr_any.
31072         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
31073         variable.
31074         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31076 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
31078         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
31079         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
31080         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31081         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31082         redirections for pow.
31083         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31084         * sysdeps/x86_64/fpu/Versions: New versions added.
31085         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31086         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31087         build of SSE, AVX2 and AVX512 IFUNC versions.
31088         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
31089         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
31090         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
31091         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
31092         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
31093         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
31094         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
31095         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
31096         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
31097         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
31098         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
31099         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
31100         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
31101         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
31102         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31103         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31104         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31105         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31106         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31107         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31108         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31109         * NEWS: Mention addition of x86_64 vector pow.
31111         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31112         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31113         redirections for expf.
31114         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31115         * sysdeps/x86_64/fpu/Versions: New versions added.
31116         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31117         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31118         build of SSE, AVX2 and AVX512 IFUNC versions.
31119         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
31120         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
31121         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
31122         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
31123         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
31124         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
31125         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
31126         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
31127         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
31128         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
31129         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
31130         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
31131         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
31132         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31133         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31134         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31135         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31136         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31137         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31138         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31139         * NEWS: Mention addition of x86_64 vector expf.
31141         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
31142         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
31143         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31144         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31145         redirections for exp.
31146         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31147         * sysdeps/x86_64/fpu/Versions: New versions added.
31148         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31149         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31150         build of SSE, AVX2 and AVX512 IFUNC versions.
31151         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
31152         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
31153         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
31154         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
31155         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
31156         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
31157         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
31158         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
31159         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
31160         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
31161         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
31162         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
31163         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
31164         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31165         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31166         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31167         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31168         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31169         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31170         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31171         * NEWS: Mention addition of x86_64 vector exp.
31173         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31174         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31175         redirections for logf.
31176         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31177         * sysdeps/x86_64/fpu/Versions: New versions added.
31178         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31179         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31180         build of SSE, AVX2 and AVX512 IFUNC versions.
31181         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
31182         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
31183         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
31184         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
31185         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
31186         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
31187         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
31188         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
31189         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
31190         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
31191         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
31192         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
31193         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
31194         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31195         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31196         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31197         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31198         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31199         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31200         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31201         * NEWS: Mention addition of x86_64 vector logf.
31203         * bits/libm-simd-decl-stubs.h: Added stubs for log.
31204         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
31205         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31206         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31207         redirections for log.
31208         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31209         * sysdeps/x86_64/fpu/Versions: New versions added.
31210         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31211         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31212         build of SSE, AVX2 and AVX512 IFUNC versions.
31213         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
31214         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
31215         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
31216         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
31217         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
31218         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
31219         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
31220         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
31221         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
31222         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
31223         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
31224         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
31225         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
31226         test.
31227         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31228         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31229         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31230         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31231         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31232         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31233         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31234         * NEWS: Mention addition of x86_64 vector log.
31236 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31238         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
31239         cfi_adjust_cfa_offset argument.
31240         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
31241         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
31243         [BZ #18034]
31244         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
31245         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
31246         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
31247         ordering using ldar.
31248         (_dl_tlsdesc_dynamic): Likewise.
31249         (_dl_tlsdesc_return_lazy): Likewise.
31250         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
31251         relaxed atomics instead of volatile and synchronize with release store.
31252         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
31253         volatile.
31254         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31256 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
31258         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31259         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
31260         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31261         * sysdeps/x86_64/fpu/Versions: New versions added.
31262         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31263         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31264         build of SSE, AVX2 and AVX512 IFUNC versions.
31265         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
31266         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
31267         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
31268         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
31269         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
31270         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
31271         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
31272         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
31273         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
31274         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
31275         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
31276         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
31277         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
31278         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31279         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31280         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31281         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31282         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31283         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31284         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31285         * NEWS: Mention addition of x86_64 vector sinf.
31287 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
31289         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
31290         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
31291         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
31292         Remove variable.
31293         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31294         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31296 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
31298         [BZ #18530]
31299         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
31300         strong alias of _IO_fputs.  Use libc_hidden_def.
31301         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
31302         and define as weak alias of __fputs_unlocked.  Use
31303         libc_hidden_weak.
31304         * include/stdio.h (__fputs_unlocked): Declare.  Use
31305         libc_hidden_proto.
31306         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
31307         fputs_unlocked.
31309         [BZ #18529]
31310         * resolv/netdb.h [__USE_POSIX]: Change condition to
31311         [__USE_XOPEN2K].
31312         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
31313         not expect.
31314         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
31315         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
31316         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
31317         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
31318         [XPG4 || UNIX98] (AI_ALL): Likewise.
31319         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
31320         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
31321         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
31322         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
31323         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
31324         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
31325         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
31326         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
31327         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
31328         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
31329         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
31330         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
31331         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
31332         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
31333         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
31334         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
31335         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
31336         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
31337         [XPG4 || UNIX98] (gai_strerror): Likewise.
31338         [XPG4 || UNIX98] (getaddrinfo): Likewise.
31339         [XPG4 || UNIX98] (getnameinfo): Likewise.
31341         [BZ #18528]
31342         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
31343         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
31344         __USE_XOPEN2K8].
31345         (getgrent): Likewise.
31346         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
31347         expect.
31348         [XPG3 || POSIX2008] (endgrent): Likewise.
31349         [XPG3] (setgrent): Likewise.
31350         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
31351         variable.
31352         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31354         [BZ #18527]
31355         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
31356         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
31357         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
31358         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
31359         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
31360         * include/unistd.h (__getlogin_r): Declare.  Use
31361         libc_hidden_proto.
31362         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
31363         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
31364         variable.
31365         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31366         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31367         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31369 2015-06-12  Martin Sebor  <msebor@redhat.com>
31371         [BZ #18512]
31372         * Makerules (check-install-supported): New target.
31373         (install): Add check-install-supported as a dependency.
31374         * manual/install.texi (Installing the C Library): Document
31375         that overriding prefix and exec_prefix is not supported.
31376         Mention DESTDIR.
31377         * INSTALL: Regenerate from the above.
31379 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
31381         [BZ #18519]
31382         * posix/Versions (libc): Export __libc_pread at version
31383         GLIBC_PRIVATE.
31384         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
31385         instead of pread.
31386         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
31387         variable.
31389         [BZ #18522]
31390         * misc/efgcvt_r.c
31391         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
31392         (cvt_symbol): Use weak_alias instead of strong_alias.
31393         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
31394         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
31395         Remove variable.
31396         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31397         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31399         [BZ #18520]
31400         * inet/herrno.c (h_errno): Rename to __h_errno.
31401         (__libc_h_errno): Define as alias of __h_errno not h_errno.
31402         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
31403         to __h_errno instead of h_errno.
31404         * nptl/herrno.c (h_errno): Rename to __h_errno.
31405         (__h_errno_location): Refer to __h_errno not h_errno.
31406         * resolv/Versions (h_errno): Rename to __h_errno.
31407         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
31408         Remove variable.
31409         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31411 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
31413         * configure.ac: More strict check for AVX512 assembler support.
31414         * configure: Regenerated.
31416         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
31417         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
31418         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31419         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
31420         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31421         * sysdeps/x86_64/fpu/Versions: New versions added.
31422         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31423         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31424         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31425         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
31426         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
31427         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
31428         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
31429         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
31430         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
31431         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
31432         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
31433         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
31434         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
31435         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
31436         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
31437         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
31438         test.
31439         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31440         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31441         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31442         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31443         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31444         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31445         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31446         * NEWS: Mention addition of x86_64 vector sin.
31448 2015-06-11  Florian Weimer  <fweimer@redhat.com>
31450         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
31451         comment.
31453 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
31455         [BZ #18479]
31456         * nptl/pt-interp.c: New file.
31457         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
31458         Add pt-interp.
31459         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
31460         $(common-objpfx)runtime-linker.h.
31462 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
31464         * Makeconfig (+interp): Remove unused variable.
31465         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
31466         only.  Depend on $(common-objpfx)runtime-linker.h instead of
31467         $(elf-objpfx)runtime-linker.h.
31468         ($(elf-objpfx)runtime-linker.h): Rename to
31469         $(common-objpfx)runtime-linker.h and move ...
31470         * Makerules [$(build-shared) = yes]: ... here.
31471         * elf/interp.c: Include <runtime-linker.h> instead of
31472         <elf/runtime-linker.h>.
31474 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31476         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
31477         (__gettimeofday_syscall): Remove vsyscall fallback.
31478         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
31479         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
31480         Add syscall fallback function.
31481         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
31482         if vDSO is not present.
31483         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
31484         fallback function.
31485         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
31486         present.
31487         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
31488         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31490 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
31492         [BZ #18497]
31493         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
31494         of wcscmp.
31495         (wcscmp): Define as weak alias of WCSCMP.
31496         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
31497         wcscoll.
31498         (USE_HIDDEN_DEF): Define.
31499         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
31500         __wcscoll.  Don't use libc_hidden_weak.
31501         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
31502         wcscmp.
31503         * sysdeps/i386/i686/multiarch/wcscmp-c.c
31504         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
31505         __GI_wcscmp.
31506         (weak_alias): Undefine and redefine.
31507         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
31508         __wcscmp and define as weak alias of __wcscmp.
31509         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
31510         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
31511         (__wcscoll): Likewise.
31512         (wcscmp): Don't use libc_hidden_proto.
31513         (wcscoll): Likewise.
31514         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
31515         wcscoll.
31516         * posix/regexec.c (check_node_accept_bytes): Likewise.
31517         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
31518         variable.
31519         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31520         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31522         [BZ #18507]
31523         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
31524         __fstatvfs and define as weak alias of __fstatvfs.  Use
31525         libc_hidden_weak.
31526         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
31527         and define as weak alias of __statvfs.  Use libc_hidden_weak.
31528         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
31529         Define as alias of __fstatvfs, not fstatvfs.
31530         (fstatvfs64): Likewise.
31531         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
31532         Define as alias of __statvfs, not statvfs.
31533         (statvfs64): Likewise.
31534         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
31535         Remove variable.
31537 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31540         (HAVE_GETCPU_VSYSCALL): Define.
31541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31542         (HAVE_GETCPU_VSYSCALL): Likewise.
31543         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
31544         * sysdeps/unix/sysv/linux/sched_getcpu.c
31545         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
31546         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
31547         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
31548         prototype.
31549         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31550         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
31551         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
31552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
31553         Define.
31554         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
31555         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31556         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
31557         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31559 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
31561         * sysdeps/x86_64/fpu/Makefile: New file.
31562         * sysdeps/x86_64/fpu/Versions: New file.
31563         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
31564         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
31565         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
31566         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
31567         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
31568         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
31569         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
31570         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
31571         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
31572         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
31573         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
31574         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
31575         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
31576         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31577         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31578         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
31579         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
31580         * sysdeps/x86_64/configure.ac: Options for libmvec build.
31581         * sysdeps/x86_64/configure: Regenerated.
31582         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
31583         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
31584         * manual/install.texi (Configuring and compiling): Document
31585         --disable-mathvec.
31586         * INSTALL: Regenerated.
31587         * NEWS: Mention addition of libmvec and x86_64 vector cos.
31589         * math/Makefile: Added rules for vector tests.
31590         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
31591         declaration under condition.
31592         * math/test-double-vlen2.h: New file.
31593         * math/test-double-vlen4.h: New file.
31594         * math/test-double-vlen8.h: New file.
31595         * math/test-vec-loop.h: Added initialization macro.
31596         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
31597         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
31598         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
31599         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
31600         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
31601         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
31602         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
31603         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
31604         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
31605         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
31606         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
31608         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31609         * sysdeps/x86_64/fpu/Versions: New versions added.
31610         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
31611         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
31612         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
31613         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
31614         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
31615         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
31616         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
31617         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
31618         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
31619         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
31620         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
31621         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
31622         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
31623         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31624         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31625         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31626         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
31627         * NEWS: Mention addition of x86_64 vector cosf.
31629         * math/Makefile: Added CFLAGS for new tests.
31630         * math/test-float-vlen16.h: New file.
31631         * math/test-float-vlen4.h: New file.
31632         * math/test-float-vlen8.h: New file.
31633         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
31634         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
31635         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31636         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
31637         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
31638         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
31639         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
31640         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
31641         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
31642         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
31643         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
31645 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
31647         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
31648         * locale/programs/ld-ctype.c: Likewise.
31650 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
31652         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
31653         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
31654         bit_ZMM16_31_state): New macro.
31655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31656         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
31658 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
31660         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
31662 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
31664         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
31666 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
31668         [BZ #18498]
31669         * libio/memstream.c (open_memstream): Rename to __open_memstream
31670         and define as weak alias of __open_memstream.
31671         * include/stdio.h (__open_memstream): Declare.  Use
31672         libc_hidden_proto.
31673         (open_memstream): Don't use libc_hidden_proto.
31674         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
31675         open_memstream.
31676         * posix/getopt.c (_getopt_internal_r): Likewise.
31677         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
31678         variable.
31679         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31680         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31681         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31683         [BZ #18496]
31684         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
31685         instead of wcrtomb.
31687         [BZ #18483]
31688         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
31689         [__USE_XOPEN2K8].  Remove redundant #endif.
31690         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
31691         Remove redundant #if.
31692         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
31693         Remove variable.
31694         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31695         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31697         [BZ #18495]
31698         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
31699         (__iswlower): Likewise.
31700         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
31701         (__iswlower): Likewise.
31702         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
31703         instead of towlower.
31704         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
31705         instead of iswlower.  Call __towupper instead of towupper.
31706         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
31707         instead of iswalnum.
31709 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31711         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
31712         errors to stderr.
31714 2015-06-05  Florian Weimer  <fweimer@redhat.com>
31716         [BZ #15661]
31717         [BZ #17322]
31718         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31719         Check for overflow properly.  Check for O_APPEND.  Ignore large
31720         file system block sizes.  Add comments about problems.
31721         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
31722         * manual/filesys.texi (Storage Allocation): New node.
31724 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31726         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
31727         cancellable syscalls.
31728         (SYS_ify): Add guard to no redefine it.
31729         (INLINE_SYSCALL): Likewise.
31730         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
31731         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
31732         SYSCALL_CANCEL instead.
31733         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
31734         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
31735         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
31736         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
31737         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
31738         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
31739         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
31740         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
31741         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
31742         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
31743         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
31744         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
31745         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
31746         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
31747         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
31748         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
31749         Likewise.
31750         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
31751         (__libc_pread64): Likewise.
31752         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
31753         (__libc_preadv): Likewise.
31754         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
31755         (__libc_readv64): Likewise.
31756         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
31757         (__libc_pwrite): Likewise.
31758         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
31759         (__libc_pwrite64): Likewise.
31760         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
31761         (__libc_pwritev): Likewise.
31762         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
31763         (__libc_pwritev64): Likewise.
31764         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
31765         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
31766         (sync_file_range): Likewise.
31767         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
31768         Likewise.
31769         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
31770         Likewise.
31771         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
31772         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
31773         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
31774         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
31775         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
31776         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
31777         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
31778         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
31779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
31780         Likewise.
31781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31782         (__libc_read64): Likewise.
31783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
31784         Likewise.
31785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
31786         Likewise.
31787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
31788         Likewise.
31789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
31790         Likewise.
31791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31792         (__libc_pread64): Likewise.
31793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
31794         Likewise.
31795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31796         (__libc_pwrite64): Likewise.
31797         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
31798         (sync_file_range): Likewise.
31799         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
31800         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
31801         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
31802         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
31803         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
31804         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
31805         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
31806         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
31807         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
31808         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31809         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31810         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
31811         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
31812         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
31813         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
31814         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
31815         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
31816         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
31817         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
31818         Likewise.
31819         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
31820         Likewise.
31821         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
31822         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
31823         Likewise.
31824         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
31825         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
31826         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
31827         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
31828         Likewise.
31829         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
31830         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
31831         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
31832         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
31833         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
31835 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
31837         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
31838         Include dl-vdso.
31839         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
31840         Use VDSO routines for gettimeofday, clock_gettime if
31841         available.
31842         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
31843         Declare VDSO symbols.
31844         * sysdeps/unix/sysv/linux/arm/sysdep.h:
31845         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
31846         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31847         * sysdeps/unix/sysv/linux/arm/Versions: Add
31848         __vdso_clock_gettime.
31850 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31852         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
31853         be an inline implementation regardless of library is built within.
31854         (open_not_cancel_2): Likewise.
31855         (__read_nocancel): Likewise.
31856         (__write_nocancel): Likewise.
31857         (openat_not_cancel): Likewise.
31858         (openat_not_cancel_3): Likewise.
31859         (openat64_not_cancel): Likewise.
31860         (openat64_not_cancel_3): Likewise.
31861         (__close_nocancel): Likewise.
31862         (pause_not_cancel): Likewise.
31863         (nanosleep_not_cancel): Likewise.
31864         (sigsuspend_not_cancel): Likewise.
31866 2015-06-04  Torvald Riegel  <triegel@redhat.com>
31868         [BZ #14958]
31869         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
31870         wake-up.
31871         (__pthread_rwlock_rdlock_slow): Likewise.
31872         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31873         Likewise.
31874         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
31875         Likewise.
31876         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
31877         * nptl/tst-rwlock16.c: New file.
31878         * nptl/Makefile (tests): Add new test.
31880 2015-06-04  Torvald Riegel  <triegel@redhat.com>
31882         [BZ #18324]
31883         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
31884         missing wake-up of readers.
31885         * nptl/tst-rwlock15.c: New file.
31886         * nptl/Makefile (tests): Add new test.
31888 2015-06-03  Roland McGrath  <roland@hack.frob.com>
31890         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
31891         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
31892         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
31893         and __nacl_supply_interface_rtld.
31894         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
31895         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
31896         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
31897         Add __nacl_supply_interface_rtld.
31898         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
31900 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
31902         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
31903         isfinite.
31904         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31905         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
31907 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
31909         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
31910         __signbit* with standard C99 macros.
31911         * math/e_exp10l.c: Likewise.
31912         * math/e_exp2l.c: Likewise.
31913         * math/e_scalb.c: Likewise.
31914         * math/e_scalbf.c: Likewise.
31915         * math/e_scalbl.c: Likewise.
31916         * math/s_ldexp.c: Likewise.
31917         * math/s_ldexpf.c: Likewise.
31918         * math/s_ldexpl.c: Likewise.
31919         * math/w_atan2.c: Likewise.
31920         * math/w_atan2f.c: Likewise.
31921         * math/w_atan2l.c: Likewise.
31922         * math/w_cosh.c: Likewise.
31923         * math/w_coshf.c: Likewise.
31924         * math/w_coshl.c: Likewise.
31925         * math/w_exp10.c: Likewise.
31926         * math/w_exp10f.c: Likewise.
31927         * math/w_exp10l.c: Likewise.
31928         * math/w_exp2.c: Likewise.
31929         * math/w_exp2f.c: Likewise.
31930         * math/w_exp2l.c: Likewise.
31931         * math/w_fmod.c: Likewise.
31932         * math/w_fmodf.c: Likewise.
31933         * math/w_fmodl.c: Likewise.
31934         * math/w_hypot.c: Likewise.
31935         * math/w_hypotf.c: Likewise.
31936         * math/w_hypotl.c: Likewise.
31937         * math/w_jnl.c: Likewise.
31938         * math/w_lgamma.c: Likewise.
31939         * math/w_lgamma_r.c: Likewise.
31940         * math/w_lgammaf.c: Likewise.
31941         * math/w_lgammaf_r.c: Likewise.
31942         * math/w_lgammal.c: Likewise.
31943         * math/w_lgammal_r.c: Likewise.
31944         * math/w_pow.c: Likewise.
31945         * math/w_powf.c: Likewise.
31946         * math/w_powl.c: Likewise.
31947         * math/w_remainder.c: Likewise.
31948         * math/w_remainderf.c: Likewise.
31949         * math/w_remainderl.c: Likewise.
31950         * math/w_scalb.c: Likewise.
31951         * math/w_scalbf.c: Likewise.
31952         * math/w_scalbl.c: Likewise.
31953         * math/w_scalbln.c: Likewise.
31954         * math/w_scalblnf.c: Likewise.
31955         * math/w_scalblnl.c: Likewise.
31956         * math/w_sinh.c: Likewise.
31957         * math/w_sinhf.c: Likewise.
31958         * math/w_sinhl.c: Likewise.
31959         * math/w_tgamma.c: Likewise.
31960         * math/w_tgammaf.c: Likewise.
31961         * math/w_tgammal.c: Likewise.
31962         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31963         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
31964         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31965         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31966         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31967         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31968         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31969         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31970         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31971         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31972         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31973         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31974         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31975         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31976         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31977         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31978         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31979         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31980         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31981         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31982         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31983         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31984         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31985         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31986         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31987         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31988         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
31989         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31990         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31991         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31992         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
31993         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
31994         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
31995         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
31996         * stdio-common/printf_fp.c: Likewise.
31997         * stdio-common/printf_fphex.c: Likewise.
31998         * stdio-common/printf_size.c: Likewise.
32000 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
32002         [BZ #18470]
32003         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
32004         strnlen.
32005         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
32006         Remove variable.
32007         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
32008         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
32009         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
32010         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
32011         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
32012         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
32013         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
32014         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
32015         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
32016         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
32018         [BZ #18468]
32019         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
32020         weak alias of __wmemchr.  Use libc_hidden_weak.
32021         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
32022         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
32023         instead of wmemchr.
32025 2015-06-02  Roland McGrath  <roland@hack.frob.com>
32027         [BZ #18383]
32028         * elf/tst-tlsalign-extern.c: New file.
32029         * elf/tst-tlsalign-extern-static.c: New file.
32030         * elf/tst-tlsalign-vars.c: New file.
32031         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
32032         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
32033         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
32034         ($(objpfx)tst-tlsalign-extern-static): Likewise.
32035         (test-xfail-tst-tlsalign-extern-static): New variable.
32037 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
32039         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
32040         Use variable name _sc_err instead of err.
32041         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
32042         instead of ret.
32043         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
32044         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
32045         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
32046         (INLINE_SYSCALL): Likewise.
32048         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
32049         * include/string.h (__strnlen): Use libc_hidden_proto.
32050         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
32051         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
32052         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
32053         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
32054         (libc_hidden_def): Undefine and redefine.
32055         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
32056         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
32057         __GI_strnlen.
32058         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
32059         libc_hidden_def.
32060         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
32062         [BZ #18469]
32063         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
32064         weak alias of __towlower.  Use libc_hidden_weak.
32065         (towupper): Rename to __towupper and define as weak alias of
32066         __towupper.  Use libc_hidden_weak.
32067         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
32068         (__towupper): Likewise.
32069         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
32070         __towlower instead of towlower.
32072 2015-06-02  Roland McGrath  <roland@hack.frob.com>
32074         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
32075         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
32077 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32079         * sysdeps/aarch64/libm-test-ulps: Update.
32081 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32083         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
32084         Define.
32085         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32086         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32087         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
32088         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32089         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
32090         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
32091         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
32093 2015-06-01  Martin Sebor  <msebor@redhat.com>
32095         [BZ #18116]
32096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32097         (__setcontext): Use extended four-operand version of mtsf whenever
32098         possible.
32099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32100         (__novec_swapcontext): Likewise.
32102 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32104         * benchtests/scripts/compare_bench.py: New file.
32105         * benchtests/scripts/import_bench.py (mean): New function.
32106         (split_list): Likewise.
32107         (do_for_all_timings): Likewise.
32108         (compress_timings): Likewise.
32110         * benchtests/scripts/import_bench.py: New file.
32111         * benchtests/scripts/validate_benchout.py: Import import_bench
32112         instead of jsonschema.
32113         (validate_bench): Remove function.
32114         (main): Use import_bench.
32116 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
32118         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
32119         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
32121 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32125 2015-05-28  Roland McGrath  <roland@hack.frob.com>
32127         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
32128         set THREAD_SELF->tid to a magic value and futex-wake it.
32129         Pass its address to the thread_exit system call.
32130         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
32131         bit is clear.
32132         * sysdeps/nacl/lowlevellock.h: New file.
32133         * sysdeps/nacl/lll_timedwait_tid.c: New file.
32135         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
32136         Add TIMEOUT to current time, don't subtract it.
32138 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
32140         [BZ #2981]
32141         [BZ #18422]
32142         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
32143         ($(objpfx)tst-audit2.out): Also depend on
32144         $(objpfx)tst-auditmod9b.so.
32145         * elf/tst-audit2.c: Include <dlfcn.h>.
32146         (calloc_called): New.
32147         (calloc): Allow to be called more than once.
32148         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
32150 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
32152         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
32153         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
32155 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
32157         * stdlib/monetary.h: Fix comment.
32159 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
32161         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
32162         Avoid using variables in #defines that might cause shadowing.
32163         (INTERNAL_VSYSCALL_CALL): Likewise.
32165 2015-05-26  Roland McGrath  <roland@hack.frob.com>
32167         * sysdeps/nacl/lll_timedlock_wait.c: New file.
32169         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
32170         * nptl/lll_timedlock_wait.c: ... to this new file.
32171         * nptl/Makefile (libpthread-routines): Add it.
32172         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
32173         * nptl/lll_timedwait_tid.c: ... to this new file.
32174         * nptl/Makefile (libpthread-routines): Add it.
32175         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
32176         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
32177         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
32178         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
32179         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
32180         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
32181         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
32182         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
32183         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
32184         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
32186 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32188         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
32189         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32190         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32191         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
32192         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
32193         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32194         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32195         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32196         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32197         * sysdeps/unix/sysv/linux/tile/sysdep.h
32198         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32199         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
32200         using vDSO syscall macro.
32202 2015-05-26  Andriy Rysin  <arysin@gmail.com>
32204         [BZ #17293]
32205         * uk_UA: Fix sorting order for Ukrainian locale
32207 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
32209         * stdlib/monetary.h: Fix comment.
32211 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32213         [BZ #18234]
32214         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
32215         st_mtim and st_ctim members.
32216         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
32217         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
32218         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
32219         (struct stat64): Likewise.
32220         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
32221         (struct stat64): Likewise.
32222         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
32223         (struct stat64): Likewise.
32225 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32227         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
32228         Define and include sysdep-vdso.h.
32229         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
32230         Likewise.
32231         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
32232         Likewise.
32233         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
32234         Define with VDSO_SYMBOL and use PTR_MANGLE.
32235         (__vdso_clock_gettime): Likewise.
32236         (__vdso_clock_getres): Likewise.
32237         (_libc_vdso_platform_setup): Likewise.
32238         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32239         Likewise.
32240         (_libc_vdso_platform_setup): Likewise.
32241         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
32242         Likewise.
32243         (__vdso_clock_gettime): Likewise.
32244         (__vdso_clock_getres): Likewise.
32245         (__vdso_get_tbfreq): Likewise.
32246         (__vdso_getcpu): Likewise.
32247         (__vdso_time): Likewise.
32248         (__vdso_sigtramp_rt64): Likewise.
32249         (__vdso_signtramp32): Likewise.
32250         (__vdso_sigtramp_rt32): Likewise.
32251         (_libc_vdso_platform_setup): Likewise.
32252         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
32253         Likewise.
32254         (__vdso_clock_gettime): Likewise.
32255         (__vdso_clock_getres): Likewise.
32256         (_libc_vdso_platform_setup): Likewise.
32257         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
32258         Likewise.
32259         (__vdso_clock_gettime): Likewise.
32260         (_libc_vdso_platform_setup): Likewise.
32261         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32262         Likewise.
32263         (__vdso_getcpu): Likewise.
32264         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
32265         Use VDSO_SYMBOL macro to define.
32266         (__vdso_clock_gettime): Likewise.
32267         (__vdso_clock_getres): Likewise.
32268         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
32269         Likewise.
32270         (__vdso_clock_gettime): Likewise.
32271         (__vdso_clock_getres): Likewise.
32272         (__vdso_get_tbfreq): Likewise.
32273         (__vdso_getcpu): Likewise.
32274         (__vdso_time): Likewise.
32275         (__vdso_sigtramp_rt64): Likewise.
32276         (__vdso_signtramp32): Likewise.
32277         (__vdso_sigtramp_rt32): Likewise.
32278         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
32279         Likewise.
32280         (__vdso_clock_gettime): Likewise.
32281         (__vdso_clock_getres): Likewise.
32282         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
32283         Likewise.
32284         (__vdso_clock_gettime): Likewise.
32285         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32286         Likewise.
32287         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
32288         macro.
32289         (INTERNAL_VSYSCALL): Likewise.
32290         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
32291         Remove macro.
32292         (INTERNAL_VSYSCALL): Likewise.
32293         (INTERNAL_VSYSCALL_NCS): Likewise.
32294         (INTERNAL_VSYSCALL_CALL): New macro.
32295         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
32296         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
32297         Likewise.
32298         (INTERNAL_VSYSCALL): Likewise.
32299         (INTERNAL_VSYSCALL_NCS): Likewise.
32300         (INTERNAL_VSYSCALL_CALL): New macro.
32301         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
32302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32303         (INLINE_VSYSCALL): Remove macro.
32304         (INTERNAL_VSYSCALL): Remove macro.
32305         (INTERNAL_VSYSCALL_NCS): Remove macro.
32306         (INTERNAL_VSYSCALL_CALL): New macro.
32307         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
32308         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
32309         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
32310         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
32311         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
32312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32313         (INLINE_VSYSCALL): Remove macro.
32314         (INTERNAL_VSYSCALL): Likewise.
32315         (INTERNAL_VSYSCALL_NCS): Likewise.
32316         (INTERNAL_VSYSCALL_CALL): New macro.
32317         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
32318         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
32319         PTR_DEMANGLE on vDSO pointer.
32320         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
32321         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
32322         macro.
32323         (INTERNAL_SYSCALL): Likewise.
32324         (INTERNAL_VSYSCALL_NCS): Remove macro.
32325         (INTERNAL_VSYSCALL_CALL): New macro.
32326         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
32327         Remove macro.
32328         (INTERNAL_VSYSCALL): Likewise.
32329         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
32330         sysdep-vdso.h instead of libc-vdso.h.
32331         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
32332         definition.
32333         (INLINE_VSYSCALL): Likewise.
32334         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
32335         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
32336         definition.
32337         (INLINE_VSYSCALL): Likewise.
32338         (INTERNAL_VSYSCALL): Likewise.
32339         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32340         * sysdeps/unix/sysv/linux/timespec_get.c
32341         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32342         (timespec_get): Use ANSI prototype.
32343         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
32344         and definition for Linux.
32346 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
32348         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
32349         * include/libc-symbols.h: libmvec_hidden_* macro series added.
32351 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32353         [BZ #2981]
32354         [BZ #18410]
32355         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
32356         for missing DT_PLTRELSZ.
32358 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32360         Remove obsolete aliases that broke 'locale -a'
32361         [BZ #18412]
32362         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
32363         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
32364         breaking some applications that use 'locale -a' output.
32365         Change the encoding of this file from Latin-1 to ASCII to avoid
32366         other potential problems with people grepping this file.
32368 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32370         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
32371         -fasynchronous-unwind-tables.
32372         (CFLAGS-sendto.c): Likewise.
32373         (CFLAGS-sendmsg.c): Likewise.
32374         (CFLAGS-connect.c): Likewise.
32375         (CFLAGS-recvmsg.c): Likewise.
32376         (CFLAGS-recvfrom.c): Likewise.
32377         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
32378         (SOCKETCALL): New macro: non-cancellable socketcall.
32379         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
32380         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
32381         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
32382         * sysdeps/unix/sysv/linux/accept.c: New file.
32383         * sysdeps/unix/sysv/linux/bind.c: Likewise.
32384         * sysdeps/unix/sysv/linux/connect.c: Likewise.
32385         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
32386         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
32387         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
32388         * sysdeps/unix/sysv/linux/listen.c: Likewise.
32389         * sysdeps/unix/sysv/linux/recv.c: Likewise.
32390         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
32391         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
32392         * sysdeps/unix/sysv/linux/send.c: Likewise.
32393         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
32394         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
32395         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
32396         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
32397         * sysdeps/unix/sysv/linux/socket.c: Likewise.
32398         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
32399         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
32400         prototype.
32401         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
32402         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32403         instead of __internal_xxx function.
32404         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
32405         prototype.
32406         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
32407         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32408         instead of __internal_xxx function.
32409         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
32410         prototype.
32411         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
32412         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32413         instead of __internal_xxx function.
32414         * sysdeps/unix/sysv/linux/accept.S: Remove file.
32415         * sysdeps/unix/sysv/linux/bind.S: Likewise.
32416         * sysdeps/unix/sysv/linux/connect.S: Likewise.
32417         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
32418         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
32419         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
32420         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
32421         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
32422         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
32423         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
32424         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
32425         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32426         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
32427         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
32428         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
32429         * sysdeps/unix/sysv/linux/listen.S: Likewise.
32430         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
32431         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
32432         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
32433         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
32434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
32435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
32436         * sysdeps/unix/sysv/linux/recv.S: Likewise.
32437         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
32438         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
32439         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
32440         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32441         * sysdeps/unix/sysv/linux/send.S: Likewise.
32442         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
32443         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
32444         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
32445         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
32446         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
32447         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
32448         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
32449         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
32450         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
32451         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
32452         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
32453         socketcall is implemented in GLIBC.
32455 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
32457         * soft-fp/fmadf4.c: Include <libc-internal.h>.
32458         (__fma): Ignore uninitialized warnings around packing.
32459         * soft-fp/fmasf4.c: Include <libc-internal.h>.
32460         (__fmaf): Ignore uninitialized warnings around packing.
32461         * soft-fp/fmatf4.c: Include <libc-internal.h>.
32462         (__fmal): Ignore uninitialized warnings around packing.
32464         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
32465         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32466         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
32467         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32469         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
32470         switch statement into default case.
32471         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
32473         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
32474         a conditional in forcing "inexact".
32475         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32476         Likewise.
32478 2015-05-22  Roland McGrath  <roland@hack.frob.com>
32480         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32481         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
32482         for each INTERNAL_SYSCALL use.
32484 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
32486         [BZ #438]
32487         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
32488         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
32489         variable.
32491         [BZ #18444]
32492         * string/basename.c (basename): Rename to __basename and define as
32493         weak alias of __basename.  Use libc_hidden_weak.
32494         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
32495         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
32496         __basename instead of basename.
32497         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
32498         Remove variable.
32499         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
32501 2015-05-18  Florian Weimer  <fweimer@redhat.com>
32503         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
32504         (_IO_JUMPS_FILE_plus): New.
32505         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
32506         _IO_CAST_FIELD_ACCESS.
32507         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
32508         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
32509         * libio/freopen.c (freopen): Likewise.
32510         * libio/freopen64.c (freopen64): Likewise.
32511         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
32512         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
32513         * libio/iofwide.c (_IO_fwide): Likewise.
32514         * libio/memstream.c (open_memstream): Likewise.
32515         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32516         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
32517         * libio/oldiopopen.c (_IO_old_popen): Likewise.
32519 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
32521         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
32522         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
32523         NADJ.
32524         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
32525         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
32526         NADJ.
32527         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
32528         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
32529         NADJ.
32531         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
32532         (p == 4) case.
32534         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
32535         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
32536         Remove variable.
32537         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
32538         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
32539         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
32541 2015-05-21  Florian Weimer  <fweimer@redhat.com>
32543         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
32544         Adjust jump table label generation macros.
32546 2015-05-21  Florian Weimer  <fweimer@redhat.com>
32548         * stdio-common/vfprintf.c (vfprintf): Move local variables
32549         args_malloced, specs, specs_malloced, and the code after
32550         do_positional to the printf_positional function.
32551         (printf_positional): New function.
32553 2015-05-21  Florian Weimer  <fweimer@redhat.com>
32555         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
32556         function.
32557         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
32558         STEP4_TABLE, process_arg): Move macro definitions
32559         out of the vfprintf function.  (Cosmetic change only.)
32561 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
32563         * benchtests/Makefile (stdio-common-bench): Define.
32564         (benchset): Add stdio-common-bench.
32565         * sprintf-inputs: New file.
32566         * sprintf-source.c: New file.
32568 2015-05-21  Andreas Schwab  <schwab@suse.de>
32570         [BZ #13028]
32571         [BZ #17053]
32572         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
32573         of struct __res_state.
32574         * resolv/res_send.c (__libc_res_nsend): Likewise.
32575         (get_nsaddr): New function.
32576         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
32577         statp directly.
32579 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
32581         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
32582         -D_POSIX_C_SOURCE=199506L.
32584         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
32586         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
32587         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
32588         Do not mention otherwise.
32589         [POSIX] (_XOPEN_VERSION): Do not expect.
32590         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
32591         [POSIX] (_POSIX2_C_BIND): Likewise.
32592         [POSIX] (_POSIX2_VERSION): Likewise.
32593         [POSIX] (_XOPEN_XPG2): Likewise.
32594         [POSIX] (_XOPEN_XPG3): Likewise.
32595         [POSIX] (_XOPEN_XPG4): Likewise.
32596         [POSIX] (_XOPEN_UNIX): Likewise.
32597         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
32598         [POSIX] (_POSIX_BARRIERS): Likewise.
32599         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
32600         [POSIX] (_POSIX_CPUTIME): Likewise.
32601         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
32602         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
32603         [POSIX] (_POSIX_SHELL): Likewise.
32604         [POSIX] (_POSIX_SPAWN): Likewise.
32605         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
32606         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
32607         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
32608         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
32609         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
32610         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
32611         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
32612         [POSIX] (_XBS5_LP64_OFF64): Likewise.
32613         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
32614         [POSIX] (_POSIX_TIMEOUTS): Likewise.
32615         [POSIX] (_POSIX2_PBS): Likewise.
32616         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
32617         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
32618         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
32619         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
32620         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
32621         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
32622         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
32623         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
32624         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
32625         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
32626         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
32627         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
32628         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
32629         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
32630         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
32631         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
32632         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
32633         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
32634         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
32635         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
32636         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
32637         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
32638         [POSIX] (_SC_2_C_BIND): Likewise.
32639         [POSIX] (_SC_2_C_VERSION): Likewise.
32640         [POSIX] (_SC_2_PBS): Likewise.
32641         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
32642         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
32643         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
32644         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
32645         [POSIX] (_SC_2_PBS_TRACK): Likewise.
32646         [POSIX] (_SC_ATEXIT_MAX): Likewise.
32647         [POSIX] (_SC_BARRIERS): Likewise.
32648         [POSIX] (_SC_BASE): Likewise.
32649         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
32650         [POSIX] (_SC_DEVICE_IO): Likewise.
32651         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
32652         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
32653         [POSIX] (_SC_FD_MGMT): Likewise.
32654         [POSIX] (_SC_FIFO): Likewise.
32655         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
32656         [POSIX] (_SC_FILE_LOCKING): Likewise.
32657         [POSIX] (_SC_FILE_SYSTEM): Likewise.
32658         [POSIX] (_SC_IOV_MAX): Likewise.
32659         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
32660         [POSIX] (_SC_NETWORKING): Likewise.
32661         [POSIX] (_SC_PAGE_SIZE): Likewise.
32662         [POSIX] (_SC_PASS_MAX): Likewise.
32663         [POSIX] (_SC_PIPE): Likewise.
32664         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
32665         [POSIX] (_SC_REGEXP): Likewise.
32666         [POSIX] (_SC_SHELL): Likewise.
32667         [POSIX] (_SC_SIGNALS): Likewise.
32668         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
32669         [POSIX] (_SC_SPIN_LOCKS): Likewise.
32670         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
32671         [POSIX] (_SC_USER_GROUPS): Likewise.
32672         [POSIX] (_SC_USER_GROUPS_R): Likewise.
32673         [POSIX] (_SC_STREAMS): Likewise.
32674         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
32675         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
32676         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
32677         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
32678         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
32679         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
32680         [POSIX] (_PC_FILESIZEBITS): Likewise.
32681         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
32682         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
32683         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
32684         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
32685         [POSIX] (uid_t): Likewise.
32686         [POSIX] (gid_t): Likewise.
32687         [POSIX] (off_t): Likewise.
32688         [POSIX] (pid_t): Likewise.
32689         [POSIX] (cuserid): Allow.
32690         (_SC_2_CHAR_TERM): Require constant.
32691         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
32692         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
32693         variable.
32695 2015-05-20  Roland McGrath  <roland@hack.frob.com>
32697         * sysdeps/nacl/pthread-pids.h: New file.
32698         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
32699         (create_thread): Use __nacl_get_tid to initialize PD->tid.
32701         * nptl/pthread-pids.h: New file.
32702         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
32703         * nptl/nptl-init.c: Include <pthread-pids.h>.
32704         (__pthread_initialize_minimal_internal):
32705         Call __pthread_initialize_pids instead of set_tid_address syscall.
32707         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
32708         * sysdeps/posix/usleep.c: ... here.
32710 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32712         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
32713         call_pselect6 object.
32714         [$(subdir) = io]: Remove call_sync_file_range object.
32715         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
32716         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
32717         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
32718         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
32720 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
32722         * math/s_cproj.c: Add include "math_private.h".
32723         * math/s_cprojf.c: Likewise.
32724         * math/s_cprojl.c: Likewise.
32726 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
32728         [BZ #18244]
32729         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
32730         high mantissa bit when testing whether P is a NaN.
32731         * math/libm-test.inc (remainder_test_data): Add more tests.
32732         (remquo_test_data): Likewise.
32734         [BZ #18049]
32735         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
32736         below -32, return the argument, with underflow if subnormal.
32737         * math/auto-libm-test-in: Add more tests of atanh.
32738         * math/auto-libm-test-out: Regenerated.
32740 2015-05-19  Roland McGrath  <roland@hack.frob.com>
32742         [BZ #18434]
32743         * nptl/tst-sem15.c: New file.
32744         * nptl/Makefile (tests): Add it.
32745         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
32746         s/<</>>/ to fix typo in EOVERFLOW check.
32747         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
32749 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32751         * manual/strings.texi (envz_remove): Fix typo in safety
32752         annotations.
32754 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
32755             Steve Ellcey  <sellcey@imgtec.com>
32757         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
32758         in order to avoid strict alias warnings.
32759         (iruserok_af): Ditto for ra.
32761 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
32763         [BZ #17581]
32764         * malloc/hooks.c
32765         (magicbyte): Convert to a function and avoid returning 0x01.
32766         (mem2mem_check): Avoid using a length byte equal to the magic byte.
32767         (mem2chunk_check): Fix unsigned comparisons to zero.
32768         Hoist defs of sz and magic.
32770 2015-05-19  Richard Henderson  <rth@redhat.com>
32772         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
32774         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32776 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32778         [BZ #16159]
32779         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
32780         * malloc/arena.c (arena_lock): Check if arena is corrupt.
32781         (reused_arena): Find a non-corrupt arena.
32782         (heap_trim): Pass arena to unlink.
32783         * malloc/hooks.c (malloc_check_get_size): Pass arena to
32784         malloc_printerr.
32785         (top_check): Likewise.
32786         (free_check): Likewise.
32787         (realloc_check): Likewise.
32788         * malloc/malloc.c (malloc_printerr): Add arena argument.
32789         (unlink): Likewise.
32790         (munmap_chunk): Adjust.
32791         (ARENA_CORRUPTION_BIT): New macro.
32792         (arena_is_corrupt): Likewise.
32793         (set_arena_corrupt): Likewise.
32794         (sysmalloc): Use mmap if there are no usable arenas.
32795         (_int_malloc): Likewise.
32796         (__libc_malloc): Don't fail if arena_get returns NULL.
32797         (_mid_memalign): Likewise.
32798         (__libc_calloc): Likewise.
32799         (__libc_realloc): Adjust for additional argument to
32800         malloc_printerr.
32801         (_int_free): Likewise.
32802         (malloc_consolidate): Likewise.
32803         (_int_realloc): Likewise.
32804         (_int_memalign): Don't touch corrupt arenas.
32805         * malloc/tst-malloc-backtrace.c: New test case.
32807         * Makefile (summarize-tests): Fix return value on success.
32809         * manual/string.texi (Envz Functions): Add envz_remove.
32811 2015-05-18  Roland McGrath  <roland@hack.frob.com>
32813         * sysdeps/posix/opendir.c: Include <stdbool.h>.
32814         (invalid_name): New function, broken out of ...
32815         (__opendirat): ... here.  Call it.
32816         (need_isdir_precheck): New function, broken out of ...
32817         (__opendirat): ... here.  Call it.
32818         Use __fxstatat64, not __xstatat64.
32819         (opendir_oflags): New function, broken out of ...
32820         (__opendirat): ... here.  Call it.
32821         (opendir_tail): New function, broken out of ...
32822         (__opendirat): ... here.  Call it.
32823         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
32824         opendir_tail, rather than punting to __opendirat.
32825         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
32827 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32829         * .gitignore: Ignore generated *.pyc.
32831 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
32833         * include/stdio.h: Define __need_wint_t.
32834         * test-skeleton.c: Avoid `for' loop initial declaration.
32835         * nptl/tst-initializers1.c: Use test-skeleton.c.
32837 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32839         [BZ #18418]
32840         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
32842 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
32844         [BZ #16352]
32845         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
32846         (__ieee754_atanh): Force underflow exception for results with
32847         small absolute value.
32848         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
32849         (__ieee754_atanhf): Force underflow exception for results with
32850         small absolute value.
32851         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
32852         (__ieee754_atanh): Force underflow exception for results with
32853         small absolute value.
32854         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
32855         (__ieee754_atanhf): Force underflow exception for results with
32856         small absolute value.
32857         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
32858         (__ieee754_atanhl): Force underflow exception for results with
32859         small absolute value.
32860         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
32861         (__ieee754_atanhl): Force underflow exception for results with
32862         small absolute value.
32863         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
32864         (__ieee754_atanhl): Force underflow exception for results with
32865         small absolute value.
32866         * math/auto-libm-test-in: Do not allow missing underflow
32867         exceptions from atanh.
32868         * math/auto-libm-test-out: Regenerated.
32870         [BZ #18221]
32871         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
32872         2**-28 as threshold for returning x or +/- 1/x.
32873         * math/auto-libm-test-in: Add more tests of tan.
32874         * math/auto-libm-test-out: Regenerated.
32876         [BZ #18220]
32877         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32878         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
32879         * math/auto-libm-test-in: Add another test of lgamma.
32880         * math/auto-libm-test-out: Regenerated.
32882 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
32884         * stdio-common/printf_fp.c (___printf_fp): Use abs.
32885         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
32886         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
32887         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
32888         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
32889         (ADD2A): Use fabs.  (SUB2A): Use fabs.
32890         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
32891         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
32892         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
32893         (log1): Use fabs.  (my_log2): Use fabs.
32894         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
32895         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
32896         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
32897         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
32898         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
32899         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
32900         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
32901         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
32902         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
32903         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
32904         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
32906 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
32908         [BZ #18217]
32909         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
32910         as threshold for returning 1 - x.
32911         * math/auto-libm-test-in: Add more tests of erfc.
32912         * math/auto-libm-test-out: Regenerated.
32914 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
32916         [BZ #18196]
32917         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
32918         threshold for large arguments.
32919         * math/auto-libm-test-in: Add another test of atan.
32920         * math/auto-libm-test-out: Regenerated.
32922         [BZ #16339]
32923         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
32924         (__log1p): Force underflow exception for results with small
32925         absolute value.
32926         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
32927         (__log1pf): Force underflow exception for results with small
32928         absolute value.
32929         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
32930         (__log1p): Force underflow exception for results with small
32931         absolute value.
32932         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
32933         (__log1pf): Force underflow exception for results with small
32934         absolute value.
32935         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
32936         (__log1pl): Force underflow exception for results with small
32937         absolute value.
32938         * math/auto-libm-test-in: Do not allow missing underflow
32939         exceptions from log1p.
32940         * math/auto-libm-test-out: Regenerated.
32942 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
32943             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32945         [BZ #16704]
32946         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
32948 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
32950         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
32951         (libmvec): New variable.
32952         * configure.ac: Added option for mathvec build.
32953         * configure: Regenerated.
32954         * mathvec/Depend: New file.
32955         * mathvec/Makefile: New file.
32956         * shlib-versions: Added libmvec.
32957         * math/Makefile: Added rule for libm.so installation.
32959         * bits/math-vector.h: New file.
32960         * bits/libm-simd-decl-stubs.h: New header.
32961         * math/Makefile (headers): Added new header
32962         libm-simd-decl-stubs.h.
32963         * math/math.h (__MATHCALL_VEC): New macro.
32965         * math/gen-libm-have-vector-test.sh: Script generates series of macros
32966         for conditions in testing functions.
32967         * math/Makefile: Added call of libm-have-vector-test.sh.
32968         * math/libm-test.inc (HAVE_VECTOR): New macros.
32970         * math/libm-test.inc: START refactored.
32971         * math/test-double.c (TEST_MATHVEC): Add define.
32972         * math/test-float.c: Likewise.
32973         * math/test-idouble.c: Likewise.
32974         * math/test-ifloat.c: Likewise.
32975         * math/test-ildoubl.c: Likewise.
32976         * math/test-ldouble.c: Likewise.
32977         * sysdeps/generic/math-tests-arch.h
32978         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
32979         architecture check.
32981         * math/test-double.c (FUNC_TEST): New macro.
32982         * math/test-float.c: Likewise.
32983         * math/test-idouble.c: Likewise.
32984         * math/test-ifloat.c: Likewise.
32985         * math/test-ildoubl.c: Likewise.
32986         * math/test-ldouble.c: Likewise.
32987         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
32989 2015-05-13  Roland McGrath  <roland@hack.frob.com>
32991         * sysdeps/nacl/fdopendir.c: New file.
32993         * dirent/scandir-tail.c: New file.
32994         * dirent/scandir64-tail.c: New file.
32995         * dirent/Makefile (routines): Add them.
32996         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
32997         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
32998         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
32999         [!SCANDIR] (SCANDIR_TAIL): New macro.
33000         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
33001         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
33002         (SCANDIRAT): Macro removed.
33003         (SCANDIR_TAIL): New macro.
33004         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
33005         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
33006         (SCANDIRAT): Just call __opendirat and __scandir_tail.
33007         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
33008         (READDIR): Macro removed.
33009         (SCANDIR_TAIL): New macro.
33010         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
33011         (SCANDIR_TAIL): New macro.
33013         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
33014         * dirent/scandir-cancel.c: ... to this new file.
33015         * dirent/Makefile (routines): Add it.
33016         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
33017         * sysdeps/unix/sysv/linux/i386/scandir64.c
33018         (SKIP_SCANDIR_CANCEL): Macro removed.
33019         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
33021         * dirent/tst-scandir.c: New file.
33022         * dirent/tst-scandir64.c: New file.
33023         * dirent/Makefile (tests): Add them.
33025 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
33027         [BZ #18409]
33028         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
33030 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33032         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
33033         list.
33035 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
33037         * benchtests/bench-strcoll.c: New benchmark.
33038         * benchtests/Makefile: Generate locales and run benchmark.
33039         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
33040         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
33041         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
33042         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
33043         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
33044         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
33045         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
33046         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
33047         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
33048         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
33049         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
33050         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
33051         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
33052         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
33053         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
33054         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
33055         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
33056         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
33057         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
33058         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
33059         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
33060         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
33061         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
33062         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
33064 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
33066         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
33067         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33069 2015-05-12  Roland McGrath  <roland@hack.frob.com>
33071         * posix/uname-values.h: New file.
33072         * posix/uname.c: Include that instead of <config-name.h>.
33073         * sysdeps/nacl/uname-values.h: New file.
33074         * sysdeps/arm/nacl/uname-values.h: New file.
33076 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
33078         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
33079         splitting into fields.
33081 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
33083         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
33084         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
33085         * locale/localeinfo.h: Add enum collation_encoding_type.
33086         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
33087         * programs/ld-collate.c (collate_output): Add encoding type info.
33088         * string/strcoll_l.c (STRDIFF): New function.
33089         * (STRCOLL): Use STRDIFF to skip over equal prefix.
33090         * wcsmbs/wcscoll_l.c: Define STRDIFF.
33092 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
33094         [BZ #18397]
33095         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
33096         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
33097         <fpu_control.h> instead of <math/fpu_control.c>.
33098         * sysdeps/mips/mips32/fpu/Makefile: New file.
33100 2015-05-11  Andreas Schwab  <schwab@suse.de>
33102         [BZ #18007]
33103         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
33104         nss_endgrent.
33105         (_nss_compat_endgrent): Call nss_endgrent.
33106         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
33107         nss_endpwent.
33108         (_nss_compat_endpwent): Call nss_endpwent.
33109         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
33110         needent, call nss_setspent only if non-zero.
33111         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
33112         (internal_endspent): Don't call nss_endspent.
33113         (_nss_compat_endspent): Call nss_endspent.
33114         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
33115         Remove.  All uses removed.
33116         (internal_setent): Remove parameter stayopen, add parameter
33117         stream.  Use it instead of global variable.
33118         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
33119         (internal_endent, internal_getent): Add parameter stream.  Use it
33120         instead of global variable.
33121         (CONCAT(_nss_files_end,ENTNAME))
33122         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
33123         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
33124         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
33125         uses removed.
33126         (internal_setent, internal_endent): Add parameter stream.  Use it
33127         instead of global variable.
33128         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
33129         stream.
33130         (get_next_alias): Add parameter stream.
33131         (_nss_files_getaliasent_r): Pass global stream.
33132         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
33133         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
33134         (_nss_files_gethostbyname4_r): Pass local stream to
33135         internal_setent, internal_getent and internal_endent.  Remove
33136         locking.
33138 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33140         * tst-strfmon1.c (tests): Update expected currency symbol.
33142 2015-05-08  Roland McGrath  <roland@hack.frob.com>
33144         * sysdeps/nacl/gethostname.c: New file.
33146 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
33148         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
33149         and sinh.
33150         * math/auto-libm-test-out: Regenerated.
33151         * sysdeps/i386/fpu/libm-test-ulps: Update.
33152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33154 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
33156         [BZ #18125]
33157         * stdlib/tst-setcontext3.c: New file.
33158         * stdlib/tst-setcontext3.sh: New file.
33159         * stdlib/Makefile (tests): Add tst-setcontext3.
33160         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
33161         to verify test program created output file.
33162         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
33163         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
33164         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
33165         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
33167 2015-05-06  Roland McGrath  <roland@hack.frob.com>
33169         [BZ #18383]
33170         * elf/tst-tlsalign.c: New file.
33171         * elf/tst-tlsalign-static.c: New file.
33172         * elf/tst-tlsalign-lib.c: New file.
33173         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
33174         (tests-static): Add tst-tlsalign-static.
33175         (modules-names): Add tst-tlsalign-lib.
33176         (test-xfail-tst-tlsalign): New variable.
33177         (test-xfail-tst-tlsalign-static): New variable.
33179         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
33180         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
33182 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
33184         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
33185         csqrt, erfc, sin and sincos.
33186         * math/auto-libm-test-out: Regenerated.
33187         * sysdeps/i386/fpu/libm-test-ulps: Update.
33188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33190 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33192         * sysdeps/aarch64/libm-test-ulps: Update.
33194 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
33196         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
33197         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
33198         * math/auto-libm-test-out: Regenerated.
33199         * sysdeps/i386/fpu/libm-test-ulps: Update.
33200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33202 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
33204         [BZ #18265]
33205         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
33206         (wcsncpy): Likewise.
33208 2015-05-05  Florian Weimer  <fweimer@redhat.com>
33210         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33211         Assume __ASSUME_FALLOCATE is always true.
33212         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33213         (__posix_fallocate64_l64): Likewise.
33214         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
33215         (posix_fallocate): Likewise.
33216         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
33217         (__posix_fallocate64_l64): Likewise.
33218         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33219         [!__ASSUME_FALLOCATE]: Add comment.
33221 2015-05-05  Florian Weimer  <fweimer@redhat.com>
33223         * sysdeps/unix/sysv/linux/i386/Makefile
33224         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
33225         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
33226         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
33227         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33228         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33229         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
33230         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
33232 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
33234         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
33235         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
33236         tgamma.
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 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
33243         * math/auto-libm-test-in: Add more tests of tgamma.
33244         * math/auto-libm-test-out: Regenerated.
33245         * sysdeps/i386/fpu/libm-test-ulps: Update.
33246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33248         * math/auto-libm-test-in: Add more tests of tanh.
33249         * math/auto-libm-test-out: Regenerated.
33250         * sysdeps/i386/fpu/libm-test-ulps: Update.
33251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33253         * math/auto-libm-test-in: Add more tests of tan.
33254         * math/auto-libm-test-out: Regenerated.
33255         * sysdeps/i386/fpu/libm-test-ulps: Update.
33256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33258         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
33259         * math/auto-libm-test-out: Regenerated.
33260         * sysdeps/i386/fpu/libm-test-ulps: Update.
33261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33263         * math/auto-libm-test-in: Add another test of pow.
33264         * math/auto-libm-test-out: Regenerated.
33265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33267         * math/auto-libm-test-in: Add more tests of lgamma.
33268         * math/auto-libm-test-out: Regenerated.
33269         * sysdeps/i386/fpu/libm-test-ulps: Update.
33270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33272         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
33273         log1p.
33274         * math/auto-libm-test-out: Regenerated.
33275         * sysdeps/i386/fpu/libm-test-ulps: Update.
33276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33278 2015-05-01  Mark Wielaard  <mjw@redhat.com>
33280         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
33281         Elf64_Chdr structs and ELFCOMPRESS constants.
33283 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
33285         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
33286         expm1.
33287         * math/auto-libm-test-out: Regenerated.
33288         * sysdeps/i386/fpu/libm-test-ulps: Update.
33289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33291         * math/auto-libm-test-in: Add more tests of erf and erfc.
33292         * math/auto-libm-test-out: Regenerated.
33293         * sysdeps/i386/fpu/libm-test-ulps: Update.
33294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33296 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33298         * config.h.in (HAVE_AARCH64_BE): Add.
33300 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
33302         * math/auto-libm-test-in: Add more tests of csqrt.
33303         * math/auto-libm-test-out: Regenerated.
33304         * sysdeps/i386/fpu/libm-test-ulps: Update.
33305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33307         * math/auto-libm-test-in: Add more tests of cosh and sinh.
33308         * math/auto-libm-test-out: Regenerated.
33309         * sysdeps/i386/fpu/libm-test-ulps: Update.
33310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33312         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
33314 2015-04-29  Roland McGrath  <roland@hack.frob.com>
33316         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
33317         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
33319         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
33320         (euidaccess, eaccess): Define as weak aliases.
33322         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
33323         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
33324         but __suseconds_t is often 'long int' so some sources assume that
33325         type is being used (e.g. they use %ld to print tv_usec).
33327 2015-04-29  Florian Weimer  <fweimer@redhat.com>
33329         [BZ #18007]
33330         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
33331         (CVE-2014-8121)
33332         * nss/tst-nss-getpwent.c: New file.
33333         * nss/Makefile (tests): Add new test.
33335 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
33337         [BZ #18346]
33338         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
33339         exponents less than 48 as cases where high part of mantissa needs
33340         examining to determine whether argument is integral.
33341         * math/libm-test.inc (round_test_data): Add more tests.
33343 2015-04-28  Mark Wielaard  <mjw@redhat.com>
33345         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
33347 2015-04-27  David S. Miller  <davem@davemloft.net>
33349         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
33350         __tls_get_addr.
33351         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33353 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
33355         [BZ #18333]
33356         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
33358 2015-04-27  Florian Weimer  <fweimer@redhat.com>
33360         [BZ #18333]
33361         * time/tzset.c (parse_tzname): Return error on memory allocation
33362         failure.
33363         * test-skeleton.c (struct temp_name_list): Change type of name
33364         member to non-const.
33365         (add_temp_file): Create a copy of the file name.
33366         (delete_temp_files): Deallocate memory.
33367         (create_temp_file): Add comment.
33369 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33371         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
33372         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
33374 2015-04-24  Roland McGrath  <roland@hack.frob.com>
33376         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
33377         * sysdeps/arm/configure: Regenerated.
33379 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33381         [BZ #17715]
33382         * time/tzfile.c (__tzfile_read): Check for large values of
33383         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
33384         * time/tzset.c (__tzstring_len): New function, based on the old
33385         __tzstring function.
33386         (__tzstring): Call __tzstring_len.
33387         (parse_tzname): New helper function extracted from
33388         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
33389         the input string.
33390         (parse_offset): New helper function extracted from
33391         __tzset_parse_tz.  Replace switch with fallthrough with
33392         initialization before sscanf.
33393         (parse_rule): Likewise.
33394         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
33395         new-style function definition.
33396         * timezone/Makefile (tests): Add tst-tzset.
33397         (tst-tzset.out): Dependencies on time zone files.
33398         (tst-tzset-ENV): Set TZDIR.
33399         (testdata/XT%): Copy crafted time zone files.
33400         * timezone/README: Mention crafted time zone files.
33401         * timezone/testdata/XT1, timezone/testdata/XT2,
33402         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
33403         files.
33404         * timezone/tst-tzset.c: New test.
33406 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33408         * Makeconfig (+gccwarn): Remove -Winline.
33410 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33412         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
33414 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33416         * NEWS: Mention sysconf() cache information support for s390.
33417         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
33419 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
33421         * math/k_casinh.c (__kernel_casinh): Use __copysign.
33422         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
33423         (__nearbyint): Likewise.
33424         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
33425         (copysignl): Likewise.
33427 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
33429         [BZ #18287]
33430         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
33431         based on padding.  (CVE-2015-1781)
33433 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33435         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
33436         libc-vdso.h.
33437         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
33438         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
33439         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
33440         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33441         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33442         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
33443         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
33444         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33445         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33446         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
33447         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
33448         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33449         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33450         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
33451         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33452         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
33453         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
33454         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
33455         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
33456         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
33457         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
33458         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
33459         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
33461 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
33463         * stdlib/setenv.c (__add_to_environ):
33464         Dump core quickly if setenv (..., NULL, ...) is called.
33465         This time, do it the right way, and pacify GCC with a pragma.
33467 2015-04-17  Roland McGrath  <roland@hack.frob.com>
33469         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
33470         IMAP->l_prev cannot be null, and #if out the code for the contrary
33471         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
33472         believe that NS (&_dl_ns[NSID]) could point outside the array.
33474         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
33475         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
33476         before using NSID as an index.
33478 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
33480         [BZ #17825]
33481         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
33482         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
33483         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33485 2015-04-17  Roland McGrath  <roland@hack.frob.com>
33487         Add preliminary port to Google Native Client on ARM.
33488         * abi-tags (.*-.*-nacl.*): New entry.
33489         * sysdeps/arm/nacl: New directory.
33490         * sysdeps/nacl: New directory.
33492 2015-04-16  David S. Miller  <davem@davemloft.net>
33494         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
33495         lowlevellock-futex.h
33497 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
33499         * sysdeps/tile/configure.ac: New file.
33500         * sysdeps/tile/configure: Regenerated.
33502 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33504         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
33505         conditionals for weak_alias and libc_hidden_weak.
33506         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
33507         libc_hidden_weak and weak_alias.
33508         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
33509         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
33510         and weak_alias for static one.
33512 2015-04-15  David S. Miller  <davem@davemloft.net>
33514         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33516 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33518         [BZ #18206]
33519         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
33520           Use signed comparision instead of substraction to avoid
33521           overflow bug.
33522         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
33523           Take the sign of ret.
33524         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
33525           Do not expect precise return values. Only the sign matters.
33526         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
33527         * wcsmbs/test-wcsncmp.c: New File.
33528         * string/test-strncmp.c: Add wcsncmp support.
33530 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33532         [BZ #6792]
33533         * math/w_log1p.c: New file.
33534         * math/w_log1pf.c: Likewise.
33535         * math/w_log1pl.c: Likewise.
33536         * math/Makefile (libm-calls): Add w_log1p.
33537         * math/s_log1pl.c (log1pl): Remove weak_alias.
33538         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
33539         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
33540         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
33541         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
33542         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
33543         [NO_LONG_DOUBLE] (log1pl): Likewise.
33544         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
33545         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
33546         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
33547         (log1p): Remove long_double_symbol.
33548         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
33549         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
33550         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
33551         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
33552         remove weak_alias for corresponding log1p function.
33553         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
33554         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
33555         * sysdeps/ia64/fpu/w_log1p.c: New file.
33556         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
33557         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
33558         * math/libm-test.inc (log1p_test_data): Add errno expectations.
33560 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
33562         [BZ #18247]
33563         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
33564         decimal exponent by 1.
33565         * stdlib/tst-strtod-round-data: Add more tests.
33566         * stdlib/tst-strtod-round.c (tests): Regenerated.
33568 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
33570         * math/auto-libm-test-in: Add more tests of clog and clog10.
33571         * math/auto-libm-test-out: Regenerated.
33572         * sysdeps/i386/fpu/libm-test-ulps: Update.
33573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33575 2015-04-09  Roland McGrath  <roland@hack.frob.com>
33577         * Makeconfig (module-cppflags): Exclude all .v.i files.
33578         (skip-module-cppflags): Variable removed.
33580         * configure.ac (libc_config_ok): Initialize before reading
33581         preconfigure scripts, not after.
33582         * configure: Regenerated.
33584         * test-skeleton.c (TIMEOUT): Move #define to top level.
33585         (main): Grok environment variable TEST_DIRECT.  If set, print
33586         test expectation details into that file and then behave as if
33587         given --direct.
33589 2015-04-09  Florian Weimer  <fweimer@redhat.com>
33591         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
33592         warning on 32-bit.
33594 2015-04-08  David S. Miller  <davem@davemloft.net>
33596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33598 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
33600         * math/auto-libm-test-in: Add more tests of atanh.
33601         * math/auto-libm-test-out: Regenerated.
33602         * sysdeps/i386/fpu/libm-test-ulps: Update.
33603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33605         * math/auto-libm-test-in: Add more tests of atan.
33606         * math/auto-libm-test-out: Regenerated.
33607         * sysdeps/i386/fpu/libm-test-ulps: Update.
33608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33610 2015-04-08  Florian Weimer  <fweimer@redhat.com>
33612         * elf/pldd.c (main): Rewrite to use struct
33613         scratch_buffer instead of extend_alloca.
33614         * elf/pldd-xx.c (find_maps): Likewise.
33615         * grp/initgroups.c: Include <scratch_buffer.h> instead of
33616         <alloca.h>.
33617         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
33618         scratch_buffer instead of extend_alloca.
33619         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
33620         grp/compat-initgroups.c.
33621         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
33622         Rewrite to use struct scratch_buffer instead of extend_alloca.
33623         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
33624         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33626 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
33628         * math/auto-libm-test-in: Add more tests of cbrt.
33629         * math/auto-libm-test-out: Regenerated.
33630         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33632         * math/auto-libm-test-in: Add more tests of cabs.
33633         * math/auto-libm-test-out: Regenerated.
33634         * sysdeps/i386/fpu/libm-test-ulps: Update.
33635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33637         [BZ #18210]
33638         [BZ #18211]
33639         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
33640         (__ieee754_atan2): Set FE_TONEAREST mode for internal
33641         computations.
33642         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
33643         clog10.
33644         * math/auto-libm-test-out: Regenerated.
33645         * sysdeps/i386/fpu/libm-test-ulps: Update.
33646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33648         [BZ #18197]
33649         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
33650         (atan): Set FE_TONEAREST mode for internal computations.
33651         * math/auto-libm-test-in: Add more tests of atan.
33652         * math/auto-libm-test-out: Regenerated.
33654 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
33656         [BZ #17930]
33657         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
33659 2015-04-07  Florian Weimer  <fweimer@redhat.com>
33661         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
33663 2015-04-07  Florian Weimer  <fweimer@redhat.com>
33665         * include/scratch_buffer.h: New file.
33666         * malloc/scratch_buffer_grow.c: Likewise.
33667         * malloc/scratch_buffer_grow_preserve.c: Likewise.
33668         * malloc/scratch_buffer_set_array_size.c: Likewise.
33669         * malloc/tst-scratch_buffer.c: Likewise.
33670         * malloc/Makefile (routines): Add scratch_buffer_grow.
33671         (tests): Add test case.
33672         * malloc/Versions (GLIBC_PRIVATE): Export
33673         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
33674         __libc_scratch_buffer_set_array_size.
33676 2015-04-06  Richard Henderson  <rth@redhat.com>
33678         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
33679         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33681         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
33682         unsigned int before printing.
33684 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33686         [BZ #17596]
33687         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
33688         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33690 2015-04-02  Florian Weimer  <fweimer@redhat.com>
33692         * include/libc-internal.h (libc_max_align_t): Define.
33694 2015-04-02  Andreas Schwab  <schwab@suse.de>
33696         [BZ #16850]
33697         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
33699 2015-04-02  Mel Gorman  <mgorman@suse.de>
33701         [BZ #17195]
33702         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
33703         as well as the main arena.
33705 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33707         [BZ #18185]
33708         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
33709         sharing L2 cache to 2 for Silvermont/Knights Landing.
33711 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33713         [BZ #17711]
33714         * config.make.in (have-protected-data): New.
33715         * configure.ac: Check linker support for protected data symbol.
33716         * configure: Regenerated.
33717         * elf/Makefile (modules-names): Add tst-protected1moda and
33718         tst-protected1modb if $(have-protected-data) is yes.
33719         (tests): Add tst-protected1a and tst-protected1b if
33720         $(have-protected-data) is yes.
33721         ($(objpfx)tst-protected1a): New.
33722         ($(objpfx)tst-protected1b): Likewise.
33723         (tst-protected1modb.so-no-z-defs): Likewise.
33724         * elf/tst-protected1a.c: New file.
33725         * elf/tst-protected1b.c: Likewise.
33726         * elf/tst-protected1mod.h: Likewise.
33727         * elf/tst-protected1moda.c: Likewise.
33728         * elf/tst-protected1modb.c: Likewise.
33730 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33732         [BZ #17711]
33733         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
33734         indicates it is called from do_lookup_x on relocation against
33735         protected data, skip the data definion in the executable from
33736         copy reloc.
33737         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
33738         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
33739         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
33740         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
33741         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
33742         otherwise to 0.
33743         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
33744         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
33745         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
33746         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
33747         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
33748         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
33750 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
33752         * sysdeps/nptl/pthread.h: Remove duplicate definition of
33753         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
33755 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
33757         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
33758         THREAD_SETMEM_NC.
33759         * sysdeps/x86_64/nptl/tls.h: Ditto.
33761 2015-03-27  Roland McGrath  <roland@hack.frob.com>
33763         * dlfcn/tststatic.c (main): Converted to ...
33764         (do_test): ... this.
33765         (TEST_FUNCTION): New macro.
33766         Include test-skeleton.c.
33768 2015-03-26  Alan Modra  <amodra@gmail.com>
33770         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
33771         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
33772         zero for undefined weak.
33773         (elf_machine_plt_conflict): Similarly.
33775 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
33777         * math/auto-libm-test-in: Add more tests of acosh, asinh and
33778         atanh.
33779         * math/auto-libm-test-out: Regenerated.
33780         * sysdeps/i386/fpu/libm-test-ulps: Update.
33781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33783         * math/auto-libm-test-in: Add another test of asin.
33784         * math/auto-libm-test-out: Regenerated.
33785         * sysdeps/i386/fpu/libm-test-ulps: Update.
33786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33788         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
33789         Remove macro.
33790         (LLL_EBX_REG): Likewise.
33791         (LLL_ENTER_KERNEL): Likewise.
33793         * math/auto-libm-test-in: Add more tests of asin.
33794         * math/auto-libm-test-out: Regenerated.
33795         * sysdeps/i386/fpu/libm-test-ulps: Update.
33796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33798         [BZ #18138]
33799         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
33800         libc_do_syscall_args): New structure.
33801         (INTERNAL_SYSCALL_MAIN_0): New macro.
33802         (INTERNAL_SYSCALL_MAIN_1): Likewise.
33803         (INTERNAL_SYSCALL_MAIN_2): Likewise.
33804         (INTERNAL_SYSCALL_MAIN_3): Likewise.
33805         (INTERNAL_SYSCALL_MAIN_4): Likewise.
33806         (INTERNAL_SYSCALL_MAIN_5): Likewise.
33807         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
33808         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
33809         Replace conditional definitions by conditional definitions of ....
33810         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
33811         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
33812         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
33813         (libpthread-sysdep_routines): Add libc-do-syscall.
33814         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
33815         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
33816         to __NR_futex not 240.
33818 2015-03-25  Alan Modra  <amodra@gmail.com>
33820         * NEWS: Advertise TLS optimization.
33821         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
33822         (DT_PPC_NUM): Increment.
33823         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
33824         (CHECK_STATIC_TLS): Use here.
33825         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
33826         TLS descriptors.
33827         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33828         * sysdeps/powerpc/dl-tls.c: New file.
33829         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
33830         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
33831         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
33832         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
33833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
33834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
33835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
33837 2015-03-25  Alan Modra  <amodra@gmail.com>
33839         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
33840         for overlapping .opd entries" to "support...".
33841         * sysdeps/powerpc/powerpc64/configure: Regenerate
33843 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
33845         * math/auto-libm-test-in: Add more tests of acos.
33846         * math/auto-libm-test-out: Regenerated.
33847         * sysdeps/i386/fpu/libm-test-ulps: Update.
33848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33850         * math/auto-libm-test-in: Add more tests of expm1.
33851         * math/auto-libm-test-out: Regenerated.
33852         * sysdeps/i386/fpu/libm-test-ulps: Update.
33853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33855 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
33857         * math/auto-libm-test-in: Add more tests of cosh and sinh.
33858         * math/auto-libm-test-out: Regenerated.
33859         * sysdeps/i386/fpu/libm-test-ulps: Update.
33860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33862         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33865         * math/auto-libm-test-in: Add more tests of log2.
33866         * math/auto-libm-test-out: Regenerated.
33867         * sysdeps/i386/fpu/libm-test-ulps: Update.
33868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33870 2015-03-23  Roland McGrath  <roland@hack.frob.com>
33872         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
33873         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
33874         _IO_IS_APPENDING bit in READ_WRITE instead.
33876 2015-03-23  Florian Weimer  <fweimer@redhat.com>
33878         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
33879         (__determine_cpumask_size): Replace extend_alloca with a
33880         variable-length array.  Do not treat res == 0 as an error.
33882 2015-03-23  Florian Weimer  <fweimer@redhat.com>
33884         [BZ #18100]
33885         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
33886         and integer overflow.
33887         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
33888         (main): Add integer overflow tests.
33889         * manual/pattern.texi (Calling Wordexp): Document additional use
33890         for WRDE_SYNTAX.
33892 2015-03-23  Alan Modra  <amodra@gmail.com>
33894         * config.h.in: Remove HAVE_ASM_PPC_REL16.
33895         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
33896         and false branch of conditional.
33897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33898         Likewise.
33900 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
33902         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
33903         libc-modules.h
33904         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
33905         unused declaration of _hurd_intr_rpc_msg_in_trap.
33906         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
33907         defined instead of whether it is non-zero.
33908         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
33909         input constraint instead of both input and output constraint.  Use ecx
33910         clobber instead of %ecx.
33911         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
33912         mutex_unlock): Use a statement expression instead of an expression list.
33913         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
33914         type to vm_size_t instead of vm_address_t.
33915         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
33916         defined instead of whether it is non-zero.
33917         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
33918         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
33919         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
33920         comparisons with mapaddr.
33921         * nscd/nscd-client.h: Include <time.h>.
33922         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
33923         9th parameter to __vm_region instead of int.
33924         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
33925         * scripts/check-local-headers.sh (exclude): Add device/,
33926         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
33927         cthreads.h.
33929 2015-03-19  Roland McGrath  <roland@hack.frob.com>
33931         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
33932         to account for alignment padding.
33933         * sysdeps/arm/memmove.S: Likewise.
33935 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
33937         * sysdeps/unix/sysv/linux/generic/README: New file.
33939 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
33941         [BZ #18138]
33942         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
33943         (futex_abstimed_wait)
33944         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
33945         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
33946         of lll_futex_timed_wait.
33948 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
33950         [BZ #17542]
33951         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
33953 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
33955         [BZ #17090]
33956         [BZ #17620]
33957         [BZ #17621]
33958         [BZ #17628]
33959         * NEWS: Update.
33960         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
33961         entries with Static TLS too.  Skip entries past the end of the
33962         allocated DTV, from Alan Modra.
33963         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
33964         Static TLS DTV entry set up from...
33965         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
33966         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
33967         * nptl/allocatestack.c (init_one_static_tls): ... and here...
33968         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
33969         for Static TLS.
33970         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
33971         that the slot we find is associated with the given map before
33972         using its generation count.
33973         * nptl_db/db_info.c: Include ldsodefs.h.
33974         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
33975         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
33976         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
33977         (link_map::l_tls_offset): New struct field.
33978         (dtv_t::counter): Likewise.
33979         (rtld_global): New struct.
33980         (_rtld_global): New rtld variable.
33981         (dl_tls_dtv_slotinfo_list): New rtld global field.
33982         (dtv_slotinfo_list): New struct.
33983         (dtv_slotinfo): Likewise.
33984         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
33985         (td_lookup): Rename to...
33986         (td_mod_lookup): ... this.  Use new mod parameter instead of
33987         LIBPTHREAD_SO.
33988         * nptl_db/td_thr_tlsbase.c: Include link.h.
33989         (dtv_slotinfo_list, dtv_slotinfo): New functions.
33990         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
33991         addresses even if the DTV is out of date or missing them.
33992         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
33993         index zero-length arrays.
33994         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
33995         (td_lookup): Make it a macro implemented in terms of...
33996         (td_mod_lookup): ... this declaration.
33997         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
33998         (DB_MAIN_VARIABLE): Likewise.
34000 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34002         [BZ #18134]
34003         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34005 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
34007         * stdlib/setenv.c (__add_to_environ): Revert previous change.
34009 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
34011         [BZ #18128]
34012         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
34013         (atomic_add, atomic_increment_and_test)
34014         (atomic_decrement_and_test): Fix 64-bit arithmetic.
34016 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
34018         * stdlib/setenv.c (__add_to_environ):
34019         Dump core quickly if setenv (..., NULL, ...) is called.
34021 2015-03-13  Roland McGrath  <roland@hack.frob.com>
34023         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
34024         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
34025         all the necessary asm magic in one place.
34026         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
34027         using those.
34029 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
34031         [BZ #14906]
34032         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
34033         traced file mtime. Use consistent log message.
34034         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
34035         (register_traced_file): Call install_watches. Always set mtime.
34036         (invalidate_cache): Iterate over all trace files. Call install_watches.
34037         (inotify_check_files): Don't inline. Handle watching parent
34038         directories and configuration file movement in and out.
34039         (handle_inotify_events): New function.
34040         (main_loop_poll): Call handle_inotify_events.
34041         (main_loop_epoll): Likewise.
34042         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
34043         (struct traced_file): Use array of inotify fds. Add parent directory,
34044         and basename.
34045         (struct database_dyn): Remove unused file_mtime.
34046         (init_traced_file): New inline function.
34047         (define_traced_file): New macro.
34048         * nss/nss_db/db-init.c: Use define_traced_file.
34049         (_nss_db_init): Use init_traced_file.
34050         * nss/nss_files/files-init.c: Use define_traced_file.
34051         (_nss_files_init): Use init_traced_file.
34053 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
34055         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
34056         [_LIBC]: Do not include <stdlib.h>.
34057         [!_LIBC] (abort): Remove declaration.
34058         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
34059         _FP_STATIC_ASSERT instead of conditionally calling abort.
34060         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
34061         (_FP_EXTEND_CNAN): Likewise.
34062         (FP_TRUNC): Likewise.
34063         (__FP_CLZ): Likewise.
34064         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
34066 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
34068         * manual/string.texi (XPG basename): Fix prototype.
34070 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34072         [BZ #18080]
34073         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
34074         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
34075         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
34076         (__setcontext): Likewise.
34077         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
34078         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
34079         Call rt_sigprocmask syscall one time to set new signal mask
34080         and retrieve the current signal mask instead of two calls.
34081         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
34082         (__swapcontext): Likewise.
34083         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
34084         * stdlib/tst-setcontext2.c: New file.
34086 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34088         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34090 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
34092         [BZ #18093]
34093         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
34094         the wrong size.
34096 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34098         [BZ #18043]
34099         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
34101 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34103         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
34104         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
34105         Remove define.
34106         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
34107         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
34108         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
34109         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
34110         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
34111         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
34112         define.
34113         * nptl_db/td_symbol_list.c (td_lookup): Remove
34114         HAVE_ASM_GLOBAL_DOT_NAME code.
34115         * sysdeps/powerpc/powerpc64/configure.ac: Remove
34116         HAVE_ASM_GLOBAL_DOT_NAME check.
34117         * sysdeps/powerpc/powerpc64/configure: Regenerate.
34118         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
34119         (DOT_LABEL): Remove define.
34120         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
34121         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
34122         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
34123         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
34124         (__TLS_GET_ADDR): Likewise.
34125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
34126         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
34128 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
34130         [BZ #18111]
34131         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
34132         (_FPU_SETCW): Initialize cw from fpsr before storing.
34133         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
34134         (fesetexceptflag): Rewrite using fpu_control.h.
34135         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
34137 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
34139         [BZ #18110]
34140         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
34141         asms.
34142         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34144 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
34146         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
34147         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
34148         abort.
34149         (_FP_FMA): Likewise.
34150         (_FP_DIV): Likewise.
34152 2015-03-10  Roland McGrath  <roland@hack.frob.com>
34154         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
34155         with 0 in that case.
34156         * Makefile (summarize-tests): New canned sequence, factored out of
34157         commands for targets tests and xtests.  Display summary lines that
34158         don't start with PASS: or XFAIL: rather than ones that do start with
34159         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
34160         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
34161         do start with ERROR: or FAIL:.
34162         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
34163         (except for [$(build-shared) = yes]).
34164         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
34165         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
34166         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
34167         * nptl/Makefile: Revert 2015-03-04 changes.
34168         [$(CXX) empty] (tests-unsupported): New variable.
34169         * debug/Makefile: Likewise.
34171         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
34172         gnulib file.  Replace __attribute with __attribute__ throughout.
34174 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
34176         * sysdeps/hppa/fpu/libm-test-ulps: Update.
34178 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
34180         [BZ #18104]
34181         * math/auto-libm-test-in: Add another test of pow.
34182         * math/auto-libm-test-out: Regenerated.
34184 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34186         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
34187         $(config-cflags-nofma).
34189 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
34191         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
34192         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
34193         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
34194         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
34195         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
34196         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
34197         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
34198         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
34199         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
34200         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
34201         Add comment on closing #endif.
34203 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34205         * posix/wordexp.c (CHAR_IN_SET): New macro.
34206         (parse_param): Use it.
34208 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34210         * sysdeps/powerpc/fpu/libm-test-ulps: update.
34212 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34214         [BZ #18043]
34215         * posix/wordexp.c (parse_param): Fix buffer overflow.
34216         * posix/wordexp-test.c (test_case): Add test case.
34218 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34220         [BZ #18042]
34221         * posix/wordexp.c (parse_backtick): Fix off-by-one.
34222         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
34224 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34226         [BZ #18043]
34227         * posix/wordexp-test.c (test_case): Add test for BZ #18043
34228         (do_bz18043): Delete.
34229         (at_page_end): New.
34230         (testit): Refactor to have words at the edge of unreadable page.
34232 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34234         [BZ #16734]
34235         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
34236         Cleanup read-only streams as well.
34237         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
34239 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34241         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
34242         <bits/libc-lockP.h>
34244 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
34246         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
34247         on [__KERNEL__].
34248         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
34249         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
34250         * soft-fp/op-common.h (_FP_DECL): Likewise.
34252 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
34254         * elf/ifuncdep2.c (global): Replace
34255         __attribute__((visibility("protected"))) with
34256         asm (".protected global").
34257         * elf/ifuncmod1.c (global): Likewise.
34258         * elf/ifuncmod5.c (global): Likewise.
34260 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
34262         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
34263         <asm/sfp-machine.h> instead of <sfp-machine.h>.
34265 2015-03-06  Roland McGrath  <roland@hack.frob.com>
34267         * manual/install.texi (Configuring and compiling):
34268         Document test-wrapper-env-only.
34269         * INSTALL: Regenerated.
34271 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34273         [BZ #18043]
34274         * posix/wordexp.c (parse_param): Fix buffer overflow.
34275         * posix/wordexp-test.c (do_bz18043): Add test case.
34277 2015-03-06  Vincent Bernat  <vincent@bernat.im>
34279         * time/tst-strptime2.c (do_test): Ensure failing tests are
34280         reported correctly.
34281         * time/tst-strptime3.c (do_test): Likewise.
34283 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
34285         Fix aio_error thread-safety.
34286         * sysdeps/pthread/aio_error.c: New file
34287         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
34288         synchronization.
34290 2015-03-06  Florian Weimer  <fweimer@redhat.com>
34292         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
34293         (group_number, vfprintf): Use it.
34294         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
34295         (JUMP, REF): Use it.
34296         (WORK_BUFFER_SIZE): New enum constant.
34297         (process_arg, vfprintf): Use it.
34299 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
34301         * manual/errno.texi (Error Messages): Complete example function
34302         by adding missing #define.
34303         (program_invocation_name): Add statement indicating GNU
34304         extension and reference which header file declares the variable.
34305         (program_invocation_short_name): Likewise.
34307 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
34309         * manual/errno.texi (Error Messages): Delete strerror ISO C89
34310         compatibility note.
34312 2015-03-05  Roland McGrath  <roland@hack.frob.com>
34314         * Makeconfig (test-wrapper-env-only): New variable.
34315         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
34316         then use that with $(test-wrapper-env-only) rather than using
34317         $(test-wrapper-env) $(run-program-env) $($*-ENV).
34319 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34321         [BZ #18082]
34322         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
34323         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
34324         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
34325         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
34326         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
34327         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
34328         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
34329         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
34330         Likewise.
34331         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
34332         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
34333         Likewise.
34334         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
34335         Likewise.
34336         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
34337         Likewise.
34338         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
34339         Likewise.
34340         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
34341         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
34342         Likewise.
34343         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
34344         Likewise.
34345         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
34346         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
34348 2015-03-04  Roland McGrath  <roland@hack.frob.com>
34350         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
34351         (ETH_ALEN): New macro.
34352         (struct ether_addr): Use it for length of ether_addr_octet.
34354         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
34355         (setdb): Don't call __nss_configure_lookup for "rpc".
34356         (do_test): Don't call test_rpc.
34357         (output_rpcent, test_rpc): Functions moved ...
34358         * sunrpc/test-rpcent.c: ... to this new file.
34359         * sunrpc/Makefile (tests): Add it.
34361         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
34362         __xpg_sigpause.
34363         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
34364         * nptl/tst-signal6.c: Likewise.
34365         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
34366         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
34368         * configure.ac (libc_cv_cxx_link_ok): New check.
34369         Reset CXX to empty if it fails to link.
34370         * configure: Regenerated.
34371         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
34372         bug-atexit3-lib only if $(CXX) is nonempty.
34373         * nptl/Makefile (tests): Likewise for tst-cancel24.
34374         (tests, tests-static): Likewise for tst-cancel24-static.
34375         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
34376         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
34377         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
34378         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
34380 2015-03-04  Andreas Schwab  <schwab@suse.de>
34382         [BZ #17631]
34383         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
34384         for non-GCC compilers.
34385         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34386         Likewise.
34388 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34390         [BZ #17776]
34391         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
34392         integer before bitwise and assembly operations.
34393         (feclearexcept): Likewise.
34394         * math/test-fenvinline.c: New file.
34395         * math/Makefile: Add test-fenvinline test.
34397 2015-03-03  Alan Modra  <amodra@gmail.com>
34399         [BZ #16512]
34400         * scripts/localplt.awk: Strip off symbol version.
34401         * NEWS: Mention bug fix.
34403 2015-03-02  Roland McGrath  <roland@hack.frob.com>
34405         * sysdeps/pthread/timer_routines.c
34406         (timer_free_list, thread_free_list, thread_active_list): Make static.
34408 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
34410         [BZ #17779]
34411         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34412         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34413         Undefine.
34414         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34415         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34416         Likewise.
34417         * sysdeps/unix/sysv/linux/sh/kernel-features.h
34418         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34419         Likewise.
34421 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34423         [BZ #18036]
34424         * posix/fnmatch_loop.c (END): Detect invalid pattern.
34425         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
34427 2015-03-02  Andreas Schwab  <schwab@suse.de>
34429         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
34430         variable name.
34432 2015-03-02  Florian Weimer  <fweimer@redhat.com>
34434         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
34435         Return error status.
34437 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
34439         [BZ #15969]
34440         * locale/findlocale.c (_nl_find_locale): Introduce const
34441         version of loc_name and drop unsafe type casts.
34443 2015-02-27  Roland McGrath  <roland@hack.frob.com>
34445         * dlfcn/tststatic2.c (main): Converted to ...
34446         (do_test): ... this.
34447         (TEST_FUNCTION): New macro.
34448         Include test-skeleton.c.
34450 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
34452         [BZ #17711]
34453         * elf/Makefile (tests): Add vismain only if PIE is enabled.
34454         (tests-pie): Add vismain.
34455         (CFLAGS-vismain.c): New.
34456         * elf/vismain.c: Add comments for PIE requirement.
34458 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
34460         [BZ #18046]
34461         [BZ #18047]
34462         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
34463         0x1p-56L as threshold for just returning the argument.
34464         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
34465         0x1p-32L as threshold for just returning the argument.
34466         * math/auto-libm-test-in: Add more tests of atanh.
34467         * math/auto-libm-test-out: Regenerated.
34468         * sysdeps/i386/fpu/libm-test-ulps: Update.
34469         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
34471 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
34473         * string/bcopy.c (bcopy): Call memmove for performance.
34475 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
34477         * string/bzero.c (__bzero): Call memset for performance.
34479 2015-02-27  John David Anglin  <dave.anglin@bell.net>
34481         [BZ #18068]
34482         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
34483         to 00100000.
34485 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
34487         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
34489 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
34491         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
34492         (__kernel_standard): Use CSTR macro when setting exc.name.
34493         * sysdeps/ieee754/Makefile [$(subdir) = math]
34494         (CFLAGS-k_standard.c): Remove variable.
34496         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
34497         setting p and q from "else if" to "else".
34498         (qzero): Likewise.
34499         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
34500         (qone): Likewise.
34501         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
34502         (qzerof): Likewise.
34503         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
34504         (qonef): Likewise.
34505         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
34506         (qzero): Likewise.
34507         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
34508         (qone): Likewise.
34510         [BZ #18038]
34511         [BZ #18039]
34512         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
34513         return pi/2 for arguments below 0x1p-113L.
34514         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
34515         return pi/2 for arguments below 0x1p-106L.
34516         * math/auto-libm-test-in: Add more tests of acos.
34517         * math/auto-libm-test-out: Regenerated.
34519         [BZ #16351]
34520         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
34521         (MO): New macro.
34522         (__ieee754_asin): Force underflow exception for results with small
34523         absolute value.
34524         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
34525         (MO): New macro.
34526         (__ieee754_asinf): Force underflow exception for results with
34527         small absolute value.
34528         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
34529         (__ieee754_asin): Force underflow exception for results with small
34530         absolute value.
34531         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
34532         (__ieee754_asinf): Force underflow exception for results with
34533         small absolute value.
34534         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
34535         (__ieee754_asinl): Force underflow exception for results with
34536         small absolute value.
34537         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
34538         (__ieee754_asinl): Force underflow exception for results with
34539         small absolute value.
34540         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
34541         (__ieee754_asinl): Force underflow exception for results with
34542         small absolute value.
34543         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
34544         Include <math.h>.
34545         * math/auto-libm-test-in: Do not mark underflow exceptions as
34546         possibly missing for bug 16351.
34547         * math/auto-libm-test-out: Regenerated.
34549         [BZ #18030]
34550         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
34551         of power of 2 down when low part has opposite sign.
34552         * math/libm-test.inc (logb_test_data): Add more tests.
34554 2015-02-26  Andreas Schwab  <schwab@suse.de>
34556         [BZ #18032]
34557         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
34558         over collating symbol inside a bracket expression.  Minor cleanup.
34559         * posix/tst-fnmatch3.c (do_test): Add test case.
34561 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
34563         [BZ #18029]
34564         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
34565         Adjust exponent of power of 2 down when low part has opposite
34566         sign.
34567         * math/libm-test.inc (ilogb_test_data): Add more tests.
34569 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
34571         [BZ #15969]
34572         * locale/findlocale.c (_nl_find_locale): Fix constness error in
34573         the previous change.
34575         [BZ #15969]
34576         * locale/findlocale.c (_nl_find_locale): Retry archive search
34577         after alias expansion.
34579 2015-02-25  Roland McGrath  <roland@hack.frob.com>
34581         * iconv/tst-iconv3.c (main): Converted to ...
34582         (do_test): ... this.
34583         (TEST_FUNCTION): New macro.
34584         Include test-skeleton.c.
34586         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
34587         (convert): Make function static.
34588         (test_unalign): Likewise.  Add const to argument pointee types.
34589         (main): Replace with static function do_test.
34590         Print "Succeeded." only if RET is zero.
34591         (TEST_FUNCTION): New macro.
34592         Include test-skeleton.c.
34594         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
34595         returns a null pointer.
34597 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34599         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
34600         to __memcpy_ppc only for static builds.
34602 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
34604         [BZ #18020]
34605         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
34606         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
34607         * math/auto-libm-test-in: Add more tests of asinh.
34608         * math/auto-libm-test-out: Regenerated.
34609         * sysdeps/i386/fpu/libm-test-ulps: Update.
34610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34612 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
34614         [BZ #15850]
34615         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
34616         and ip6_mtuinfo definitions here.
34617         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
34618         in this define too.  Update comment.
34620 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
34622         * elf/sprof.c (load_shobj): Tweak error message to match others.
34624 2015-02-24  Kevin Easton  <kevin@guarana.org>
34626         [BZ #16145] (partial fix)
34627         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
34628         to reduce lock contention.
34630 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
34632         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
34633         (struct timex): Update time comment.
34634         (ADJ_SETOFFSET): Define.
34636 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
34638         [BZ #18019]
34639         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34640         2**56 not 2**28 as threshold for log (2x) formula.
34641         * math/auto-libm-test-in: Add more tests of acosh.
34642         * math/auto-libm-test-out: Regenerated.
34643         * sysdeps/i386/fpu/libm-test-ulps: Update.
34644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34646 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
34648         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
34649         parenthesis around the buf assignment.
34650         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
34652 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
34654         [BZ #16783]
34655         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
34656         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
34657         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
34658         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
34659         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
34660         * math/libm-test.inc (scalb_test_data): Add more tests.
34662 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34664         [BZ #17916]
34665         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
34666         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
34668 2015-02-24  Eric Rannaud  <e@nanocritical.com>
34670         [BZ #17523]
34671         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
34672         * io/bits/fcntl2.h (open): Use it.
34673         (openat): Likewise.
34674         * io/open.c (__libc_open): Likewise.
34675         * io/open64.c (__libc_open64): Likewise.
34676         * io/open64_2.c (__open64_2): Likewise.
34677         * io/open_2.c (__open_2): Likewise.
34678         * io/openat.c (__openat): Likewise.
34679         * io/openat64.c (__openat64): Likewise.
34680         * io/openat64_2.c (__openat64_2): Likewise.
34681         * io/openat_2.c (__openat_2): Likewise.
34682         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
34683         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
34684         * sysdeps/posix/open64.c (__libc_open64): Likewise.
34685         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
34686         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
34687         (__open_nocancel): Likewise.
34688         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
34689         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34690         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
34692 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34694         [BZ #14841]
34695         * resolv/gethnamaddr.c (getanswer): Skip logging if
34696         RES_USE_DNSSEC is set.
34697         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34699 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
34701         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
34703 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
34705         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
34706         201304L, for Unicode 7.
34708 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
34710         [BZ #17836]
34711         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
34712         shared library.  Add gmon-start.os otherwise.
34713         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
34714         $(objpfx)gmon-start.os if builing shared library.
34715         ($(objpfx)g$(static-start-installed-name)): Likewise.
34717 2015-02-23  Andreas Schwab  <schwab@suse.de>
34719         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
34721 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34723         [BZ #17269]
34724         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
34725         (enlarge_userbuf): Likewise.
34727 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
34729         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
34730         * math/atest-exp.c (TIMEOUT): Adjust to 200.
34731         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
34732         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
34734 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
34736         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
34737         expression inside statement expression.
34739 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34741         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
34742         <sysdeps/nptl/lowlevellock.h> and remove macros and
34743         functions that are now defined there.
34744         (SYS_futex): Remove.
34745         (lll_compare_and_swap): Remove.
34746         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
34748 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
34750         [BZ #17999]
34751         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
34752         instead of scandirat.
34753         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
34754         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
34755         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
34756         __scandirat.
34757         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
34758         (__scandirat): Declare.  Use libc_hidden_proto.
34759         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
34760         Remove variable.
34761         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
34763 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
34765         [BZ #15319]
34766         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
34767         (MO): New macro.
34768         (__ieee754_atan2): For results with small absolute value, force
34769         underflow exception and remove excess range and precision from
34770         return value.
34771         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
34772         (MO): New macro.
34773         (__ieee754_atan2f): For results with small absolute value, force
34774         underflow exception and remove excess range and precision from
34775         return value.
34776         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
34777         (MO): New macro.
34778         (__atan): For results with small absolute value, force underflow
34779         exception and remove excess range and precision from return value.
34780         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
34781         (MO): New macro.
34782         (__atanf): For results with small absolute value, force underflow
34783         exception and remove excess range and precision from return value.
34784         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
34785         <math.h>.
34786         (__ieee754_atan2): Force underflow exception for results with
34787         small absolute value.
34788         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
34789         <math_private.h>.
34790         (atan): Force underflow exception for results with small absolute
34791         value.
34792         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
34793         (__atanf): Force underflow exception for results with small
34794         absolute value.
34795         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
34796         <math.h>.
34797         (__atanl): Force underflow exception for results with small
34798         absolute value.
34799         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
34800         (__atanl): Force underflow exception for results with small
34801         absolute value.
34802         * sysdeps/x86/fpu/bits/mathinline.h
34803         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
34804         (__ieee754_atan2): Only define inline for long double.
34805         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
34806         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
34807         * math/auto-libm-test-in: Do not mark underflow exceptions as
34808         possibly missing for bug 15319.  Add more tests of atan2.
34809         * math/auto-libm-test-out: Regenerated.
34810         * math/libm-test.inc (casin_test_data): Do not mark underflow
34811         exceptions as possibly missing for bug 15319.
34812         (casinh_test_data): Likewise.
34813         * sysdeps/i386/fpu/libm-test-ulps: Update.
34815 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
34817         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
34818         * sysdeps/mips/bits/endian.h: Fix comments.
34820 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
34822         [BZ #17996]
34823         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
34824         (hdestroy_r): Likewise.
34825         (hsearch_r): Likewise.
34826         (__hcreate_r): Declare and use libc_hidden_proto.
34827         (__hdestroy_r): Likewise.
34828         (__hsearch_r): Likewise.
34829         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
34830         (hcreate): Call __hcreate_r instead of hcreate_r.
34831         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
34832         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
34833         as weak alias of __hcreate_r.
34834         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
34835         __hdestroy_r.
34836         (hsearch_r): Rename to __hsearch_r and define as weak alias of
34837         __hsearch_r.
34838         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
34839         Remove variable.
34840         (test-xfail-XPG4/search.h/linknamespace): Likewise.
34841         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
34842         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
34843         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
34845 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34847         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
34848         arena_lock into a single arena_get.
34850 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
34852         * dl-reloc.c: Inlucde libc-internal.h.
34853         (_dl_try_allocate_static_tls): Call ALIGN_UP.
34854         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
34855         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
34856         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
34857         (grow_heap): Likewise.
34858         * malloc/malloc.c: Include libc-internal.h.
34859         (do_check_malloc): Call powerof2.
34860         (sysmalloc): Use pagesize. Call ALIGN_UP.
34861         (systrim): Use pagesize.
34862         (mremap_chunk): Use pagesize. Call ALIGN_UP.
34863         (__libc_valloc): Use pagesize.
34864         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
34866 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
34868         [BZ #17991]
34869         * include/sys/resource.h (__getrlimit64): Declare.  Use
34870         libc_hidden_proto.
34871         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
34872         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
34873         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
34874         getrlimit64.
34875         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
34876         __getrlimit64.
34877         [!getrlimit64] (getrlimit64): Define as weak alias of
34878         __getrlimit64.  Use libc_hidden_weak.
34879         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
34880         using __getrlimit64 not __new_getrlimit64.
34881         (__GI_getrlimit64): Likewise.
34882         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
34883         Likewise.
34884         (__GI_getrlimit64): Likewise.
34885         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
34886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
34887         (getrlimit): Add __getrlimit64 alias.
34888         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
34889         Likewise.
34890         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
34891         Remove variable.
34892         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
34893         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
34895 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
34897         * libio/fileops.c: Add missing sys/mman.h
34898         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
34900 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
34902         * manual/math.texi (Errors in Math Functions): Clarify goals
34903         regarding inexact and underflow exceptions.
34905 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
34907         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
34908         * sysdeps/mips/memset.S: Ditto.
34910 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
34912         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
34914 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34916         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
34917         (__v1longjmp): Remove versioned symbol.
34918         (__v1siglongjmp): Remove alias and versioned symbol.
34919         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
34920         (__v2siglongjmp): Likewise.
34922 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34924         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
34926 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
34928         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
34930 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34932         [BZ #17987]
34933         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
34934         zero result does not depend on the sign resulting from
34935         subtraction.
34936         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34937         Likewise.
34938         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34939         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34940         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34941         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34942         * math/libm-test.inc (remquo_test_data): Add more tests.
34944 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
34946         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
34947         Problem reported by J William Piggott.
34949 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34951         [BZ #17978]
34952         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
34953         products 4 * y and 2 * y where those would overflow.
34954         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34955         Likewise.
34956         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34957         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34958         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34959         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34960         * math/libm-test.inc (remquo_test_data): Add more tests.
34962         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
34964         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
34965         [defined _COMPILING_NEWLIB].
34966         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
34967         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
34969         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
34970         [!defined __mips_isa_rev || __mips_isa_rev < 6].
34972 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34974         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
34975         acquired.
34977 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
34979         [BZ #17792]
34980         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
34981         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
34982         HOST_STACK_END_ADDR): Likewise.
34984 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
34986         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
34987         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
34988         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
34990 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34992         * sysdeps/generic/c++-types.data: New file.
34993         * sysdeps/generic/ld.abilist: New file.
34994         * sysdeps/generic/libBrokenLocale.abilist: New file.
34995         * sysdeps/generic/libanl.abilist: New file.
34996         * sysdeps/generic/libc.abilist: New file.
34997         * sysdeps/generic/libcrypt.abilist: New file.
34998         * sysdeps/generic/libdl.abilist: New file.
34999         * sysdeps/generic/libm.abilist: New file.
35000         * sysdeps/generic/libpthread.abilist: New file.
35001         * sysdeps/generic/libresolv.abilist: New file.
35002         * sysdeps/generic/librt.abilist: New file.
35004 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
35006         [BZ #17569]
35007         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35008         Compute absolute value of x as modified by fmod, not original
35009         value of x.
35010         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
35011         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
35012         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
35013         RUN_TEST_ffI_f1_mod8.
35014         (remquo_test_data): Add more tests.
35016 2015-02-13  Roland McGrath  <roland@hack.frob.com>
35018         * sysdeps/init_array/pt-crti.S: New file.
35020 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
35022         [BZ #17967]
35023         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
35024         __builtin_fmaf instead of relying on contraction of a * b + c.
35026 2015-02-12  J William Piggott  <elseifthen@gmx.com>
35028         [BZ #17969]
35029         * manual/time.texi: correct the zoneinfo path in the TZ Variable
35030         node.
35032 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
35034         [BZ #17964]
35035         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
35036         __builtin_fma instead of relying on contraction of a * b + c.
35038 2015-02-12  Roland McGrath  <roland@hack.frob.com>
35040         * Makeconfig (ASFLAGS): Add -Werror=undef.
35041         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
35042         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
35043         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
35045         * Makeconfig (after-link): New variable.
35046         (+link-pie, +link-pie-tests): Use it.
35047         (+link-static, +link-static-tests): Likewise.
35048         (+link, +link-tests): Likewise.
35049         * Makerules (build-module, build-module-asneeded): Likewise.
35050         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
35051         Likewise.
35052         * elf/Makefile ($(objpfx)ld.so): Likewise.
35054 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
35056         [BZ #17965]
35057         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
35058         both struct timeval and struct timespec.
35060 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
35062         [BZ #16560]
35063         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35064         and redefine.
35065         (__ieee754_exp2l): Do not multiply small fractional parts by
35066         M_LN2l.
35067         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
35068         small argument.
35069         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
35070         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35071         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
35072         * math/auto-libm-test-in: Add more tests of exp2.
35073         * math/auto-libm-test-out: Regenerated.
35075 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35077         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
35078         unaligned path.
35080 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35082         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
35083         little endian.
35085 2015-02-12  Andreas Schwab  <schwab@suse.de>
35087         [BZ #15790]
35088         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
35089         Filter out elision flags from value returned in kind.
35090         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
35091         * nptl/tst-pthread-mutexattr.c: New file.
35093 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35095         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
35096         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
35097         into gnu-gnu, and update comment to refer to abi-tags.
35099 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
35101         [BZ #15467]
35102         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
35103         (__sincos): Set errno to EDOM for infinite argument.
35104         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
35105         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
35106         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
35107         (__sincosl): Set errno to EDOM for infinite argument.
35108         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
35109         (__sincosl): Set errno to EDOM for infinite argument.
35110         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
35111         (__sincosl): Set errno to EDOM for infinite argument.
35112         * math/libm-test.inc (sincos_test_data): Test errno setting.
35114 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
35116         * string/strxfrm_l.c: Remove #define STRCMP.
35117         * string/strcoll_l.c: Remove #define STRLEN.
35118         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
35119         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
35121 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
35123         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
35124         * sysdeps/mips/mips32/sfp-machine.h: ... here.
35125         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
35126         * sysdeps/mips/mips64/Makefile: ... here.
35127         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
35128         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
35129         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
35130         * sysdeps/mips/mips64/sfp-machine.h: ... here.
35131         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
35132         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
35133         * sysdeps/mips/mips64/n64/Implies: Likewise.
35135 2015-02-10  Roland McGrath  <roland@hack.frob.com>
35137         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
35138         <sys/time.h>, <string.h>, and <errno.h>.
35139         (dest_offset, dest_address, value, zero): Remove unused variables.
35140         (ldouble): Remove typedef.
35141         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
35142         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
35143         1).  Fix code style.
35144         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
35145         (check): Function removed.
35146         (CHECK): New macro.
35147         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
35148         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
35149         Don't call set_sigaction_FP and remove_sigaction_FP here.
35150         (ldouble_test): Just use 'long double' as macro argument, no need for
35151         the 'ldouble' typedef.
35152         (do_test): Set up SIGFPE handler at start, using plain signal rather
35153         than sigaction.  Fix code style.
35155 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
35157         [BZ #17949]
35158         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
35159         jump label.
35161 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35163         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
35164         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35166         * sysdeps/powerpc/configure.ac: Remove file.
35167         * sysdeps/powerpc/configure: Likewise.
35169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
35170         [sysdep_routines]: Remove wordcopy-power6 object.
35171         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
35172         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
35173         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
35174         (__memmove_ppc32): Likewise.
35175         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
35176         file.
35177         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
35178         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
35179         Remove preprocessor.
35181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
35182         [sysdep_routines]: Remove wide chars objects.
35183         [wcsmbs]: New rule for wide char objects.
35185         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35186         Remove wordcopy-power6 obejct.
35187         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
35188         Use local call for wordcopy and memcpy symbols.
35189         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
35190         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
35191         implementation for loader.
35192         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
35194         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35195         Remove wordcopy-power7 object.
35196         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
35197         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
35198         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
35199         (_wordcopy_fwd_dest_aligned): Likewise.
35200         (_wordcopy_bwd_aligned): Likewise.
35201         (_wordcopy_bwd_dest_aligned): Likewise.
35203         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
35204         Rewrite to call __memmove_ppc instead of include default
35205         implementation.
35207         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35208         Remove wide chars objects.
35209         [wcsmbs]: New rule for wide char objects.
35211 2015-02-09  Andreas Schwab  <schwab@suse.de>
35213         [BZ #17912]
35214         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
35215         in terms of __O_DIRECTORY.
35217 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35219         * time/getdate.c: Include <stdbool.h>.
35220         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
35221         call PTR_MANGLE.
35222         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
35223         PTR_DEMANGLE.
35225 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
35227         Add ersatz _Static_assert on older C hosts
35228         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
35229         pre-C11 C platform that is not known to support _Static_assert.
35231 2015-02-07  Richard Braun  <rbraun@sceen.net>
35233         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
35234         sigstate.
35235         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
35237 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35239         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
35240         priority against unexistent AIO_PRIO_DELTA_MAX.
35241         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
35242         instead of int.
35243         * misc/fchflags.c (fchflags): Likewise.
35244         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
35245         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
35246         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
35247         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
35248         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
35249         Declare macros.
35250         [__USE_MISC] (chflags, fchflags): Declare functions.
35251         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
35252         EINVAL when nfds is greater than FD_SETSIZE.
35253         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
35254         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
35255         45.
35256         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
35257         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
35258         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
35259         MACH_RCV_TIMED_OUT.
35260         * hurd/hurd/signal.h (_hurd_self_sigstate,
35261         _hurd_critical_section_lock, _hurd_critical_section_unlock):
35262         Explicit casts from void *.
35263         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
35264         * abi-tags: Rename gnu-gnu os into gnu.
35266         [BZ #4719]
35267         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
35268         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
35269         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
35270         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
35271         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
35272         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
35274         [BZ #17944]
35275         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
35276         duplicates ADDR->sun_path with sockaddr LEN limitation.
35277         * sysdeps/mach/hurd/connect.c: Include <string.h>
35278         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
35279         * sysdeps/mach/hurd/sendmsg.c: Likewise.
35280         * sysdeps/mach/hurd/sendto.c: Likewise.
35281         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
35282         implementing it by hand.
35284 2015-02-06  Roland McGrath  <roland@hack.frob.com>
35286         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
35287         Use sfi_breg on ldr.
35288         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
35289         Likewise.
35291         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
35292         it's defined.
35293         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
35294         Test SIGSETXID only if it's defined.
35296         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
35298         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
35299         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
35301         * nptl/tst-align2.c: Moved ...
35302         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
35303         * nptl/Makefile (tests): Remove tst-align2.
35304         * sysdeps/unix/sysv/linux/Makefile
35305         [$(subdir) = nptl] (tests): Add tst-align-clone.
35306         * nptl/tst-getpid1.c: Moved ...
35307         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
35308         * nptl/tst-getpid2.c: Moved ...
35309         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
35310         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
35311         * sysdeps/unix/sysv/linux/Makefile
35312         [$(subdir) = nptl] (tests): ... here.
35313         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
35314         * sysdeps/unix/sysv/linux/Makefile
35315         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
35317         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
35318         Drop trailing \n from perror argument.  Use return rather than exit.
35320         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
35321         on [SA_SIGINFO].
35322         * nptl/tst-cancel21.c (do_test): Likewise.
35323         * debug/tst-backtrace6.c: Include <signal.h> first thing.
35324         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
35325         [!SA_SIGINFO]: Make it a stub test.
35327         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
35328         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
35330         * posix/tst-getlogin.c: Move to ...
35331         * login/tst-getlogin.c: ... here.
35332         * posix/Makefile (tests): Move tst-getlogin to ...
35333         * login/Makefile (tests): ... here.
35335         * libio/tst-atime.c (do_test): Move local variables SV and E
35336         inside [ST_NOATIME] conditional.
35338         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
35340         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
35342         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
35343         (wait_code): New function replaces macro.
35344         Call nanosleep rather than syscall.
35346         * nptl/pt-system.c: Rewritten.  Put everything under
35347         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35348         Use IFUNC to redirect when possible.
35350         * nptl/pt-longjmp.c: Rewritten.  Put everything under
35351         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35352         Use IFUNC to redirect when possible.
35354         * nptl/pt-fork.c: Rewritten.  Put everything under
35355         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35356         Use IFUNC to redirect when possible.
35357         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
35359         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
35360         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
35361         unconditionally nowadays.  This included the only reference to
35362         __vdso_clock_gettime that appears outside libc proper.
35363         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
35364         Remove version set (containing only __vdso_clock_gettime).
35365         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35366         Add attribute_hidden.
35367         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35368         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
35369         libc_hidden_data_def.
35370         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35371         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35373         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
35374         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
35375         setrpcent, and getrpcport to ...
35376         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
35377         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
35378         getrpcbynumber_r, and getrpcent_r to ...
35379         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
35380         * inet/getrpcbyname.c: Moved ...
35381         * sunrpc/getrpcbyname.c: ... here.
35382         * inet/getrpcbyname_r.c: Moved ...
35383         * sunrpc/getrpcbyname_r.c: ... here.
35384         * inet/getrpcbynumber.c: Moved ...
35385         * sunrpc/getrpcbynumber.c: ... here.
35386         * inet/getrpcbynumber_r.c: Moved ...
35387         * sunrpc/getrpcbynumber_r.c: ... here.
35388         * inet/getrpcent.c: Moved ...
35389         * sunrpc/getrpcent.c: ... here.
35390         * inet/getrpcent_r.c: Moved ...
35391         * sunrpc/getrpcent_r.c: ... here.
35392         * inet/Makefile (routines): Move those to ...
35393         * sunrpc/Makefile (routines): ... here.
35394         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
35395         the $(subdirs) list.
35396         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
35397         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
35398         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
35399         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
35401         * elf/Makefile (routines): Include $(all-dl-routines), not just
35402         $(dl-routines).
35403         (rtld-routines): Likewise.  Use = rather than :=.
35404         * sysdeps/aarch64/Makefile [$(subdir) = elf]
35405         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
35406         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
35407         * sysdeps/arm/Makefile: Likewise.
35408         * sysdeps/i386/Makefile: Likewise.
35409         * sysdeps/x86_64/Makefile: Likewise.
35410         * sysdeps/hppa/Makefile [$(subdir) = elf]
35411         (sysdep_routines, sysdep-rtld-routines): Don't add
35412         $(sysdep-dl-routines) to these.
35413         * sysdeps/ia64/Makefile: Likewise.
35414         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
35415         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
35416         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
35417         Don't add dl-static to these; sysdep-dl-routines alone is enough.
35418         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
35419         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
35420         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
35421         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
35422         * sysdeps/powerpc/Makefile [$(subdir) = elf]
35423         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
35424         these; sysdep-dl-routines alone is enough.
35426 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
35428         [BZ #17932]
35429         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
35430         where multiplication results in zero and third argument is finite
35431         and nonzero.
35432         * math/auto-libm-test-in: Add more tests of fma.
35433         * math/auto-libm-test-out: Regenerated.
35435         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
35436         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
35437         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
35438         (_FP_CMP_EQ): Likewise.
35439         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
35441         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
35442         extra argument CHECK_NAN.  Redefine as wrapper around
35443         _FP_EXTEND_CNAN.
35445 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
35447         * version.h (RELEASE): Set to "stable".
35448         (VERSION): Set to "2.21"
35449         * include/features.h (__GLIBC_MINOR__): Set to 21.
35451         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
35453 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35454             Paul Eggert  <eggert@cs.ucla.edu>
35456         [BZ #16618]
35457         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
35458         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
35459         size in bytes. Store needed elements in wpmax. Use needed size
35460         in bytes for extend_alloca.
35462 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
35464         * manual/install.texi: Latest tested versions are GCC 4.9.2,
35465         binutls 2.25, and texinfo 5.2.
35466         * INSTALL: Regenerate.
35467         * sysdeps/nios2/configure: Regenerate.
35468         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
35469         * manual/contrib.texi: Update.
35470         * po/be.po: Update.
35471         * po/bg.po: Update.
35472         * po/ca.po: Update.
35473         * po/cs.po: Update.
35474         * po/da.po: Update.
35475         * po/de.po: Update.
35476         * po/el.po: Update.
35477         * po/eo.po: Update.
35478         * po/es.po: Update.
35479         * po/fi.po: Update.
35480         * po/fr.po: Update.
35481         * po/gl.po: Update.
35482         * po/hr.po: Update.
35483         * po/hu.po: Update.
35484         * po/ia.po: Update.
35485         * po/id.po: Update.
35486         * po/it.po: Update.
35487         * po/ja.po: Update.
35488         * po/ko.po: Update.
35489         * po/lt.po: Update.
35490         * po/nb.po: Update.
35491         * po/nl.po: Update.
35492         * po/pl.po: Update.
35493         * po/pt_BR.po: Update.
35494         * po/ru.po: Update.
35495         * po/rw.po: Update.
35496         * po/sk.po: Update.
35497         * po/sl.po: Update.
35498         * po/sv.po: Update.
35499         * po/tr.po: Update.
35500         * po/uk.po: Update.
35501         * po/vi.po: Update.
35502         * po/zh_CN.po: Update.
35503         * po/zh_TW.po: Update.
35505         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
35506         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
35507         * sysdeps/hppa/dl-irel.h: Remove #warning.
35508         * sysdeps/hppa/entry.h: Provide prototype for
35509         __canonicalize_funcptr_for_compare and cast argument.
35510         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
35511         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
35512         * sysdeps/hppa/sotruss-lib.c: New file.
35513         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
35514         (atomic_compare_and_exchange_val_acq): Use __typeof__.
35515         (atomic_compare_and_exchange_bool_acq): Likewise.
35516         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
35517         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
35519         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
35520         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
35521         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
35523 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
35525         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
35526         called function in non-PIC case.
35528 2015-01-31  David S. Miller  <davem@davemloft.net>
35530         * sysdeps/sparc/sparc32/bits/atomic.h
35531         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
35532         unlock not after it.
35533         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
35534         volatile register usage warnings from the compiler.
35536         * sysdeps/sparc/nptl/sem_init.c: Delete.
35537         * sysdeps/sparc/nptl/sem_post.c: Delete.
35538         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
35539         * sysdeps/sparc/nptl/sem_wait.c: Delete.
35540         * sysdeps/sparc/sparc32/sem_init.c: New file.
35541         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
35542         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
35543         padding explicitly initialized.
35544         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
35545         padding for in-semaphore spinlock.
35546         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
35547         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
35548         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
35549         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
35550         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
35551         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
35552         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
35553         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
35554         version.
35555         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
35556         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
35558 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
35560         [BZ #17801]
35561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35562         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
35563         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
35564         New.
35565         (index_AVX_Fast_Unaligned_Load): Likewise.
35566         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
35567         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
35568         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
35569         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
35570         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
35571         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
35572         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
35573         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
35574         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
35576 2015-01-29  Andreas Schwab  <schwab@suse.de>
35578         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
35580 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
35582         [BZ #17892]
35583         * nscd/nscd_stat.c (send_stats): Initialize DATA.
35585 2015-01-28  Martin Sebor  <msebor@redhat.com>
35587         * math/README.libm-test: Clarify. Add "How to read the test output."
35589 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
35591         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
35592         Define to 0.
35594 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
35596         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
35597         (__HAVE_64B_ATOMICS): Define to 0.
35599 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35601         [BZ #17885]
35602         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
35603         value to set as new flag.
35605         [BZ #16576]
35606         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
35607         and use _ARCH_PPCSQ instead.
35608         (__ieee754_sqrt): Likewise.
35609         (__ieee754_sqrtf): Likewise.
35610         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
35611         _ARCH_PPCSQ is defined.
35612         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
35613         fsqrt instruction.
35614         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
35615         _ARCH_PPCSQ is defined.
35616         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
35617         fsqrts instruction.
35618         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
35620 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35622         * iconv/loop.c: Suppress array out of bound warning caused by GCC
35623         bug (GCC BZ #64739).
35625 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
35627         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
35628         Mark _retval as used.
35629         (lll_futex_wake_unlock): Likewise.
35630         (lll_futex_timed_wait_requeue_pi): Likewise.
35632         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
35633         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
35634         register variables.
35636         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
35637         libm_hidden_def.
35639         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
35640         (__bswap_64): Mark as __always_inline.
35642 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
35644         [BZ #15378]
35645         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
35646         when none of the search directories exist.
35648 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35650         [BZ #17869]
35651         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
35652         power8 in .machine directive.
35654         [BZ #17868]
35655         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
35656         set dependency from opd value.
35658 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
35660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35661         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
35662         architecture.
35664 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
35666         [BZ #17870]
35667         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
35668         with uint64_t.
35669         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
35670         (uint64_t) 1.
35671         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
35672         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
35673         Replace 1UL with (uint64_t) 1.
35674         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
35675         int with uint64_t.
35677 2015-01-23  Roland McGrath  <roland@hack.frob.com>
35679         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
35680         (if_freenameindex): Likewise.
35682         * resource/getrlimit64.c: Add missing libc_hidden_def.
35684 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
35686         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
35687         __label__.
35688         (_FP_FMA): Likewise.
35689         (_FP_TO_INT_ROUND): Likewise.
35690         (_FP_FROM_INT): Likewise.
35692 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35694         [BZ #16418]
35695         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
35696         Make code racy and cancel safe.
35698 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
35700         * sysdeps/arm/unwind-resume.h: Fix copyright year.
35701         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
35702         attribution.
35704         * pwd/tst-getpw.c: Rewrite.
35706         [BZ #17702]
35707         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
35708         (modules-names): Add moddummy1 and moddummy2.
35709         ($(objpfx)tst-rec-dlopen): Define.
35710         * dlfcn/moddummy1.c: New file.
35711         * dlfcn/moddummy2.c: New file.
35712         * dlfcn/tst-rec-dlopen.c: New file.
35713         * elf/dl-cache.c (_dl_load_cache_lookup):
35714         Return char*. Copy result with alloca/strcpy/strdup.
35715         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
35716         returns char*. Free cached. If not saving realname
35717         free cached.
35718         * elf/dl-open.c (dl_open_worker): Do not assert that
35719         _r_debug->r_state is RT_CONSISTENT.
35720         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
35721         returns char*.
35723 2015-01-21  Torvald Riegel  <triegel@redhat.com>
35724             Carlos O'Donell  <carlos@redhat.com>
35726         [BZ #12674]
35727         * nptl/sem_waitcommon.c: New file.
35728         * nptl/sem_wait.c: Include sem_waitcommon.c.
35729         (__sem_wait_cleanup, do_futex_wait): Remove.
35730         (__new_sem_wait): Adapt.
35731         (__new_sem_trywait): New function.
35732         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
35733         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
35734         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
35735         (sem_timedwait): Adapt.
35736         * nptl/sem_post.c (__new_sem_post): Adapt.
35737         (futex_wake): New function.
35738         (__old_sem_post): Add release MO fence.
35739         * nptl/sem_open.c (sem_open): Adapt.
35740         * nptl/sem_init.c (__new_sem_init): Adapt.
35741         (futex_private_if_supported): New function.
35742         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
35743         (__old_sem_getvalue): Add using previous code.
35744         * sysdeps/nptl/internaltypes.h: Adapt.
35745         * nptl/tst-sem13.c (do_test): Adapt.
35746         * nptl/tst-sem11.c (main): Adapt.
35747         * nptl/sem_trywait.c: Remove.
35748         * nptl/DESIGN-sem.txt: Remove.
35749         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
35750         (gen-as-const-headers): Remove structsem.sym.
35751         * nptl/structsem.sym: Remove.
35752         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
35753         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
35754         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
35755         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
35756         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
35757         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
35758         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
35759         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
35760         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
35761         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
35762         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
35763         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
35764         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
35765         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
35766         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
35767         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
35768         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
35769         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
35770         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
35771         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
35772         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
35773         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
35775 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
35777         * INSTALL: Regenerated.
35779         * po/libc.pot: Regenerated.
35781 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
35782             Sandra Loosemore  <sandra@codesourcery.com>
35783             Andrew Jenner  <andrew@codesourcery.com>
35784             Joseph Myers  <joseph@codesourcery.com>
35785             Nathan Sidwell  <nathan@codesourcery.com>
35787         * NEWS: Mention new Nios II port.
35788         * sysdeps/nios2/Implies: New file.
35789         * sysdeps/nios2/Makefile: New file.
35790         * sysdeps/nios2/Subdirs: New file.
35791         * sysdeps/nios2/Versions: New file.
35792         * sysdeps/nios2/__longjmp.S: New file.
35793         * sysdeps/nios2/abort-instr.h: New file.
35794         * sysdeps/nios2/backtrace.c: New file.
35795         * sysdeps/nios2/bits/endian.h: New file.
35796         * sysdeps/nios2/bits/fenv.h: New file.
35797         * sysdeps/nios2/bits/link.h: New file.
35798         * sysdeps/nios2/bits/setjmp.h: New file.
35799         * sysdeps/nios2/bsd-_setjmp.S: New file.
35800         * sysdeps/nios2/bsd-setjmp.S: New file.
35801         * sysdeps/nios2/configure: New generated file.
35802         * sysdeps/nios2/configure.ac: New file.
35803         * sysdeps/nios2/crti.S: New file.
35804         * sysdeps/nios2/crtn.S: New file.
35805         * sysdeps/nios2/dl-init.c: New file.
35806         * sysdeps/nios2/dl-machine.h: New file.
35807         * sysdeps/nios2/dl-sysdep.h: New file.
35808         * sysdeps/nios2/dl-tls.h: New file.
35809         * sysdeps/nios2/dl-trampoline.S: New file.
35810         * sysdeps/nios2/gccframe.h: New file.
35811         * sysdeps/nios2/gmp-mparam.h: New file.
35812         * sysdeps/nios2/jmpbuf-offsets.h: New file.
35813         * sysdeps/nios2/jmpbuf-unwind.h: New file.
35814         * sysdeps/nios2/ldsodefs.h: New file.
35815         * sysdeps/nios2/libc-tls.c: New file.
35816         * sysdeps/nios2/libm-test-ulps: New file.
35817         * sysdeps/nios2/machine-gmon.h: New file.
35818         * sysdeps/nios2/math-tests.h: New file.
35819         * sysdeps/nios2/math_private.h: New file.
35820         * sysdeps/nios2/memusage.h: New file.
35821         * sysdeps/nios2/nptl/Makefile: New file.
35822         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
35823         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
35824         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
35825         * sysdeps/nios2/nptl/pthreaddef.h: New file.
35826         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
35827         * sysdeps/nios2/nptl/tls.h: New file.
35828         * sysdeps/nios2/preconfigure: New file.
35829         * sysdeps/nios2/s_fma.c: New file.
35830         * sysdeps/nios2/s_fmaf.c: New file.
35831         * sysdeps/nios2/setjmp.S: New file.
35832         * sysdeps/nios2/sfp-machine.h: New file.
35833         * sysdeps/nios2/sotruss-lib.c: New file.
35834         * sysdeps/nios2/stackguard-macros.h: New file.
35835         * sysdeps/nios2/stackinfo.h: New file.
35836         * sysdeps/nios2/start.S: New file.
35837         * sysdeps/nios2/sysdep.h: New file.
35838         * sysdeps/nios2/tls-macros.h: New file.
35839         * sysdeps/nios2/tst-audit.h: New file.
35840         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
35841         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
35842         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
35843         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
35844         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
35845         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
35846         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
35847         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
35848         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
35849         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
35850         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
35851         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
35852         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
35853         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
35854         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
35855         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
35856         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
35857         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
35858         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
35859         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
35860         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
35861         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
35862         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
35863         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
35864         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
35865         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
35866         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
35867         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
35868         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
35869         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
35870         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
35871         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
35872         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
35873         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
35874         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
35875         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
35876         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
35877         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
35878         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
35879         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
35880         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
35881         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
35882         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
35883         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
35885 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35887         [BZ #17844]
35888         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
35889         (getutent): Use weak_alias in non SHARED case
35890         and default_symbol_version in SHARED case.
35891         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
35892         (getutent_r, pututline): Likewise.
35893         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
35894         (getutid): Likewise.
35895         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
35896         (getutid_r): Likewise.
35897         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
35898         (getutline): Likewise.
35899         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
35900         (getutline_r): Likewise.
35901         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
35902         (updwtmp): Likewise.
35904 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35906         [BZ #17848]
35907         * sysdeps/s390/s390-32/memcmp.S
35908         (memcmp_g5): Rename to __memcmp_g5.
35909         * sysdeps/s390/s390-32/memcpy.S
35910         (memcpy_g5): Rename to __memcpy_g5.
35911         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35912         (memcpy_mvcle) Rename to __memcpy_mvcle.
35913         * sysdeps/s390/s390-32/memset.S
35914         (memset_g5): Rename to __memset_g5.
35915         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35916         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35917         and use prefixed functions.
35918         * sysdeps/s390/s390-32/multiarch/memcmp.S
35919         (memcmp_z196): Rename to __memcmp_z196.
35920         (memcmp_z10): Rename to __memcmp_z10.
35921         (memcmp): Set alias to __memcmp_g5.
35922         (bcmp): Set alias to __memcmp_g5.
35923         * sysdeps/s390/s390-32/multiarch/memcpy.S
35924         (memcpy_z196): Rename to __memcpy_z196.
35925         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35926         (memcpy_z10): Rename to __memcpy_z10.
35927         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35928         (memcpy): Set alias to __memcpy_g5.
35929         * sysdeps/s390/s390-32/multiarch/memset.S
35930         (memset_z196): Rename to __memset_z196.
35931         Jump to __memset_mvcle instead of memset_mvcle.
35932         (memset_z10): Rename to __memset_z10.
35933         Jump to __memset_mvcle instead of memset_mvcle.
35934         (memset_mvcle) Rename to __memset_mvcle.
35935         (memset): Set alias to __memset_g5.
35936         * sysdeps/s390/s390-64/memcmp.S
35937         (memcmp_z900): Rename to __memcmp_z900.
35938         * sysdeps/s390/s390-64/memcpy.S
35939         (memcpy_z900): Rename to __memcpy_z900.
35940         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35941         (memcpy_mvcle) Rename to __memcpy_mvcle.
35942         * sysdeps/s390/s390-64/memset.S
35943         (memset_z900): Rename to __memset_z900.
35944         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
35945         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35946         and use prefixed functions.
35947         * sysdeps/s390/s390-64/multiarch/memcmp.S
35948         (memcmp_z196): Rename to __memcmp_z196.
35949         (memcmp_z10): Rename to __memcmp_z10.
35950         (memcmp): Set alias to __memcmp_z900.
35951         (bcmp): Set alias to __memcmp_z900.
35952         * sysdeps/s390/s390-64/multiarch/memcpy.S
35953         (memcpy_z196): Rename to __memcpy_z196.
35954         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35955         (memcpy_z10): Rename to __memcpy_z10.
35956         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35957         (memcpy): Set alias to __memcpy_z900.
35958         * sysdeps/s390/s390-64/multiarch/memset.S
35959         (memset_z196): Rename to __memset_z196.
35960         Jump to __memset_mvcle instead of memset_mvcle.
35961         (memset_z10): Rename to __memset_z10.
35962         Jump to __memset_mvcle instead of memset_mvcle.
35963         (memset_mvcle) Rename to __memset_mvcle.
35964         (memset): Set alias to __memset_z900.
35966 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
35968         [BZ #17748]
35969         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
35970         __fesetenv instead of fesetenv.
35972 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35974         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
35975         macro.
35977 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35979         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
35980         regression on LE.
35982         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
35983         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
35984         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35985         strncmp-power8 object.
35986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35987         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
35988         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
35989         * NEWS: Update.
35991 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35992             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35994         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
35995         trailing byte check.
35997 2015-01-13  David S. Miller  <davem@davemloft.net>
35999         * include/signal.h (__sigreturn): Guard with __USE_MISC.
36001 2015-01-13  Roland McGrath  <roland@hack.frob.com>
36003         * login/logout.c (logout): Use memset rather than bzero.
36004         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
36005         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
36006         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
36007         (_gethtbyaddr): Likewise.
36008         * locale/programs/simple-hash.c (bcopy): Macro removed.
36010 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36012         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36013         Add strcmp-power8 object.
36014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36015         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
36016         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
36017         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
36018         __strcmp_power8 implementation.
36019         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
36020         * NEWS: Update.
36022         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36023         Add strncpy-power8 and stpncpy-power8 objects.
36024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36025         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
36026         implementations.
36027         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
36028         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
36029         __stpncpy_power8 implementation.
36030         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
36031         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
36032         __strncpy_power8 implementation.
36033         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
36034         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
36035         * NEWS: Update.
36037         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
36038         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
36039         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
36041         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36042         strncat-power8 object.
36043         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
36044         __strcat_power8 implementation.
36045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36046         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
36047         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
36048         optimized strcat for power8.
36050         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36051         strcpy-power8 and stpcpy-power8 objects.
36052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36053         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
36054         implementations.
36055         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
36056         multiarch stpcpy implementation for POWER8.
36057         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
36058         multiarch strcpy implementation for POWER8.
36059         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
36060         __strcpy_power8 function.
36061         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
36062         stpcpy for POWER8.
36063         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
36064         strcpy for POWER8.
36065         * NEWS: Update.
36067 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
36069         [BZ #16009]
36070         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
36071         weights and rules. Use do_xfrm_cached if data fits in cache,
36072         do_xfrm otherwise.  Moved former main loop to...
36073         * (do_xfrm_cached): New function.
36074         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
36075         find_idx, find_position and stack_push.
36076         * (find_idx): New function.
36077         * (find_position): Likewise.
36078         * localedata/sort-test.sh: Added test run for do_xfrm.
36079         * localedata/xfrm-test.c (main): Added command line option
36080         -nocache to run the test with strings that are too large for
36081         the STRXFRM cache.
36083 2015-01-13  Torvald Riegel  <triegel@redhat.com>
36085         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
36086         variable to lll_futex_wake call, not the value itself.
36088 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
36090         [BZ #17803]
36091         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
36092         twom64.  Adjust value to 0x1p-64L.
36093         (__scalblnl): Only return standard underflowing result for K <=
36094         -64 not K <= -63; adjust exponent for underflowing result by 64
36095         not 63.
36096         * math/libm-test.inc (scalbn_test_data): Add more tests.
36097         (scalbln_test_data): Likewise.
36099         [BZ #17834]
36100         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
36101         0x1p63L.
36102         (__scalblnl): Get new exponent of adjusted subnormal value from ES
36103         not HX.
36104         * math/libm-test.inc (scalbn_test_data): Add more tests.
36105         (scalbln_test_data): Likewise.
36107 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36108             Stefani Seibold  <stefani@seibold.net>
36110         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
36111         (sysdep_routines): Add dl-vdso here, ...
36112         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
36113         (sysdep_routines): ... not here.
36114         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
36115         fallback when vDSO is not presented.
36116         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36117         Define with libc_hidden_proto/libc_hidden_data_def definitions.
36118         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
36119         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
36120         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
36121         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
36122         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
36123         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
36124         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
36125         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
36126         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
36127         fallback configurable symbol when vDSO is not available.
36128         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
36129         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
36130         be able to redefine fallback symbol when vDSO is not available.
36131         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
36132         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
36134 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36136         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
36137         (TLS_INIT_TP): Add tm_capable initialization.
36138         (TLS_DEFINE_INIT_TP): Likewise.
36139         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
36140         TCB.
36141         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
36142         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
36143         calculation.
36144         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
36145         transactoion is lock elision is built and TCB tm_capable is set.
36146         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
36147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36148         (INTERNAL_SYSCALL_NCS): Likewise.
36149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36150         (INTERNAL_SYSCALL_NCS): Likewise.
36151         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
36153         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
36154         for powerpc.
36155         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36156         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
36157         and remove it for 32 bits case.
36158         [pthread_rwlock_t] (__rwelision): New field for lock elision.
36159         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
36160         initialization.
36161         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
36162         Disable lock elision with rdlocks if elision is not available.
36164         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
36165         (sysdep_routines): Add lock elision objects.
36166         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36167         [pthread_mutex_t] (__spins): Rework to add lock elision field.
36168         [pthread_mutex_t] (__elision): Add field.
36169         [__PTHREAD_SPINS]: Adjust to init lock elision field.
36170         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
36171         elision definitions for powerpc.
36172         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
36173         implementation of lock elision for powerpc.
36174         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
36175         implementation of timed lock elision for powerpc.
36176         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
36177         implementation of trylock with lock elision for powerpc.
36178         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
36179         implementaion of unlock for lock elision for powerpc.
36180         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
36181         automatic enable lock elision for mutexes.
36182         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
36183         transaction execution definitions for powerpc.
36184         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
36185         definitions.
36186         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
36187         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
36188         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
36189         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
36190         * NEWS: Update.
36192 2015-01-09  Roland McGrath  <roland@hack.frob.com>
36194         * sysdeps/posix/shm-directory.c: Use <> rather than ""
36195         for #include of <shm-directory.h>.
36197 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
36199         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
36200         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
36202 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
36204         [BZ #17791]
36205         * NEWS: Mention bug fix.
36206         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
36207         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
36208         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
36210 2015-01-09  Torvald Riegel <triegel@redhat.com>
36212         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
36214 2015-01-09  Torvald Riegel <triegel@redhat.com>
36216         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
36218 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36220         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
36221         pointer and cast to uintptr_t.
36223 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36225         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
36226         removed.
36227         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
36229 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36231         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
36232         of 0.
36234 2015-01-08  Roland McGrath  <roland@hack.frob.com>
36236         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
36237         <nptl/pthreadP.h> instead.
36238         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
36240         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
36241         already defined.
36242         [__SIGRTMIN] (init): Function removed.
36243         [__SIGRTMIN] (initialized): Variable removed.
36244         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
36245         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
36246         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
36247         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
36248         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
36249         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
36250         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
36251         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
36252         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
36253         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
36254         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
36255         * sysdeps/nptl/allocrtsig.c: New file.
36256         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
36257         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
36258         * sysdeps/generic/testrtsig.h: File removed.
36260         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
36261         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
36263         * nptl/nptl-init.c (pthread_functions): Conditionalize
36264         .ptr__nptl_setxid initialization on [SIGSETXID].
36266         * sysdeps/nptl/sys/procfs.h: New file.
36267         * nptl_db/Makefile (headers): Add it.
36268         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
36270         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
36271         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
36272         * nptl/pthread_attr_setaffinity.c: Include it.
36273         * nptl/pthread_setattr_default_np.c: Likewise.
36274         * nptl/check-cpuset.h: New file.
36276 2015-01-08  Richard Henderson  <rth@redhat.com>
36278         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
36279         (CFLAGS-tst-execstack-prog.c): Likewise.
36280         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
36282 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
36283             Sandra Loosemore  <sandra@codesourcery.com>
36284             Andrew Jenner  <andrew@codesourcery.com>
36285             Joseph Myers  <joseph@codesourcery.com>
36286             Nathan Sidwell  <nathan@codesourcery.com>
36288         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
36289         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
36290         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
36291         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
36292         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
36293         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
36294         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
36295         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
36296         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
36297         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
36298         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
36299         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
36300         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
36301         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
36302         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
36303         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
36304         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
36306 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36308         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
36309         timespec struct member in syscall macro.
36310         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
36311         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
36312         first timeval struct member in syscall macro.
36313         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
36315 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
36317         [BZ #17748]
36318         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
36319         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
36320         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
36321         __feupdateenv and define as weak alias of __feupdateenv.  Use
36322         libm_hidden_weak.
36323         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
36324         libm_hidden_def.
36325         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
36326         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
36327         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
36328         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
36329         libm_hidden_def.
36330         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
36331         __feupdateenv and define as weak alias of __feupdateenv.  Use
36332         libm_hidden_weak.
36333         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
36334         libm_hidden_def.
36335         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
36336         __feupdateenv and define as weak alias of __feupdateenv.  Use
36337         libm_hidden_weak.
36338         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
36339         libm_hidden_def.
36340         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36341         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
36342         (__feupdateenv): Likewise.
36343         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
36344         __feupdateenv and define as weak alias of __feupdateenv.  Use
36345         libm_hidden_weak.
36346         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36347         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
36348         libm_hidden_def.
36349         * sysdeps/tile/math_private.h (__feupdateenv): New inline
36350         function.
36351         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
36352         libm_hidden_def.
36353         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
36354         __feupdateenv instead of feupdateenv.
36355         (default_libc_feupdateenv_test): Likewise.
36356         (libc_feresetround_ctx): Likewise.
36358 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36360         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
36361         prototype.
36363 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
36365         * posix/regcomp.c (parse_bracket_exp): Initialize type to
36366         COLL_SYM in a couple of places to avoid uninitialized variable
36367         wanings on tilegx gcc 4.8.2.
36369 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
36371         * sysdeps/aarch64/strcpy.S: New file.
36372         * sysdeps/aarch64/stpcpy.S: New file.
36373         * NEWS: Updated.
36375 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
36377         * sysdeps/aarch64/strrchr.S: New file.
36378         * NEWS: Updated.
36380 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
36382         [BZ #17658]
36383         * stdlib/setenv.c: Fix memory leak when setting large,
36384         duplicate string.
36386 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
36388         [BZ #17273]
36389         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
36390         and tabs from buffer before parsing fstab entry.
36391         * misc/tst-mntent.c (main): Add test for mount entry with
36392         trailing spaces and tabs.
36394 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
36396         [BZ #17748]
36397         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
36398         * math/fesetround.c (fesetround): Rename to __fesetround and
36399         define as weak alias of __fesetround.  Use libm_hidden_weak.
36400         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
36401         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
36402         * sysdeps/arm/fesetround.c (fesetround): Likewise.
36403         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
36404         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
36405         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
36406         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
36407         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
36408         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
36409         __fesetround_inline.
36410         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
36411         __fesetround_inline instead of __fesetround.
36412         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
36413         __fesetround and define as weak alias of __fesetround.  Use
36414         libm_hidden_weak.  Call __fesetround_inline instead of
36415         __fesetround.
36416         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
36417         __fesetround and define as weak alias of __fesetround.  Use
36418         libm_hidden_weak.
36419         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
36420         Likewise.
36421         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
36422         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36423         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
36424         * sysdeps/tile/math_private.h (__fesetround): New inline function.
36425         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
36426         __fesetround and define as weak alias of __fesetround.  Use
36427         libm_hidden_weak.
36428         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
36429         __fesetround instead of fesetround.
36430         (default_libc_feholdexcept_setround): Likewise.
36431         (libc_feholdsetround_ctx): Likewise.
36432         (libc_feholdsetround_noex_ctx): Likewise.
36434         [BZ #17748]
36435         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
36436         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
36437         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
36438         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
36439         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36440         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
36441         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36442         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
36443         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36444         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36445         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36446         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36447         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36448         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36449         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
36450         libm_hidden_def.
36451         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
36452         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
36453         Likewise.
36454         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36455         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36456         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36457         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36458         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
36459         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
36460         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
36461         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
36462         __fesetenv instead of fesetenv.
36463         (libc_feresetround_noex_ctx): Likewise.
36464         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
36465         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
36466         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
36467         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
36468         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
36469         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
36470         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36471         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
36472         (__feupdateenv): Likewise.
36473         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36474         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36475         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36476         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
36478 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
36480         [BZ #17806]
36481         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
36482         addresses have been freed.
36484 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
36486         * resolv/res_init.c (__res_vinit): Improve comments about nserv
36487         and nservall.
36489 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
36491         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
36492         Clean up check_pf allocation pattern. addresses
36494 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36496         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
36497         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
36498         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
36499         * nptl/pthread_exit.c (__pthread_exit): Likewise.
36500         * nptl/pthread_join.c (pthread_join): Likewise.
36501         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
36502         * sysdeps/posix/waitid.c (__waitid): Likewise.
36503         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36504         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36505         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36506         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36507         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36508         Likewise.
36509         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36510         (__libc_pread64): Likewise.
36511         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36512         (__libc_pwrite): Likewise.
36513         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36514         (__libc_pwrite64): Likewsie.
36515         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36516         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36517         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36518         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36519         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36520         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36521         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36523         Likewise.
36524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36525         (__libc_pread64): Likewise.
36526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
36527         Likewise.
36528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36529         (__libc_pwrite64): Likewise.
36530         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36531         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36532         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
36533         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
36534         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36535         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36536         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
36537         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36538         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36539         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36540         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
36541         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36542         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36543         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
36544         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36545         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36546         Likewise.
36548 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
36550         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
36551         (CFLAGS-test-double.c): Likewise.
36552         (CFLAGS-test-ldouble.c): Likewise.
36553         (CPPFLAGS-test-ifloat.c): Likewise.
36554         (CPPFLAGS-test-idouble.c): Likewise.
36555         (CPPFLAGS-test-ildoubl.c): Likewise.
36556         (CFLAGS-test-test-fenv.c): Remove variable.
36557         (CFLAGS-test-misc.c): Likewise.
36559 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
36561         [BZ #17797]
36562         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
36563         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
36564         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
36565         CLOCKS_PER_SEC == 1000000.
36566         * time/clocktest.c (main): Replace %ld with %jd and cast to
36567         intmax_t.
36569 2015-01-05  Roland McGrath  <roland@hack.frob.com>
36571         * sysdeps/generic/unwind-resume.h: New file.
36572         * sysdeps/gnu/unwind-resume.c: Include it.
36573         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
36574         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
36575         argument list.
36576         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
36577         global rather than static.
36578         (_Unwind_Resume): Update user.
36579         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
36580         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
36581         rather than static.  Add __attribute__ ((cold)).
36582         (_Unwind_Resume, __gcc_personality_v0): Update callers.
36583         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
36584         * sysdeps/arm/arm-unwind-resume.S: New file.
36585         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
36586         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
36587         * sysdeps/arm/Makefile [$(subdir) = csu]
36588         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
36589         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36590         Add rt-arm-unwind-resume.
36591         [$(subdir) = nptl]
36592         (libpthread-sysdep_routines, libpthread-shared-only-routines):
36593         Add pt-arm-unwind-resume.
36594         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
36595         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
36597 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
36599         [BZ #17748]
36600         * include/fenv.h (__feholdexcept): Declare.  Use
36601         libm_hidden_proto.
36602         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
36603         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
36604         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36605         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
36606         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
36607         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
36608         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
36609         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36610         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
36611         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
36612         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36613         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
36614         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
36615         (feholdexcept): Likewise.
36616         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36617         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36618         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36619         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36620         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
36621         __feholdexcept instead of feholdexcept.
36622         (default_libc_feholdexcept_setround): Likewise.
36624 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
36626         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
36627         to avoid using stl/str to align destination.
36629 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
36631         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
36633 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
36635         [BZ #17796]
36636         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
36637         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
36638         Define as weak alias not strong alias.
36640 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
36642         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
36643         bltzal with addiupc.
36644         (RTLD_START): Ditto.
36646 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
36648         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
36649         for __vdso_* functions in declarations.
36650         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
36651         definitions.
36652         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
36653         INTERNAL_VSYSCALL): Use struct return types to check for error.
36655         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
36656         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
36657         function with cast from llround().
36658         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
36659         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
36660         Define.
36662 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
36664         [BZ #17793]
36665         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
36666         Define as weak alias not strong alias.
36668         [BZ #17635]
36669         * ctype/ctype-c99.c: New file.  isblank implementation moved from
36670         ...
36671         * ctype/ctype-extn.c: ... here.
36672         (__isblank_l): Move to ...
36673         * ctype/ctype-c99_l.c: ... here.  New file.
36674         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
36675         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
36676         Remove variable.
36677         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36678         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
36679         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
36680         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
36681         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
36683         [BZ #17777]
36684         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
36685         (posix_fadvise64): Define as weak alias not strong alias.
36686         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36687         (posix_fallocate64): Likewise.
36688         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
36689         Remove variable.
36690         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
36691         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
36692         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
36693         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
36694         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
36696 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
36698         [BZ #16191]
36699         * NEWS: Mention bug fix.
36700         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
36701         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
36702         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
36703         (HOST_STACK_END_ADDR): Likewise.
36705 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
36707         [BZ #17748]
36708         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
36709         * math/fegetround.c (fegetround): Rename to __fegetround and
36710         define as weak alias of __fegetround.  Use libm_hidden_weak.
36711         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
36712         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
36713         * sysdeps/arm/fegetround.c (fegetround): Likewise.
36714         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
36715         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36716         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
36717         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
36718         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
36719         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36720         Undefine after rather than before function definition; use
36721         parentheses around function name in definition.
36722         (__fegetround): Also undefine macro after function definition.
36723         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
36724         __fegetround and define as weak alias of __fegetround.  Use
36725         libm_hidden_weak.  Do not undefine as macro.
36726         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36727         Likewise.
36728         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
36729         __fegetround and define as weak alias of __fegetround.  Use
36730         libm_hidden_weak.
36731         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36732         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36733         * sysdeps/tile/math_private.h (__fegetround): New inline function.
36734         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
36735         __fegetround and define as weak alias of __fegetround.  Use
36736         libm_hidden_weak.
36737         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
36738         __fegetround instead of fegetround.
36740         [BZ #17782]
36741         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
36742         Condition macro definition on [__USE_MISC].
36744         [BZ #17781]
36745         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
36746         (struct sigaction): Change type of sa_flags field to int.
36748         [BZ #17780]
36749         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
36750         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
36751         __glibc_reserved0.
36753         * nptl/version.c (banner): Use single year in copyright notice.
36755         * NEWS: Update copyright dates.
36756         * catgets/gencat.c (print_version): Likewise.
36757         * csu/version.c (banner): Likewise.
36758         * debug/catchsegv.sh: Likewise.
36759         * debug/pcprofiledump.c (print_version): Likewise.
36760         * debug/xtrace.sh (do_version): Likewise.
36761         * elf/ldconfig.c (print_version): Likewise.
36762         * elf/ldd.bash.in: Likewise.
36763         * elf/pldd.c (print_version): Likewise.
36764         * elf/sotruss.sh: Likewise.
36765         * elf/sprof.c (print_version): Likewise.
36766         * iconv/iconv_prog.c (print_version): Likewise.
36767         * iconv/iconvconfig.c (print_version): Likewise.
36768         * locale/programs/locale.c (print_version): Likewise.
36769         * locale/programs/localedef.c (print_version): Likewise.
36770         * login/programs/pt_chown.c (print_version): Likewise.
36771         * malloc/memusage.sh (do_version): Likewise.
36772         * malloc/memusagestat.c (print_version): Likewise.
36773         * malloc/mtrace.pl: Likewise.
36774         * manual/libc.texinfo: Likewise.
36775         * nptl/version.c (banner): Likewise.
36776         * nscd/nscd.c (print_version): Likewise.
36777         * nss/getent.c (print_version): Likewise.
36778         * nss/makedb.c (print_version): Likewise.
36779         * posix/getconf.c (main): Likewise.
36780         * scripts/test-installation.pl: Likewise.
36781         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
36783 2015-01-02  Will Newton  <will.newton@linaro.org>
36785         * sysdeps/arm/armv7/configure: Removed.
36786         * sysdeps/arm/armv7/configure.ac: Likewise.
36788 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
36790         * All files with FSF copyright notices: Update copyright dates
36791         using scripts/update-copyrights.
36792         * intl/plural.c: Regenerated.
36793         * locale/programs/charmap-kw.h: Likewise.
36794         * locale/programs/locfile-kw.h: Likewise.
36796 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36798         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
36800 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
36802         [BZ #17748]
36803         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
36804         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
36805         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
36806         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
36807         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36808         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
36809         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36810         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
36811         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36812         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36813         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36814         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36815         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36816         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36817         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
36818         libm_hidden_def.
36819         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
36820         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
36821         Likewise.
36822         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36823         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36824         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36825         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36826         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
36827         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
36828         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
36829         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
36830         __fegetenv instead of fegetenv.
36831         (libc_feholdsetround_noex_ctx): Likewise.
36833 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
36835         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
36836         (Elf_MIPS_ABIFlags_v0): New structure.
36837         (EF_MIPS_FP64): Define.
36838         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
36839         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
36840         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
36841         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
36842         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
36843         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
36844         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
36845         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
36846         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
36847         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
36848         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
36849         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
36850         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
36851         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
36852         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
36853         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
36854         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
36855         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
36856         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
36857         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
36858         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
36859         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
36860         field.
36861         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
36862         EF_MIPS_FP64.
36863         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
36864         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
36865         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
36866         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
36867         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
36868         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
36869         * sysdeps/mips/tst-abi-interlink.c: Likewise.
36870         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
36871         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
36872         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
36873         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
36874         record the current FP ABI extension.
36875         (mips-mode-switch): Define to show if kernel headers support mode
36876         switching.
36877         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
36878         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
36879         supported SYSV ABI version to 3.
36880         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
36881         feature.
36883 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36884             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36886         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
36887         path.
36888         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
36890 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
36892         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
36893         __fegetround and redefine to call __fegetround.  Remove condition
36894         on [!__NO_MATH_INLINES].
36895         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
36896         function.
36897         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
36898         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36899         Remove macro.
36900         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
36901         instead of <fenv_libc.h>.
36902         (__llrintl): Call fegetround instead of __fegetround.
36903         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
36904         instead of <fenv_libc.h>.
36905         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36906         (__lrintl): Call fegetround instead of __fegetround.
36907         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
36908         instead of <fenv_libc.h>.
36909         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36910         (__rintl): Call fegetround instead of __fegetround.
36912 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36914         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
36915         arrays.
36917 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36919         [BZ #17775]
36920         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
36921         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
36922         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
36924 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36926         * sysdeps/i386/tls-macros.h: Include <features.h>.
36927         (TLS_LE): Use non-PIC version for GCC >= 5.0.
36928         (TLS_IE): Likewise.
36929         (TLS_LD): Likewise.
36930         (TLS_GD): Likewise.
36931         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
36932         define for GCC >= 5.0.
36934 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
36936         * math/test-fenv.c (test_single_exception, set_single_exc,
36937         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
36938         feexcp_mask_test, feenable_test, fe_single_test): Add
36939         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
36940         case where they are not used.
36941         * math/libm-test.inc: Likewise.
36942         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
36943         unused in the absence of FP rounding/exception support.
36944         * stdio-common/tst-printf-round.c: Likewise.
36945         * stdlib/tst-strtod-round.c: Likewise.
36946         * stdlib/tst-strtod-underflow.c: Likewise.
36948 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
36950         [BZ #17723]
36951         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
36952         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
36953         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36954         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36955         libm_hidden_weak.
36956         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
36957         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36958         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
36959         libm_hidden_def.
36960         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36961         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36962         libm_hidden_weak.
36963         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
36964         Likewise.
36965         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
36966         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36967         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36968         libm_hidden_weak.
36969         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36970         libm_hidden_def.
36971         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36972         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
36973         (__feraiseexcept): Likewise.
36974         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36975         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36976         libm_hidden_weak.
36977         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36978         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36979         libm_hidden_def.
36980         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
36981         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
36982         Use libm_hidden_def.
36983         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
36984         libm_hidden_def.
36985         (feraiseexcept): Define as weak not strong alias.  Use
36986         libm_hidden_weak.
36987         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
36988         New inline function.  Factored out of ...
36989         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
36990         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
36991         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
36992         feraiseexcept.
36993         * math/w_acos.c (__acos): Likewise.
36994         * math/w_asin.c (__asin): Likewise.
36995         * math/w_ilogb.c (__ilogb): Likewise.
36996         * math/w_j0.c (y0): Likewise.
36997         * math/w_j1.c (y1): Likewise.
36998         * math/w_jn.c (yn): Likewise.
36999         * math/w_log.c (__log): Likewise.
37000         * math/w_log10.c (__log10): Likewise.
37001         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
37002         * sysdeps/aarch64/fpu/math_private.h
37003         (libc_feupdateenv_test_aarch64): Likewise.
37004         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37005         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
37006         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
37007         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37008         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37009         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37010         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
37011         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37012         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37013         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37015 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
37017         [BZ #17732]
37018         * io/test-utime.c (main): Replace %ld with %jd and cast to
37019         intmax_t.
37020         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
37021         * nptl/tst-mutex5.c: Include <stdint.h>.
37022         (do_test): Replace %ld with %jd and cast to intmax_t.
37023         * posix/tst-regex.c (run_test): Likewise.
37024         (run_test_backwards): Likewise.
37025         * rt/tst-clock.c: Include <stdint.h>.
37026         (clock_test): Replace %ld with %jd and cast to intmax_t.
37027         * rt/tst-cpuclock1.c: Include <stdint.h>.
37028         (do_test): Replace %lu with %ju and cast to uintmax_t.
37029         * rt/tst-cpuclock2.c: Include <stdint.h>.
37030         (do_test): Replace %lu with %ju and cast to uintmax_t.
37031         * rt/tst-mqueue1.c: Include <stdint.h>.
37032         (check_attrs): Replace %ld with %jd and cast to intmax_t.
37033         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
37034         intmax_t.
37035         * rt/tst-mqueue4.c (do_test): Likewise.
37036         * rt/tst-timer4.c: Include <stdint.h>.
37037         (check_ts): Replace %ld with %jd and cast to intmax_t.
37038         (do_test): Likewise.
37039         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
37040         and cast to intmax_t.
37041         * sysdeps/pthread/tst-timer.c (main): Likewise.
37042         * time/clocktest.c (main): Likewise.
37043         * time/tst-posixtz.c (do_test): Likewise.
37044         * timezone/tst-timezone.c (main): Likewise.
37046 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
37047             H.J. Lu  <hongjiu.lu@intel.com>
37049         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
37050         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37051         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
37052         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
37053         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
37054         version if bit_Fast_Unaligned_Load is set.
37055         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37056         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37057         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37058         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37059         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37060         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37061         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37062         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
37063         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
37064         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
37065         to 4.
37066         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
37067         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
37068         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
37069         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
37071 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
37073         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
37074         instead of #if to avoid a Wundef warning.
37075         * stdlib/tst-limits.c (do_test): Likewise.
37077         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
37078         parallel other exception macros.
37079         (fegetenv): Convert from macro to extern inline so that it applies
37080         retroactively to inline functions already seen by the compiler.
37081         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
37083         * posix/Makefile (before-compile): Use $(objpfx) for
37084         posix-conf-vars-def.h.
37086 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37088         * posix/getconf.c (main): Use size_t for type of I.
37089         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
37090         NSPEC.
37092         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
37093         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
37094         * posix/posix-envs.def: Likewise.
37095         * sysdeps/posix/sysconf.c: Likewise.
37096         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
37097         (specs): Remove array.
37098         * scripts/gen-posix-conf-vars.awk: Support generation of specs
37099         array.
37101         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
37102         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
37103         (__sysconf): Use CONF_IS_* macros.
37105         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
37106         ($(objpfx)posix-conf-vars-def.h): New target.
37107         * posix/posix-conf-vars.list: New file.
37108         * posix/posix-conf-vars.h: New file.
37109         * posix/confstr.c: Include posix-conf-vars.h.
37110         (confstr): Use CONF_IS_* macros.
37111         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
37112         CONF_IS_* macros.
37113         * scripts/gen-posix-conf-vars.awk: New file.
37115 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
37117         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
37118         fegetround): Add no-op macros to avoid linknamespace issues.
37120         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
37121         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
37123         * sysdeps/unix/sysv/linux/tile/sysdep.h
37124         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
37125         assembly-specific section to avoid a redefinition warning.
37127         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
37128         long before casting to pointer to avoid a cast warning.
37130 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
37132         * sysdeps/tile/tilegx/Implies: New file.
37134 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
37136         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
37138 2014-12-23  Florian Weimer  <fweimer@redhat.com>
37140         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
37142 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37144         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
37145         not define.
37146         * sysdeps/unix/sysv/linux/utimes.c: Do not include
37147         <kernel-features.h>.
37148         (__utimes) [__NR_utimes]: Make code unconditional.
37149         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
37150         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37151         (__ASSUME_UTIMES): Do not undefine.
37152         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37153         (__ASSUME_UTIMES): Likewise.
37154         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37155         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
37156         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
37157         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
37159 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
37161         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
37163 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
37165         [BZ #17747]
37166         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
37167         alias to weak alias for j0l, y0l.
37168         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
37169         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
37171         [BZ #17746]
37172         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
37173         conversion.
37175 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
37177         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
37178         to zero if not already defined.
37180 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37182         [BZ #17724]
37183         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
37184         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
37185         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
37186         (char *) casts added.
37187         * sysdeps/ieee754/k_standardf.c: New file.
37188         * sysdeps/ieee754/k_standardl.c: Likewise.
37189         * math/Makefile (libm-support): Remove k_standard.
37190         (libm-calls): Add k_standard.
37192 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37194         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37195         Optimize to avoid an unnecessary FPCR read.
37197 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37199         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
37200         Optimize to reduce FPCR/FPSR accesses.
37202 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37204         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
37205         Call libc_fetestexcept_aarch64.
37207 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37209         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
37210         Call libc_fesetround_aarch64.
37212 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37214         [BZ #17733]
37215         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
37216         (__bind): Do not define as weak alias.
37217         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
37218         define.
37219         (__getsockname): Do not define as weak alias.
37221 2014-12-22  Will Newton  <will.newton@linaro.org>
37223         * manual/install.texi: Document that we require bison 2.7
37224         or above.
37225         * INSTALL: Regenerate.
37226         * configure.ac: Use AC_CHECK_PROG_VER instead of
37227         AC_PATH_PROG when checking for bison and check for
37228         version 2.7 or above.
37229         * configure: Regenerate.
37231 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
37233         [BZ #17745]
37234         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
37235         * sysdeps/tile/ffsll.c (ffsll): To here.
37237         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
37239 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
37241         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
37242         if not defined.
37243         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
37244         definition.
37245         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
37246         hidden ___tls_get_addr.
37247         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
37248         hidden __tls_get_addr.
37249         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
37250         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
37251         Likewise.
37253 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
37255         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
37256         _dl_init call.
37258 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
37260         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
37261         from "call _dl_init@PLT".
37262         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
37264 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
37266         * manual/search.texi: (Array Sort Function): Clarify stable sorting
37267         guarantees.
37269 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
37271         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
37273 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
37275         [BZ #17744]
37276         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
37277         strnlen.
37279 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
37281         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
37282         of multu on MIPSr6.
37283         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
37284         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
37285         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
37286         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
37287         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
37289 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
37291         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
37292         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
37293         (PTR_SUBU): Use subu for mips32r6/mips64r6.
37294         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
37295         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
37296         mips32r6/mips64r6.
37297         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
37299 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
37301         * string/strncat.c (STRNCAT): Simplify implementation.
37303 2014-12-19  David S. Miller  <davem@davemloft.net>
37305         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
37306         access the quad as both a long double and as a series of 4 words.
37308         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
37309         link_map->l_info array access.
37311 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
37313         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
37315         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
37316         * math/atest-exp2.c (TIMEOUT): Likewise.
37317         * math/atest-sincos.c (TIMEOUT): Likewise.
37319 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37321         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
37322         -Wno-error with -fno-builtin-lround.
37324 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37326         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
37327         Contains futex constants and functions moved over from ...
37328         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
37329         <lowlevellock-futex.h>.
37330         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
37331         (lll_timedwait_tid): Add comments and parentheses around macro
37332         arguments.
37334 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37336         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
37337         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
37338         (__lll_private_flag): Remove.
37339         (lll_futex_wait): Likewise.
37340         (lll_futex_timed_wait): Likewise.
37341         (lll_futex_wake): Likewise.
37342         (lll_futex_requeue): Likewise.
37343         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
37344         (__lll_timedwait_tid): Spell out argument names.
37345         (lll_timedwait_tid): Add comments and parentheses around macro
37346         arguments.
37347         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
37348         LLL_SHARED and LLL_PRIVATE usable from assembly code.
37350 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37352         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
37353         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37354         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37355         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
37356         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
37357         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
37358         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
37359         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
37360         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
37361         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
37362         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
37363         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
37364         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
37365         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
37366         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
37367         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
37368         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
37369         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
37370         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
37372 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37374         * sysdeps/x86_64/x32/Makefile: New file.
37376 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37378         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
37379         1L with (mp_limb_t) 1.
37381 2014-12-17  Roland McGrath  <roland@hack.frob.com>
37383         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
37384         * nptl/libc_pthread_init.c: ... here.
37385         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
37386         * nptl/register-atfork.c: ... here.
37388         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
37389         Use pthread_sigmask rather than INTERNAL_SYSCALL.
37390         Use assert_perror to check its return value.
37391         (__gai_create_helper_thread): Likewise.
37393         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
37395         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
37397 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
37399         [BZ #17725]
37400         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
37401         __profil_counter.
37402         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
37403         Likewise.
37404         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
37405         Likewise.
37406         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
37407         Likewise.
37408         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
37409         (profil_counter): Likewise.
37410         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
37411         (profil_counter): Likewise.
37412         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
37413         Likewise.
37414         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
37415         Likewise.
37416         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
37417         (profil_counter): Likewise.
37418         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
37419         Likewise.
37420         [!__profil_counter] (profil_counter): Define as weak alias of
37421         __profil_counter.
37422         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
37423         (profil_counter): Rename to __profil_counter.
37424         [!__profil_counter] (profil_counter): Define as weak alias of
37425         __profil_counter.
37426         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
37427         (profil_counter): Rename to __profil_counter.
37428         [!__profil_counter] (profil_counter): Define as weak alias of
37429         __profil_counter.
37430         * sysdeps/posix/profil.c: Update comment referring to
37431         profil_counter.
37432         (__profil): Use __profil_counter instead of profil_counter.
37433         * sysdeps/posix/sprofil.c (profil_counter): Rename to
37434         __profil_counter.  Use __profil_counter_ushort and
37435         __profil_counter_uint in definitions.
37436         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
37437         instead of profil_counter_uint and profil_counter_ushort.
37439         [BZ #17722]
37440         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
37441         define as weak alias of __inet_makeaddr.
37442         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
37443         as weak alias of __inet_addr.
37444         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
37445         as weak alias of __inet_pton.  Use libc_hidden_weak.
37446         * include/arpa/inet.h (__inet_pton): Declare.  Use
37447         libc_hidden_proto.
37448         (inet_makeaddr): Don't use libc_hidden_proto.
37449         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
37450         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
37451         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
37452         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
37453         Remove variable.
37454         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37455         (test-xfail-POSIX/time.h/linknamespace): Likewise.
37457 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
37459         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
37461 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37463         * stdio-common/bug-vfprintf-nargs.c (do_test):
37464         Cast value to intptr_t to avoid format warning
37465         for usage with PRIdPTR printing macro.
37467 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37469         * libio/tst-widetext.c (do_test):
37470         Use format type %td instead of %Zd for ptrdiff_t
37471         in order to avoid format warning.
37473 2014-12-17  Andreas Schwab  <schwab@suse.de>
37475         * nscd/mem.c (gc): Add size_t cast to match printf format.
37477 2014-12-16  Roland McGrath  <roland@hack.frob.com>
37479         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
37480         (init): Apply PTR_MANGLE to pointers before storing them.
37481         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
37482         before using them.
37484 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
37486         [BZ #17719]
37487         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
37488         define as weak alias of __memrchr.
37489         (__memrchr): Do not define as strong alias of memrchr.
37490         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
37491         Remove variable.
37492         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
37493         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37494         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37496         [BZ #17717]
37497         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
37498         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
37499         (if_indextoname): Rename to __if_indextoname and define as weak
37500         alias of __if_indextoname.  Use libc_hidden_weak.
37501         (if_freenameindex): Rename to __if_freenameindex and define as
37502         weak alias of __if_freenameindex.
37503         (if_nameindex): Rename to __if_nameindex and define as weak alias
37504         of __if_nameindex.
37505         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
37506         __if_nametoindex and define as weak alias of __if_nametoindex.
37507         Use libc_hidden_weak.
37508         (if_freenameindex): Rename to __if_freenameindex and define as
37509         weak alias of __if_freenameindex.
37510         (if_nameindex): Rename to __if_nameindex and define as weak alias
37511         of __if_nameindex.
37512         (if_indextoname): Rename to __if_indextoname and define as weak
37513         alias of __if_indextoname.  Use libc_hidden_weak.
37514         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
37515         __if_nametoindex and define as weak alias of __if_nametoindex.
37516         Use libc_hidden_weak.
37517         (if_freenameindex): Rename to __if_freenameindex and define as
37518         weak alias of __if_freenameindex.  Use libc_hidden_weak.
37519         (if_nameindex_netlink): Use __if_freenameindex instead of
37520         if_freenameindex.
37521         (if_nameindex): Rename to __if_nameindex and define as weak alias
37522         of __if_nameindex.  Use libc_hidden_weak.
37523         (if_indextoname): Rename to __if_indextoname and define as weak
37524         alias of __if_indextoname.  Use libc_hidden_weak.
37525         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
37526         libc_hidden_proto.
37527         [!_ISOMAC] (__if_freenameindex): Likewise.
37528         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
37529         if_nametoindex.
37530         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
37531         variable.
37532         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
37533         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
37534         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
37535         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
37536         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
37537         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
37538         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
37540         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
37541         Remove variable.
37542         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
37543         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37545 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37547         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
37548         subscript above bounds'
37550         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
37551         bounds.
37553 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
37555         * libio/tst-fopenloc.c: Use test-skeleton.c.
37557         * stdlib/tst-bsearch.c: Use test-skeleton.c.
37558         (entry): Rename to ITEM.
37559         (do_test, comp): Adjust.
37561         * stdio-common/tst-fseek.c: Use test-skeleton.c.
37563 2014-12-16  Torvald Riegel  <triegel@redhat.com>
37565         * string/tester.c: Include <libc-internal.h>.
37566         (test_memset): Ignore -Wmemset-transposed-args.
37568 2014-12-16  Torvald Riegel  <triegel@redhat.com>
37570         * misc/tst-mntent2.c (do_test): Fix warning.
37572 2014-12-16  Torvald Riegel  <triegel@redhat.com>
37574         * elf/tst-unique4lib.cc(a): Mark as used.
37576 2014-12-16  Florian Weimer  <fweimer@redhat.com>
37578         [BZ #17630]
37579         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
37580         names.
37582 2014-12-16  Allan McRae  <allan@archlinux.org>
37584         * stdio-common/Makefile (tests): Re-add bug26.
37586 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
37588         [BZ #17657]
37589         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
37590         static array.
37592 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
37594         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
37595         (__lll_lock_wait): Likewise.
37596         (__lll_timedlock_wait): Likewise.
37597         (__lll_timedwait_tid): Likewise.
37598         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
37599         (__lll_robust_timedlock_wait): Likewise.
37600         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
37601         (lll_cond_trylock): Likewise.
37602         (__lll_lock): Likewise.
37603         (__lll_robust_lock): Likewise.
37604         (__lll_cond_lock): Likewise.
37605         (lll_robust_cond_lock): Likewise.
37606         (__lll_timedlock): Likewise.
37607         (__lll_robust_timedlock): Likewise.
37608         (__lll_unlock): Likewise.
37609         (__lll_robust_unlock): Likewise.
37610         (lll_wait_tid): Likewise.
37611         (lll_timedwait_tid): Likewise.
37613 2014-12-15  Torvald Riegel  <triegel@redhat.com>
37615         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
37617 2014-12-15  Torvald Riegel  <triegel@redhat.com>
37619         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
37621 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
37623         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
37624         * stdio-common/tst-sprintf.c: Likewise.
37626 2014-12-15  Torvald Riegel  <triegel@redhat.com>
37628         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
37630 2014-12-15  Jeff Law  <law@redhat.com>
37632         [BZ #16617]
37633         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
37634         on the heap.  (CVE-2012-3406)
37635         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
37636         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
37637         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
37639 2014-12-15  Will Newton  <will.newton@linaro.org>
37641         * manual/install.texi: Bump required version of texinfo
37642         to 4.7 from 4.5.
37643         * INSTALL: Regenerated.
37644         * configure.ac: Check for makeinfo version 4.7 and above.
37645         * configure: Regenerated.
37647 2014-12-12  Roland McGrath  <roland@hack.frob.com>
37649         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
37650         PREFIX, string constant to insert between directory and name.
37651         * sysdeps/posix/shm_open.c: Update caller.
37652         * sysdeps/posix/shm_unlink.c: Likewise.
37653         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
37654         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
37655         (SEM_SHM_PREFIX): New macro.
37656         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
37657         [$(have-thread-library) = no].
37658         * nptl/Makefile (libpthread-routines): Add shm-directory.
37659         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
37660         * sysdeps/nptl/shm-directory.h: New file.
37661         * sysdeps/posix/shm-directory.c
37662         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
37663         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
37664         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
37665         INTERNAL_SYSCALL.
37666         (__where_is_shmfs): Function removed.
37667         (mountpoint, defaultmount, defaultdir, __namedsem_once):
37668         Variables removed.
37669         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
37670         Use SHM_GET_NAME.
37671         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
37673         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
37674         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
37675         unconditional for use inside libpthread.
37676         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
37678 2014-12-12  Roland McGrath  <roland@hack.frob.com>
37680         * nptl/pthread_getaffinity.c: New file.
37681         * nptl/pthread_setaffinity.c: New file.
37682         * nptl/pthread_getname.c: New file.
37683         * nptl/pthread_setname.c: New file.
37685         * nptl/pthread_create.c (START_THREAD_DEFN)
37686         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
37688 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37689             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37691         * resolv/res_send.c (send_vc): Disable warning resplen may
37692         be used uninitialized.
37694 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37696         * nptl/tst-mutex6.c
37697         (ATTR_NULL): New define checks ATTR against NULL.
37698         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
37699         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
37701 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
37703         [BZ #17581]
37704         * malloc/hooks.c
37705         (mem2mem_check): Revert my previous change.
37706         (malloc_check_get_size): Revert my previous change.
37707         (mem2chunk_check): Revert my previous change.
37709 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37711         * sysdeps/posix/shm-directory.c: New file.
37712         * sysdeps/posix/shm-directory.h: New file.
37713         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
37714         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
37715         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
37716         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
37717         Transmute EPERM to EACCES.
37718         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
37719         from ...
37720         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
37721         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
37723 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37725         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
37726         pointer and cast to uintptr_t.
37727         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
37728         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
37729         Add cast to avoid warning.
37730         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
37732 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
37734         * nptl/semaphore.h: Move to ...
37735         * sysdeps/pthread/semaphore.h: ... here.
37736         * Makefile (installed-headers): Change nptl/semaphore.h to
37737         sysdeps/pthread/semaphore.h.
37739 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37741         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
37742         generated error format strings.
37744         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
37745         -Wformat-extra-args warnings for scanf formats.
37746         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
37747         test of zero-length format (duh).
37748         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
37749         corner-case scanf format test.
37750         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
37751         generated fprintf format string.
37752         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
37753         corner-case sprintf format tests.
37754         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
37755         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
37756         -Wformat-extra-args warnings throughout.
37757         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
37758         (CFLAGS-scanf4.c): Likewise.
37759         (CFLAGS-scanf7.c): Likewise.
37760         (CFLAGS-tst-sprintf.c): Likewise.
37761         (CFLAGS-tst-printf.c): Likewise.
37762         (CFLAGS-tst-printfsz.c): Likewise.
37764 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
37766         * include/cpio.h: New file.
37767         * include/fmtmsg.h: Likewise.
37769         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
37770         corresponding format argument to size_t.
37771         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
37772         arguments.
37773         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
37774         corresponding format argument to size_t.
37775         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
37776         arguments.
37777         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
37778         corresponding format argument to size_t.
37779         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
37780         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
37781         (CFLAGS-tst-mbswcs2.c): Likewise.
37782         (CFLAGS-tst-mbswcs3.c): Likewise.
37783         (CFLAGS-tst-mbswcs4.c): Likewise.
37784         (CFLAGS-tst-mbswcs5.c): Likewise.
37785         (CFLAGS-tst-trans.c): Likewise.
37787 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37789         * posix/regexbug1.c (main): Use "%s" format with regerror results,
37790         rather than assuming they won't contain any '%'s.
37792 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
37794         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
37795         inhibit_loop_to_libcall to avoid recursive calls.
37796         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
37797         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
37799 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
37801         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
37802         prototype.
37804 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
37806         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
37807         integer value instead of boolean.
37809 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
37811         * malloc/malloc.c: Fix powerof2 check.
37813 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37815         * locale/programs/locfile.h (maybe_swap_uint32):
37816         Remove inline and add unused attribute.
37818 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37820         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37821         Truncating assembler expression to a .long expression.
37823 2014-12-11  Andreas Schwab  <schwab@suse.de>
37825         * elf/rtld.c (struct map_args): Constify str member.
37826         (do_preload): Constify fname argument.
37828 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37830         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
37831         constants definition.
37833 2014-12-11  Andreas Schwab  <schwab@suse.de>
37835         [BZ #16657]
37836         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
37837         FORCE_ELISION instead of DO_ELISION.
37838         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
37839         Remove.
37840         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
37841         Likewise.
37843         * iconvdata/gconv-modules: Remove duplicate entry.
37845 2014-12-11  Will Newton  <will.newton@linaro.org>
37847         Merge gettext 0.19.3 into intl/.
37849         This involves a number of cosmetic changes to comments
37850         and ANSI function definitions and prototypes throughout
37851         all the files. The gettext copyright header is used but
37852         with the date ranges taken from the glibc copy.
37854         * NEWS: Add gettext merge to 2.21.
37855         * intl/bindtextdom.c: Switch to gettext copyright.
37856         Use ANSI definitions and prototypes.
37857         Use gl_* locking primitives rather than __libc_* ones.
37858         Use __builtin_expect rather than __glibc_likely/unlikely.
37859         * intl/dcgettext.c: Switch to gettext copyright.
37860         Use ANSI definitions and prototypes.
37861         * intl/dcigettext.c: Switch to gettext copyright.
37862         Use ANSI definitions and prototypes.
37863         (INTDIV0_RAISES_SIGFPE): New define.
37864         Use gl_* locking primitives rather than __libc_* ones.
37865         Include eval-plural.h instead of plural-eval.c.
37866         Use __builtin_expect rather than __glibc_likely/unlikely.
37867         * intl/dcngettext.c: Switch to gettext copyright.
37868         Use ANSI definitions and prototypes.
37869         * intl/dgettext.c: Likewise.
37870         * intl/dngettext.c: Likewise.
37871         * intl/plural-eval.c: Renamed to...
37872         * intl/eval-plural.h: ...this.
37873         * intl/explodename.c: Switch to gettext copyright.
37874         Use ANSI definitions and prototypes.
37875         (_nl_explode_name): Use strchr instead of __rawmemchr.
37876         * intl/finddomain.c: Switch to gettext copyright.
37877         Use ANSI definitions and prototypes.
37878         Use gl_* locking primitives rather than __libc_* ones.
37879         (_nl_find_domain): Use malloc rather than alloca for
37880         allocation of temporary locale name.
37881         * intl/gettext.c: Switch to gettext copyright.
37882         Use ANSI definitions and prototypes.
37883         * intl/gettextP.h: Switch to gettext copyright.
37884         Use ANSI definitions and prototypes.
37885         Use gl_* locking primitives rather than __libc_* ones.
37886         * intl/gmo.h: Switch to gettext copyright.
37887         (struct sysdep_string): Move struct segment_pair outside of
37888         struct definition.
37889         * intl/hash-string.c: Use ANSI definitions and prototypes.
37890         * intl/hash-string.h: Switch to gettext copyright.
37891         Use ANSI definitions and prototypes.
37892         * intl/l10nflist.c: Switch to gettext copyright.
37893         Use ANSI definitions and prototypes.
37894         (_nl_normalize_codeset): Avoid integer overflow.
37895         * intl/loadinfo.h: Switch to gettext copyright.
37896         Use ANSI definitions and prototypes.
37897         (LIBINTL_DLL_EXPORTED): New define.
37898         (PATH_SEPARATOR): New define.
37899         * intl/loadmsgcat.c: Switch to gettext copyright.
37900         * intl/localealias.c: Switch to gettext copyright.
37901         Use ANSI definitions and prototypes.
37902         (_nl_expand_alias): Use PATH_SEPARATOR.
37903         * intl/ngettext.c: Switch to gettext copyright.
37904         Use ANSI definitions and prototypes.
37905         * intl/plural-exp.c: Likewise.
37906         * intl/plural-exp.h: Switch to gettext copyright.
37907         Use ANSI definitions and prototypes.
37908         (struct expression): Move definition of enum operator outside
37909         of struct definition.
37910         * intl/plural.c: Regenerate.
37911         * intl/plural.y: Switch to gettext copyright.
37912         Use ANSI definitions and prototypes.
37913         Port to bison 3.0.
37914         * intl/textdomain.c: Switch to gettext copyright.
37915         Use ANSI definitions and prototypes.
37916         Use gl_* locking primitives rather than __libc_* ones.
37918 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
37920         * debug/warning-nop.c: Add used atrribute.
37922 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37924         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
37926         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
37927         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
37928         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
37930 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37931             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37933         [BZ #17634]
37934         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
37935         Undefine after defining function.  Define as weak alias of
37936         __wcschr.  Use libc_hidden_weak.
37937         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
37938         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
37939         (libc_hidden_def): Also define __GI___wcschr alias.
37940         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
37941         __wcschr and define as weak alias of __wcschr.
37942         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
37943         __wcschr.
37944         [!WCSCHR] (DEFAULT_WCSCHR): Define.
37945         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
37946         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
37947         libc_hidden_weak.  Do not use libc_hidden_def.
37948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
37949         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
37950         __GI___wcschr alias.
37951         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
37952         [IS_IN (libc)] (wcschr): Define as macro expanding to
37953         __redirect_wcschr.
37954         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
37955         [IS_IN (libc)] (__wcschr_power6): Likewise.
37956         [IS_IN (libc)] (__wcschr_power7): Likewise.
37957         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
37958         instead of wcschr.
37959         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
37960         __libc_wcschr.
37961         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
37962         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
37963         __wcschr and define as weak alias of __wcschr.  Use
37964         libc_hidden_builtin_def.
37965         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
37966         as weak alias of __wcschr.  Use libc_hidden_weak.
37967         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
37968         wcschr.
37969         * time/era.c (_nl_init_era_entries): Likewise.
37970         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
37971         variable.
37972         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37973         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37975 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37977         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
37978         format for long int variable.
37980 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
37982         [BZ #10672]
37983         * manual/search.texi: (Array Sort Function): Remove claim how to make
37984         qsort stable.
37986 2014-12-10  Andreas Schwab  <schwab@suse.de>
37988         [BZ #12847]
37989         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
37990         user-controlled locks.
37992 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
37994         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
37995         register.
37997 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37999         * configure.ac (--disable-werror): New configure option.
38000         (enable_werror): New AC_SUBST.
38001         * configure: Regenerated.
38002         * config.make.in (enable-werror): New variable.
38003         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
38004         -Wno-error=undef.
38005         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
38006         * manual/install.texi (Configuring and compiling): Document
38007         --disable-werror.
38008         * INSTALL: Regenerated.
38009         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
38010         (CFLAGS-tst-chk2.c): Likewise.
38011         (CFLAGS-tst-chk3.c): Likewise.
38012         (CFLAGS-tst-chk4.cc): Likewise.
38013         (CFLAGS-tst-chk5.cc): Likewise.
38014         (CFLAGS-tst-chk6.cc): Likewise.
38015         (CFLAGS-tst-lfschk1.c): Likewise.
38016         (CFLAGS-tst-lfschk2.c): Likewise.
38017         (CFLAGS-tst-lfschk3.c): Likewise.
38018         (CFLAGS-tst-lfschk4.cc): Likewise.
38019         (CFLAGS-tst-lfschk5.cc): Likewise.
38020         (CFLAGS-tst-lfschk6.cc): Likewise.
38022         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
38023         (main): Disable -Wdeprecated-declarations around calls to
38024         register_printf_function.
38026         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
38027         (do_test): Disable -Wdiv-by-zero around some calls to
38028         fwrite_unlocked and fread_unlocked.
38030         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
38031         (DIAG_POP_NEEDS_COMMENT): Likewise.
38032         (_DIAG_STR1): Likewise.
38033         (_DIAG_STR): Likewise.
38034         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
38035         * stdio-common/bug21.c: Include <libc-internal.h>.
38036         (do_test): Disable -Wformat around call to sscanf.
38037         * stdio-common/scanf14.c: Include <libc-internal.h>.
38038         (main): Disable -Wformat around some calls to scanf functions.
38040 2014-12-09  Torvald Riegel  <triegel@redhat.com>
38042         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
38044 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38046         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
38047         stack variable alignment.
38049 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
38051         [BZ #17682]
38052         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
38053         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
38054         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
38055         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
38056         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
38057         __getrlimit instead of getrlimit.
38058         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
38059         __gettimeofday instead of gettimeofday.
38060         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
38061         Likewise.
38062         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
38063         Likewise.
38064         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38065         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
38066         Remove variable.
38067         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38068         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38070 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38072         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
38073         for wide-character tests.
38075 2014-12-04  Roland McGrath  <roland@hack.frob.com>
38077         * io/openat64.c: #include <libc-internal.h>
38078         (__openat64): Prototypify.  Use ignore_value on MODE.
38079         * io/openat.c: Likewise.
38080         * misc/reboot.c: #include <libc-internal.h>
38081         (reboot): Prototypify.  Use ignore_value on HOWTO.
38082         * misc/ptrace.c: #include <libc-internal.h>
38083         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
38085 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
38087         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
38088         XPG4, UNIX98 and XOPEN2K.
38089         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
38090         Remove variable.
38091         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38093 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38095         * libio/fileops.c: Use ISO C style for function definitions.
38096         * libio/iofopen.c: Likewise.
38097         * libio/wfileops.c: Likewise.
38099         [BZ #17653]
38100         * libio/fileops.c (_IO_new_file_underflow): Unset cached
38101         offset on EOF.
38102         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
38103         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
38104         (fgets_func): Function pointer to fgets and fgetws.
38105         (do_ftell_test): Add test to verify ftell value after read
38106         EOF.
38107         (do_test): Set fgets_func.
38109         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
38110         O_TRUNC flag for w and w+ modes.
38111         (do_rewind_test): Likewise.
38112         (do_ftell_test): Likewise.
38113         (do_write_test): Likewise.
38115         [BZ #17647]
38116         * libio/fileops.c (do_ftell): Seek only when there are
38117         unflushed writes.
38118         * libio/wfileops.c (do_ftell_wide): Likewise.
38119         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
38120         test case.
38121         (do_one_test): Call it.
38123 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
38125         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
38126         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
38127         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
38128         Remove variable.
38129         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38130         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38131         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38133 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
38135         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
38136         Remove variable.
38137         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38139         [BZ #17668]
38140         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
38141         as weak alias of __getifaddrs.  Use libc_hidden_weak.
38142         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38143         __freeifaddrs.  Use libc_hidden_weak.
38144         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
38145         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
38146         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38147         __freeifaddrs.  Use libc_hidden_weak.
38148         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
38149         __getifaddrs and define as weak alias of __getifaddrs.  Use
38150         libc_hidden_weak.
38151         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38152         __freeifaddrs.  Use libc_hidden_weak.
38153         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
38154         Remove variable.
38155         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38156         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38158 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
38160         [BZ #17601]
38161         * sysdeps/mips/start.S (__start): Use indirect jump to call
38162         __libc_start_main.
38164 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
38166         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
38168         * nptl/tst-mutex1.c: Include <stdbool.h>.
38169         [!ATTR] (ATTR_NULL): New macro.
38170         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
38171         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
38172         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
38174         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
38175         to char *.
38177         [BZ #17665]
38178         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
38179         Change conditional to [__USE_MISC].
38181         [BZ #17664]
38182         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
38183         fgets_unlocked.
38184         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
38185         __fgets_unlocked.
38186         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
38187         fgets_unlocked.
38188         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
38189         Remove variable.
38190         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38191         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38192         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38193         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38194         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38195         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38196         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38197         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38198         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38200         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
38202 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38204         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38205         Remove strpbrk objects.
38206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38207         (__libc_ifunc_impl_list): Remove strpbrk implementation.
38208         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
38209         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
38210         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
38211         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
38213         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38214         Remove strcspn objects.
38215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38216         (__libc_ifunc_impl_list): Remove strcspn implementation.
38217         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
38218         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
38219         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
38220         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
38222         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38223         Remove strspn objetcs.
38224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38225         (__libc_ifunc_impl_list): Remove strspn implementation.
38226         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
38227         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
38228         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
38229         * sysdeps/powerpc/powerpc64/strspn.S: New file.
38231 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
38233         [BZ #17581]
38234         * malloc/hooks.c
38235         (mem2mem_check): Add a terminator to the chain of checking blocks.
38236         (malloc_check_get_size): Use it here.
38237         (mem2chunk_check): Ditto.
38239 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38241         * sysdeps/powerpc/powerpc64/strtok.S: New file.
38242         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
38244 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
38246         * bits/ioctl-types.h: Indent preprocessor directives correctly.
38248         * nptl/nptl-init.c: Include libc-internal.h.
38249         (__pthread_initialize_minimal_internal): Use ROUND_UP.
38251         * elf/ldconfig.c (search_dir): Expand comment.
38253 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
38255         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
38256         variable.
38257         (linknamespace-symlist-stdlibs-tests): Likewise.
38258         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
38259         instead of $(objpfx)symlist-stdlibs.
38260         (linknamespace-libs-isoc): New variable.
38261         (linknamespace-libs): Use $(linknamespace-libs-isoc).
38262         (linknamespace-libs-ISO): New variable.
38263         (linknamespace-libs-ISO99): Likewise.
38264         (linknamespace-libs-ISO11): Likewise.
38265         (linknamespace-libs-XPG3): Likewise.
38266         (linknamespace-libs-XPG4): Likewise.
38267         (linknamespace-libs-POSIX): Likewise.
38268         (linknamespace-libs-UNIX98): Likewise.
38269         (linknamespace-libs-XOPEN2K): Likewise.
38270         (linknamespace-libs-POSIX2008): Likewise.
38271         (linknamespace-libs-XOPEN2K8): Likewise.
38272         ($(objpfx)symlist-stdlibs): Replace by
38273         $(linknamespace-symlist-stdlibs-tests).  Use
38274         $(linknamespace-libs-$*) as set of libraries.
38275         ($(linknamespace-header-tests)): Update dependencies.  Use
38276         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
38277         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
38278         * conform/linknamespace.pl: Remove comment about considering
38279         definitions of symbols from irrelevant libraries.
38281 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
38283         [BZ #13862]
38284         * elf/dl-tls.c: Include <atomic.h>.
38285         (oom): Remove #ifdef SHARED/#endif.
38286         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
38287         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
38288         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
38289         big enough.
38290         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
38291         * nptl/Makefile (tests): Add tst-stack4.
38292         (modules-names): Add tst-stack4mod.
38293         ($(objpfx)tst-stack4): New.
38294         (tst-stack4mod.sos): Likewise.
38295         ($(objpfx)tst-stack4.out): Likewise.
38296         ($(tst-stack4mod.sos)): Likewise.
38297         (clean): Likewise.
38298         * nptl/tst-stack4.c: New file.
38299         * nptl/tst-stack4mod.c: Likewise.
38301 2014-11-27  J. Brown  <jb999@gmx.de>
38303         * sysdeps/x86/bits/string.h: Add recent CPUs.
38305 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
38307         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
38308         sigblock.
38310         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
38311         feof.
38313         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
38314         variable.
38316 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
38318         * nscd/connections.c: Include libc-internal.h because of macro
38319         usage ignore_value.
38321 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38323         * string/bits/string3.h (__warn_memset_zero_len): Don't
38324         declare for gcc newer than 5.0.
38325         (memset): Don't test for zero-length __LEN for gcc newer than
38326         5.0.
38328 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
38330         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
38331         size_t for %zu format.
38333         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
38334         difference, not %ju.
38336 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
38338         * include/libc-internal.h (ignore_value): New macro.
38339         * nscd/connections.c (restart): Wrap calls to setuid and setgid
38340         with ignore_value.
38342         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
38343         definition.
38345         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
38346         pthread_cleanup_push to void *.
38348         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
38349         Undefine.
38351         [BZ #16619]
38352         [BZ #16740]
38353         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
38354         instead of 1L << 52.
38356         * libio/bug-rewind.c (do_test): Check fwscanf return values.
38357         * libio/bug-rewind2.c (do_test): Likewise.
38359         * debug/test-stpcpy_chk-ifunc.c: Remove file.
38360         * debug/test-strcpy_chk-ifunc.c: Likewise.
38361         * wcsmbs/test-wcschr-ifunc.c: Likewise.
38362         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38363         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38364         * wcsmbs/test-wcslen-ifunc.c: Likewise.
38365         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38366         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38367         * Rules [$(multi-arch) = no] (tests): Do not filter out
38368         $(tests-ifunc).
38369         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
38370         * debug/Makefile (tests-ifunc): Remove variable.
38371         (tests): Do not add $(tests-ifunc).
38372         * wcsmbs/Makefile (tests-ifunc): Remove variable.
38373         (tests): Do not add $(tests-ifunc).
38374         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
38375         [TEST_IFUNC]: Remove conditionals.
38376         * string/test-string.h (TEST_IFUNC): Remove macro.
38377         [TEST_IFUNC]: Remove conditionals.
38379         * string/test-strchr.c [!WIDE] (L): New macro.
38380         [WIDE] (L): Likewise.
38381         (check1): Use CHAR instead of char.  Use L on string and character
38382         constants.
38384 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
38386         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
38387         tests.
38388         * sysdeps/powerpc/bits/atomic.h
38389         (__arch_atomic_exchange_and_add_32_acq): Add definition.
38390         (__arch_atomic_exchange_and_add_32_rel): Likewise.
38391         (atomic_exchange_and_add_acq): Likewise.
38392         (atomic_exchange_and_add_rel): Likewise.
38393         * sysdeps/powerpc/powerpc32/bits/atomic.h
38394         (__arch_atomic_exchange_and_add_64_acq): Add definition.
38395         (__arch_atomic_exchange_and_add_64_rel): Likewise.
38396         * sysdeps/powerpc/powerpc64/bits/atomic.h
38397         (__arch_atomic_exchange_and_add_64_acq): Add definition.
38398         (__arch_atomic_exchange_and_add_64_rel): Likewise.
38400 2014-11-26  Torvald Riegel  <triegel@redhat.com>
38402         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
38403         Change synchronization of __sched_fifo_min_prio and
38404         __sched_fifo_max_prio.
38405         * nptl/pthread_mutexattr_getprioceiling.c
38406         (pthread_mutexattr_getprioceiling): Likewise.
38407         * nptl/pthread_mutexattr_setprioceiling.c
38408         (pthread_mutexattr_setprioceiling): Likewise.
38409         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
38410         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
38411         Likewise.
38413 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
38415         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
38416         void.
38418 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
38420         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
38421         third argument const.
38423 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
38425         fnmatch: work around GCC compiler warning bug with uninit var
38426         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
38427         This works around a bug with x86-64 GCC 4.9.2 and earlier
38428         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
38429         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
38430         used uninitialized in this function [-Wmaybe-uninitialized]".
38432 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
38434         * posix/bug-regex31.c (main): Return RES not 0.
38436 2014-11-25  Anton Blanchard <anton@samba.org>
38438         * sysdeps/powerpc/bits/atomic.h
38439         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
38441 2014-11-24  Sterling Augustine  <saugustine@google.com>
38443         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
38445 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
38447         [BZ #17608]
38448         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
38450 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
38452         [BZ #17633]
38453         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
38454         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
38455         variable.
38456         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38457         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38459 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
38461         * string/strncpy.c (strncpy): Improve performance by using memset.
38463 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
38465         * string/strcpy.c (strcpy):
38466         Improve performance by using strlen and memcpy.
38468 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
38470         * string/strcoll_l.c (get_next_seq): __always_inline.
38471         * string/strcoll_l.c (do_compare): __always_inline.
38473 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38475         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
38476         defined.
38477         * include/mqueue.h: Likewise.
38478         * include/stdlib.h: Likewise.
38480         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
38481         (get_null_defines): Adjust.
38482         * sunrpc/Makefile: Adjust comment.
38483         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
38484         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
38485         (CFLAGS-interp.c): Likewise.
38486         (CFLAGS-ldconfig.c): Likewise.
38487         (CPPFLAGS-.os): Likewise.
38488         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38489         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
38490         * extra-modules.mk (extra-modules.mk): Likewise.
38491         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
38492         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
38493         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
38494         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
38495         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
38496         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
38497         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
38498         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
38499         * iconvdata/Makefile (CPPFLAGS): Likewise.
38500         (cpp-srcs-left): Add libof for all iconvdata routines.
38501         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
38502         * include/assert.h: Likewise.
38503         * include/ctype.h: Likewise.
38504         * include/errno.h: Likewise.
38505         * include/libc-symbols.h: Likewise.
38506         * include/math.h: Likewise.
38507         * include/netdb.h: Likewise.
38508         * include/resolv.h: Likewise.
38509         * include/stdio.h: Likewise.
38510         * include/stdlib.h: Likewise.
38511         * include/string.h: Likewise.
38512         * include/sys/stat.h: Likewise.
38513         * include/wctype.h: Likewise.
38514         * intl/l10nflist.c: Likewise.
38515         * libidn/idn-stub.c: Likewise.
38516         * libio/libioP.h: Likewise.
38517         * nptl/libc_multiple_threads.c: Likewise.
38518         * nptl/pthreadP.h: Likewise.
38519         * posix/regex_internal.h: Likewise.
38520         * resolv/res_hconf.c: Likewise.
38521         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
38522         * sysdeps/arm/memmove.S: Likewise.
38523         * sysdeps/arm/sysdep.h: Likewise.
38524         * sysdeps/generic/_itoa.h: Likewise.
38525         * sysdeps/generic/symbol-hacks.h: Likewise.
38526         * sysdeps/gnu/errlist.awk: Likewise.
38527         * sysdeps/gnu/errlist.c: Likewise.
38528         * sysdeps/i386/i586/memcpy.S: Likewise.
38529         * sysdeps/i386/i586/memset.S: Likewise.
38530         * sysdeps/i386/i686/memcpy.S: Likewise.
38531         * sysdeps/i386/i686/memmove.S: Likewise.
38532         * sysdeps/i386/i686/mempcpy.S: Likewise.
38533         * sysdeps/i386/i686/memset.S: Likewise.
38534         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38535         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38536         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
38537         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
38538         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38539         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38540         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
38541         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38542         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38543         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38544         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38545         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38546         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38547         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38548         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38549         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38550         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
38551         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
38552         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
38553         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38554         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38555         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38556         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38557         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38558         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38559         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38560         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
38561         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38562         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
38563         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38564         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38565         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38566         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38567         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38568         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38569         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38570         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38571         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38572         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38573         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38574         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38575         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38576         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38577         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38578         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38579         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38580         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
38581         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
38582         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38583         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38584         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38585         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
38586         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
38587         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38588         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38589         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
38590         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38591         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
38592         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
38593         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38594         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38595         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38596         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
38597         * sysdeps/nptl/bits/libc-lock.h: Likewise.
38598         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
38599         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
38600         * sysdeps/posix/closedir.c: Likewise.
38601         * sysdeps/posix/opendir.c: Likewise.
38602         * sysdeps/posix/readdir.c: Likewise.
38603         * sysdeps/posix/rewinddir.c: Likewise.
38604         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
38605         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
38606         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38607         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38608         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38609         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
38610         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
38611         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
38612         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
38613         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
38614         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
38615         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
38616         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
38617         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
38618         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
38619         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
38620         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
38621         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
38622         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
38623         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
38624         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
38625         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
38626         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
38627         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
38628         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
38629         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
38630         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
38631         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
38632         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
38633         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
38634         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
38635         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
38636         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
38637         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
38638         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
38639         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
38640         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38641         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38642         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
38643         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
38644         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
38645         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
38646         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
38647         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
38648         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
38649         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
38650         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
38651         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
38652         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
38653         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
38654         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
38655         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
38656         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
38657         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
38658         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
38659         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
38660         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
38661         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
38662         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
38663         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
38664         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
38665         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
38666         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
38667         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
38668         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
38669         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
38670         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
38671         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
38672         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
38673         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
38674         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
38675         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
38676         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
38677         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
38678         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
38679         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
38680         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
38681         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
38682         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
38683         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
38684         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
38685         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38686         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
38687         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
38688         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38689         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
38690         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
38691         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38692         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38693         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38694         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
38695         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
38696         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
38697         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38698         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38699         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
38700         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38701         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38702         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
38703         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
38704         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38705         * sysdeps/unix/alpha/sysdep.S: Likewise.
38706         * sysdeps/unix/alpha/sysdep.h: Likewise.
38707         * sysdeps/unix/make-syscalls.sh: Likewise.
38708         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38709         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38710         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38711         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
38712         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38713         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
38714         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
38715         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38716         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38717         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
38718         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38719         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38720         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38721         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
38722         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38723         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38724         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38725         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
38726         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
38727         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38728         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
38729         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38730         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38731         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38732         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38733         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38734         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
38736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
38737         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
38738         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38739         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38740         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38741         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38742         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38743         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38744         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38745         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38746         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38747         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
38748         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38749         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38750         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38751         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
38752         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38753         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38754         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38755         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38756         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38757         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38758         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38759         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38760         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38761         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38762         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
38763         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38764         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38765         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38766         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
38767         * sysdeps/x86_64/memcpy.S: Likewise.
38768         * sysdeps/x86_64/memmove.c: Likewise.
38769         * sysdeps/x86_64/memset.S: Likewise.
38770         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
38771         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38772         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38773         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
38774         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
38775         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38776         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38777         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38778         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38779         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38780         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38781         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38782         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
38783         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38784         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38785         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
38786         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38787         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38788         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38789         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38790         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
38791         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38792         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38793         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38794         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38795         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38796         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38797         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
38798         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38799         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38800         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
38801         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38802         * sysdeps/x86_64/strcmp.S: Likewise.
38804         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
38806         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
38807         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
38808         * elf/rtld-Rules: Likewise.
38809         * elf/setup-vdso.h: Likewise.
38810         * include/assert.h: Likewise.
38811         * include/bits/stdlib-float.h: Likewise.
38812         * include/errno.h: Likewise.
38813         * include/sys/stat.h: Likewise.
38814         * include/unistd.h: Likewise.
38815         * sysdeps/aarch64/setjmp.S: Likewise.
38816         * sysdeps/alpha/setjmp.S: Likewise.
38817         * sysdeps/arm/__longjmp.S: Likewise.
38818         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
38819         * sysdeps/arm/setjmp.S: Likewise.
38820         * sysdeps/arm/sysdep.h: Likewise.
38821         * sysdeps/generic/_itoa.h: Likewise.
38822         * sysdeps/generic/dl-sysdep.h: Likewise.
38823         * sysdeps/generic/ldsodefs.h: Likewise.
38824         * sysdeps/i386/dl-tls.h: Likewise.
38825         * sysdeps/i386/setjmp.S: Likewise.
38826         * sysdeps/m68k/setjmp.c: Likewise.
38827         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
38828         * sysdeps/mach/hurd/opendir.c: Likewise.
38829         * sysdeps/posix/getcwd.c: Likewise.
38830         * sysdeps/posix/opendir.c: Likewise.
38831         * sysdeps/posix/profil.c: Likewise.
38832         * sysdeps/powerpc/dl-procinfo.h: Likewise.
38833         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38834         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38835         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38836         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38837         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
38838         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38839         * sysdeps/s390/dl-tls.h: Likewise.
38840         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38841         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38842         * sysdeps/sh/sh3/setjmp.S: Likewise.
38843         * sysdeps/sh/sh4/setjmp.S: Likewise.
38844         * sysdeps/unix/alpha/sysdep.h: Likewise.
38845         * sysdeps/unix/arm/sysdep.S: Likewise.
38846         * sysdeps/unix/i386/sysdep.S: Likewise.
38847         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38848         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38849         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38850         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38851         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38852         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
38853         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38854         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38855         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
38856         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
38857         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
38858         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38859         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38862         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38863         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38864         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38865         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38866         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38867         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38868         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38869         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38870         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38871         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38872         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38873         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38874         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38875         * sysdeps/x86_64/setjmp.S: Likewise.
38877         * include/math.h: Use IS_IN instead of IS_IN_libm.
38878         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
38879         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38880         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38881         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
38882         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38883         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38884         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38885         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38886         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38887         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38888         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
38889         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
38890         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
38891         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
38892         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
38893         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
38894         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
38895         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
38896         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
38897         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
38898         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
38899         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
38900         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
38901         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
38902         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
38903         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
38904         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
38905         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
38906         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
38907         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
38908         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
38909         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38910         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
38912         Likewise.
38913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
38914         Likewise.
38915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
38916         Likewise.
38917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
38918         Likewise.
38919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
38920         Likewise.
38921         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38922         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
38923         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38924         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38925         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38926         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
38928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
38929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
38930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
38931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
38932         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
38933         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
38934         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38935         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38936         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38937         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38938         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38939         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38940         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38941         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
38942         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
38943         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
38944         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
38945         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
38946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38947         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
38949         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
38950         * nptl/pthreadP.h: Likewise.
38951         * nptl_db/structs.def: Likewise.
38952         * sysdeps/arm/sysdep.h: Likewise.
38953         * sysdeps/nptl/bits/libc-lock.h: Likewise.
38954         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
38955         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
38956         * sysdeps/unix/alpha/sysdep.h: Likewise.
38957         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38958         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38959         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38960         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38961         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38962         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38963         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38964         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38965         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38966         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38967         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38968         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38969         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38970         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
38972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
38973         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38974         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38975         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38976         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38977         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38978         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38979         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38980         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38981         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
38982         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38984         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
38985         * nptl/pthreadP.h: Likewise.
38986         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38987         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38988         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38989         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38990         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38991         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38992         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38993         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38994         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38995         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38996         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38997         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38999         Likewise.
39000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
39001         Likewise.
39002         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39003         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39004         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39005         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39006         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39007         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39008         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39009         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39011         * dlfcn/dladdr.c: Use IS_IN.
39012         * dlfcn/dladdr1.c: Likewise.
39013         * dlfcn/dlclose.c: Likewise.
39014         * dlfcn/dlerror.c: Likewise.
39015         * dlfcn/dlinfo.c: Likewise.
39016         * dlfcn/dlmopen.c: Likewise.
39017         * dlfcn/dlopen.c: Likewise.
39018         * dlfcn/dlsym.c: Likewise.
39019         * dlfcn/dlvsym.c: Likewise.
39021         * include/ifaddrs.h: Use IS_IN.
39022         * inet/check_pf.c: Likewise.
39023         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39024         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
39026         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
39027         IS_IN_ldconfig.
39028         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
39029         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
39031         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
39032         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
39033         IS_IN (libc).
39035         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
39037         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
39038         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39039         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39040         * include/libc-symbols.h (IS_IN_LIB): New macro.
39041         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
39042         * include/netdb.h: Likewise.
39043         * include/stap-probe.h: Remove all uses of IN_LIB.
39045         * Makeconfig (module-cppflags-real): Define MODULE_NAME
39046         instead of IN_MODULE.
39047         * include/libc-symbols.h (IN_MODULE): Define using
39048         MODULE_NAME.
39049         (PASTE_NAME, PASTE_NAME1): New macros.
39050         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
39051         of IN_LIB.
39052         (STAP_PROBE_ASM): Likewise.
39054 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39056         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
39057         __mach_init in dlopened libc.
39059 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
39061         * sysdeps/arm/preconfigure.ac: Delete EABI check.
39062         * sysdeps/arm/preconfigure: Regenerate.
39064 2014-11-21  Roland McGrath  <roland@hack.frob.com>
39066         * nptl/pthread_create.c (__pthread_create_2_1): Set
39067         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
39068         when copying values from IATTR into PD.
39070 2014-11-21  Will Newton  <will.newton@linaro.org>
39071             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
39073         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
39074         Refactor inline-asm.  Also add comment.
39076         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
39077         ElfW macro instead of hardcoded Elf64 types.
39078         (la_aarch64_gnu_pltenter): Likewise.
39079         * sysdeps/aarch64/dl-machine.h
39080         (elf_machine_runtime_setup): Use ElfW(Addr).
39082         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
39083         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
39084         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
39085         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
39086         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
39087         (R_AARCH64_TLS_DTPMOD64): Rename to ..
39088         (R_AARCH64_TLS_DTPMOD): This.
39089         (R_AARCH64_TLS_DTPREL64): Rename to ...
39090         (R_AARCH64_TLS_DTPREL): This.
39091         (R_AARCH64_TLS_TPREL64): Rename to ...
39092         (R_AARCH64_TLS_TPREL): This.
39093         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
39094         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
39095         R_AARCH64_TLS_TPREL64.
39096         (elf_machine_rela): Likewise.
39098 2014-11-21  Torvald Riegel  <triegel@redhat.com>
39100         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
39101         by setting it to 0.  64b atomics are not supported currently.
39103 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39105         [BZ #16469]
39106         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
39107         search domain names.
39109 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39111         [BZ #16469]
39112         * NEWS: Update.
39113         * resolv/res_query.c (__libc_res_nquerydomain): Retain
39114         trailing dot.
39115         * posix/tst-getaddrinfo5.c: New.
39116         * posix/Makefile (tests): Add it.
39118 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39120         [BZ #14498]
39121         * NEWS: Fixed.
39122         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
39123         after parsing line but before break_if_match.
39124         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
39125         if there is a protocol mismatch.
39127 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
39129         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
39130         because the potential race is on the user-supplied stream.
39132 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39134         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
39135         string literal if not passed a buffer.
39136         * manual/job.texi (ctermid): Update reasoning, note deviation
39137         from posix, suggest mtasurace when not passed a buffer, for
39138         future non-preliminary safety notes.
39140 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39142         * manual/users.texi (cuserid): Fix MT-Safety note for the case
39143         of not passing it a buffer.
39144         Reported by Peng Haitao.
39146 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39148         * manual/Makefile ($(objpfx)stamp-summary): Require
39149         check-safety.sh to pass.
39150         * manual/check-safety.sh: Wish for verification that every
39151         @deftypefn and @deftypefun is followed by a @safety remark.
39153 2014-11-20  Roland McGrath  <roland@hack.frob.com>
39155         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
39157         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
39158         PTHREAD_CANCEL_ASYNCHRONOUS.
39159         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
39160         send SIGCANCEL.
39162         * nptl/default-sched.h: New file.
39163         * sysdeps/unix/sysv/linux/default-sched.h: New file.
39164         * nptl/pthread_create.c: Include it.
39165         (__pthread_create_2_1): Use collect_default_sched instead of making
39166         Linux syscalls here directly.
39168 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39170         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
39171         __pthread_once): Use C11 atomics.
39173 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39175         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
39177 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39179         * include/atomic.h (__atomic_link_error, __atomic_check_size,
39180         atomic_thread_fence_acquire, atomic_thread_fence_release,
39181         atomic_thread_fence_seq_cst, atomic_load_relaxed,
39182         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
39183         atomic_compare_exchange_weak_relaxed,
39184         atomic_compare_exchange_weak_acquire,
39185         atomic_compare_exchange_weak_release,
39186         atomic_exchange_acquire, atomic_exchange_release,
39187         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
39188         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
39189         atomic_fetch_and_acquire,
39190         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
39192 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39194         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
39195         USE_ATOMIC_COMPILER_BUILTINS): Define.
39196         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
39197         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39198         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
39199         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39200         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
39201         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39202         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
39203         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39204         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
39205         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39206         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
39207         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39208         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
39209         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39210         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
39211         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39212         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
39213         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39214         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39215         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39216         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
39217         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39218         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
39219         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39220         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
39221         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39222         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39223         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39224         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
39225         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39226         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
39227         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39228         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
39229         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39230         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
39231         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39232         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
39233         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39234         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
39235         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39237 2014-11-19  Roland McGrath  <roland@hack.frob.com>
39239         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
39240         the sched_priority value here.  It was already checked when the user
39241         called pthread_attr_setschedparam.
39243         * nptl/tst-bad-schedattr.c: New file.
39244         * nptl/Makefile (tests): Add it.
39246 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
39247             Florian Weimer  <fweimer@redhat.com>
39248             Joseph Myers  <joseph@codesourcery.com>
39249             Adam Conrad  <adconrad@0c3.net>
39250             Andreas Schwab  <schwab@suse.de>
39251             Brooks  <bmoses@google.com>
39253         [BZ #17625]
39254         * wordexp-test.c (__dso_handle): Add prototype.
39255         (__register_atfork): Likewise.
39256         (__app_register_atfork): New function.
39257         (registered_forks): New global.
39258         (register_fork): New function.
39259         (test_case): Add 3 new tests for WRDE_CMDSUB.
39260         (main): Call __app_register_atfork.
39261         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
39262         fork count is non-zero fail the test.
39263         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
39264         is set.
39265         (parse_dollars): Remove check for WRDE_NOCMD.
39266         (parse_dquote): Likewise.
39268 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39270         * Makeconfig (built-modules): List non-library modules to be
39271         built.
39272         (module-cppflags): Include libc-modules.h for
39273         everything except shlib-versions.v.i.
39274         (CPPFLAGS): Use it.
39275         (before-compile): Add libc-modules.h.
39276         ($(common-objpfx)libc-modules.h,
39277         $(common-objpfx)libc-modules.stmp): New targets.
39278         (common-generated): Add libc-modules.h and libc-modules.stmp.
39279         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
39280         * include/libc-symbols.h: Don't include libc-modules.h.
39281         * include/libc-modules.h: Remove file.
39282         * scripts/gen-libc-modules.awk: New script to generate
39283         libc-modules.h.
39284         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
39285         Depend on libc-modules.stmp.
39287         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
39289         * Makeconfig (in-module): Get value of libof set for the
39290         translation unit.
39291         (CPPFLAGS): Use $(in-module).
39292         * Makerules: Don't suffix routine names for nonlib.
39293         * include/libc-modules.h: New file.
39294         * include/libc-symbols.h: Include libc-modules.h
39295         (IS_IN): New macro to replace IS_IN_* macros.
39296         * elf/Makefile: Set libof-* for each routine.
39297         * elf/rtld-Rules: Likewise.
39298         * extra-modules.mk: Likewise.
39299         * iconv/Makefile: Likewise.
39300         * iconvdata/Makefile: Likewise.
39301         * locale/Makefile: Likewise.
39302         * malloc/Makefile: Likewise.
39303         * nss/Makefile: Likewise.
39304         * sysdeps/gnu/Makefile: Likewise.
39305         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
39306         * sysdeps/unix/sysv/linux/Makefile: Likewise.
39307         * sysdeps/s390/s390-64/Makefile: Likewise.
39308         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
39309         CPPFLAGS for nscd instead of nonlib.
39311 2014-11-18  Roland McGrath  <roland@hack.frob.com>
39313         * nptl/createthread.c: New file.
39315         * nptl/createthread.c: Moved ...
39316         * sysdeps/unix/sysv/linux/createthread.c: ... here.
39318         * nptl/createthread.c: Add proper top-line comment.
39319         (do_clone): Folded into ...
39320         (create_thread): ... here.  Take new arguments STOPPED_START and
39321         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
39322         increment __nptl_threads, do event-reporting logic, do
39323         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
39324         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
39325         resource cleanup if sched_setaffinity or sched_setscheduler fails,
39326         just send SIGCANCEL.
39327         * nptl/pthread_create.c: Forward-declare create_thread before
39328         including createthread.c.
39329         (start_thread): Use new macro START_THREAD_DEFN to replace defining
39330         declaration, and new macro START_THREAD_SELF to replace argument.
39331         Remove return statement.
39332         (report_thread_creation): New function.
39333         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
39334         synchronization logic, and __nptl_nthreads increment here, around
39335         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
39336         PD->parent_cancelhandling here, before create_thread.  When
39337         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
39338         __deallocate_stack, and ENOMEM translation here.
39340 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
39342         [BZ #17616]
39343         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
39344         (mptwo): Rename to __mptwo.
39345         (__inv): Use __mptwo instead of mptwo.
39346         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
39347         (mptwo): Rename to __mptwo.
39348         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
39349         of mpone and __mptwo instead of mptwo.
39350         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
39351         instead of mpone.
39352         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39353         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
39354         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
39355         of mpone and __mptwo instead of mptwo.
39356         (__mpranred): Use __mpone instead of mpone.
39357         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
39358         variable.
39359         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
39360         (test-xfail-ISO99/math.h/linknamespace): Likewise.
39361         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
39362         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
39363         (test-xfail-ISO11/math.h/linknamespace): Likewise.
39364         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
39365         (test-xfail-XPG3/math.h/linknamespace): Likewise.
39366         (test-xfail-XPG4/math.h/linknamespace): Likewise.
39367         (test-xfail-POSIX/math.h/linknamespace): Likewise.
39368         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
39369         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
39370         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
39371         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
39372         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
39373         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
39374         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
39375         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
39376         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
39377         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
39379 2014-11-18  Tom de Vries  <tom@codesoucery.com>
39381         * manual/signal.texi (Primitives Interrupted by Signals): In section,
39382         replace BSD Handler xref with BSD Signal Handling.
39384 2014-11-17  Richard Henderson  <rth@redhat.com>
39386         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
39387         (_FP_PACK_RAW_2): Remove.
39388         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
39389         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
39390         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
39391         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
39392         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
39393         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
39394         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
39395         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
39396         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
39397         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
39398         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
39399         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
39400         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
39401         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
39402         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
39403         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
39405 2014-11-14  Roland McGrath  <roland@hack.frob.com>
39407         * signal/signal.h [__USE_MISC]
39408         (struct sigvec): Remove type.
39409         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
39410         (sigvec): Remove declaration.
39411         * sysdeps/posix/sigvec.c: Moved ...
39412         * signal/sigvec.c: ... here, replacing old file.
39413         (struct sigvec): New type, copied from old signal.h definition.
39414         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
39415         (__sigvec): Convert definition to prototype.
39416         (sigvec): Replace weak_alias with compat_symbol.
39417         * signal/Versions (libc: GLIBC_2.21): New version set.
39418         * include/signal.h: Remove __sigvec declaration.
39419         * sysdeps/unix/bsd/sigvec.c: Remove file.
39420         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
39421         * manual/signal.texi (BSD Handler): Remove subsection.
39422         Move siginterrupt up to ...
39423         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
39424         (Blocking in BSD): Fold subsection into its parent.
39425         * NEWS: Mention sigvec removal.
39427 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
39429         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
39430         (DLA_FMS): Make definition conditional only on [__FMA4__].
39431         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
39432         definition.
39434         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
39435         Make definition conditional only on [PROF].
39436         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
39437         definition.
39438         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
39439         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
39441         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
39442         !__GNUC__].
39443         * include/signal.h (__sigpause): Move declaration above call to
39444         libc_hidden_proto.
39445         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
39446         variable.
39447         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
39448         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
39450 2014-11-14  David S. Miller  <davem@davemloft.net>
39452         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
39453         Define before including <string/memcpy.c> and <string/mempcpy.c>.
39455 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
39457         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
39458         * configure: Regenerated.
39459         * manual/install.texi (Tools for Compilation): Document a
39460         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
39461         compiler verified to work.
39462         * INSTALL: Regenerated.
39464         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
39465         redeclare with asm name.
39466         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
39467         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
39468         including <string.h>.
39469         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39470         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
39471         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39472         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
39473         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39474         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
39475         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39477 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
39479         * stdlib/strtol.c (__strtol): Use prototype definition.
39481         [BZ #17594]
39482         * stdlib/strtol.c (SYM__): New macro.
39483         (SYM__1): Likewise.
39484         (__strtol): Likewise.
39485         (strtol): Rename to __strtol and define as weak alias of
39486         __strtol.  Use libc_hidden_weak.
39488 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39490         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
39491         Use numbered labels in inline assembly.
39493 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39495         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
39496         Add setjmp LIBC_PROBE.
39497         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
39498         Likewise.
39499         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
39500         Add longjmp, longjmp_target LIBC_PROBE.
39501         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
39502         Likewise.
39504 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39506         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
39507         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
39508         to get rid of unused variable warning.
39510 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39512         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
39513         Check for unwind_backtrace ==  NULL only in SHARED case.
39514         (__backchain_backtrace): Compile only in SHARED case.
39515         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
39516         Likewise.
39517         (__backchain_backtrace): Declare as static.
39519 2014-11-12  Roland McGrath  <roland@hack.frob.com>
39521         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
39522         (__libc_multiple_threads_ptr): Variable moved ...
39523         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
39525 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
39527         * conform/GlibcConform.pm: New file.
39528         * conform/conformtest.pl: Use GlibcConform module.
39529         * conform/linknamespace.pl: New file.
39530         * conform/list-header-symbols.pl: Likewise.
39531         * conform/Makefile (linknamespace-symlists-base): New variable.
39532         (linknamespace-symlists-tests): Likewise.
39533         (linknamespace-header-base): Likewise.
39534         (linknamespace-header-tests): Likewise.
39535         (tests-special): Add new tests.
39536         ($(linknamespace-symlists-tests)): New rule.
39537         (linknamespace-libs): New variable.
39538         ($(objpfx)symlist-stdlibs): New rule.
39539         ($(linknamespace-header-tests)): Likewise.
39540         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
39541         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
39542         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
39543         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
39544         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
39545         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
39546         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
39547         (test-xfail-ISO/math.h/linknamespace): Likewise.
39548         (test-xfail-ISO/signal.h/linknamespace): Likewise.
39549         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
39550         (test-xfail-ISO/time.h/linknamespace): Likewise.
39551         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
39552         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
39553         (test-xfail-ISO99/math.h/linknamespace): Likewise.
39554         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
39555         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
39556         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
39557         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
39558         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
39559         (test-xfail-ISO11/math.h/linknamespace): Likewise.
39560         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
39561         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
39562         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
39563         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
39564         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
39565         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
39566         (test-xfail-XPG3/math.h/linknamespace): Likewise.
39567         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
39568         (test-xfail-XPG3/search.h/linknamespace): Likewise.
39569         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
39570         (test-xfail-XPG3/time.h/linknamespace): Likewise.
39571         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
39572         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
39573         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
39574         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
39575         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
39576         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
39577         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
39578         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
39579         (test-xfail-XPG4/math.h/linknamespace): Likewise.
39580         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
39581         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
39582         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
39583         (test-xfail-XPG4/search.h/linknamespace): Likewise.
39584         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
39585         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
39586         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
39587         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
39588         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
39589         (test-xfail-XPG4/time.h/linknamespace): Likewise.
39590         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
39591         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
39592         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
39593         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
39594         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
39595         (test-xfail-POSIX/math.h/linknamespace): Likewise.
39596         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
39597         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
39598         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
39599         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
39600         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
39601         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
39602         (test-xfail-POSIX/time.h/linknamespace): Likewise.
39603         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
39604         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
39605         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
39606         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
39607         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
39608         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
39609         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
39610         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
39611         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
39612         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
39613         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
39614         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
39615         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
39616         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
39617         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
39618         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
39619         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39620         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
39621         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
39622         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
39623         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
39624         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
39625         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
39626         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
39627         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
39628         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
39629         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
39630         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
39631         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
39632         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
39633         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
39634         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
39635         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
39636         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
39637         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
39638         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
39639         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
39640         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
39641         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
39642         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
39643         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
39644         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
39645         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39646         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
39647         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
39648         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
39649         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
39650         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
39651         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
39652         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
39653         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
39654         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
39655         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
39656         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
39657         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
39658         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
39659         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
39660         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
39661         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
39662         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
39663         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
39664         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
39665         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
39666         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
39667         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
39668         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
39669         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39670         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
39671         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
39672         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39673         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
39674         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
39675         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
39676         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39677         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
39678         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
39679         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
39680         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39681         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
39682         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
39683         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
39684         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
39685         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
39686         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
39687         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
39688         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
39689         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
39690         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
39691         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
39692         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39693         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
39694         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39695         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
39696         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
39697         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
39698         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
39699         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39700         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
39702         [BZ #17589]
39703         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
39704         of fgets_unlocked.
39706         [BZ #17585]
39707         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
39708         (memmem): Rename to __memmem and define as weak alias of
39709         __memmem.  Use libc_hidden_weak.
39710         (__memmem): Use libc_hidden_def.
39711         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
39712         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
39713         memmem.
39715         [BZ #17582]
39716         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
39717         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
39718         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
39719         and define as weak alias of __fgets_unlocked.  Use
39720         libc_hidden_weak.
39721         (__fgets_unlocked): Use libc_hidden_def.
39722         * include/stdio.h (__fgets_unlocked): Declare.  Use
39723         libc_hidden_proto.
39724         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
39725         __fgets_unlocked instead of fgets_unlocked.
39726         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
39727         (GET_NPROCS_CONF_PARSER): Likewise.
39728         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
39729         (GET_NPROCS_CONF_PARSER): Likewise.
39731         [BZ #17574]
39732         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
39733         weak alias of __wmemset.  Use libc_hidden_weak.
39734         (__wmemset): Use libc_hidden_def.
39735         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
39736         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
39737         of wmemset.
39739         [BZ #17573]
39740         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
39741         with asm name __mempcpy.
39742         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
39744         [BZ #17572]
39745         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
39746         and define as weak alias of __rawmemchr.
39747         (__rawmemchr): Do not define as strong alias of rawmemchr.
39749         [BZ #17571]
39750         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
39751         alias of __qsort_r.
39752         (qsort): Call __qsort_r instead of qsort_r.
39753         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
39754         (__qsort_r): Declare.  Call libc_hidden_proto.
39755         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
39756         instead of qsort_r.
39757         * nscd/gai.c (__qsort_r): Define to qsort_r.
39758         * posix/tst-rfc3484.c (__qsort_r): Likewise.
39759         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
39760         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
39762         [BZ #17570]
39763         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
39764         define as weak alias of __malloc_info.
39766         [BZ #17584]
39767         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
39768         as weak alias of __rewinddir.  Don't use libc_hidden_def.
39769         (__rewinddir): Use libc_hidden_def.
39770         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
39771         as weak alias of __rewinddir.  Don't use libc_hidden_def.
39772         (__rewinddir): Use libc_hidden_def.
39773         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
39774         weak alias of __rewinddir.  Don't use libc_hidden_def.
39775         (__rewinddir): Use libc_hidden_def.
39776         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
39777         (__rewinddir): Use libc_hidden_proto.
39778         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
39779         rewinddir.
39780         (__getcwd): Use __rewinddir instead of rewinddir.
39782         [BZ #17583]
39783         * libio/fileno.c (fileno): Rename to __fileno and define as weak
39784         alias of __fileno.  Use libc_hidden_weak.
39785         (__fileno): Use libc_hidden_def.
39786         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
39787         * libio/ftello.c (ftello): Rename to __ftello and define as weak
39788         alias of __ftello.
39789         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
39790         __ftello.
39791         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
39792         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
39793         libc_hidden_def.
39794         (fread_unlocked): Don't use libc_hidden_ver.
39795         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
39796         and define as weak alias of __fread_unlocked.  Don't use
39797         libc_hidden_def.
39798         (__fread_unlocked): Use libc_hidden_def.
39799         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
39800         (ftello): Don't use libc_hidden_proto.
39801         (__ftello): Declare.  Use libc_hidden_proto.
39802         (fread_unlocked): Don't use libc_hidden_proto.
39803         (__fread_unlocked): Declare.  Use libc_hidden_proto.
39804         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
39805         and __ftello instead of fileno, fread_unlocked and ftello.
39807 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39809         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
39810         GOT12.
39811         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
39812         Likewise.
39813         (_dl_start_user): Likewise.
39814         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
39816 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
39817             Siddhesh Poyarekar  <siddhesh@redhat.com>
39819         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
39820         Move argv and envp down instead of moving argc up.
39821         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
39823 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
39825         [BZ #17506]
39826         * test-skeleton.c (main): Return successful if one of
39827         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
39828         * string/tst-strcoll-overflow.c: Define expected status.
39830 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
39832         [BZ #17475]
39833         * locale/iso-639.def: Define Bhili and Tulu language codes.
39835 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
39837         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
39839 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
39841         [BZ #17555]
39842         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
39844 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39846         * configure.ac: Updated check of minimal required version to
39847         2.22.
39848         * manual/install.texi (Tools for Compilation): Updated version
39849         number.
39850         * configure: Regenerated.
39851         * INSTALL: Likewise.
39853 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
39855         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
39856         __tls_get_addr.
39858 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
39860         * include/sys/wait.h (__libc_waitpid): Remove declaration.
39861         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
39862         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39863         libc_hidden_weak.
39864         (waitpid): Define as alias of __waitpid.
39865         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
39866         __waitpid.
39867         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39868         libc_hidden_weak.
39869         (waitpid): Define as alias of __waitpid.
39870         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
39871         __libc_waitpid alias.
39872         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
39873         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
39874         Likewise.
39875         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
39876         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
39877         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
39878         alias.
39879         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
39880         __waitpid.
39881         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39882         libc_hidden_weak.
39883         (waitpid): Define as alias of __waitpid.
39885 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
39887         * manual/llio.texi: Add comment that write safety has been
39888         fixed in Linux.
39890         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
39891         (localplt-build-dso): Add elf/ld.so.
39892         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
39893         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
39894         and free for ld.so.
39895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
39896         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
39897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
39898         Likewise.
39899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
39900         Likewise.
39901         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
39902         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
39903         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
39904         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
39905         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
39906         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
39907         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
39908         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
39909         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
39910         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
39911         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
39913 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
39915         [BZ #14132]
39916         * include/libc-symbols.h (INTUSE): Remove macro.
39917         (INTDEF): Likewise.
39918         (INTVARDEF): Likewise.
39919         (_INTVARDEF): Likewise.
39920         (INTDEF2): Likewise.
39921         (INTVARDEF2): Likewise.
39922         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
39923         rtld_hidden_def instead of INTVARDEF.
39924         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
39925         (_dl_starting_up_internal): Remove declaration.
39926         (_dl_starting_up): Use rtld_hidden_proto.
39927         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
39928         declaration.
39929         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
39930         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
39931         _dl_starting_up.
39932         * elf/dl-writev.h (_dl_writev): Likewise.
39933         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
39934         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
39935         _dl_starting_up_internal.
39937 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39939         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
39940         test-skeleton.c.
39942 2014-11-05  Will Newton  <will.newton@linaro.org>
39944         * benchtests/Makefile: (bench-malloc): Add malloc thread
39945         scalability benchmark.
39946         * benchtests/bench-malloc-threads.c: New file.
39948 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
39950         * sysdeps/aarch64/strchrnul.S: New file.
39952 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39954         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
39955         definition.
39956         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39957         Likewise.
39958         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39959         Likewise.
39960         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39961         Likewise.
39962         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39963         Likewise.
39964         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39965         Likewise.
39967 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
39969         * catgets/test-gencat.c: Use test-skeleton.c.
39970         * catgets/tst-catgets.c: Likewise.
39971         * csu/tst-empty.c: Likewise.
39972         * elf/tst-audit2.c: Likewise.
39973         * elf/tst-global1.c: Likewise.
39974         * elf/tst-pathopt.c: Likewise.
39975         * elf/tst-piemod1.c: Likewise.
39976         * elf/tst-tls10.c: Likewise.
39977         * elf/tst-tls11.c: Likewise.
39978         * elf/tst-tls12.c: Likewise.
39979         * gnulib/tst-gcc.c: Likewise.
39980         * iconvdata/tst-e2big.c: Likewise.
39981         * iconvdata/tst-loading.c: Likewise.
39982         * iconv/tst-iconv1.c: Likewise.
39983         * iconv/tst-iconv2.c: Likewise.
39984         * inet/test-inet6_opt.c: Likewise.
39985         * inet/tst-gethnm.c: Likewise.
39986         * inet/tst-network.c: Likewise.
39987         * inet/tst-ntoa.c: Likewise.
39988         * intl/tst-codeset.c: Likewise.
39989         * intl/tst-gettext2.c: Likewise.
39990         * intl/tst-gettext3.c: Likewise.
39991         * intl/tst-ngettext.c: Likewise.
39992         * intl/tst-translit.c: Likewise.
39993         * io/test-stat.c: Likewise.
39994         * libio/test-fmemopen.c: Likewise.
39995         * libio/tst-freopen.c: Likewise.
39996         * libio/tst-sscanf.c: Likewise.
39997         * libio/tst-ungetwc1.c: Likewise.
39998         * libio/tst-ungetwc2.c: Likewise.
39999         * libio/tst-widetext.c: Likewise.
40000         * localedata/tst-ctype.c: Likewise.
40001         * localedata/tst-digits.c: Likewise.
40002         * localedata/tst-leaks.c: Likewise.
40003         * localedata/tst-mbswcs1.c: Likewise.
40004         * localedata/tst-mbswcs2.c: Likewise.
40005         * localedata/tst-mbswcs3.c: Likewise.
40006         * localedata/tst-mbswcs4.c: Likewise.
40007         * localedata/tst-mbswcs5.c: Likewise.
40008         * localedata/tst-setlocale.c: Likewise.
40009         * localedata/tst-trans.c: Likewise.
40010         * localedata/tst-wctype.c: Likewise.
40011         * localedata/tst-xlocale1.c: Likewise.
40012         * login/tst-grantpt.c: Likewise.
40013         * malloc/tst-calloc.c: Likewise.
40014         * malloc/tst-malloc.c: Likewise.
40015         * malloc/tst-mallocstate.c: Likewise.
40016         * malloc/tst-mcheck.c: Likewise.
40017         * malloc/tst-mtrace.c: Likewise.
40018         * malloc/tst-obstack.c: Likewise.
40019         * math/atest-exp2.c: Likewise.
40020         * math/atest-exp.c: Likewise.
40021         * math/atest-sincos.c: Likewise.
40022         * math/test-matherr.c: Likewise.
40023         * math/test-misc.c: Likewise.
40024         * math/test-powl.c: Likewise.
40025         * math/tst-definitions.c: Likewise.
40026         * misc/tst-dirname.c: Likewise.
40027         * misc/tst-efgcvt.c: Likewise.
40028         * misc/tst-fdset.c: Likewise.
40029         * misc/tst-hsearch.c: Likewise.
40030         * misc/tst-mntent2.c: Likewise.
40031         * nptl/tst-sem7.c: Likewise.
40032         * nptl/tst-sem8.c: Likewise.
40033         * nptl/tst-sem9.c: Likewise.
40034         * nss/test-netdb.c: Likewise.
40035         * posix/tst-fnmatch.c: Likewise.
40036         * posix/tst-getlogin.c: Likewise.
40037         * posix/tst-gnuglob.c: Likewise.
40038         * posix/tst-mmap.c: Likewise.
40039         * pwd/tst-getpw.c: Likewise.
40040         * resolv/tst-inet_ntop.c: Likewise.
40041         * rt/tst-timer.c: Likewise.
40042         * stdio-common/test-fseek.c: Likewise.
40043         * stdio-common/test-popen.c: Likewise.
40044         * stdio-common/test-vfprintf.c: Likewise.
40045         * stdio-common/tst-cookie.c: Likewise.
40046         * stdio-common/tst-fileno.c: Likewise.
40047         * stdio-common/tst-gets.c: Likewise.
40048         * stdio-common/tst-obprintf.c: Likewise.
40049         * stdio-common/tst-perror.c: Likewise.
40050         * stdio-common/tst-sprintf2.c: Likewise.
40051         * stdio-common/tst-sprintf3.c: Likewise.
40052         * stdio-common/tst-sprintf.c: Likewise.
40053         * stdio-common/tst-swprintf.c: Likewise.
40054         * stdio-common/tst-tmpnam.c: Likewise.
40055         * stdio-common/tst-unbputc.c: Likewise.
40056         * stdio-common/tst-wc-printf.c: Likewise.
40057         * stdlib/tst-environ.c: Likewise.
40058         * stdlib/tst-fmtmsg.c: Likewise.
40059         * stdlib/tst-limits.c: Likewise.
40060         * stdlib/tst-rand48-2.c: Likewise.
40061         * stdlib/tst-rand48.c: Likewise.
40062         * stdlib/tst-random2.c: Likewise.
40063         * stdlib/tst-random.c: Likewise.
40064         * stdlib/tst-strtol.c: Likewise.
40065         * stdlib/tst-strtoll.c: Likewise.
40066         * stdlib/tst-tls-atexit.c: Likewise.
40067         * stdlib/tst-xpg-basename.c: Likewise.
40068         * string/test-ffs.c: Likewise.
40069         * string/tst-bswap.c: Likewise.
40070         * string/tst-inlcall.c: Likewise.
40071         * string/tst-strtok.c: Likewise.
40072         * string/tst-strxfrm.c: Likewise.
40073         * sysdeps/x86_64/tst-audit10.c: Likewise.
40074         * sysdeps/x86_64/tst-audit3.c: Likewise.
40075         * sysdeps/x86_64/tst-audit4.c: Likewise.
40076         * sysdeps/x86_64/tst-audit5.c: Likewise.
40077         * time/tst-ftime_l.c: Likewise.
40078         * time/tst-getdate.c: Likewise.
40079         * time/tst-mktime3.c: Likewise.
40080         * time/tst-mktime.c: Likewise.
40081         * time/tst-posixtz.c: Likewise.
40082         * time/tst-strptime2.c: Likewise.
40083         * time/tst-strptime3.c: Likewise.
40084         * wcsmbs/tst-btowc.c: Likewise.
40085         * wcsmbs/tst-mbrtowc.c: Likewise.
40086         * wcsmbs/tst-mbsrtowcs.c: Likewise.
40087         * wcsmbs/tst-wchar-h.c: Likewise.
40088         * wcsmbs/tst-wcpncpy.c: Likewise.
40089         * wcsmbs/tst-wcrtomb.c: Likewise.
40090         * wcsmbs/tst-wcsnlen.c: Likewise.
40091         * wcsmbs/tst-wcstof.c: Likewise.
40093 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
40095         [BZ #14132]
40096         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
40097         INTDEF.
40098         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
40099         declaration.
40100         (_dl_mcount): Use rtld_hidden_proto.
40101         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
40102         _dl_mcount.
40103         * elf/rtld.c (_rtld_global_ro): Likewise.
40105         [BZ #14132]
40106         * elf/dl-init.c (_dl_init): Don't use INTDEF.
40107         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
40108         of _dl_init_internal.
40109         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
40110         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
40111         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
40112         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
40113         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
40114         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
40115         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
40116         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
40117         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
40118         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
40119         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
40120         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
40121         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40122         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40123         * sysdeps/tile/dl-start.S (_start): Likewise.
40124         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
40125         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
40127         [BZ #14132]
40128         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
40129         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
40130         (rtld_progname): Make macro definition unconditional.
40131         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
40132         INTDEF.
40133         (dlmopen_doit): Do not use INTUSE with _dl_argv.
40134         (dl_main): Likewise.
40135         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40136         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
40137         instead of _dl_argv_internal.
40138         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40139         __GI__dl_argv instead of INTUSE(_dl_argv).
40140         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
40141         __GI__dl_argv instead of _dl_argv_internal.
40143         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
40144         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
40145         macro.
40146         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
40147         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
40148         New macro.
40149         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
40150         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
40151         macro.
40152         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
40153         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
40155 2014-11-04  Andreas Schwab  <schwab@suse.de>
40157         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
40159 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40161         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
40162         mtvsrd instruction in binary form.
40164 2014-11-03  Andreas Schwab  <schwab@suse.de>
40166         [BZ #17522]
40167         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
40168         for less than MB_LEN_MAX use a local buffer of that size.
40169         * libio/tst-fputws.c: New file.
40170         * libio/Makefile (tests): Add tst-fputws.
40172 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
40174         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
40175         the size of the fpu_fr.fpu_dregs[] array.
40177 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
40179         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
40180         (__nanosleep): Do not define as alias.
40181         (nanosleep): Define as alias of __nanosleep.
40182         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
40183         __libc_nanosleep name.
40185 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
40187         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
40188         install.texi in comment.
40190 2014-10-31  Torvald Riegel  <triegel@redhat.com>
40192         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
40193         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
40194         ... add here and use lwsync or sync ...
40195         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
40196         ... and add here using lwsync.
40198 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40200         * elf/dl-machine-reject-phdr.h: New file.
40201         * elf/dl-load.c: #include that.
40202         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
40203         if that returned true.
40205 2014-10-31  Roland McGrath  <roland@hack.frob.com>
40207         [BZ #17496]
40208         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
40209         gen-as-const-headers chunk.  Add a big scare comment after the last
40210         safe place to touch before-compile.
40212 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
40214         * manual/install.texi (Tools for Compilation): Update autoconf
40215         version requirements.
40216         * INSTALL: Regenerated.
40218         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
40219         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
40220         (__libc_pselect): Likewise.
40222         [BZ #14138]
40223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
40224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40228 2014-10-31  Torvald Riegel  <triegel@redhat.com>
40230         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
40231         correct barrier instruction.
40232         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
40233         Likewise.
40234         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
40235         Likewise.
40237 2014-10-30  Roland McGrath  <roland@hack.frob.com>
40239         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
40240         after defining inlines.  Instead, just use parens to defeat macro
40241         expansion of __isctype in its declaration.
40243 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
40245         * include/sys/uio.h (__libc_readv): Remove declaration.
40246         (__libc_writev): Likewise.
40247         * misc/readv.c (__libc_readv): Rename to __readv.
40248         (__readv): Do not define as alias.
40249         (readv): Define as alias of __readv.
40250         * misc/writev.c (__libc_writev): Rename to __writev.
40251         (__writev): Do not define as alias.
40252         (writev): Define as alias of __writev.
40253         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
40254         (__readv): Do not define as alias.
40255         (readv): Define unconditionally as alias of __readv.
40256         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
40257         (__writev): Do not define as alias.
40258         (writev): Define unconditionally as alias of __writev.
40259         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
40260         name.
40261         (writev): Do not define __libc_writev name.
40263 2014-10-30  Roland McGrath  <roland@hack.frob.com>
40265         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
40266         (convert_charseq): New function, broken out of ...
40267         (use_from_charmap): ... here.  Call it.
40268         (use_to_charmap): Use convert_charseq and free instead of duplicating
40269         its code with a variable-length stack struct.
40271 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
40273         * include/fcntl.h (__libc_creat): Remove declaration.
40274         * io/creat.c (__libc_creat): Rename to creat.
40275         (creat): Do not define as alias.
40276         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
40277         of creat instead of __libc_creat.
40278         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
40279         to creat.
40280         (creat): Do not define as alias.
40281         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
40282         __libc_creat.
40283         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
40284         __libc_creat name.
40285         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
40286         Likewise.
40288 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
40290         * manual/llio.texi: Add comments discussing why write() may be
40291         considered MT-unsafe on Linux.
40293 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
40295         * dl-load.c (local_strdup): Remove.
40296         (expand_dynamic_string_token): Use __strdup.
40297         (decompose_rpath): Likewise.
40298         (_dl_map_object): Likewise.
40300 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
40302         [BZ #14132]
40303         * sysdeps/generic/unwind-dw2-fde.c
40304         (__register_frame_info_bases_internal): Do not declare.
40305         (__register_frame_info_table_bases_internal): Likewise.
40306         (__deregister_frame_info_bases_internal): Likewise.
40307         (__register_frame_info_bases): Declare and use hidden_proto before
40308         definition.  Use hidden_def instead of INTDEF.
40309         (__register_frame_info_table_bases): Likewise.
40310         (__deregister_frame_info_bases): Likewise.
40311         (__register_frame_info): Do not use INTUSE.
40312         (__register_frame): Likewise.
40313         (__register_frame_info_table): Likewise.
40314         (__register_frame_table): Likewise.
40315         (__deregister_frame_info): Likewise.
40316         (__deregister_frame): Likewise.
40318 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
40320         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40321         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
40322         not undefine.
40323         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
40324         Likewise.
40325         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
40326         Likewise.
40328 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
40330         [BZ #14138]
40331         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
40332         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
40333         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
40334         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
40335         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
40336         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
40337         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
40338         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
40339         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
40340         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
40341         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
40342         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
40343         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
40344         syscall.
40345         (setfsuid): Likewise.
40346         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
40347         (setfsuid): Likewise.
40348         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
40349         (setfsuid): Likewise.
40350         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
40351         Likewise.
40352         (setfsuid): Likewise.
40353         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
40354         (setfsuid): Likewise.
40355         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
40356         Likewise.
40357         (setfsuid): Likewise.
40359 2014-10-27  Andreas Schwab  <schwab@suse.de>
40361         [BZ #17501]
40362         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
40363         check for Slow_SSE4_2 feature bit.
40364         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
40365         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40366         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
40367         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
40369 2014-10-24  Roland McGrath  <roland@hack.frob.com>
40371         * configure.ac: Validate compiler version with a empirical test of
40372         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
40373         $CC -v output.
40374         * configure: Regenerated.
40376         * inet/htons.c (htons): Prototypify.
40377         * inet/htonl.c (htonl): Likewise.
40379 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40381         * string/strncat.c (strncat): Improve performance by using strlen.
40383 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40385         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
40387 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40389         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
40390         Call libc_fetestexcept_aarch64.
40392 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40394         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
40395         Call libc_feholdexcept_aarch64.
40397 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40399         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
40400         Call get_rounding_mode.
40402 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40404         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40405         Simplify logic.
40407 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40409         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
40410         Simplify logic.
40412 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
40414         [BZ #14138]
40415         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
40416         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
40417         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
40418         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
40419         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
40420         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
40421         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
40422         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
40423         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
40424         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
40425         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40426         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
40427         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
40428         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
40429         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
40430         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
40431         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
40432         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
40433         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
40434         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
40435         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
40436         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
40437         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
40438         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
40439         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
40440         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
40441         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
40442         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
40443         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
40444         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
40445         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
40446         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
40447         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
40448         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
40449         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
40450         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
40451         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
40452         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
40453         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
40454         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
40455         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
40456         syscall.
40457         (geteuid): Likewise.
40458         (getgid): Likewise.
40459         (getuid): Likewise.
40460         (getresgid): Likewise.
40461         (getresuid): Likewise.
40462         (getgroups): Likewise.
40463         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
40464         (geteuid): Likewise.
40465         (getgid): Likewise.
40466         (getuid): Likewise.
40467         (getresgid): Likewise.
40468         (getresuid): Likewise.
40469         (getgroups): Likewise.
40470         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
40471         (geteuid): Likewise.
40472         (getgid): Likewise.
40473         (getuid): Likewise.
40474         (getresgid): Likewise.
40475         (getresuid): Likewise.
40476         (getgroups): Likewise.
40477         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
40478         Likewise.
40479         (geteuid): Likewise.
40480         (getgid): Likewise.
40481         (getuid): Likewise.
40482         (getresgid): Likewise.
40483         (getresuid): Likewise.
40484         (getgroups): Likewise.
40485         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
40486         (geteuid): Likewise.
40487         (getgid): Likewise.
40488         (getuid): Likewise.
40489         (getresgid): Likewise.
40490         (getresuid): Likewise.
40491         (getgroups): Likewise.
40492         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
40493         Likewise.
40494         (geteuid): Likewise.
40495         (getgid): Likewise.
40496         (getuid): Likewise.
40497         (getgroups): Likewise.
40499         [BZ #14138]
40500         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
40501         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
40502         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
40503         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40504         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
40505         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
40506         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
40507         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
40508         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
40509         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
40510         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
40511         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
40512         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
40513         __chown.
40514         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
40515         (lchown): Likewise.
40516         (fchown): Likewise.
40517         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
40518         Likewise.
40519         (lchown): Likewise.
40520         (fchown): Likewise.
40521         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
40522         (lchown): Likewise.
40523         (fchown): Likewise.
40524         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
40525         Likewise.
40526         (lchown): Likewise.
40527         (fchown): Likewise.
40529 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
40531         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
40532         Simplify logic.
40534 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
40536         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
40537         Cleanup logic.
40539 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
40541         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
40542         Remove unused include.
40544 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
40546         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
40547         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
40548         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
40549         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
40551 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
40552             Helge Deller <deller@gmx.de>
40554         [BZ #17508]
40555         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
40556         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
40557         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
40559 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
40561         [BZ #14132]
40562         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
40563         Remove macro definition.
40564         (__ashrdi3_v_glibc20): Likewise.
40565         (__lshrdi3_v_glibc20): Likewise.
40566         (__cmpdi2_v_glibc20): Likewise.
40567         (__ucmpdi2_v_glibc20): Likewise.
40568         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
40569         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40570         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40571         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40572         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40573         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
40575 2014-10-22  Roland McGrath  <roland@hack.frob.com>
40577         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
40578         old GNU extension [0] syntax.
40579         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
40580         alloca rather than an array member with variable length.
40581         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
40582         * nscd/nscd.c (invalidate_db): New function, broken out of ...
40583         (parse_opt): ... here.  Likewise use alloca there.
40584         Validate the -i argument before checking for rootness.
40585         (send_shutdown): New function, broken out of ...
40586         (parse_opt): ... here.
40588 2014-10-22  Roland McGrath  <roland@hack.frob.com>
40590         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
40591         macro to get at the _rt_local_ro field.
40592         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
40593         ([PIC] case) or _dl_hwcap ([!PIC] case).
40594         * sysdeps/arm/setjmp.S: Likewise.
40596         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
40597         * sysdeps/arm/configure.ac: New check to define it.
40598         * sysdeps/arm/configure: Regenerated.
40599         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
40600         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
40601         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
40602         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
40603         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
40604         Use move/movt pair instead of a load.
40605         (LDST_GLOBAL): Macro removed.
40606         (LDR_GLOBAL): New macro replaces it.
40607         (LDR_HIDDEN): New macro.
40608         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
40609         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
40611         * setjmp/tst-setjmp-static.c: New file.
40612         * setjmp/Makefile (tests): Add it.
40613         (tests-static): New variable.
40615 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
40617         [BZ #17485]
40618         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
40620 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
40622         [BZ #14132]
40623         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
40625 2014-10-21  Roland McGrath  <roland@hack.frob.com>
40627         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
40629 2014-10-20  Roland McGrath  <roland@hack.frob.com>
40631         * io/fts.c (dirent_not_directory): New function.
40632         (fts_build): Call it.
40634 2014-10-20  Roland McGrath  <roland@hack.frob.com>
40636         * nptl/version.c (__nptl_main): Use normal __write rather than
40637         INTERNAL_SYSCALL.
40638         (banner): Update copyright years.
40640         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
40641         gettimeofday.
40642         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
40643         * nptl/pthread_cond_timedwait.c: Likewise.
40644         * nptl/pthread_mutex_timedlock.c: Likewise.
40645         * nptl/sem_timedwait.c: Likewise.
40647         * sysdeps/nptl/bits/libc-lock.h
40648         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40649         (__libc_lock_init_recursive): Return void, not 0.
40650         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
40651         (__libc_rwlock_init): Likewise.
40652         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
40654 2014-10-20  Torvald Riegel  <triegel@redhat.com>
40656         [BZ #15215]
40657         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
40658         (__pthread_once_slow): ... here.
40659         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
40660         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
40662 2014-10-20  Torvald Riegel  <triegel@redhat.com>
40664         [BZ #15215]
40665         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
40666         __PTHREAD_ONCE_FORK_GEN_INCR): New.
40667         * sysdeps/nptl/fork.c (__libc_fork): Use them.
40668         * nptl/pthread_once.c (__pthread_once): Likewise.
40669         Update comments.
40671 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
40673         [BZ #14138]
40674         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
40675         name.
40676         (writev): Use __libc_writev as strong name.
40677         * sysdeps/unix/sysv/linux/readv.c: Remove file.
40678         * sysdeps/unix/sysv/linux/writev.c: Likewise.
40680 2014-10-17  Roland McGrath  <roland@hack.frob.com>
40682         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
40684         * sysdeps/i386/nptl/tls.h
40685         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
40686         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
40687         New macros.
40688         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
40689         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
40690         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
40691         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
40692         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
40693         Call CHECK_THREAD_SYSINFO instead of doing an assert.
40695         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
40696         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
40697         on [__NR_futex].
40698         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
40699         broken out of ...
40700         (__pthread_mutex_init): ... here.  Call it.
40701         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
40702         Conditionalize PI cases on [__NR_futex].
40703         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
40704         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
40705         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
40707         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
40708         conditional on [SIGSETXID].
40709         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
40710         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
40711         is defined.  Likewise for SIGSETXID.
40712         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
40713         Conditionalize definitions on [SIGSETXID].
40714         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
40715         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
40716         unblocking on [SIGCANCEL].
40718         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
40719         [__NR_set_robust_list].
40721 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40723         * string/strcoll_l.c (get_next_seq): Fix up formatting.
40724         (do_compare): Likewise.
40726 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
40728         [BZ #15884]
40729         * string/strcoll_l.c: Don't include stdio.h.
40730         (coll_seq): Remove members idxarr and rulearr.
40731         (get_next_seq_cached): Remove function.
40732         (get_next_seq): Likewise.
40733         (get_next_seq_nocache): Rename to get_next_seq.
40734         (do_compare): Remove function.
40735         (do_compare_nocache): Rename to do_compare.
40736         (STRCOLL): Remove weight and rules cache.
40738 2014-10-16  Roland McGrath  <roland@hack.frob.com>
40740         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
40741         * sysdeps/arm/sfp-machine.h: ... to here.
40742         * sysdeps/arm/Implies: Remove arm/soft-fp.
40744 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
40746         * conform/data/sys/utsname.h-data (*_t): Allow.
40747         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
40748         [POSIX] (WEXITED): Do not expect constant.
40749         [POSIX] (WSTOPPED): Likewise.
40750         [POSIX] (WNOHANG): Likewise.
40751         [POSIX] (WNOWAIT): Likewise.
40752         [POSIX] (siginfo_t): Do not expect type or elements.
40753         [POSIX] (pid_t): Do not expect type.
40754         [POSIX] (signal.h): Do not allow header.
40755         [POSIX] (sys/resource.h): Likewise.
40756         [POSIX] (si_*): Do not allow pattern.
40757         [POSIX] (W*): Likewise.
40758         [POSIX] (P_*): Likewise.
40759         [POSIX] (BUS_*): Likewise.
40760         [POSIX] (CLD_*): Likewise.
40761         [POSIX] (FPE_*): Likewise.
40762         [POSIX] (ILL_*): Likewise.
40763         [POSIX] (POLL_*): Likewise.
40764         [POSIX] (SEGV_*): Likewise.
40765         [POSIX] (SI_*): Likewise.
40766         [POSIX] (TRAP_*): Likewise.
40767         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
40768         variable.
40770 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
40772         [BZ #12926]
40773         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
40774         infinite loop when __recvmsg returns 0.
40776 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
40778         * CANCEL-FCT-WAIVE: Remove file.
40779         * CANCEL-FILE-WAIVE: Likewise.
40781         [BZ #14132]
40782         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
40783         instead of INTVARDEF.
40784         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
40785         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
40786         rtld_hidden_data_def instead of INTVARDEF.
40787         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
40788         * elf/dl-deps.c (expand_dst): Likewise.
40789         * elf/dl-load.c (_dl_dst_count): Likewise.
40790         (_dl_dst_substitute): Likewise.
40791         (decompose_rpath): Likewise.
40792         (_dl_init_paths): Likewise.
40793         (open_path): Likewise.
40794         (_dl_map_object): Likewise.
40795         * elf/rtld.c (dl_main): Likewise.
40796         (process_dl_audit): Likewise.
40797         (process_envvars): Likewise.
40798         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
40799         Remove declaration.
40800         (__libc_enable_secure): Use rtld_hidden_proto.
40802 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40804         * elf/dl-load.c
40805         (add_path): New function broken out of _dl_rtld_di_serinfo.
40806         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
40808 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
40810         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
40811         parentheses around macro arguments.
40812         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
40813         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
40814         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
40815         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
40816         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
40817         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
40818         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
40819         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
40820         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
40821         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
40822         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
40823         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
40824         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
40825         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
40826         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
40827         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
40828         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
40829         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
40830         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
40831         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
40832         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
40833         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
40834         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
40835         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
40836         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
40837         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
40838         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
40839         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
40840         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
40841         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
40842         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
40843         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
40844         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
40845         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
40846         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
40847         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
40848         Likewise.
40849         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
40850         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
40851         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
40852         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
40853         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
40854         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
40855         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
40856         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
40857         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
40858         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
40859         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
40860         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
40861         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
40862         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
40863         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
40864         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
40865         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
40866         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
40867         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
40868         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
40869         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
40870         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
40871         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
40872         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
40873         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
40874         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
40875         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
40876         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
40877         (_FP_FRAC_SRS_1): Likewise.
40878         (_FP_FRAC_CLZ_1): Likewise.
40879         (_FP_MUL_MEAT_1_imm): Likewise.
40880         (_FP_MUL_MEAT_1_wide): Likewise.
40881         (_FP_MUL_MEAT_1_hard): Likewise.
40882         (_FP_SQRT_MEAT_1): Likewise.
40883         (_FP_FRAC_ASSEMBLE_1): Likewise.
40884         (_FP_FRAC_DISASSEMBLE_1): Likewise.
40885         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
40886         (__FP_CLZ_2): Likewise.
40887         (_FP_MUL_MEAT_2_wide): Likewise.
40888         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40889         (_FP_MUL_MEAT_2_gmp): Likewise.
40890         (_FP_MUL_MEAT_2_120_240_double): Likewise.
40891         (_FP_SQRT_MEAT_2): Likewise.
40892         (_FP_FRAC_ASSEMBLE_2): Likewise.
40893         (_FP_FRAC_DISASSEMBLE_2): Likewise.
40894         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
40895         (_FP_FRAC_CLZ_4): Likewise.
40896         (_FP_MUL_MEAT_4_wide): Likewise.
40897         (_FP_MUL_MEAT_4_gmp): Likewise.
40898         (_FP_SQRT_MEAT_4): Likewise.
40899         (_FP_FRAC_ASSEMBLE_4): Likewise.
40900         (_FP_FRAC_DISASSEMBLE_4): Likewise.
40901         * soft-fp/op-common.h (_FP_CMP): Likewise.
40902         (_FP_CMP_EQ): Likewise.
40903         (_FP_CMP_UNORD): Likewise.
40904         (_FP_TO_INT): Likewise.
40905         (_FP_FROM_INT): Likewise.
40906         [!__FP_CLZ] (__FP_CLZ): Likewise.
40907         (_FP_DIV_HELP_imm): Likewise.
40908         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
40909         Likewise.
40910         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
40911         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
40912         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
40913         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
40914         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
40915         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40916         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40917         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
40918         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
40919         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
40920         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
40921         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
40922         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
40923         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
40924         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
40925         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
40926         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
40927         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
40928         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
40929         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
40930         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
40931         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
40932         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
40933         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40934         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40935         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
40936         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
40937         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
40938         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
40939         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
40940         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
40941         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
40942         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
40943         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
40944         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
40945         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
40946         (FP_UNPACK_RAW_SP): Likewise.
40947         (FP_PACK_RAW_S): Likewise.
40948         (FP_PACK_RAW_SP): Likewise.
40949         (FP_UNPACK_S): Likewise.
40950         (FP_UNPACK_SP): Likewise.
40951         (FP_UNPACK_SEMIRAW_S): Likewise.
40952         (FP_UNPACK_SEMIRAW_SP): Likewise.
40953         (FP_PACK_S): Likewise.
40954         (FP_PACK_SP): Likewise.
40955         (FP_PACK_SEMIRAW_S): Likewise.
40956         (FP_PACK_SEMIRAW_SP): Likewise.
40957         (_FP_SQRT_MEAT_S): Likewise.
40958         (FP_CMP_S): Likewise.
40959         (FP_CMP_EQ_S): Likewise.
40960         (FP_CMP_UNORD_S): Likewise.
40961         (FP_TO_INT_S): Likewise.
40962         (FP_FROM_INT_S): Likewise.
40964         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
40966         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
40967         (FP_EX_INVALID_IMZ): Likewise.
40968         (FP_EX_INVALID_IMZ_FMA): Likewise.
40969         (FP_EX_INVALID_ISI): Likewise.
40970         (FP_EX_INVALID_ZDZ): Likewise.
40971         (FP_EX_INVALID_IDI): Likewise.
40972         (FP_EX_INVALID_SQRT): Likewise.
40973         (FP_EX_INVALID_CVI): Likewise.
40974         (FP_EX_INVALID_VC): Likewise.
40975         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
40976         "invalid" exceptions.
40977         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
40978         (_FP_ADD_INTERNAL): Likewise.
40979         (_FP_MUL): Likewise.
40980         (_FP_FMA): Likewise.
40981         (_FP_DIV): Likewise.
40982         (_FP_CMP_CHECK_NAN): Likewise.
40983         (_FP_SQRT): Likewise.
40984         (_FP_TO_INT): Likewise.
40985         (FP_EXTEND): Likewise.
40987 2014-10-09  Allan McRae  <allan@archlinux.org>
40989         * po/fr.po: Update French translation from translation project.
40991 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
40993         [BZ #14132]
40994         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
40995         of INTDEF.
40996         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
40997         (__cxa_atexit): Use libc_hidden_proto.
40998         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
41000         [BZ #14132]
41001         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
41002         declaration.
41003         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
41004         [!_ISOMAC] (__iswspace_l_internal): Likewise.
41005         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
41006         [!_ISOMAC] (__iswctype_internal): Likewise.
41007         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
41008         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
41009         alias.
41010         (fcntl): Remove __fcntl_internal alias.
41011         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
41012         __connect_internal alias.
41013         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
41014         Likewise.
41016         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
41017         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
41018         FP_DENORM_ZERO.
41019         (_FP_CHECK_FLUSH_ZERO): New macro.
41020         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
41021         (_FP_CMP): Likewise.
41022         (_FP_CMP_EQ): Likewise.
41023         (_FP_TO_INT): Do not set inexact for subnormal arguments if
41024         FP_DENORM_ZERO.
41025         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
41026         (FP_TRUNC): Likewise.
41028         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
41029         treated as invalid conversion, not as normal exponent.
41031         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
41032         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
41033         (_FP_CMP_EQ): Likewise.
41034         (_FP_CMP_UNORD): Likewise.
41035         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
41036         (FP_CMP_EQ_D): Likewise.
41037         (FP_CMP_UNORD_D): Likewise.
41038         * soft-fp/extended.h (FP_CMP_E): Likewise.
41039         (FP_CMP_EQ_E): Likewise.
41040         (FP_CMP_UNORD_E): Likewise.
41041         * soft-fp/quad.h (FP_CMP_Q): Likewise.
41042         (FP_CMP_EQ_Q): Likewise.
41043         (FP_CMP_UNORD_Q): Likewise.
41044         * soft-fp/single.h (FP_CMP_S): Likewise.
41045         (FP_CMP_EQ_S): Likewise.
41046         (FP_CMP_UNORD_S): Likewise.
41047         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
41048         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
41049         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
41050         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
41051         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
41052         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
41053         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
41054         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
41055         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
41056         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
41057         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
41058         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
41059         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
41060         to FP_CMP_Q.
41061         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
41062         FP_CMP_Q.
41063         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
41064         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
41065         FP_CMP_EQ_Q.
41066         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
41067         FP_CMP_Q.
41068         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
41069         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
41070         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
41071         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
41072         FP_CMP_EQ_Q.
41073         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
41074         FP_CMP_Q.
41075         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
41076         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
41077         FP_CMP_EQ_Q.
41078         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
41079         FP_CMP_Q.
41080         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
41081         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
41082         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
41083         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
41084         FP_CMP_EQ_Q.
41086         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
41087         a subnormal result, set the underflow exception if trapping on
41088         underflow is enabled.
41089         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
41090         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
41091         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
41092         redefine to 0.
41093         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
41094         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
41095         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
41096         * soft-fp/extendxftf2.c (__extendxftf2): Use
41097         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
41099         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
41100         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
41101         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41102         FP_HANDLE_EXCEPTIONS.
41103         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
41104         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41105         FP_HANDLE_EXCEPTIONS.
41106         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
41107         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41108         FP_HANDLE_EXCEPTIONS.
41109         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
41110         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41111         FP_HANDLE_EXCEPTIONS.
41113 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
41115         [BZ #14132]
41116         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
41117         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
41118         use INTUSE.
41119         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
41120         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
41121         Remove alias.
41122         (__adjtimex): Define using libc_hidden_ver.
41123         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
41124         Remove declaration.
41125         (ntp_gettime): Call __adjtimex directly.
41126         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
41127         Remove declaration.
41128         (ntp_gettimex): Call __adjtimex directly.
41129         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
41130         __adjtimex_internal alias.
41132 2014-10-08  Roland McGrath  <roland@hack.frob.com>
41134         [BZ #17460]
41135         * nscd/nscd.c (more_help): Rewrite list of tables collection
41136         using xstrdup and asprintf.
41138         * nscd/nscd_conf.c: Remove local xstrdup declaration.
41140 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41141             Roland McGrath  <roland@hack.frob.com>
41143         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
41144         (do_lookup_unique): ... local function 'enter' here; update callers.
41146 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
41148         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
41149         compat_symbol calls on [SHARED].
41150         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
41151         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
41152         Remove.
41153         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41154         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
41155         (oldsetrlimit): Remove.
41156         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
41158         (lchown): New syscall entry.
41159         (oldsetrlimit): Remove.
41160         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41161         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
41162         (oldsetrlimit): Remove.
41163         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41165         [BZ #14138]
41166         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
41167         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
41168         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
41169         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
41170         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41171         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
41172         (fchown): Likewise.
41173         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
41174         (fchown): Likewise.
41175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
41176         Likewise.
41178 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41180         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
41181         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
41182         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
41183         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
41184         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
41185         Likewise.
41186         (__old_sem_post): Likewise.
41188 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
41190         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
41191         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
41192         HAVE_CLOCK_GETTIME_VSYSCALL macros.
41193         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
41194         Use INLINE_VSYSCALL macro.
41195         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
41196         __vdso_clock_gettime.
41197         * sysdeps/unix/sysv/linux/tile/init-first.c
41198         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
41199         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
41200         __vdso_clock_gettime.
41202         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
41203         to set up frame more cleanly.
41205         * sysdeps/tile/memcmp.c: New file.
41207         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
41209         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
41210         * sysdeps/tile/tilegx/strcasestr.c: New file.
41211         * sysdeps/tile/tilegx/strnlen.c: New file.
41212         * sysdeps/tile/tilegx/strstr.c: New file.
41214         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
41216 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
41218         * nptl/tst-setuid3.c: Write errors to stdout.
41220 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41222         * elf/dl-deps.c
41223         (preload): New functions broken out of _dl_map_object_deps.
41224         (_dl_map_object_deps):  Remove a nested function. Update call sites.
41226 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
41228         [BZ #14138]
41229         * sysdeps/unix/sysv/linux/execve.c: Remove file.
41230         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
41232 2014-10-01  Steve Ellcey  <sellcey@mips.com>
41234         * sysdeps/mips/strcmp.S: New.
41236 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
41238         [BZ #14138]
41239         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
41240         (linkat): Likewise.
41241         (mkdirat): Likewise.
41242         (readlinkat): Likewise.
41243         (renameat): Likewise.
41244         (symlinkat): Likewise.
41245         (unlinkat): Likewise.
41246         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
41247         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
41248         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
41249         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
41250         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
41251         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
41252         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
41254 2014-09-30  Will Newton  <will.newton@linaro.org>
41256         * math/math.h: Define long double math functions if
41257         _LIBC_TEST is defined.
41258         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
41260         * localedata/Makefile: Move assignment to tests-special
41261         into an ifdef testing run-built-tests.
41262         * timezone/Makefile: Likewise.
41264 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
41266         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
41267         with $(BASH) not $(SHELL).
41269 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
41270             Matthew LeGendre  <legendre1@llnl.gov>
41272         [BZ #17411]
41273         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
41274         l_reloc_result.
41276 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41278         * stdio-common/printf_fp.c
41279         (hack_digit): New function, broken out of ...
41280         (__printf_fp): ... local function here.  Update call sites.
41281         hack_digit now takes an additional parameter that is a pointer
41282         to a struct of the referenced locals.  Those locals moved inside
41283         the struct and references updated.
41285 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
41287         * aclocal.m4: Require autoconf 2.69.
41288         * configure: Regenerated.
41289         * sysdeps/aarch64/configure: Likewise.
41290         * sysdeps/alpha/configure: Likewise.
41291         * sysdeps/arm/armv7/configure: Likewise.
41292         * sysdeps/arm/configure: Likewise.
41293         * sysdeps/ia64/configure: Likewise.
41294         * sysdeps/mach/configure: Likewise.
41295         * sysdeps/mips/configure: Likewise.
41296         * sysdeps/s390/configure: Likewise.
41297         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
41298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
41300         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
41301         file.
41302         * sysdeps/ia64/configure.ac: Likewise.
41304 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
41306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
41307         specify symbol version for ld.so.  Do not include entry for
41308         libpthread.
41309         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
41310         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
41311         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41313         [BZ #14171]
41314         * Makeconfig [$(build-shared) = yes]
41315         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
41316         makefiles.
41317         [$(build-shared) = yes && $(soversions.mk-done) = t]
41318         ($(common-objpfx)gnu/lib-names.h): Remove rule.
41319         [$(build-shared) = yes && $(soversions.mk-done) = t]
41320         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
41321         to Makerules.
41322         [$(build-shared) = yes && $(soversions.mk-done) = t]
41323         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
41324         here.
41325         [$(build-shared) = yes && $(soversions.mk-done) = t]
41326         (common-generated): Don't append gnu/lib-names.h and
41327         gnu/lib-names.stmp here.
41328         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
41329         (lib-names-h-abi): New variable.
41330         [$(build-shared) = yes && $(soversions.mk-done) = t]
41331         (lib-names-stmp-abi): Likewise.
41332         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41333         abi-variants] (before-compile): Append
41334         $(common-objpfx)$(lib-names-h-abi).
41335         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41336         abi-variants] (common-generated): Append gnu/lib-names.h.
41337         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41338         abi-variants] (install-others-nosubdir): Depend on
41339         $(inst_includedir)/$(lib-names-h-abi).
41340         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41341         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
41342         [$(build-shared) = yes && $(soversions.mk-done) = t]
41343         ($(common-objpfx)$(lib-names-h-abi)): New rule.
41344         [$(build-shared) = yes && $(soversions.mk-done) = t]
41345         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
41346         [$(build-shared) = yes && $(soversions.mk-done) = t]
41347         (common-generated): Append $(lib-names-h-abi) and
41348         $(lib-names-stmp-abi).
41349         * scripts/lib-names.awk: Do not handle multi being set.
41350         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
41351         Remove variable.
41352         (abi-lp64_be-ld-soname): Likewise.
41353         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
41354         Likewise.
41355         (abi-hard-ld-soname): Likewise.
41356         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
41357         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
41358         Remove variable.
41359         (abi-o32_hard-ld-soname): Likewise.
41360         (abi-o32_soft_2008-ld-soname): Likewise.
41361         (abi-o32_hard_2008-ld-soname): Likewise.
41362         (abi-n32_soft-ld-soname): Likewise.
41363         (abi-n32_hard-ld-soname): Likewise.
41364         (abi-n32_soft_2008-ld-soname): Likewise.
41365         (abi-n32_hard_2008-ld-soname): Likewise.
41366         (abi-n64_soft-ld-soname): Likewise.
41367         (abi-n64_hard-ld-soname): Likewise.
41368         (abi-n64_soft_2008-ld-soname): Likewise.
41369         (abi-n64_hard_2008-ld-soname): Likewise.
41370         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
41371         Likewise.
41372         (abi-64-v2-ld-soname): Likewise.
41373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
41374         ld.so entries.
41375         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
41376         variable.
41377         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
41378         entry.
41379         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
41380         variable.
41381         (abi-64-ld-soname): Likewise.
41382         (abi-x32-ld-soname): Likewise.
41383         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
41384         entry.
41385         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41387 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
41389         [BZ #14138]
41390         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
41391         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
41392         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
41393         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
41394         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
41395         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
41396         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
41397         syscall entry for GLIBC_2.2 symbol version.
41398         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
41399         Likewise.
41400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
41401         (setrlimit): Likewise.
41402         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
41403         Likewise.
41405 2014-09-23  Will Newton  <will.newton@linaro.org>
41407         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
41408         _LINUX_ARM_SYSDEP_H include guard too.
41409         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
41410         define.
41412 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
41414         * sysdeps/unix/sysv/linux/eventfd.c:
41415         Make first argument unsigned.
41416         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
41417         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
41419 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
41421         [BZ #16852]
41422         * socket/recvmmsg.c (recvmmsg): Drop const argument.
41423         * socket/sys/socket.h: Likewise.
41424         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
41426 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41428         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
41430 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
41432         * time/tst-ftime.c: New test.
41433         * time/Makefile (tests): Add tst-ftime.
41435 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
41437         * soft-fp/extended.h: Fix comment formatting.
41438         * soft-fp/op-1.h: Likewise.
41439         * soft-fp/op-2.h: Likewise.
41440         * soft-fp/op-4.h: Likewise.
41441         * soft-fp/op-8.h: Likewise.
41442         * soft-fp/op-common.h: Likewise.
41443         * soft-fp/soft-fp.h: Likewise.
41445         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
41447 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
41449         [BZ #6652]
41450         * Makeconfig (soversions-default-setname): Remove variable.
41451         ($(common-objpfx)soversions.i): Don't pass default_setname to
41452         soversions.awk.
41453         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
41454         oldest_abi to abi-versions.awk.
41455         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
41456         * config.make.in (oldest-abi): Remove variable.
41457         * configure.ac (--enable-oldest-abi): Remove configure option.
41458         * configure: Regenerated.
41459         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
41460         text.
41461         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
41462         * scripts/soversions.awk: Do not handle default_setname variable.
41463         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
41464         variable.
41465         * sysdeps/mach/hurd/configure: Regenerated.
41466         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
41467         variable.
41468         * sysdeps/unix/sysv/linux/configure: Regenerated.
41470 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41472         * elf/Makefile (CFLAGS-interp.c): Remove.
41473         ($(elf-objpfx)runtime-linker.h): Generate header with linker
41474         path string.
41475         * elf/interp.c: Include generated runtime-linker.h
41477         * Makerules (lib%.so): Don't include $(+interp) in
41478         prerequisites.
41479         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
41480         * dlfcn/eval.c: Remove file.
41482         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
41483         macros.
41485         [BZ #17266]
41486         * misc/sys/cdefs.h: Define __extern_always_inline for clang
41487         4.2 and newer.
41489         [BZ #17370]
41490         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
41492 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41493             Jakub Jelinek  <jakub@redhat.com>
41495         [BZ #17266]
41496         * libio/stdio.h: Check definition of __fortify_function
41497         instead of __extern_always_inline to include bits/stdio2.h.
41498         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
41499         check if __extern_always_inline is defined.
41500         [__USE_MISC || __USE_XOPEN]: Likewise.
41501         [__USE_ISOC99] Likewise.
41502         * misc/sys/cdefs.h (__fortify_function): Define only if
41503         __extern_always_inline is defined.
41504         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
41505         __extern_always_inline and __extern_inline only for g++-4.3
41506         and newer or a compatible gcc.
41508 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
41510         [BZ #17371]
41511         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
41512         last change to handle zero prefix length.
41514 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41516         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
41517         _SC_REGEX_VERSION.
41519         * posix/getconf.c (vars): Add _POSIX_IPV6 and
41520         _POSIX_RAW_SOCKETS.
41522 2014-09-13  Allan McRae  <allan@archlinux.org>
41524         * po/ru.po: Update Russian translation from translation project.
41526 2014-09-12  Roland McGrath  <roland@hack.frob.com>
41528         * locale/programs/locale.c (show_locale_vars): Inline local function
41529         into its sole call site.  Clean up some style nits.
41530         (print_item): New function, broken out of ...
41531         (show_info): ... local function here.  Clean up style nits.
41533         * locale/programs/ld-ctype.c (set_one_default): New function, broken
41534         out of ...
41535         (set_class_defaults): ... local function set_default here.
41536         Define set_default as a macro locally to pass constant parameters.
41537         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
41538         rather than a shared local.
41540         * stdlib/rpmatch.c (try): New function, broken out of ...
41541         (rpmatch): ... local function here.  Also, prototypify definition.
41543 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
41545         * scripts/soversions.awk: Do not handle configuration names.
41546         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
41547         vendor and os variables to soversions.awk.
41548         * configure.ac: Do not modify gnu-* host_os.
41549         * configure: Regenerated
41550         * shlib-versions: Remove first column with configuration names.
41551         * nptl/shlib-versions: Likewise.
41552         * nptl_db/shlib-versions: Likewise.
41553         * sysdeps/hppa/shlib-versions: Likewise.
41554         * sysdeps/m68k/shlib-versions: Likewise.
41555         * sysdeps/mach/hurd/shlib-versions: Likewise.
41556         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
41557         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
41558         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
41559         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
41560         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
41561         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
41562         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
41563         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
41564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
41565         Likewise.
41566         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
41567         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
41568         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
41569         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
41570         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
41571         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
41572         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
41573         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
41576         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
41577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41578         Regenerated.
41579         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
41580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
41581         Condition symbol version definitions on [HAVE_ELFV2_ABI].
41583         * shlib-versions: Remove OS-specific entries.  Moved to files in
41584         sysdeps.
41585         * sysdeps/mach/hurd/shlib-versions: New file.
41586         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
41588         * nptl/shlib-versions: Remove architecture-specific entries.
41589         Moved to files in sysdeps.
41590         * shlib-versions: Likewise.
41591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
41592         file.
41593         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
41594         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
41595         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
41596         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
41598         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
41599         (UDP_NO_CHECK6_RX): Likewise.
41601 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41603         * sysdeps/posix/sysconf.c (__sysconf): Spell
41604         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
41606 2014-08-12  Florian Weimer  <fweimer@redhat.com>
41608         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
41609         loading.
41610         * iconv/Versions (__gconv_transliterate): Export for use from
41611         gconv modules.
41612         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
41613         (struct __gconv_trans_data, __gconv_trans_fct,
41614         __gconv_trans_context_fct, __gconv_trans_query_fct,
41615         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
41616         definitions.
41617         (struct __gconv_step_data): Remove __trans member.
41618         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
41619         longer hidden.  Remove unused trans_data argument.
41620         * iconv/gconv_int.h (struct trans_struct): Remove definition.
41621         (__gconv_translit_find): Remove declaration.
41622         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
41623         prototype.
41624         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
41625         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
41626         trans_data argument.  Add hidden definition.
41627         (__gconv_translit_find): Remove.
41628         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
41629         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
41630         * iconv/skeleton.c: Remove transliteration initialization.
41631         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
41632         __gconv_step_data initialization.
41633         * libio/iofwide.c (__libio_translit_): Remove.
41634         (_IO_fwide): Adjust struct __gconv_step_data initialization.
41635         * wcsmbs/btowc.c (__btowc): Likewise.
41636         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41637         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41638         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
41639         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
41640         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
41641         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
41642         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
41643         * wcsmbs/wctob.c (wctob): Likewise.
41645 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41647         [BZ #16194]
41648         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
41649         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
41650         register usage.
41651         * sysdeps/x86/Makefile: Adjust.
41653 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41654             Roland McGrath  <roland@hack.frob.com>
41656         * locale/weight.h: Add include guard.
41657         (findidx): Make static rather than auto; take new parameters
41658         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
41659         * locale/weightwc.h: Likewise.
41660         * posix/fnmatch_loop.c
41661         (FCT): Change type of EXTRA from int32_t to wint_t.
41662         Don't include either header inside the function.
41663         Call FINDIDX rather than findidx, and pass new arguments.
41664         #undef FINDIDX at the end of the file.
41665         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
41666         FINDIDX before including fnmatch_loop.c for the non-wide version.
41667         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
41668         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
41669         for the wide version.
41670         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
41671         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
41672         Pass new arguments to findidx.
41673         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
41674         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
41675         Don't #include it inside the function.  Pass new arguments to findidx.
41676         * posix/regex_internal.h
41677         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
41678         (re_string_elem_size_at): Don't #include it inside the function.
41679         Pass new arguments to findidx.
41680         * string/strcoll_l.c: #include WEIGHT_H at top level.
41681         (get_next_seq): Don't #include it inside the function.
41682         Pass new arguments to findidx.
41683         (get_next_seq_nocache): Likewise.
41684         * string/strxfrm_l.c: #include WEIGHT_H at top level.
41685         (STRXFRM): Don't #include it inside the function.
41686         Pass new arguments to findidx.
41688 2014-09-11  Florian Weimer  <fweimer@redhat.com>
41690         [BZ #17344]
41691         * malloc/malloc.c (unlink): Turn asserts into a call to
41692         malloc_printerr.
41694 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
41696         [BZ #17370]
41697         * libio/wfileops (do_ftell_wide): Free OUT.
41699 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
41701         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
41703 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41705         [BZ #17363]
41706         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
41707         group if the current group is empty.
41709 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41711         * benchtests/bench-memset.c (test_main): Add more test from size
41712         from 32 to 512 bytes.
41713         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41714         Add POWER8 memset object.
41715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41716         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
41717         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
41718         implementation.
41719         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
41720         Likewise.
41721         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
41722         multiarch POWER8 memset optimization.
41723         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
41724         POWER8 memset optimization.
41726         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41727         Remove bzero multiarch objects.
41728         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
41729         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
41730         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
41731         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
41732         Remove define.
41733         [__bzero]: Redefine to specific name.
41734         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
41735         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
41736         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
41737         define.
41738         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41739         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41741 2014-09-10  Florian Weimer  <fweimer@redhat.com>
41743         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
41744         warnings into errors.
41746         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
41747         __cxa_thread_atexit_impl prototype.
41749 2014-09-09  Steve Ellcey  <sellcey@mips.com>
41751         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
41752         Fix capitalization of error message.
41754 2014-09-09  Steve Ellcey  <sellcey@mips.com>
41756         * sysdeps/mips/preconfigure: Modify ABI tests.
41758 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
41760         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
41762 2014-09-07  Roland McGrath  <roland@hack.frob.com>
41763             Carlos O'Donell  <carlos@systemhalted.org>
41765         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
41766         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
41767         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
41768         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
41769         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
41770         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
41771         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
41772         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
41773         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
41774         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
41775         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
41776         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
41777         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
41778         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
41779         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
41780         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
41781         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
41782         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
41783         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
41784         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
41785         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
41786         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
41787         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
41788         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
41789         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
41790         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
41791         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
41792         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
41793         Deconditionalize the code that was previously under [RESET_PID].
41794         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
41795         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
41796         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
41797         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
41798         include sysdep.h.
41800 2014-09-08  Allan McRae  <allan@archlinux.org>
41802         * version.h (RELEASE): Set to "development".
41803         (VERSION): Set to "2.20.90"
41805 2014-09-07  Allan McRae  <allan@archlinux.org
41807         * version.h (RELEASE): Set to "stable".
41808         (VERSION): Set to "2.20"
41809         * include/features.h (__GLIBC_MINOR__): Set to 20.
41811         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
41812         Liebler.
41814         * po/ko.po: Update Korean translation from translation project.
41816 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
41818         [BZ #17354]
41819         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
41820         macro for handling signed relocations.
41822 2014-09-03  Florian Weimer  <fweimer@redhat.com>
41824         [BZ #17325]
41825         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
41826         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
41827         assert.
41828         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
41829         * iconvdata/ibm935.c (BODY): Likewise.
41830         * iconvdata/ibm937.c (BODY): Likewise.
41831         * iconvdata/ibm939.c (BODY): Likewise.
41832         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
41833         assert.
41834         * iconvdata/Makefile (iconv-test.out): Pass module list to test
41835         script.
41836         * iconvdata/run-iconv-test.sh: New test loop for checking for
41837         decoder crashers.
41839 2014-09-02  Khem Raj  <raj.khem@gmail.com>
41841         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
41842         libm_hidden_ver.
41844 2014-09-01  Allan McRae  <allan@archlinux.org>
41846         * po/eo.po: Update Esperanto translation from translation project.
41848         * po/ca.po: Update Catalan translation from translation project.
41850 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41852         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
41853         __proc_dostop call.
41855 2014-08-27  Mark Wielaard  <mjw@redhat.com>
41857         [BZ #17319]
41858         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
41859         to call set_thread_area instead of hand written asm.
41860         (__NR_set_thread_area): Removed define.
41861         (TLS_FLAG_WRITABLE): Likewise.
41862         (__ASSUME_SET_THREAD_AREA): Remove check.
41863         (TLS_EBX_ARG): Remove define.
41864         (TLS_LOAD_EBX): Likewise.
41866 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41868         Simplify atomicity of socket creation in bind.
41870         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
41871         looking up the name after linking the file.
41873 2014-08-27  Allan McRae  <allan@archlinux.org>
41875         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41877 2014-08-26  Florian Weimer  <fweimer@redhat.com>
41879         [BZ #17187]
41880         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
41881         trans_compare, open_translit, __gconv_translit_find):
41882         Remove module loading code.
41884 2014-08-26  Allan McRae  <allan@archlinux.org>
41886         * po/vi.po: Update Vietnamese translation from translation project.
41888         * po/uk.po: Update Ukrainian translation from translation project.
41890         * po/fr.po: Update French translation from translation project.
41892         * po/ru.po: Update Russian translation from translation project.
41894         * po/pl.po: Update Polish translation from translation project.
41896         * po/cs.po: Update Czech translation from translation project.
41898         * po/de.po: Update German translation from translation project.
41900         * po/bg.po: Update Bulgarian translation from translation project.
41902         * po/sv.po: Update Sweedish translation from translation project.
41904         * po/nl.po: Update Dutch translation from translation project.
41906         * po/es.po: Update Spanish translation from translation project.
41908 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41910         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
41912         * catgets/Makefile (CPPFLAGS-gencat): Remove.
41913         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
41914         (CPPFLAGS-iconvconfig): Likewise.
41915         * timezone/Makefile (CPPFLAGS-zic): Likewise.
41917         * include/libc-symbols.h: Remove unnecessary check for
41918         NOT_IN_libc.
41919         * nptl/pthreadP.h: Likewise.
41920         * sysdeps/aarch64/setjmp.S: Likewise.
41921         * sysdeps/alpha/setjmp.S: Likewise.
41922         * sysdeps/arm/sysdep.h: Likewise.
41923         * sysdeps/i386/setjmp.S: Likewise.
41924         * sysdeps/m68k/setjmp.c: Likewise.
41925         * sysdeps/posix/getcwd.c: Likewise.
41926         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41927         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41928         * sysdeps/s390/s390-32/setjmp.S: Likewise.
41929         * sysdeps/s390/s390-64/setjmp.S: Likewise.
41930         * sysdeps/sh/sh3/setjmp.S: Likewise.
41931         * sysdeps/sh/sh4/setjmp.S: Likewise.
41932         * sysdeps/unix/alpha/sysdep.h: Likewise.
41933         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41934         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41935         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41936         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41939         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41940         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41941         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41942         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41943         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41944         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41945         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41946         * sysdeps/x86_64/setjmp.S: Likewise.
41948 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
41950         [BZ #17263]
41951         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
41952         <stdint.h>.
41953         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
41954         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
41956 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41958         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
41960         [BZ #17262]
41961         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
41962         and __x86_64__ when disabling x87 inline functions.
41964 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41966         [BZ #17259]
41967         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
41968         asm statement with __cpuid_count.
41970 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
41972         * configure.ac: Change __ehdr_start code to dereference the struct.
41973         Run readelf on the output to look for relocations.
41974         * configure: Regenerated.
41976 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
41978         [BZ #17261]
41979         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
41980         value to 0.
41981         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
41983 2014-08-12  Roland McGrath  <roland@hack.frob.com>
41985         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
41987 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
41989         [BZ #16892]
41990         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
41991         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
41993 2014-08-12  Sean Anderson  <seanga2@gmail.com>
41995         * malloc/malloc.c: Fix typo in comment.
41997 2014-08-09  Allan McRae  <allan@archlinux.org>
41999         * Regenerate libc.po.
42001 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
42003         * intl/tst-gettext2.sh: Check every lang file for creation.
42005 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
42007         * sysdeps/aarch64/fpu/math_private.h
42008         (libc_feholdsetround_noex_aarch64_ctx): New function.
42010 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
42012         * sysdeps/arm/armv6/strcpy.S (strcpy):
42013         Fix performance issue in misaligned cases.
42015 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42017         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
42018         Move definition from termios.h.
42019         (struct termio): Likewise.
42020         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42021         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
42022         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
42023         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42024         Likewise.
42025         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
42026         Move definition to ioctl-types.h
42027         (struct termio): Likewise.
42028         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42029         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
42030         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
42031         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42032         Likewise.
42034 2014-08-05  Richard Henderson  <rth@redhat.com>
42036         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
42037         exceptions.
42038         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
42039         Add fraiseexcpt.
42040         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
42041         Use __feraiseexcept.
42042         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
42043         Protect libm symbols with IS_IN_libm.
42045         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
42047 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
42049         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
42051 2014-08-04  Will Newton  <will.newton@linaro.org>
42053         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
42054         file.
42056 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
42058         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
42059         variants for each function.
42061 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42063         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
42064         appended ...
42065         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
42066         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
42067         appended ...
42068         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
42069         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
42070         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
42071         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
42072         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
42073         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
42074         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
42075         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
42076         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
42077         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
42078         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
42079         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
42080         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
42081         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
42082         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
42083         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
42084         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
42085         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
42086         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
42087         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
42088         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
42089         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
42090         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
42091         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
42092         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
42093         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
42094         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
42095         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
42096         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
42097         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
42098         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
42099         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
42100         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
42101         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
42102         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
42103         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
42104         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
42105         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
42106         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
42107         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
42108         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
42109         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
42110         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
42111         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
42112         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
42113         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
42114         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
42115         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
42116         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
42117         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
42118         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
42119         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
42120         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
42121         Update #include.
42122         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
42123         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
42125 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42127         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
42128         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
42129         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
42130         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
42131         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
42132         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
42134 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42136         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
42137         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
42138         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42139         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
42141 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42143         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
42144         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
42145         (__libc_vfork): Define function under this name.
42146         (__vfork): Define as an alias.
42147         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
42148         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
42150 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42152         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
42153         that was previously under [RESET_PID].
42154         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
42156 2014-08-04  Andreas Schwab  <schwab@suse.de>
42158         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
42160 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
42162         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
42163         (main): Likewise.
42165 2014-08-01  Roland McGrath  <roland@hack.frob.com>
42167         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
42169 2014-08-01  Richard Henderon  <rth@redhat.com>
42171         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
42172         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
42173         typo in exact zero test.
42174         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42175         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42176         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42178 2014-08-01  Roland McGrath  <roland@hack.frob.com>
42180         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
42181         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
42182         * sysdeps/arm/sysdep.h: ... here.
42183         [!__ASSEMBLER__]: Include <stdint.h>.
42185 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42187         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
42188         (HAVE_WCTYPE_H): Likewise.
42189         (HAVE_ISWCTYPE): Likewise.
42190         (ENABLE_NLS): Likewise.
42191         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
42192         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
42194         * posix/regex_internal.c: Check if DEBUG is defined and is
42195         set.
42197         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
42198         (HAVE_MBSRTOWCS): Likewise.
42199         * posix/fnmatch.c: Include string.h unconditionally.
42201 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42203         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
42204         reversal.
42206 2014-07-31  Roland McGrath  <roland@hack.frob.com>
42208         * sysdeps/generic/safe-fatal.h: New file.
42209         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
42210         * nptl/forward.c: Include it.
42211         (__pthread_unwind): Use __safe_fatal as default action, rather
42212         than a bogus use of INTERNAL_SYSCALL that could never work.
42214         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
42215         * configure.ac (libc_cv_builtin_trap): New test.
42216         * configure: Regenerated.
42217         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
42218         (ABORT_INSTRUCTION): Define using __builtin_trap.
42220         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
42221         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
42222         * sysdeps/nptl/nptl-signals.h: New file.
42223         * nptl/pthreadP.h: Include <nptl-signals.h>.
42225 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
42227         * sysdeps/s390/s390-64/utf16-utf32-z9.c
42228         (ONE_DIRECTION): Define.
42229         * sysdeps/s390/s390-64/utf8-utf16-z9.c
42230         (ONE_DIRECTION): Define.
42231         * sysdeps/s390/s390-64/utf8-utf32-z9.c
42232         (ONE_DIRECTION): Define.
42234 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
42236         * sysdeps/s390/Makefile: Delete file.
42237         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
42238         * sysdeps/s390/__longjmp.c: Delete file.
42239         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
42240         Remove fields __flags and __reserved.
42241         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
42242         and add versioning.
42243         * sysdeps/s390/rtld-__longjmp.c: Delete file.
42244         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
42245         * sysdeps/s390/rtld-setjmp.S: Likewise.
42246         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
42247         * sysdeps/s390/s390-32/__longjmp.c: ... here.
42248         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
42249         * sysdeps/s390/s390-32/setjmp.S: ... here.
42250         Add versioning.
42251         (__sigsetjmp): Remove setting __flags field.
42252         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
42253         * sysdeps/s390/s390-64/__longjmp.c: ... here.
42254         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
42255         * sysdeps/s390/s390-64/setjmp.S: ... here.
42256         Add versioning.
42257         (__sigsetjmp): Remove setting __flags field.
42258         * sysdeps/s390/setjmp.S: Delete file.
42259         * sysdeps/s390/sigjmp.c: Likewise.
42260         * sysdeps/s390/v1-longjmp.c: Likewise.
42261         * sysdeps/s390/v1-setjmp.h: Likewise.
42262         * sysdeps/s390/v1-sigjmp.c: Likewise.
42263         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
42264         Remove v1-longjmp_chk.
42265         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
42266         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
42267         Include debug/longjmp_chk.c and add versioning.
42268         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
42269         Include nptl/pt-longjmp.c and add versioning.
42270         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
42271         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
42272         Include __longjmp.c.
42273         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42274         Move to ...
42275         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
42276         (__getcontext): Remove setting __flags field.
42277         Add versioning.
42278         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42279         Don't restore upper high grps.
42280         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
42281         Likewise.
42282         (__swapcontext): Remove setting uc_flags field.
42283         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
42284         Delete file.
42285         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42286         Include __longjmp.c.
42287         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42288         Move to ...
42289         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
42290         (__getcontext): Remove setting __flags field.
42291         Add versioning.
42292         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
42293         (__swapcontext): Remove setting uc_flags field.
42294         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
42295         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
42296         Remove fields uc_high_gprs and __reserved.
42297         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
42298         New file with reverted content.
42299         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
42300         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
42301         Regenerated.
42302         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
42303         Regenerated.
42305 2014-07-31  Andreas Schwab  <schwab@suse.de>
42307         * config.h.in (HAVE_IFUNC): Define to 0.
42308         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
42309         definedness.
42311 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
42313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42314         memmove-avx-unaligned, memcpy-avx-unaligned and
42315         mempcpy-avx-unaligned.
42316         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42317         Add tests for AVX memcpy functions.
42318         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
42319         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
42320         memcpy_chk.
42321         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
42322         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
42323         memmove_chk.
42324         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
42325         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
42326         mempcpy_chk.
42327         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
42328         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
42329         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
42331 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42333         [BZ #17213]
42334         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
42335         powerpc64le.
42337 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
42339         [BZ #16839]
42340         * manual/llio.texi: Add section about open file description locks.
42341         * manual/examples/ofdlocks.c: Example of open file description
42342         lock usage.
42343         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
42344         F_OFD_SETLK, and F_OFD_SETLKW.
42346 2014-07-23  Allan McRae  <allan@archlinux.org>
42348         * po/es.po: Update Spanish translation from translation project.
42350 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
42352         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
42354 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
42356         [BZ #17078]
42357         * sysdeps/arm/dl-machine.h (elf_machine_rela)
42358         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
42359         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
42361 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
42363         [BZ #17088]
42364         * math/fesetenv.c (__fesetenv)
42365         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
42366         * math/feupdateenv.c (__feupdateenv)
42367         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
42369         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
42370         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42371         (__ASSUME_SOCKETCALL): Do not define.
42373         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
42374         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
42375         (__ASSUME_SOCKETCALL): Do not define.
42376         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
42377         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
42378         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42379         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
42380         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42381         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
42382         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42383         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42385         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
42386         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
42387         (__ASSUME_SOCKETCALL): Do not define.
42388         (__ASSUME_IPC64): Define unconditionally.
42389         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
42390         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42391         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
42392         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42393         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
42394         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42395         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
42396         Likewise.
42398         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
42399         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
42400         (__ASSUME_SOCKETCALL): Do not define.
42401         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
42402         (__ASSUME_FUTEX_LOCK_PI): Likewise.
42403         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42404         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42405         (__ASSUME_REQUEUE_PI): Define unconditionally.
42406         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
42407         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
42408         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42409         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
42410         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42411         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42413         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
42414         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
42415         (__ASSUME_SOCKETCALL): Do not define.
42416         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
42417         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42418         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42419         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
42420         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42421         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42423         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
42424         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
42425         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42426         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
42427         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42428         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
42429         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42430         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
42431         (__ASSUME_GETCPU_SYSCALL): Likewise.
42433         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
42434         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
42435         cases for individual architectures.
42436         * sysdeps/gnu/configure: Regenerated.
42437         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
42438         LIBC_SLIBDIR_RTLDDIR.
42439         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
42440         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
42441         LIBC_SLIBDIR_RTLDDIR.
42442         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
42443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
42444         LIBC_SLIBDIR_RTLDDIR.
42445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42446         Regenerated.
42447         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
42448         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
42449         file.
42450         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
42451         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
42452         file.
42453         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
42454         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
42455         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
42456         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
42458         * sysdeps/aarch64/shlib-versions: Move to ...
42459         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
42460         * sysdeps/alpha/shlib-versions: Move to ...
42461         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
42462         * sysdeps/arm/shlib-versions: Move to ...
42463         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
42464         * sysdeps/hppa/shlib-versions: Move all contents except for
42465         libgcc_s entry to ...
42466         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
42467         entry from ...
42468         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
42469         * sysdeps/ia64/shlib-versions: Move to ...
42470         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
42471         entry from ...
42472         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
42473         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
42474         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
42475         * sysdeps/microblaze/shlib-versions: Move to ...
42476         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
42477         * sysdeps/mips/shlib-versions: Move to ...
42478         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
42479         entry from ...
42480         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
42481         * sysdeps/tile/shlib-versions: Move to ...
42482         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
42483         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
42484         from ...
42485         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
42486         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
42487         entry from ...
42488         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
42490 2014-07-17  Will Newton  <will.newton@linaro.org>
42492         * sysdeps/arm/bits/atomic.h
42493         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
42494         (__arch_compare_and_exchange_bool_16_int): Likewise.
42495         (__arch_compare_and_exchange_bool_64_int): Likewise.
42497         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
42498         into an #else block.
42500 2014-07-16  Roland McGrath  <roland@hack.frob.com>
42502         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
42503         just Linux configurations.  Test empirically that the compiler sets
42504         __ARM_EABI__, rather than using the tuple to decide.
42505         * sysdeps/arm/preconfigure: Regenerated.
42506         * sysdeps/unix/sysv/linux/arm/configure: File removed.
42507         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
42508         contents appended ...
42509         * sysdeps/arm/configure.ac: ... here.
42510         * sysdeps/arm/configure: Regenerated.
42512 2014-07-15  Roland McGrath  <roland@hack.frob.com>
42514         * nptl/pthread_kill.c: New file.
42515         * nptl/pthread_sigmask.c: New file.
42516         * nptl/pthread_sigqueue.c: New file.
42518         * sysdeps/nptl/lowlevellock.h: New file.
42519         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
42520         * sysdeps/nptl/lowlevellock-futex.h: New file.
42522         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
42523         Remove dead declarations.
42525 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
42527         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
42528         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
42529         config-cflags-avx2.
42530         * sysdeps/x86_64/configure.ac: Likewise.
42531         * sysdeps/i386/configure: Regenerated.
42532         * sysdeps/x86_64/configure: Likewise.
42533         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42534         memset-avx2 only if config-cflags-avx2 is yes.
42535         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42536         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
42537         defined.
42538         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
42539         only if HAVE_AVX2_SUPPORT is defined.
42540         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42542 2014-07-14  Alan Modra  <amodra@gmail.com>
42544         [BZ #17153]
42545         * elf/elf.h (DT_PPC64_NUM): Correct value.
42546         * NEWS: Add to fixed bug list.
42548 2014-07-13  Jim Meyering  <meyering@fb.com>
42550         [BZ 17150]
42551         regex: don't deref NULL upon heap allocation failure
42552         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
42553         failure in one more place.
42554         To trigger the segfault, configure grep -with-included-regex,
42555         build it, and run these commands:
42556         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
42558 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
42560         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42562 2014-07-11  Richard Henderson  <rth@redhat.com>
42564         * sysdeps/aarch64/libm-test-ulps: Update.
42566 2014-07-10  Florian Weimer  <fweimer@redhat.com>
42568         [BZ #17135]
42569         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
42570         * nptl/allocatestack.c (__nptl_setxid_error): New function.
42571         (__nptl_setxid): Initialize error member.  Call
42572         __nptl_setxid_error.
42573         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
42574         * nptl/descr.h (struct xid_command): Add error member.
42575         * nptl/tst-setuid3.c: New file.
42576         * nptl/Makefile (tests): Add it.
42578 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42580         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
42581         New define.
42582         (__lll_trylock): Use __lll_base_trylock.
42583         (__lll_cond_trylock): Likewise.
42585 2014-07-10  Roland McGrath  <roland@hack.frob.com>
42587         * nptl/pthread_create.c (start_thread): Use atomic_or and
42588         lll_futex_wake directly rather than lll_robust_dead.
42589         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
42590         (lll_robust_dead): Macro removed.
42591         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
42592         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
42593         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
42594         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42595         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42596         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
42597         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
42598         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42599         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
42600         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42601         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42602         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42603         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42604         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42605         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42607         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
42608         Use atomic_compare_and_exchange_val_acq directly rather than
42609         lll_robust_trylock.
42610         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
42611         (__lll_robust_trylock, lll_robust_trylock): Removed.
42612         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
42613         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
42614         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42615         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42616         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
42617         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
42618         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42619         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
42620         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42621         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42622         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42623         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42624         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42625         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42627 2014-07-02  Florian Weimer  <fweimer@redhat.com>
42629         * manual/locale.texi (Locale Names): New section documenting
42630         locale name syntax.  Adjust menu and node chaining accordingly.
42631         (Choosing Locale): Reference Locale Names, Locale Categories.
42632         Mention setting LC_ALL=C.  Reflect that name syntax is now
42633         documented.
42634         (Locale Categories): New section title.  Reference Locale Names.
42635         LC_ALL is an environment variable, but not a category.
42636         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
42637         description, now in Locale Name.  Reference that section.  Locale
42638         name syntax is now documented.
42640 2014-07-02  Florian Weimer  <fweimer@redhat.com>
42642         [BZ #17137]
42643         * locale/findlocale.c (name_present, valid_locale_name): New
42644         functions.
42645         (_nl_find_locale): Use the loc_name variable to store name
42646         candidates.  Call name_present and valid_locale_name to check and
42647         validate locale names.  Return an error if the locale is invalid.
42649 2014-07-02  Florian Weimer  <fweimer@redhat.com>
42651         * locale/setlocale.c (setlocale): Use strdup for allocating
42652         composite name copy.
42654 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42656         Sync up with gnulib.
42657         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
42658         [!_LIBC && ENABLE_NLS]: Include gettext.h.
42659         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
42660         and _GL_ARG_NONNULL.
42661         [USE_UNLOCKED_IO]: Include unlocked-io.h.
42662         [!_LIBC]: Include code for Windows and Cygwin.
42663         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
42664         Include prototype for int strerror_r.
42665         [!_LIBC] (is_open): New function.
42666         (flush_stdout): New function.
42667         (print_errno_message): Use it.
42668         (error): Likewise.
42669         (error_at_line): Likewise.
42670         (error_tail) Add function attribute macros.  Use
42671         __builtin_expect.
42673         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
42675         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
42677         * io/ftw.c: Include sys/param.h unconditionally.
42679         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
42681         [BZ #17125]
42682         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
42683         libc_freeres_ptr.
42684         (freecache): New function to free CACHE on exit.
42686         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
42687         initialization.
42689 2014-07-09  David S. Miller  <davem@davemloft.net>
42691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42693         * sysdeps/sparc/nptl/internaltypes.h: Delete.
42694         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
42695         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
42696         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
42697         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
42698         * sysdeps/sparc/nptl/sem_init.c: Likewise.
42699         * sysdeps/sparc/nptl/sem_post.c: Likewise.
42700         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
42701         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
42702         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
42703         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
42704         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
42705         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
42707 2014-07-09  Andreas Schwab  <schwab@suse.de>
42709         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
42710         output.
42711         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
42712         (do_test): Likewise.
42714         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42716 2014-07-09  Will Newton  <will.newton@linaro.org>
42718         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
42719         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
42720         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
42721         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
42722         * sysdeps/hppa/start.S (_start): Likewise.
42724 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
42726         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
42728         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
42729         defined.
42731 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42733         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
42734         after checking that it is non-NULL.
42736         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
42738 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42740         * sysdeps/powerpc/memmove.c: Remove file.
42741         * sysdeps/powerpc/powerpc32/power4/memcopy.h
42742         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
42743         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
42744         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
42745         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
42746         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
42747         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
42748         string memmove instead of removed powerpc one.
42750         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42751         [weak_alias]: Fix compiler warning due trailing data.
42752         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
42753         [weak_alias]: Likewise.
42754         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
42755         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
42757         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42758         (__libc_ifunc_impl_list): Add memmove functions.
42760 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42762         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
42763         Remove code.
42764         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
42765         Likewise.
42766         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
42767         Likewise.
42768         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
42769         Likewise.
42770         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
42771         Likewise.
42772         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
42773         Likewise.
42774         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
42775         Likewise.
42776         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
42777         Likewise.
42778         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
42779         Likewise.
42780         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
42781         Likewise.
42782         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
42783         Likewise.
42784         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
42785         Likewise.
42786         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
42787         Likewise.
42788         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
42789         Likewise.
42790         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
42791         Likewise.
42792         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
42793         Likewise.
42794         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
42795         Likewise.
42797 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42799         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
42800         to avoid alignment traps in non-cacheable memory.
42801         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42803         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
42804         multiarch objects.
42805         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
42806         file: multiarch power7 memmove.
42807         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
42808         multiarch default memmove.
42809         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
42810         multiarch memove for powerpc32/power4.
42812         * string/bcopy.c: Use full path to include memmove.c.
42813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
42814         multiarch objects.
42815         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
42816         bcopy for powerpc64.
42817         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
42818         bcopy for powerpc64.
42819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
42820         and memmove implementations.
42821         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
42822         optimized multiarch memmove for POWER7/powerpc64.
42823         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
42824         default multiarch memmove for powerpc64.
42825         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
42826         multiarch for powerpc64.
42827         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
42828         for POWER7/powerpc64.
42829         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
42830         memmove for POWER7/powerpc64.
42832         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
42833         glibc default one.
42835         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
42836         __ELF_NATIVE_CLASS equal to 64.
42838 2014-07-07  Roland McGrath  <roland@hack.frob.com>
42840         * sysdeps/nptl/lowlevellock.h: File removed.
42842         * NEWS: NPTL is no longer an add-on!
42843         * nptl/internaltypes.h: Moved ...
42844         * sysdeps/nptl/internaltypes.h: ... here.
42845         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
42846         * sysdeps/nptl/fork.c: Likewise.
42847         * sysdeps/nptl/gai_misc.h: Likewise.
42848         * sysdeps/nptl/librt-cancellation.c: Likewise.
42849         * sysdeps/nptl/jmp-unwind.c: Likewise.
42850         * sysdeps/nptl/setxid.h: Likewise.
42851         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
42852         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
42853         * sysdeps/unix/sysv/linux/arm/Implies: New file.
42854         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
42855         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
42856         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
42857         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
42858         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
42859         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
42860         * sysdeps/unix/sysv/linux/mips/Implies: New file.
42861         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
42862         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
42863         * sysdeps/unix/sysv/linux/sh/Implies: New file.
42864         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
42865         * sysdeps/unix/sysv/linux/tile/Implies: New file.
42866         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
42867         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
42868         * nptl/Makeconfig: Moved ...
42869         * sysdeps/nptl/Makeconfig: ... here.
42870         * nptl/configure: File removed.
42871         * nptl/ANNOUNCE: File removed.
42872         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
42873         * sysdeps/unix/sysv/linux/configure: Regenerated.
42875         * nptl/Makefile (routines): Add libc_pthread_init,
42876         libc_multiple_threads, register-atfork and unregister-atfork.
42877         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
42878         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
42879         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
42880         pthread-pi-defines.sym, structsem.sym.
42881         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
42882         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
42883         [$(subdir) = nptl] (tests): Add tst-setgetname.
42884         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
42885         * sysdeps/unix/sysv/linux/sigaction.c: Just include
42886         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
42887         [!LIBC_SIGACTION]: Remove aliases.
42888         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42889         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42890         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42891         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
42892         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42893         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
42894         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42895         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42896         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42897         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
42898         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
42899         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
42900         __libc_allocate_rtsig_private.
42901         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
42902         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
42903         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
42904         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
42905         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
42906         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
42907         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
42908         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
42909         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
42910         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
42911         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
42912         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
42913         * nptl/internaltypes.h: ... here.
42914         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
42915         * sysdeps/nptl/jmp-unwind.c: ... here.
42916         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
42917         * nptl/libc-lowlevellock.c: ... here.
42918         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
42919         * nptl/libc_multiple_threads.c: ... here.
42920         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
42921         * nptl/libc_pthread_init.c: ... here.
42922         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
42923         * nptl/lowlevelbarrier.sym: ... here.
42924         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
42925         * nptl/lowlevelcond.sym: ... here.
42926         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
42927         * nptl/lowlevellock.c: ... here.
42928         * nptl/lowlevellock.h: Moved ...
42929         * sysdeps/nptl/lowlevellock.h: ... here.
42930         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
42931         * nptl/lowlevelrobustlock.c: ... here.
42932         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
42933         * nptl/lowlevelrobustlock.sym: ... here.
42934         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
42935         * nptl/lowlevelrwlock.sym: ... here.
42936         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
42937         * nptl/pt-fork.c: ... here.
42938         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
42939         * nptl/pthread-pi-defines.sym: ... here.
42940         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
42941         * nptl/pthread_attr_getaffinity.c: ... here.
42942         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
42943         * nptl/pthread_attr_setaffinity.c: ... here.
42944         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
42945         * nptl/pthread_mutex_cond_lock.c: ... here.
42946         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42947         Update #include.
42948         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
42949         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
42950         * nptl/pthread_once.c: ... here, replacing old file.
42951         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
42952         * nptl/pthread_yield.c: ... here.
42953         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
42954         * nptl/register-atfork.c: ... here.
42955         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
42956         * nptl/sem_post.c: ... here.
42957         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
42958         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
42959         * nptl/sem_timedwait.c: ... here.
42960         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
42961         * nptl/sem_trywait.c: ... here.
42962         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
42963         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
42964         * nptl/sem_wait.c: ... here.
42965         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
42966         * nptl/structsem.sym: ... here.
42967         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
42968         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
42969         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
42970         * nptl/unregister-atfork.c: ... here.
42971         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
42972         * nptl/unwindbuf.sym: ... here.
42973         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
42974         * sysdeps/nptl/fork.c: ... here.
42975         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
42976         * sysdeps/nptl/fork.h: ... here.
42977         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
42978         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
42979         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
42980         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
42981         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
42982         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
42983         * sysdeps/unix/sysv/linux/getpid.c: ... here.
42984         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
42985         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
42986         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
42987         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
42988         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
42989         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
42990         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
42991         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
42992         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
42993         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
42994         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
42995         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
42996         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
42997         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
42998         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
42999         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
43000         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
43001         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
43002         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
43003         * sysdeps/unix/sysv/linux/raise.c: ... here.
43004         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
43005         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
43006         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
43007         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
43008         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
43009         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
43010         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
43011         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
43012         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
43013         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
43014         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
43015         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
43016         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
43017         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
43018         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
43020 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43022         * sysdeps/generic/memcopy.h: Add comment for
43023         MEMCPY_OK_FOR_FWD_MEMMOVE.
43025 2014-07-04  Will Newton  <will.newton@linaro.org>
43027         * string/memchr.c: Merge from gnulib.
43028         [_LIBC]: Remove conditionals.
43029         (__ptr_t): Remove define.
43030         (LONG_MAX_32_BITS): Likewise.
43031         (LONG_MAX): Likewise.
43032         (MEMCHR): Use ANSI prototype and optimize algorithm.
43034         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
43036 2014-07-03  Roland McGrath  <roland@hack.frob.com>
43038         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
43039         (lll_futex_timed_wait_bitset): Fix syscall argument count.
43041         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
43042         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
43043         in a bare environment with no <stdlib.h> installed.
43044         * sysdeps/nptl/configure: Regenerated.
43046         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
43048         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
43049         AC_EGREP_CPP for kernel header checks, so they only succeed if
43050         including <linux/version.h> actually works right.
43051         * sysdeps/unix/sysv/linux/configure: Regenerated.
43053         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
43054         value so it's not diagnosed as unused.
43056         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
43057         thing) with "ifeq ($(subdir),rt)".
43059 2014-07-03  Richard Henderson  <rth@redhat.com>
43061         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
43062         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
43063         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
43065         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
43066         (math_force_eval): New.
43068         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
43069         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
43071         * sysdeps/alpha/fpu/s_round.c: Remove file.
43072         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
43074         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
43075         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
43076         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
43077         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
43078         (_dl_start, print_statistics): Likewise.
43079         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
43080         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
43082         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43083         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43084         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43085         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43086         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43087         (HP_SMALL_TIMING_AVAIL): Define.
43088         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43089         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
43090         (HP_SMALL_TIMING_AVAIL): Define.
43091         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43092         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43094         * sysdeps/aarch64/hp-timing.h: New file.
43096         * sysdeps/generic/hp-timing.h: Remove dead comment.
43097         * sysdeps/generic/hp-timing-common.h: New file.
43098         * sysdeps/alpha/hp-timing.h: Include it.
43099         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
43100         * sysdeps/i386/i686/hp-timing.h: Likewise.
43101         * sysdeps/ia64/hp-timing.h: Likewise.
43102         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43103         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43104         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43105         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43106         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
43107         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
43108         (hp_timing_t): New.
43110         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
43111         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
43112         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
43113         * elf/rtld.c (_dl_start_final): Likewise.
43114         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
43115         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43116         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43117         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43118         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43119         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43120         (HP_TIMING_DIFF_INIT): Remove.
43121         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43122         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
43123         (HP_TIMING_DIFF_INIT): Remove.
43124         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43125         * sysdeps/i386/i686/hp-timing.c: Remove file.
43126         * sysdeps/x86_64/hp-timing.c: Remove file.
43127         * sysdeps/ia64/hp-timing.c: Remove file.
43128         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
43129         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
43130         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
43131         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
43133         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
43134         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
43135         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
43136         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43137         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43138         (HP_TIMING_ACCUM): Remove.
43139         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43140         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
43141         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43143         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
43144         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
43145         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
43146         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
43147         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
43148         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
43149         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
43150         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
43152         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
43154 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
43156         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
43158 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43160         Sync up with gettext.
43161         * intl/loadmsgcat.c: Define O_BINARY if not defined.
43162         [_MSC_VER]: Include malloc.h
43163         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
43164         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
43165         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
43166         TEMP_FAILURE_RETRY.  Cast return of alloca.
43167         [!_LIBC] Call gl_rwlock_init.
43168         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
43170 2014-07-02  Roland McGrath  <roland@hack.frob.com>
43172         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
43173         before checking its value.
43175 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43177         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
43179         * debug/memcpy_chk.c: Don't include pagecopy.h.
43180         * debug/mempcpy_chk.c: Likewise.
43181         * string/memcpy.c: Likewise.
43182         * string/memmove.c: Likewise.
43183         * sysdeps/powerpc/memmove.c: Likewise.
43184         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
43185         definition of PAGE_COPY_FWD_MAYBE here...
43186         * sysdeps/generic/pagecopy.h: ... from here.
43187         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
43189 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43190             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43192         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
43193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
43194         optimizations.
43195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43196         (__libc_ifunc_impl_list): Likewise.
43197         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
43198         multiarch strcat for PPC64.
43199         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
43200         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
43202 2014-07-02  Roland McGrath  <roland@hack.frob.com>
43204         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
43206 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43208         * intl/loadmsgcat.c: Remove declaration of
43209         get_sysdep_segment_value.
43210         (get_sysdep_segment_value): Use ISO C style.
43211         (_nl_load_domain): Use ISO C style.  Get rid of redundant
43212         semicolon.  Fix typo and formatting in comment.
43213         (_nl_unload_domain): Use ISO C style.
43215         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
43217 2014-07-02  Will Newton  <will.newton@linaro.org>
43219         * malloc/obstack.c: Merge from gnulib master.
43220         [HAVE_CONFIG_H]: Remove conditional code.
43221         [!_LIBC]: Include config.h.
43222         [!ELIDE_CODE]: Don't include inttypes.h, include
43223         stdint.h unconditionally.
43224         (print_and_abort): Mark as _Noreturn.
43225         (_obstack_allocated_p): Mark as __attribute_pure__.
43226         (obstack_free): Rename to __obstack_free.
43227         [!__attribute__]: Remove conditional code.
43228         * malloc/obstack.h: Merge from gnulib master.
43229         [__cplusplus]: Move conditional down.
43230         [!__attribute_pure__]: Define __attribute_pure__ here
43231         if it is not already defined.
43232         (_obstack_memory_used): Mark as __attribute_pure__.
43233         [!__obstack_free]: Define as obstack_free.
43234         [__GNUC__]: Remove check for ancient NeXT gcc.
43236 2014-07-02  Will Newton  <will.newton@linaro.org>
43237             Paul Eggert  <eggert@cs.ucla.edu>
43239         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
43241 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43243         * resolv/gethnamaddr.c: Add comment warning that the file is
43244         not maintained.
43246 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
43248         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
43249         entries.
43251         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
43252         entry for aio_cancel and aio_cancel64.
43253         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
43254         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
43255         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
43256         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
43257         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
43258         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
43259         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
43260         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
43261         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
43262         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
43263         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
43264         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
43265         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
43267 2014-07-01  Roland McGrath  <roland@hack.frob.com>
43269         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
43270         * nptl/pthread_mutex_lock.c: Likewise.
43271         * nptl/pthread_mutex_timedlock.c: Likewise.
43272         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
43274 2014-07-01  Richard henderson  <rth@redhat.com>
43276         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
43277         (__isnan, __isnanl): Remove.
43278         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
43280         * sysdeps/alpha/fpu/libm-test-ulps: Update.
43282 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43284         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43286 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43288         * resolv/nss_dns/dns-host.c (getanswer_r)
43289         [MULTI_PTRS_ARE_ALIASES]: Remove code.
43291 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
43293         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43294         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
43295         undefine.
43296         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
43297         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
43299 2014-07-01  Roland McGrath <roland@hack.frob.com>
43301         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
43302         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
43304         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
43305         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
43307         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
43308         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
43309         ... here.
43310         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
43311         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
43313         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
43314         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
43315         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
43316         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
43318         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
43319         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
43320         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
43321         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
43322         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
43323         Moved ...
43324         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
43325         ... here.
43326         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
43327         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
43328         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
43329         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
43330         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
43331         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
43332         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
43333         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
43334         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
43335         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
43336         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
43337         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
43338         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
43339         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
43340         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
43341         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
43342         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
43343         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
43344         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
43345         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
43346         ... here.
43347         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
43348         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
43349         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
43350         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
43351         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
43352         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
43353         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
43354         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
43356 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
43358         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
43359         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
43360         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
43361         Add sysdep.
43363 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43367 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
43369         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
43370         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43372         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43374         * sysdeps/arm/libm-test-ulps: Regenerated.
43376 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
43377             Roland McGrath <roland@hack.frob.com>
43379         * test-skeleton.c (signal_handler): Kill the whole process group
43380         before killing the child individually.
43381         (main): Report any failure on `setpgid'.
43383 2014-06-30  Roland McGrath  <roland@hack.frob.com>
43385         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
43386         from _TLS_H to _ARM_NPTL_TLS_H.
43387         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
43388         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
43390 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
43392         [BZ #16539]
43393         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
43394         (__expm1l): Return argument unchanged when small but not
43395         subnormal.
43397         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
43398         include macro name.
43399         (_FP_UNPACK_RAW_1_P): Likewise.
43400         (_FP_PACK_RAW_1): Likewise.
43401         (_FP_PACK_RAW_1_P): Likewise.
43402         (_FP_MUL_MEAT_1_wide): Likewise.
43403         (_FP_MUL_MEAT_DW_1_hard): Likewise.
43404         (_FP_MUL_MEAT_1_hard): Likewise.
43405         (_FP_DIV_MEAT_1_imm): Likewise.
43406         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
43407         (_FP_DIV_MEAT_1_udiv): Likewise.
43408         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
43409         (_FP_UNPACK_RAW_2): Likewise.
43410         (_FP_UNPACK_RAW_2_P): Likewise.
43411         (_FP_PACK_RAW_2): Likewise.
43412         (_FP_PACK_RAW_2_P): Likewise.
43413         (_FP_MUL_MEAT_DW_2_wide): Likewise.
43414         (_FP_MUL_MEAT_2_wide): Likewise.
43415         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
43416         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
43417         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
43418         (_FP_MUL_MEAT_2_gmp): Likewise.
43419         (_FP_DIV_MEAT_2_udiv): Likewise.
43420         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
43421         (_FP_FRAC_SRL_4): Likewise.
43422         (_FP_FRAC_SRST_4): Likewise.
43423         (_FP_FRAC_SRS_4): Likewise.
43424         (_FP_UNPACK_RAW_4): Likewise.
43425         (_FP_UNPACK_RAW_4_P): Likewise.
43426         (_FP_PACK_RAW_4): Likewise.
43427         (_FP_PACK_RAW_4_P): Likewise.
43428         (_FP_MUL_MEAT_DW_4_wide): Likewise.
43429         (_FP_MUL_MEAT_4_wide): Likewise.
43430         (_FP_MUL_MEAT_4_gmp): Likewise.
43431         (umul_ppppmnnn): Likewise.
43432         (_FP_DIV_MEAT_4_udiv): Likewise.
43433         (__FP_FRAC_ADD_4): Likewise.
43434         (__FP_FRAC_SUB_3): Likewise.
43435         (__FP_FRAC_SUB_4): Likewise.
43436         (__FP_FRAC_DEC_3): Likewise.
43437         (__FP_FRAC_DEC_4): Likewise.
43438         (__FP_FRAC_ADDI_4): Likewise.
43439         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
43440         (_FP_FRAC_SRL_8): Likewise.
43441         (_FP_FRAC_SRS_8): Likewise.
43443         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
43444         include macro name.
43445         (FP_UNPACK_RAW_EP): Likewise.
43446         (FP_PACK_RAW_E): Likewise.
43447         (FP_PACK_RAW_EP): Likewise.
43448         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
43449         (_FP_ISSIGNAN): Likewise.
43450         (_FP_ADD_INTERNAL): Likewise.
43451         (_FP_FMA): Likewise.
43452         (_FP_CMP): Likewise.
43453         (_FP_SQRT): Likewise.
43454         (_FP_TO_INT): Likewise.
43455         (_FP_FROM_INT): Likewise.
43456         (FP_EXTEND): Likewise.
43457         (_FP_DIV_MEAT_N_loop): Likewise.
43459 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
43461         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
43462         throughout.
43464 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
43466         [BZ #17097]
43467         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
43468         result with correct sign in case of exponents that produce
43469         overflow except for X very close to 1.
43471 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
43473         mktime: merge #if/#ifdef usage from glibc
43474         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
43475         as that works with both Glibc's and Gnulib's style.
43476         See thread starting at Siddhesh Poyarekar's bug report at:
43477         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
43479 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43481         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
43482         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
43483         * sysdeps/tile/tilegx/memmove.c: Remove file.
43485 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
43487         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
43488         abi-name definition.
43489         * scripts/soversions.awk: Do not handle or generate ABI lines.
43490         * shlib-versions: Remove ABI entries.
43491         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
43492         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
43494 2014-06-27  Roland McGrath  <roland@hack.frob.com>
43496         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
43497         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
43498         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
43499         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
43500         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
43501         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
43502         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
43503         Moved ...
43504         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
43505         ... here.
43506         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
43507         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
43508         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
43509         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
43510         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
43511         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
43512         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
43513         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
43514         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
43515         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
43516         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
43517         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
43518         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
43519         Moved ...
43520         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
43521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
43522         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
43523         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
43524         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
43525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
43526         Moved ...
43527         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
43528         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
43529         Moved ...
43530         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
43531         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
43532         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
43533         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
43534         Moved ...
43535         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
43536         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
43537         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
43538         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
43539         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
43540         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
43541         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
43542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
43543         Moved ...
43544         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
43545         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
43546         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
43547         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
43548         Moved ...
43549         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
43550         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
43551         Moved ...
43552         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
43553         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
43554         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
43555         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
43556         Moved ...
43557         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
43558         ... here.
43559         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
43560         Identical file removed.
43561         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
43562         Moved ...
43563         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
43564         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
43565         Identical file removed.
43566         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
43567         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
43568         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
43569         Moved ...
43570         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
43571         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
43572         Identical file removed.
43573         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
43574         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
43575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
43576         Identical file removed.
43577         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
43578         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
43579         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
43580         Identical file removed.
43581         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
43582         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
43583         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
43584         Identical file removed.
43585         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
43586         Moved ...
43587         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
43588         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
43589         Identical file removed.
43590         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
43591         Moved ...
43592         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
43593         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
43594         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
43595         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
43596         Identical file removed.
43597         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
43598         Moved ...
43599         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
43600         ... here.
43601         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
43602         Identical file removed.
43603         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
43604         Moved ...
43605         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
43606         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
43607         Identical file removed.
43608         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
43609         Moved ...
43610         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
43611         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
43612         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
43613         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
43614         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
43615         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
43616         Moved ...
43617         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
43618         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
43619         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
43621         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
43622         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
43623         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
43624         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
43625         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
43627 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
43629         [BZ #17092]
43630         * nscd/nscd.c (monitor_child): Return exit status of child
43631         instead of return value from wait syscall.
43633 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
43635         * configure.ac (libc_commonpagesize): Remove variable.
43636         (libc_relro_required): Likewise.
43637         (libc_cv_z_relro): Remove configure test.
43638         * configure: Regenerated.
43639         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
43640         variable.
43641         (libc_relro_required): Likewise.
43642         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
43643         (libc_relro_required): Likewise.
43644         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
43645         (libc_relro_required): Likewise.
43646         * sysdeps/arm/preconfigure: Regenerated.
43647         * sysdeps/ia64/preconfigure: Remove file.
43648         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
43649         variable.
43650         (libc_relro_required): Likewise.
43652         [BZ #16561]
43653         [BZ #16562]
43654         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
43655         (__ieee754_yn): Set FE_TONEAREST mode internally and then
43656         recompute overflowing results in original rounding mode.
43657         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
43658         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
43659         recompute overflowing results in original rounding mode.
43660         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
43661         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
43662         recompute overflowing results in original rounding mode.
43663         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
43664         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
43665         recompute overflowing results in original rounding mode.
43666         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
43667         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
43668         recompute overflowing results in original rounding mode.
43669         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
43670         (libc_feholdsetround_ctx): New macro.
43671         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
43672         * sysdeps/i386/fpu/libm-test-ulps: Update.
43673         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
43675 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43677         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
43678         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
43679         corresponding .cpsetup call.
43681 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43683         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
43684         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
43685         * sysdeps/arm/Makefile [$(subdir) = csu]
43686         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
43687         (static-only-routines): Add aeabi_read_tp here.
43688         (shared-only-routines): Add libc-aeabi_read_tp here.
43689         (CFLAGS-libc-start.c): Add -fexceptions here.
43690         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
43691         (sysdep_routines, static-only-routines, shared-only-routines):
43692         Don't add to these here.
43693         (CFLAGS-libc-start.c): Likewise.
43695         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
43696         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
43697         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
43698         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
43699         * sysdeps/arm/Makefile [$(subdir) = rt]
43700         (librt-sysdep_routines, librt-shared-only-routines):
43701         Append rt-aeabi_unwind_cpp_pr1 here.
43702         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
43703         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
43704         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
43705         (libpthread-sysdep_routines, libpthread-shared-only-routines):
43706         Append nptl-aeabi_unwind_cpp_pr1 here.
43707         (tests): Filter out tst-cleanupx4 here.
43708         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
43709         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
43710         Don't do those here.
43712 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43714         * scripts/list-sources.sh: Do not handle ports specially.
43716 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43718         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
43719         * sysdeps/arm/feupdateenv.c: Likewise.
43721         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
43723 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43725         * manual/texinfo.tex: Update to version 2014-05-05.10 with
43726         trailing whitespace removed.
43727         * scripts/config.guess: Update to version 2014-03-23.
43728         * scripts/config.sub: Update to version 2014-05-01
43729         * scripts/install-sh: Update to version 2013-12-25.23.
43730         * scripts/move-if-change: Update from gnulib.
43732 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43734         * debug/memmove_chk.c: Remove pagecopy.h include.
43736 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
43738         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
43739         identical to gnulib mktime.
43741 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43743         * configure.ac: Do not test for machine being rs6000.  Do not test
43744         for powerpc*-*soft.
43745         * configure: Regenerated.
43747         [BZ #11505]
43748         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
43749         test.
43750         * configure: Regenerated.
43751         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
43752         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
43753         Remove configure test.
43754         * sysdeps/arm/configure: Regenerated.
43755         * sysdeps/nptl/configure.ac: Do not check
43756         libc_cv_asm_cfi_directives.
43757         * sysdeps/nptl/configure: Regenerated.
43758         * sysdeps/x86_64/nptl/configure.ac: Remove file.
43759         * sysdeps/x86_64/nptl/configure: Remove generated file.
43760         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
43761         unconditional.
43762         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
43764 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43766         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
43767         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
43768         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
43769         it is defined.
43771         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
43772         instead of whether it is defined.
43773         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
43774         * sysdeps/hppa/dl-machine.h: Likewise.
43775         * sysdeps/ia64/dl-machine.h: Likewise.
43776         * sysdeps/m68k/dl-machine.h: Likewise.
43777         * sysdeps/microblaze/dl-machine.h: Likewise.
43778         * sysdeps/mips/dl-machine.: Likewise.
43779         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43780         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43781         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43782         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43783         * sysdeps/sh/dl-machine.h: Likewise.
43784         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43785         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43786         * sysdeps/tile/dl-machine.h: Likewise.
43787         * sysdeps/x86_64/dl-machine.h: Likewise.
43789         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
43790         code.
43791         (verify_persistent_db): Likewise.
43793 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
43796         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
43797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
43798         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
43799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43800         Moved ...
43801         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
43802         ... here.
43803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
43804         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
43805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
43806         Identical file removed.
43807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
43808         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
43809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
43810         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
43811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
43812         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
43813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
43814         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
43815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
43816         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
43817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43818         Moved ...
43819         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
43820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
43821         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
43822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
43823         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
43824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43825         Moved ...
43826         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
43827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
43828         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
43829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
43830         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
43831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43832         Identical file removed.
43833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
43834         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
43835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
43836         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
43837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43838         Moved ...
43839         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
43840         ... here.
43841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
43842         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
43843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
43844         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
43845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
43846         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
43847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
43848         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
43849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
43850         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
43851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43852         Moved ...
43853         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
43854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
43855         Moved ...
43856         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
43857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
43858         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
43859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43860         Moved ...
43861         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
43862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
43863         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
43865         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
43866         folded into ...
43867         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
43868         * sysdeps/unix/sysv/linux/s390/Versions
43869         (libpthread: GLIBC_2.19): New version set.
43870         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
43871         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
43872         (librt: GLIBC_2.3.3): New version set.
43873         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
43874         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
43875         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
43876         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
43877         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
43878         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
43879         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
43880         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
43881         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
43882         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
43883         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
43884         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
43885         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
43886         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
43887         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
43888         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
43889         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
43890         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
43891         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
43892         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
43893         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
43894         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
43895         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
43896         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
43897         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
43898         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
43899         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
43900         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
43901         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
43902         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
43903         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
43904         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
43905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
43906         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
43907         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
43908         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
43909         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
43910         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
43911         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
43912         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
43913         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
43914         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
43915         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
43916         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
43917         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
43919         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
43920         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
43921         (__libc_vfork): Define the function under this name.
43922         [!NOT_IN_libc] (__vfork): Make this an alias.
43923         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43924         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
43925         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
43926         (__libc_vfork): Define the function under this name.
43927         [!NOT_IN_libc] (__vfork): Make this an alias.
43928         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43929         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
43930         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
43931         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
43932         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
43933         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43935         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
43936         code that was previously under [RESET_PID].
43937         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
43938         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
43939         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
43941         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
43942         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
43943         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
43944         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
43945         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
43946         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
43947         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
43948         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
43949         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
43950         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
43951         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
43952         Moved ...
43953         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
43954         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
43955         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
43956         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
43957         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
43958         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
43959         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
43960         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
43961         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
43962         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
43963         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
43964         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
43965         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
43966         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
43967         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
43968         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
43969         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
43970         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
43971         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
43972         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
43973         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
43974         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
43975         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
43976         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
43977         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
43978         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
43979         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
43980         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
43981         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
43983 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43985         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
43986         that was previously under [RESET_PID].
43987         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
43989 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43991         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
43992         not undefine and redefine.
43993         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
43994         [O_CLOEXEC]: Make code unconditional.
43995         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
43996         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
43997         <kernel-features.h>.
43998         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
43999         conditional variable definition.
44000         (shm_open) [O_CLOEXEC]: Make code unconditional.
44001         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
44002         code.
44004         * configure.ac (USE_REGPARMS): Don't define here.
44005         * configure: Regenerated.
44006         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
44007         * sysdeps/i386/configure: Regenerated.
44009         * nptl/createthread.c: Don't include kernel-features.h.
44010         * nptl/pthread_cancel.c: Likewise.
44011         * nptl/pthread_condattr_setclock.c: Likewise.
44012         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
44013         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
44014         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
44015         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
44016         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
44017         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
44018         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
44019         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
44020         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
44021         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
44022         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
44023         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
44024         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
44025         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
44026         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
44027         * nscd/gai.c: Likewise.
44028         * nss/nss_db/db-open.c: Likewise.
44029         * sysdeps/generic/ldsodefs.h: Likewise.
44030         * sysdeps/sh/nptl/tls.h: Likewise.
44031         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44032         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
44033         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
44034         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
44035         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
44036         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44037         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
44038         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44039         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44040         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
44041         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
44042         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44043         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
44044         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
44045         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
44046         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
44047         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
44048         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
44049         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
44050         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
44051         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
44052         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
44053         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
44054         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
44055         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
44056         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
44057         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
44058         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
44059         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
44060         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
44061         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
44062         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
44063         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
44064         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44065         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44066         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44067         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44068         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
44069         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
44070         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
44071         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44072         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
44073         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
44074         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44075         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
44076         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
44077         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
44078         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
44079         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
44080         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
44081         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
44082         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
44083         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
44084         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44085         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
44086         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44087         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44088         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
44089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
44091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
44092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
44093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
44094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
44095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
44096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
44097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
44100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
44101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
44102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
44103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
44109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
44110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
44111         * sysdeps/unix/sysv/linux/pread.c: Likewise.
44112         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
44113         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
44114         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
44115         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
44116         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
44117         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
44118         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
44119         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
44120         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
44121         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
44122         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
44123         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
44124         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
44125         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
44126         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
44127         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44128         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
44129         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
44130         * sysdeps/unix/sysv/linux/system.c: Likewise.
44131         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
44132         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
44133         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44134         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44135         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44136         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44137         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
44139         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
44140         * configure: Regenerated.
44141         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
44143         * configure.ac (base_machine): Do not set specially for particular
44144         machines here.
44145         * configure: Regenerated.
44146         * sysdeps/powerpc/preconfigure: Move machine and base_machine
44147         settings from configure.ac.
44148         * sysdeps/i386/preconfigure: New file.
44149         * sysdeps/s390/preconfigure: Likewise.
44150         * sysdeps/sh/preconfigure: Likewise.
44151         * sysdeps/sparc/preconfigure: Likewise.
44153 2014-06-25  Roland McGrath  <roland@hack.frob.com>
44155         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
44156         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
44157         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
44158         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
44159         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
44160         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
44161         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
44162         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
44163         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
44164         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
44165         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
44166         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
44167         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
44168         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
44169         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
44170         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
44171         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
44172         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
44173         * sysdeps/sparc/sparc64/Makefile: ... appended here.
44175         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
44176         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
44177         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
44178         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
44179         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
44180         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
44181         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
44182         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
44183         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
44184         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
44185         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
44186         * sysdeps/sparc/sparc32/sem_post.c: ... here.
44187         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
44188         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
44189         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
44190         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
44191         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
44192         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
44193         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
44194         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
44195         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
44196         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
44197         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
44198         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
44199         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
44200         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
44201         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
44202         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
44203         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
44204         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
44205         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
44206         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
44207         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
44208         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
44209         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
44210         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
44211         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
44212         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
44214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
44215         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
44216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
44217         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
44218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44219         Moved ...
44220         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
44221         ... here.
44222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
44223         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
44224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
44225         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
44226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
44227         Moved ...
44228         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
44229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
44230         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
44231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
44232         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
44233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
44234         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
44235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44236         Moved ...
44237         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
44238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44239         Moved ...
44240         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
44241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
44242         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
44243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44244         Moved ...
44245         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
44246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
44247         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
44248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
44249         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
44250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
44251         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
44252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
44253         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
44254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44255         Moved ...
44256         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
44257         ... here.
44258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
44259         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
44260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
44261         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
44262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
44263         Moved ...
44264         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
44265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
44266         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
44267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
44268         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
44269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
44270         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
44271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44272         Moved ...
44273         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
44274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44275         Moved ...
44276         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
44277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
44278         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
44279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44280         Moved ...
44281         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
44282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
44283         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
44284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
44285         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
44287 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44289         * timezone/checktab.awk: Update from tzcode 2014e.
44290         * timezone/private.h: Likewise.
44291         * timezone/tzfile.h: Likewise.
44292         * timezone/zdump.c: Likewise.
44293         * timezone/zic.c: Likewise.
44295         * sysdeps/unix/sysv/linux/kernel-features.h
44296         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
44297         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
44298         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
44299         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44300         Remove conditional code.
44302 2014-06-25  Will Newton  <will.newton@linaro.org>
44304         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
44305         (_dl_arm_cap_flags): Add HWCAP2 values.
44306         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
44307         (_DL_HWCAP_COUNT): Increase to 37.
44308         (_DL_HWCAP_LAST): New define.
44309         (_DL_HWCAP2_LAST): New define.
44310         (_dl_procinfo): Add support for printing
44311         AT_HWCAP2 entries.
44312         (_dl_string_hwcap): Use _dl_hwcap_string.
44314 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44318 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44320         * README: Do not mention ports directory.
44322         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
44323         Remove macro.
44324         * sysdeps/unix/sysv/linux/futimes.c: Do not include
44325         <kernel-features.h>.
44326         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
44327         conditional variable definition.
44328         (__futimes): Update comment.
44329         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
44330         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
44332         [BZ #16560]
44333         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
44334         arguments close to 0.
44335         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
44336         Likewise.
44337         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
44338         Likewise.
44339         * math/auto-libm-test-in: Add more tests of exp10.
44340         * math/auto-libm-test-out: Regenerated.
44341         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44343         * sysdeps/unix/sysv/linux/kernel-features.h
44344         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
44345         * sysdeps/unix/sysv/linux/readv.c: Do not include
44346         <kernel-features.h>.
44347         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
44348         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44349         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
44350         unconditional.
44351         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
44352         conditional code.
44353         * sysdeps/unix/sysv/linux/writev.c: Do not include
44354         <kernel-features.h>.
44355         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
44356         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44357         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
44358         unconditional.
44359         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
44360         conditional code.
44362 2014-06-25  Will Newton  <will.newton@linaro.org>
44364         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
44365         comment changes throughout the file.  Remove checks
44366         for HAVE_*_H definitions that are not required.
44367         (__gen_tempname): Call abort if an unknown kind value is
44368         passed.
44370 2014-06-25  Andreas Schwab  <schwab@suse.de>
44372         [BZ #17086]
44373         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
44374         scalbln, scalblnf, scalblnl in libc.
44376 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44378         [BZ #17086]
44379         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
44380         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44381         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44383 2014-06-24  Roland McGrath  <roland@hack.frob.com>
44385         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
44386         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
44387         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
44388         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
44389         Update #include.
44390         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
44391         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
44392         Update #include.
44393         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
44394         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
44395         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
44396         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
44397         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
44398         * sysdeps/x86/bits/pthreadtypes.h: ... here.
44399         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
44400         * sysdeps/x86/bits/semaphore.h: ... here.
44401         * sysdeps/x86/nptl/elide.h: Moved ...
44402         * sysdeps/x86/elide.h: ... here.
44403         * sysdeps/x86_64/nptl/Implies: File removed.
44404         * sysdeps/i386/nptl/Implies: File removed.
44406 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
44408         [BZ #16539]
44409         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
44410         return the argument for normal arguments with exponent below -64.
44411         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44412         Likewise.
44413         * math/auto-libm-test-in: Add another test of expm1.
44414         * math/auto-libm-test-out: Regenerated.
44416         [BZ #16287]
44417         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
44418         calling __erfcl for arguments at least 16.
44419         * math/auto-libm-test-in: Add more tests of erf.
44420         * math/auto-libm-test-out: Regenerated.
44422         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
44423         individual architectures.
44424         * sysdeps/unix/sysv/linux/configure: Regenerated.
44425         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
44426         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
44427         * sysdeps/unix/sysv/linux/powerpc/configure.ac
44428         (ldd_rewrite_script): Define variable.
44429         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
44431         file.
44432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
44433         generated file.
44434         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
44435         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
44436         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
44437         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
44438         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
44439         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
44440         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
44441         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
44443 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44445         [BZ #17084]
44446         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
44447         Rename member __data.d to __data.__elision_data.
44449 2014-06-24  Wilco  <wdijkstr@arm.com>
44451         * NEWS: Add 16918 to fixed bug list.
44453 2014-06-24  Wilco  <wdijkstr@arm.com>
44455         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
44457 2014-06-24  Wilco  <wdijkstr@arm.com>
44459         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
44460         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
44461         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
44462         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
44463         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
44464         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
44465         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
44466         Use _FPU_MASK_RM.
44468 2014-06-24  Wilco  <wdijkstr@arm.com>
44470         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
44472 2014-06-24  Wilco  <wdijkstr@arm.com>
44474         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
44475         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
44476         * sysdeps/arm/fesetround.c (fesetround): Remove space.
44477         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
44479 2014-06-24  Wilco  <wdijkstr@arm.com>
44481         [BZ #16918]
44482         * sysdeps/arm/feupdateenv.c (feupdateenv):
44483         Rewrite to reduce FPSCR accesses and fix return value.
44485 2014-06-24  Wilco  <wdijkstr@arm.com>
44487         * sysdeps/arm/fclrexcpt.c (feclearexcept):
44488         Optimize to avoid unnecessary FPSCR writes.
44489         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
44490         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
44491         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
44492         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
44494 2014-06-24  Wilco  <wdijkstr@arm.com>
44496         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
44497         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
44498         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
44499         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
44500         Call libc_fetestexcept_vfp.
44501         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
44502         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
44503         __SOFTFP__ ifdef so that they can be built for softfp.
44505 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44507         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
44508         argument type signed char.
44510         * Makerules (check-abi): Dump diff of symlist if the test
44511         fails.
44513 2014-06-23  Roland McGrath  <roland@hack.frob.com>
44515         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
44516         using abort.
44518         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
44519         Remove unused variable ST.
44521 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
44523         [BZ #16354]
44524         [BZ #17061]
44525         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
44526         small arguments before calling __expm1.
44527         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
44528         small arguments before calling __expm1f.
44529         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
44530         small arguments before calling __expm1l.
44531         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
44532         Likewise.
44533         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
44534         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
44535         spurious underflow for some cosh tests.
44536         * math/auto-libm-test-out: Regenerated.
44537         * sysdeps/i386/fpu/libm-test-ulps: Update.
44539         [BZ #17050]
44540         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
44541         (__ieee754_y1): Set errno if return value overflows.
44542         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
44543         (__ieee754_y1f): Set errno if return value overflows.
44544         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
44545         (__ieee754_y1l): Set errno if return value overflows.
44546         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
44547         (__ieee754_y1l): Set errno if return value overflows.
44548         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
44549         * math/auto-libm-test-out: Regenerated.
44551         * math/gen-auto-libm-tests.c: Document use of
44552         ignore-zero-inf-sign.
44553         (input_flag_type): Add value flag_ignore_zero_inf_sign.
44554         (input_flags): Add ignore-zero-inf-sign.
44555         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
44556         * math/gen-libm-test.pl (generate_testfile): Handle
44557         ignore-zero-inf-sign.
44558         * math/auto-libm-test-in: Mark some cpow tests with
44559         ignore-zero-inf-sign and some with xfail-rounding.
44560         * math/auto-libm-test-out: Regenerated.
44561         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
44562         * sysdeps/i386/fpu/libm-test-ulps: Update.
44563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44565         [BZ #16315]
44566         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
44567         overflowing or underflowing operations take place with sign of
44568         result.
44569         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44570         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44571         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
44572         (__ieee754_pow): Recompute overflowing and underflowing results in
44573         original rounding mode.
44574         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
44575         (__powl_helper): Allow negative argument X and scale negated value
44576         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
44577         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
44578         overflowing or underflowing operations take place with sign of
44579         result.
44580         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
44581         Include <math.h>.
44582         * math/auto-libm-test-in: Add more tests of pow.
44583         * math/auto-libm-test-out: Regenerated.
44584         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
44585         (pow_tonearest_test_data): Remove.
44586         (pow_test_tonearest): Likewise.
44587         (pow_towardzero_test_data): Likewise.
44588         (pow_test_towardzero): Likewise.
44589         (pow_downward_test_data): Likewise.
44590         (pow_test_downward): Likewise.
44591         (pow_upward_test_data): Likewise.
44592         (pow_test_upward): Likewise.
44593         (main): Don't call removed functions.
44594         * sysdeps/i386/fpu/libm-test-ulps: Update.
44595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44597 2014-06-23  Roland McGrath  <roland@hack.frob.com>
44599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
44600         Moved ...
44601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
44602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44603         Moved ...
44604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
44605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44606         Moved ...
44607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
44608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44609         Moved ...
44610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
44611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44612         File removed.
44613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44614         File removed.
44615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
44616         File removed.
44617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
44618         File removed.
44619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
44620         File removed.
44621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
44622         File removed.
44623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
44624         File removed.
44625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44626         File removed.
44627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
44628         File removed.
44629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44630         File removed.
44631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
44632         File removed.
44633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
44634         File removed.
44635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
44636         Moved ...
44637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
44638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
44639         Moved ...
44640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
44641         ... here.
44642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
44643         Moved ...
44644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
44645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
44646         Moved ...
44647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
44648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
44649         Moved ...
44650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
44651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
44652         Moved ...
44653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
44654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
44655         Moved ...
44656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
44657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
44658         Moved ...
44659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
44660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
44661         Moved ...
44662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
44663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
44664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
44665         ... here.
44666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
44667         Moved ...
44668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
44669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44670         Moved ...
44671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
44672         ... here.
44673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
44674         Moved ...
44675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
44676         ... here.
44677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44678         Moved ...
44679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44680         ... here.
44681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44682         Moved ...
44683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
44684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44685         Moved ...
44686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
44687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
44688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
44689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44690         Moved ...
44691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
44692         ... here.
44693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44694         Moved ...
44695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
44696         ... here.
44697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44698         Moved ...
44699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
44700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44701         Moved ...
44702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
44703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44704         Moved ...
44705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
44706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44707         Moved ...
44708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
44709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44710         Moved ...
44711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
44712         ... here.
44713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44714         Moved ...
44715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
44716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44717         Moved ...
44718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
44719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44720         Moved ...
44721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
44722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44723         Moved ...
44724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
44725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
44726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
44727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44728         Moved ...
44729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
44730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44731         Moved ...
44732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
44733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44734         Moved ...
44735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
44736         ... here.
44737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44738         Moved ...
44739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
44740         ... here.
44741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44742         Moved ...
44743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
44744         ... here.
44745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44746         Moved ...
44747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
44748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44749         Moved ...
44750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
44751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44752         Moved ...
44753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
44754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44755         Moved ...
44756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
44757         ... here.
44758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44759         Moved ...
44760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
44761         ... here.
44762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44763         Moved ...
44764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
44765         ... here.
44766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44767         Moved ...
44768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
44769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44770         Moved ...
44771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
44773 2014-06-23  Will Newton  <will.newton@linaro.org>
44774             Wilco  <wdijkstr@arm.com>
44776         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
44777         implementation.  Include get-rounding-mode.h.
44778         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
44779         [!libc_feholdsetround_noex_ctx]: Define
44780         libc_feholdsetround_noex_ctx.
44781         [!libc_feholdsetround_noexf_ctx]: Define
44782         libc_feholdsetround_noexf_ctx.
44783         [!libc_feholdsetround_noexl_ctx]: Define
44784         libc_feholdsetround_noexl_ctx.
44785         (libc_feholdsetround_ctx): New function.
44786         (libc_feresetround_ctx): New function.
44787         (libc_feholdsetround_noex_ctx): New function.
44788         (libc_feresetround_noex_ctx): New function.
44790 2014-06-23  Roland McGrath  <roland@hack.frob.com>
44792         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
44793         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
44794         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
44795         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
44796         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
44797         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
44799         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
44800         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
44801         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
44802         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
44803         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
44804         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
44805         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
44806         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
44807         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
44808         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
44809         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
44810         Moved ...
44811         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
44812         ... here.
44813         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
44814         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
44815         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
44816         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
44817         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
44818         Moved ...
44819         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
44820         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
44821         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
44822         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
44823         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
44824         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
44825         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
44826         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
44827         Moved ...
44828         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
44829         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
44830         Moved ...
44831         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
44832         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
44833         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
44834         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
44835         Moved ...
44836         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
44837         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
44838         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
44839         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
44840         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
44841         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
44842         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
44843         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
44844         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
44845         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
44846         Moved ...
44847         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
44848         ... here.
44849         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
44850         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
44851         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
44852         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
44853         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
44854         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
44855         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
44856         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
44857         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
44858         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
44859         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
44860         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
44861         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
44862         Moved ...
44863         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
44864         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
44865         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
44866         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
44867         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
44868         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
44869         Moved ...
44870         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
44871         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
44872         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
44873         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
44874         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
44876         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
44877         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
44878         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
44879         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
44880         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
44881         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
44882         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
44883         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
44884         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
44885         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
44886         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
44887         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
44888         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
44889         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
44890         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
44891         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
44892         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
44893         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
44894         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
44895         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
44896         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
44897         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
44898         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
44899         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
44900         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
44901         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
44902         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
44903         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
44905 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
44907         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
44908         (FALLOC_FL_COLLAPSE_RANGE): New macro.
44909         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
44910         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
44911         (IPV6_PMTUDISC_INTERFACE): Likewise.
44912         (IPV6_PMTUDISC_OMIT): Likewise.
44914 2014-06-23  Andreas Schwab  <schwab@suse.de>
44916         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
44917         Remove unused errout label.
44919 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44921         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
44922         macro: hardware supports Vector Crypto instructions.
44924 2014-06-23  Will Newton  <will.newton@linaro.org>
44926         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
44927         rather than __builtin_expect.
44929         * elf/dl-lookup.c (undefined_msg): Remove variable.
44930         (_dl_lookup_symbol_x): Replace undefined_msg with string
44931         literal.
44933         * elf/dl-lookup.c (do_lookup_unique): New function.
44934         (do_lookup_x): Move STB_GNU_UNIQUE handling code
44935         to a separate function.
44937 2014-06-23  Andreas Schwab  <schwab@suse.de>
44939         [BZ #17079]
44940         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
44941         before reading the next line.
44943 2014-06-23  Will Newton  <will.newton@linaro.org>
44945         * test-skeleton.c (signal_handler): Use printf and %m
44946         rather than perror.  Use printf rather than fprintf to
44947         stderr.  Use puts rather than fputs to stderr.
44948         (main): Likewise.
44950 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
44952         * nscd/nscd.c (thread_info_t): Remove typedef.
44953         (thread_info): Remove variable.
44955 2014-06-21  Allan McRae  <allan@archlinux.org>
44957         * NEWS: Mention CVE-2014-4043.
44959 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44961         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
44962         * nptl/smp.h: ... here.
44964         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
44966         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
44967         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
44968         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
44969         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
44971         * nptl/allocatestack.c: Include <stack-aliasing.h>.
44972         * nptl/stack-aliasing.h: New file.
44973         * sysdeps/i386/i686/stack-aliasing.h: New file.
44974         * sysdeps/i386/i686/nptl/Makefile: File removed.
44975         * sysdeps/x86_64/stack-aliasing.h: New file.
44976         * sysdeps/x86_64/nptl/Makefile
44977         (CFLAGS-pthread_create.c): Variable removed.
44979         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
44980         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
44981         old file.
44982         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
44983         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
44984         old file.
44986 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
44988         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44989         (__ASSUME_SIGFRAME_V2): Remove macro.
44990         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
44991         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
44992         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
44993         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
44994         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
44995         Declare as function.  Remove conditional macro definitions.
44996         (__default_rt_sa_restorer): Likewise.
44997         (__default_sa_restorer_v1): Remove declaration.
44998         (__default_sa_restorer_v2): Likewise.
44999         (__default_rt_sa_restorer_v1): Likewise.
45000         (__default_rt_sa_restorer_v2): Likewise.
45001         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
45002         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
45003         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
45005 2014-06-20  Roland McGrath  <roland@hack.frob.com>
45007         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
45008         (libpthread-routines): Add sysdep.
45009         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
45010         * sysdeps/unix/sysv/linux/sparc/Versions
45011         (libpthread: GLIBC_2.3.3): New version set.
45012         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
45013         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
45014         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
45015         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
45016         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
45017         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
45018         Moved ...
45019         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
45020         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
45021         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
45022         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
45023         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
45024         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
45025         * sysdeps/sparc/nptl/sem_init.c: ... here.
45026         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
45027         * sysdeps/sparc/nptl/sem_post.c: ... here.
45028         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
45029         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
45030         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
45031         * sysdeps/sparc/nptl/sem_wait.c: ... here.
45032         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
45033         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
45034         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
45035         (libpthread-routines): Add cpu_relax.
45036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
45037         File removed.
45038         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
45039         (librt: GLIBC_2.3.3): New version set.
45040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
45041         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
45042         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
45043         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
45044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
45045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
45046         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
45047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
45048         Moved ...
45049         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
45050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
45051         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
45052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
45053         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
45054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
45055         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
45056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
45057         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
45058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
45059         Moved ...
45060         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
45061         Update #include.
45062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
45063         Moved ...
45064         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
45065         Update #include.
45066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
45067         Moved ...
45068         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
45069         Update #include.
45070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
45071         Moved ...
45072         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
45073         Update #include.
45074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
45075         Moved ...
45076         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
45077         Update #include.
45078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
45079         Moved ...
45080         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
45081         Update #include.
45082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
45083         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
45084         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
45085         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
45086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
45087         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
45088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
45089         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
45090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
45091         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
45092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45093         Moved ...
45094         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
45095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
45096         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
45097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
45098         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
45100 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45102         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
45103         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
45104         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45105         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
45106         * nscd/nscd.c: Likewise.
45107         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
45108         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
45109         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
45110         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
45112         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
45113         <kernel-features.h>.
45114         (init_mq_netlink): Remove conditional have_sock_cloexec
45115         definitions.  Remove code conditional on have_sock_cloexec < 0.
45116         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
45117         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
45118         * sysdeps/unix/sysv/linux/opensock.c: Do not include
45119         <kernel-features.h>.
45120         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
45121         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
45123 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
45125         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45126         Add tests for memset_chk and memset.
45128         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
45129         with AVX2_Usable.
45131 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
45133         [BZ #16046]
45134         * elf/tst-dl-iter-static.c: New file.
45135         * elf/Makefile (tests-static): Add tst-dl-iter-static.
45137         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
45138         error.
45140 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45142         * sysdeps/unix/sysv/linux/kernel-features.h
45143         (__ASSUME_F_GETOWN_EX): Remove macro.
45144         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
45145         <kernel-features.h>.
45146         (miss_F_GETOWN_EX): Remove variable or macro.
45147         (do_fcntl): Do not check miss_F_GETOWN_EX.
45148         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
45150         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
45151         Remove macro.
45152         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
45153         [!__ASSUME_AT_RANDOM]: Remove conditional code.
45154         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
45156         * sysdeps/unix/sysv/linux/kernel-features.h
45157         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
45158         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
45159         [ADJ_OFFSET_SS_READ]: Make code unconditional.
45160         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
45162 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
45164         [BZ #17075]
45165         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
45166         Fix calculation of the symbol's value.
45167         * sysdeps/arm/tst-armtlsdescloc.c: New file.
45168         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
45169         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
45170         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
45171         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
45172         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
45173         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
45174         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
45175         (modules-names): Add `tst-armtlsdescmod',
45176         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
45177         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
45178         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
45179         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
45180         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
45181         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
45182         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
45183         ($(objpfx)tst-armtlsdescloc): New dependency.
45184         ($(objpfx)tst-armtlsdescextnow): Likewise.
45185         ($(objpfx)tst-armtlsdescextlazy): Likewise.
45186         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
45187         TLS scheme support.
45188         * sysdeps/arm/configure: Regenerate.
45190 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45192         * include/fcntl.h (__atfct_seterrno): Remove prototype.
45193         (__atfct_seterrno_2): Likewise.
45194         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
45195         <kernel-features.h>.
45196         (__ASSUME_ATFCTS): Do not undefine and redefine.
45197         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
45198         (__have_atfcts): Remove conditional definition.
45199         (__fxstatat([__NR_fstatat64]: Make code unconditional.
45200         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
45201         unreachable if [__ASSUME_ATFCTS].
45202         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
45203         not undefine and redefine.
45204         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
45205         <kernel-features.h>.
45206         (faccessat) [__NR_faccessat]: Make code unconditional.
45207         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
45208         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
45209         <kernel-features.h>.
45210         (fchmodat) [__NR_fchmodat]: Make code unconditional.
45211         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
45212         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
45213         <kernel-features.h>.
45214         (fchownat) [__NR_fchownat]: Make code unconditional.
45215         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
45216         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
45217         <kernel-features.h>.
45218         (futimesat) [__NR_futimesat]: Make code unconditional.
45219         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
45220         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45221         <kernel-features.h>.
45222         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
45223         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45224         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45225         <kernel-features.h>.
45226         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
45227         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
45228         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
45229         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45230         <kernel-features.h>.
45231         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
45232         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45233         * sysdeps/unix/sysv/linux/linkat.c: Do not include
45234         <kernel-features.h>.
45235         (linkat) [__NR_linkat]: Make code unconditional.
45236         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45237         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
45238         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
45239         <kernel-features.h>.
45240         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
45241         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
45242         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
45243         <kernel-features.h>.
45244         (mkdirat) [__NR_mkdirat]: Make code unconditional.
45245         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
45246         * sysdeps/unix/sysv/linux/openat.c: Do not include
45247         <kernel-features.h>.
45248         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
45249         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
45250         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
45251         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
45252         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
45253         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
45254         <kernel-features.h>.
45255         (readlinkat) [__NR_readlinkat]: Make code unconditional.
45256         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
45257         result of INLINE_SYSCALL directly, not via int variable.
45258         * sysdeps/unix/sysv/linux/renameat.c: Do not include
45259         <kernel-features.h>.
45260         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
45261         (renameat) [__NR_renameat]: Make code unconditional.
45262         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
45263         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
45264         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
45265         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
45266         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
45267         (__ASSUME_ATFCTS): Do not undefine and redefine.
45268         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
45269         <kernel-features.h>.
45270         (symlinkat) [__NR_symlinkat]: Make code unconditional.
45271         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45272         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
45273         <kernel-features.h>.
45274         (unlinkat) [__NR_unlinkat]: Make code unconditional.
45275         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45276         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
45277         (__ASSUME_ATFCTS): Do not undefine and redefine.
45278         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45279         <kernel-features.h>.
45280         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
45281         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45282         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45283         <kernel-features.h>.
45284         (__xmknodat) [__NR_mknodat]: Make code unconditional.
45285         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
45287 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
45289         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
45291 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
45293         [BZ #17069]
45294         * posix/regcomp.c (parse_reg_exp): Deallocate partially
45295         constructed tree before returning error.
45296         * posix/bug-regexp36.c: Expand test case.
45298 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
45300         [BZ #6803]
45301         * math/libm-test.inc (scalbln_test_date):
45302         Add errno expectations.
45303         * math/w_scalblnf.c: New File.
45304         Add wrapper which checks for setting errno to ERANGE.
45305         Add weak_alias for corresponding scalbln function.
45306         * math/w_scalbln.c: Likewise.
45307         * math/w_scalblnl.c: Likewise.
45308         * math/Makefile (libm-calls): Add w_scalbln.
45309         * sysdeps/ieee754/flt-32/s_scalblnf.c:
45310         Remove weak_alias for corresponding scalbln function.
45311         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45312         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45313         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45314         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45315         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
45316         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45317         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
45318         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45319         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
45320         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
45321         Remove long_double_symbol for scalblnl function in libm, libc.
45322         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
45323         Add wrapper which checks for setting errno to ERANGE.
45324         Add long_double_symbol for scalblnl function in libm, libc.
45325         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
45326         Remove long_double_symbol for scalblnl in libm.
45327         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
45328         Add wrapper which checks for setting errno to ERANGE.
45329         Add long_double_symbol for scalblnl function in libm.
45330         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
45331         Do not use wrapper because of own implementation.
45333 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
45335         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
45336         3 bytes for __pad1 for x32.
45337         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
45339 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
45340             H.J. Lu  <hongjiu.lu@intel.com>
45342         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
45343         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
45344         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45345         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45346         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
45348 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
45350         [BZ #17069]
45351         * posix/regcomp.c (parse_expression): Deallocate partially
45352         constructed tree before returning error.
45353         * posix/Makefile.c (tests): Add bug-regex36.
45354         (generated): Add bug-regex36.mtrace.
45355         (tests-special): Add $(objpfx)bug-regex36-mem.out
45356         (bug-regex36-ENV): New variable.
45357         ($(objpfx)bug-regex36-mem.out): New rule.
45358         * posix/bug-regex36.c: New file.
45360 2014-06-19  Will Newton  <will.newton@linaro.org>
45362         * malloc/malloc.c (systrim): If extra is zero then return
45363         early.
45365 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45367         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
45369 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
45371         * sysdeps/aarch64/strchr.S: New file.
45373 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
45375         [BZ #17022]
45376         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
45377         from arguments -2 or below.
45378         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
45379         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
45381 2014-06-18  Andreas Schwab  <schwab@suse.de>
45383         [BZ #17062]
45384         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
45385         of a bracket expr not to run off the end of the string.
45386         * posix/Makefile (tests): Add tst-fnmatch3.
45387         * posix/tst-fnmatch3.c: New file.
45389 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
45391         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
45392         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45393         [$(cross-compiling) = no]: Likewise.
45394         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45395         [$(cross-compiling) = no]: Likewise.
45397 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45399         [BZ #17031]
45400         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
45401         double, adjusted for any remainder from the high double.
45402         * math/libm-test.inc (nearbyint): Add tests.
45403         (rint): Likewise.
45405 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45407         * nptl/sysdeps/powerpc/Makefile: Moved ...
45408         * sysdeps/powerpc/nptl/Makefile: ... here.
45409         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
45410         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
45411         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
45412         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
45413         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
45414         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
45415         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
45416         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
45417         * nptl/sysdeps/powerpc/tls.h: Moved ...
45418         * sysdeps/powerpc/nptl/tls.h: ... here.
45420 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
45422         [BZ #16681]
45423         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
45424         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
45425         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
45426         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
45427         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
45428         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
45429         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
45430         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
45431         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
45433 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
45435         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45437 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
45439         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
45440         defined operator.
45442         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
45443         $TIMEOUTFACTOR.
45445 2014-06-16  Florian Weimer  <fweimer@redhat.com>
45447         [BZ #17058]
45448         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
45449         non-executed part of the test.
45451 2014-06-16  Andreas Schwab  <schwab@suse.de>
45453         * string/bits/string2.h (strdup, strndup): Update feature guard.
45455 2014-06-14  David S. Miller  <davem@davemloft.net>
45457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45459 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
45461         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
45462         that was previously under [RESET_PID].
45463         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
45465         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
45466         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
45467         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
45468         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45469         (__libc_vfork): New strong alias.
45470         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
45472 2014-06-14 Andi Kleen  <ak@linux.intel.com>
45474         * sysdeps/generic/elide.h: New file.
45476 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
45478         * Makefile (installed-headers): Adjust path of pthread.h header.
45480 2014-06-13  Roland McGrath  <roland@hack.frob.com>
45482         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
45483         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
45484         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
45485         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
45487         * nptl/sysdeps/s390/Makefile: Moved ...
45488         * sysdeps/s390/nptl/Makefile: ... here.
45489         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
45490         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
45491         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
45492         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
45493         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
45494         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
45495         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
45496         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
45497         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
45498         * sysdeps/s390/nptl/pthreaddef.h: ... here.
45499         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
45500         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
45501         * nptl/sysdeps/s390/tls.h: Moved ...
45502         * sysdeps/s390/nptl/tls.h: ... here.
45504         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
45505         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
45507 2014-06-13  David S. Miller  <davem@davemloft.net>
45509         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
45510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
45511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
45512         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
45513         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
45514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
45515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
45516         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
45517         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
45518         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
45519         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
45520         Remove RESET_PID cpp guards.
45521         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
45522         Remove RESET_PID cpp guards.
45523         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
45525 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
45527         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
45528         __sp to uintptr_t.
45530 2014-06-13  Andi Kleen  <ak@linux.intel.com>
45532         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
45533         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
45534         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
45535         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
45536         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
45537         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
45538         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
45539         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
45540         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
45541         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
45542         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
45543         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
45544         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
45545         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
45546         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
45547         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
45548         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
45549         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
45550         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
45551         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
45553         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
45554         (pthread_rwlock_rdlock): Add elision.
45555         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
45556         (pthread_rwlock_wrlock): Add elision.
45557         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
45558         (pthread_rwlock_trywrlock): Add elision.
45559         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
45560         (pthread_rwlock_tryrdlock): Add elision.
45561         * nptl/pthread_rwlock_unlock.c: Include elide.h.
45562         (pthread_rwlock_tryrdlock): Add elision unlock.
45563         * nptl/sysdeps/pthread/pthread.h:
45564         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
45565         (PTHREAD_RWLOCK_INITIALIZER,
45566         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
45567         Handle new elision field.
45568         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
45569         * sysdeps/arm/nptl/bits/pthreadtypes.h
45570         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45571         * sysdeps/sh/nptl/bits/pthreadtypes.h
45572         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45573         * sysdeps/tile/nptl/bits/pthreadtypes.h
45574         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45575         * sysdeps/a/nptl/bits/pthreadtypes.h
45576         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45577         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
45578         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45579         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
45580         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45581         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
45582         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45583         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
45584         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45585         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
45586         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45587         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
45588         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45589         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
45590         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45591         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
45592         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45593         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
45594         (elision_init): Set try_xbegin to zero when no RTM.
45595         * sysdeps/x86/nptl/bits/pthreadtypes.h
45596         (pthread_rwlock_t): Change __pad1 to __rwelision.
45597         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45599 2014-06-13  Andi Kleen  <ak@linux.intel.com>
45601         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
45602         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
45603         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
45604         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
45606 2014-06-13  Meador Inge  <meadori@codesourcery.com>
45608         [BZ #16996]
45609         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
45610         that the cached result has been set before returning it.
45612 2014-06-12  Roland McGrath  <roland@hack.frob.com>
45614         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
45615         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
45616         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
45617         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
45618         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
45619         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
45621         * nptl/sysdeps/sparc/Makefile: Moved ...
45622         * sysdeps/sparc/nptl/Makefile: ... here.
45623         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
45624         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
45625         * nptl/sysdeps/sparc/tls.h: Moved ...
45626         * sysdeps/sparc/nptl/tls.h: ... here.
45627         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
45628         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
45629         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
45630         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
45631         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
45632         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
45633         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
45634         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
45635         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
45636         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
45637         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
45638         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
45639         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
45640         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
45641         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
45642         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
45643         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
45644         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
45645         Update #include.
45646         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
45647         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
45648         Update #include.
45649         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
45650         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
45651         Update #include.
45652         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
45653         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
45654         Update #include.
45656         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
45658         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
45659         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
45661         * sysdeps/pthread/posix-timer.h: Include <list.h>.
45662         (struct list_links): Type removed.
45663         (struct thread_node, struct timer_node): Replace struct list_links
45664         with struct list_head.
45665         (list_unlink_ip): Likewise.
45666         * sysdeps/pthread/timer_routines.c
45667         (timer_free_list, thread_free_list, thread_active_list): Likewise.
45668         (list_append, list_insbefore): Likewise.
45669         (list_init): Function removed.
45670         (thread_init, init_module): Use INIT_LIST_HEAD instead.
45671         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
45672         * sysdeps/pthread/Makefile: ... here, new file.
45674         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
45675         * sysdeps/nptl/Implies: ... here.
45676         * sysdeps/unix/sysv/linux/Implies: Add nptl.
45677         * nptl/sysdeps/pthread/list.h: Moved ...
45678         * include/list.h: ... here.
45679         * nptl/sysdeps/pthread/createthread.c: Moved ...
45680         * nptl/createthread.c: ... here.
45681         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
45682         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
45683         * nptl/pt-longjmp.c: ... here.
45684         * nptl/sysdeps/pthread/Makefile: Moved ...
45685         * sysdeps/nptl/Makefile: ... here.
45686         * nptl/sysdeps/pthread/Subdirs: Moved ...
45687         * sysdeps/nptl/Subdirs: ... here.
45688         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
45689         * sysdeps/nptl/aio_misc.h: ... here.
45690         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
45691         * sysdeps/nptl/bits/libc-lock.h: ... here.
45692         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
45693         * sysdeps/nptl/bits/libc-lockP.h: ... here.
45694         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
45695         * sysdeps/nptl/bits/stdio-lock.h: ... here.
45696         * nptl/sysdeps/pthread/configure: Moved ...
45697         * sysdeps/nptl/configure: ... here.
45698         * nptl/sysdeps/pthread/configure.ac: Moved ...
45699         * sysdeps/nptl/configure.ac: ... here.
45700         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
45701         * sysdeps/nptl/gai_misc.h: ... here.
45702         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
45703         * sysdeps/nptl/librt-cancellation.c: ... here.
45704         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
45705         * sysdeps/nptl/malloc-machine.h: ... here.
45706         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
45707         * sysdeps/nptl/pthread-functions.h: ... here.
45708         * nptl/sysdeps/pthread/pthread.h: Moved ...
45709         * sysdeps/nptl/pthread.h: ... here.
45710         * nptl/sysdeps/pthread/setxid.h: Moved ...
45711         * sysdeps/nptl/setxid.h: ... here.
45712         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
45713         * sysdeps/nptl/sigfillset.c: ... here.
45714         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
45715         * sysdeps/nptl/tcb-offsets.h: ... here.
45716         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
45717         * sysdeps/nptl/tst-mqueue8x.c: ... here.
45718         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
45719         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
45720         * nptl/sysdeps/pthread/allocalim.h: Moved ...
45721         * sysdeps/pthread/allocalim.h: ... here.
45722         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
45723         * sysdeps/pthread/bits/sigthread.h: ... here.
45724         * nptl/sysdeps/pthread/flockfile.c: Moved ...
45725         * sysdeps/pthread/flockfile.c: ... here.
45726         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
45727         * sysdeps/pthread/ftrylockfile.c: ... here.
45728         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
45729         * sysdeps/pthread/funlockfile.c: ... here.
45730         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
45731         * sysdeps/pthread/posix-timer.h: ... here.
45732         * nptl/sysdeps/pthread/timer_create.c: Moved ...
45733         * sysdeps/pthread/timer_create.c: ... here.
45734         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
45735         * sysdeps/pthread/timer_delete.c: ... here.
45736         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
45737         * sysdeps/pthread/timer_getoverr.c: ... here.
45738         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
45739         * sysdeps/pthread/timer_gettime.c: ... here.
45740         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
45741         * sysdeps/pthread/timer_routines.c: ... here.
45742         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
45743         * sysdeps/pthread/timer_settime.c: ... here.
45744         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
45745         * sysdeps/pthread/tst-timer.c: ... here.
45746         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
45747         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
45749         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
45750         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
45752         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
45753         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
45754         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
45755         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
45756         Update #include target.
45757         * nptl/sysdeps/i386/i686/Makefile: Moved ...
45758         * sysdeps/i386/i686/nptl/Makefile: ... here.
45759         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
45760         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
45761         Update #include target.
45762         * nptl/sysdeps/i386/i686/tls.h: Moved ...
45763         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
45764         * nptl/sysdeps/i386/Makefile: Moved ...
45765         * sysdeps/i386/nptl/Makefile: ... here.
45766         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
45767         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
45768         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
45769         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
45770         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
45771         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
45772         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
45773         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
45774         * sysdeps/i386/nptl/pthreaddef.h: ... here.
45775         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
45776         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
45777         * nptl/sysdeps/i386/tls.h: Moved ...
45778         * sysdeps/i386/nptl/tls.h: ... here.
45780         * sysdeps/sh/Makefile [$(subdir) = csu]
45781         (gen-as-const-headers): Add tcb-offsets.sym.
45782         * nptl/sysdeps/sh/Makefile: File removed.
45783         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
45784         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
45785         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
45786         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
45787         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
45788         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
45789         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
45790         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
45791         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
45792         * sysdeps/sh/nptl/pthreaddef.h: ... here.
45793         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
45794         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
45795         * nptl/sysdeps/sh/tls.h: Moved ...
45796         * sysdeps/sh/nptl/tls.h: ... here.
45797         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
45798         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
45799         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
45800         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
45801         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
45802         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
45803         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
45804         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
45805         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
45806         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
45807         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
45808         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
45809         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
45810         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
45811         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
45812         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
45813         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
45814         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
45815         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
45816         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
45817         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
45818         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
45819         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
45820         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
45821         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
45822         Moved ...
45823         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
45824         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
45825         Moved ...
45826         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
45827         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
45828         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
45829         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
45830         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
45831         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
45832         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
45833         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
45834         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
45835         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
45836         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
45837         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
45838         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
45839         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
45840         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
45841         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
45842         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
45843         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
45844         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
45846 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
45848         * posix/spawn_faction_addopen.c: Include string.h.
45850 2014-06-11  Roland McGrath  <roland@hack.frob.com>
45852         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
45853         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
45854         * nptl/sysdeps/x86_64/Makefile: Moved ...
45855         * sysdeps/x86_64/nptl/Makefile: ... here.
45856         * nptl/sysdeps/x86_64/configure: Moved ...
45857         * sysdeps/x86_64/nptl/configure: ... here.
45858         * nptl/sysdeps/x86_64/configure.ac: Moved ...
45859         * sysdeps/x86_64/nptl/configure.ac: ... here.
45860         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
45861         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
45862         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
45863         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
45864         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
45865         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
45866         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
45867         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
45868         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
45869         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
45870         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
45871         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
45872         * nptl/sysdeps/x86_64/tls.h: Moved ...
45873         * sysdeps/x86_64/nptl/tls.h: ... here.
45874         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
45875         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
45876         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
45877         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
45879         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
45881 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45885 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
45887         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
45888         type.
45889         [POSIX] (off_t): Likewise.
45890         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
45891         [POSIX] (S_ISBLK): Require macro.
45892         [POSIX] (S_ISCHR): Likewise.
45893         [POSIX] (S_ISDIR): Likewise.
45894         [POSIX] (S_ISFIFO): Likewise.
45895         [POSIX] (S_ISREG): Likewise.
45896         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
45897         optional-macro.
45898         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
45899         type.
45900         [POSIX] (time_t): Likewise.
45901         [POSIX] (timer_t): Likewise.
45903 2014-06-11  Florian Weimer  <fweimer@redhat.com>
45905         [BZ #17048]
45906         * posix/spawn_int.h (struct __spawn_action): Make the path string
45907         non-const to support deallocation.
45908         * posix/spawn_faction_addopen.c
45909         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
45910         * posix/spawn_faction_destroy.c
45911         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
45912         path in all spawn_do_open actions.
45913         * posix/tst-spawn.c (do_test): Exercise the copy operation in
45914         posix_spawn_file_actions_addopen.
45916 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
45918         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
45919         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
45920         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
45921         conditional code always true.
45922         (__libc_vfork): New alias.
45924 2014-06-11  Roland McGrath  <roland@hack.frob.com>
45926         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45927         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
45929         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
45931         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45932         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
45934         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
45935         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
45937         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45938         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
45940 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45942         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
45943         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
45944         multiarch strcmp for PPC64.
45945         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
45946         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
45947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
45948         multiarch optimizations.
45949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45950         (__libc_ifunc_impl_list): Likewise.
45952 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45954         * benchtests/scripts/validate_benchout.py: New script.
45955         * benchtests/Makefile (bench-func): Call it.
45956         * benchtests/scripts/benchout.schema.json: New file.
45958 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
45960         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
45961         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
45962         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
45963         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
45964         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
45965         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
45966         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
45967         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
45968         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
45969         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
45970         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
45971         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
45972         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
45973         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
45974         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
45975         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
45976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
45977         Moved ...
45978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
45979         ... here.
45980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
45981         Moved ...
45982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
45983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
45984         Moved ...
45985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
45986         ... here.
45987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
45988         Moved ...
45989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
45990         ... here.
45991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
45992         Moved ...
45993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
45994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
45995         Moved ...
45996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
45997         ... here.
45998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
45999         Moved ...
46000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
46001         ... here.
46002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
46003         Moved ...
46004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
46005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
46006         Moved ...
46007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
46008         ... here.
46009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
46010         Moved ...
46011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
46012         ... here.
46013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
46014         Moved ...
46015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
46016         ... here.
46017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
46018         Moved ...
46019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
46020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
46021         Moved ...
46022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
46023         ... here.
46024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
46025         Moved ...
46026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
46027         ... here.
46028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
46029         Moved ...
46030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
46031         ... here.
46032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
46033         Moved ...
46034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
46035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
46036         Moved ...
46037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
46038         ... here.
46039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
46040         Moved ...
46041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
46042         ... here.
46043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
46044         Moved ...
46045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
46046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
46047         Moved ...
46048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
46049         ... here.
46050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
46051         Moved ...
46052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
46053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
46054         Moved ...
46055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
46056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
46057         Moved ...
46058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
46059         ... here.
46060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
46061         Moved ...
46062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
46063         ... here.
46064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
46065         Moved ...
46066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
46067         ... here.
46068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
46069         Moved ...
46070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
46071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
46072         Moved ...
46073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
46074         ... here.
46075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
46076         Moved ...
46077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
46078         ... here.
46079         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
46080         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
46081         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
46082         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
46083         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
46084         Moved ...
46085         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
46086         ... here.
46087         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
46088         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
46089         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
46090         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
46091         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
46092         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
46093         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
46094         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
46095         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
46096         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
46097         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
46098         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
46099         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
46100         Moved ...
46101         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
46102         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
46103         Moved ...
46104         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
46105         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
46106         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
46107         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
46108         Moved ...
46109         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
46110         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
46111         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
46112         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
46113         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
46114         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
46115         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
46117 2014-06-10  Wilco  <wdijkstr@arm.com>
46119         * math/test-fenv-return.c: New file.
46120         * math/Makefile: Add new test test-fenv-return.
46122 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
46124         [BZ #17042]
46125         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
46126         when x - 1 is zero.
46127         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
46128         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
46129         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
46130         0.0L for an argument of 1.0L.
46131         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
46132         Likewise.
46133         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
46134         value when x - 1 is zero.
46135         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
46136         * sysdeps/i386/fpu/libm-test-ulps: Update.
46137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46139 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
46141         [BZ #15119]
46142         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
46144 2014-06-09  Roland McGrath  <roland@hack.frob.com>
46146         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
46147         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
46149 2014-06-09  Roland McGrath  <roland@hack.frob.com>
46151         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46152         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
46154         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46155         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
46157         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46158         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
46160         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46161         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
46163         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
46164         if not already defined.
46165         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
46166         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
46167         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
46168         (TLS_INIT_TP): Use it.
46169         (TLS_DEFINE_INIT_TP): New macro.
46170         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
46172 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
46174         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
46175         constant.
46176         [POSIX] (IXANY): Likewise.
46177         [POSIX] (OLCUC): Likewise.
46178         [POSIX || POSIX2008] (CBAUD): Do not allow.
46179         [POSIX || POSIX2008] (DEFECHO): Likewise.
46180         [POSIX || POSIX2008] (ECHOCTL): Likewise.
46181         [POSIX || POSIX2008] (ECHOKE): Likewise.
46182         [POSIX || POSIX2008] (ECHOPRT): Likewise.
46183         [POSIX || POSIX2008] (EXTA): Likewise.
46184         [POSIX || POSIX2008] (EXTB): Likewise.
46185         [POSIX || POSIX2008] (FLUSHO): Likewise.
46186         [POSIX || POSIX2008] (LOBLK): Likewise.
46187         [POSIX || POSIX2008] (PENDIN): Likewise.
46188         [POSIX || POSIX2008] (SWTCH): Likewise.
46189         [POSIX || POSIX2008] (VDISCARD): Likewise.
46190         [POSIX || POSIX2008] (VDSUSP): Likewise.
46191         [POSIX || POSIX2008] (VLNEXT): Likewise.
46192         [POSIX || POSIX2008] (VREPRINT): Likewise.
46193         [POSIX || POSIX2008] (VSTATUS): Likewise.
46194         [POSIX || POSIX2008] (VWERASE): Likewise.
46195         (B*): Change to B[0123456789]*.
46196         * conform/data/time.h-data [POSIX || UNIX98]
46197         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
46198         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46199         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
46200         [POSIX] (tm_*): Do not allow.
46202 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
46204         * Makefile (install): Don't set LANGUAGE.
46205         * Makefile.in (install): Likewise.
46206         * assert/Makefile (test-assert-ENV): Remove variable.
46207         (test-assert-perr-ENV): Likewise.
46208         * elf/Makefile (neededtest4-ENV): Likewise.
46209         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46210         [$(cross-compiling) = no]: Don't set LANGUAGE.
46211         * io/ftwtest-sh (LANG): Remove variable.
46212         * libio/Makefile (tst-widetext-ENV): Likewise.
46213         * manual/install.texi (Running make install): Don't refer to
46214         environment settings for make install.
46215         * INSTALL: Regenerated.
46216         * nptl/tst-tls6.sh: Don't set LANG.
46217         * posix/globtest.sh (LANG): Remove variable.
46218         * string/Makefile (tester-ENV): Likewise.
46219         (inl-tester-ENV): Likewise.
46220         (noinl-tester-ENV): Likewise.
46221         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46222         [$(cross-compiling) = no]: Don't set LANGUAGE.
46223         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
46224         without explicit environment settings.
46226 2014-06-06  Roland McGrath  <roland@hack.frob.com>
46228         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
46229         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
46230         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
46231         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
46233 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
46235         * crypt/crypt-private.h [DOS]: Add some includes taken from the
46236         other files in the crypt directory.
46237         * crypt/crypt.c: Remove duplicate includes.
46238         * crypt/crypt-entry.c: Likewise.
46239         * crypt/crypt_util.c: Likewise.
46241 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
46243         * Makeconfig (run-program-env): New variable.
46244         (run-program-prefix-before-env): Likewise.
46245         (run-program-prefix-after-env): Likewise.
46246         (run-program-prefix): Define in terms of new variables.
46247         (built-program-cmd-before-env): New variable.
46248         (built-program-cmd-after-env): Likewise.
46249         (built-program-cmd): Define in terms of new variables.
46250         (test-program-prefix-before-env): New variable.
46251         (test-program-prefix-after-env): Likewise.
46252         (test-program-prefix): Define in terms of new variables.
46253         (test-program-cmd-before-env): New variable.
46254         (test-program-cmd-after-env): Likewise.
46255         (test-program-cmd): Define in terms of new variables.
46256         * Rules (make-test-out): Use $(run-program-env).
46257         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
46258         (help): Do not mention environment variables.  Mention
46259         --timeoutfactor option.
46260         (timeoutfactor): New variable.
46261         (blacklist_exports): Remove function.
46262         (exports): Remove variable.
46263         (command): Do not include ${exports}.
46264         * manual/install.texi (Configuring and compiling): Do not mention
46265         test wrappers preserving environment variables.  Mention that last
46266         assignment to a variable must take precedence.
46267         * INSTALL: Regenerated.
46268         * benchtests/Makefile (run-bench): Use $(run-program-env).
46269         * catgets/Makefile ($(objpfx)test1.cat): Use
46270         $(built-program-cmd-before-env), $(run-program-env) and
46271         $(built-program-cmd-after-env).
46272         ($(objpfx)test2.cat): Do not specify environment variables
46273         explicitly.
46274         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
46275         $(run-program-env) and $(built-program-cmd-after-env).
46276         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
46277         $(run-program-env) and $(test-program-cmd-after-env).
46278         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
46279         explicitly.
46280         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
46281         run_program_env and test_program_cmd_after_env arguments.
46282         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
46283         * elf/tst-pathopt.sh: Use run_program_env argument.
46284         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
46285         $(test-wrapper-env) and $(run-program-env).
46286         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
46287         run_program_env arguments.
46288         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
46289         * intl/Makefile ($(objpfx)tst-gettext.out): Use
46290         $(test-program-prefix-before-env), $(run-program-env) and
46291         $(test-program-prefix-after-env).
46292         ($(objpfx)tst-gettext2.out): Likewise.
46293         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
46294         run_program_env and test_program_prefix_after_env arguments.
46295         * intl/tst-gettext2.sh: Likewise.
46296         * intl/tst-gettext4.sh: Do not set environment variables
46297         explicitly.
46298         * intl/tst-gettext6.sh: Likewise.
46299         * intl/tst-translit.sh: Likewise.
46300         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
46301         $(test-program-prefix-before-env), $(run-program-env) and
46302         $(test-program-prefix-after-env).
46303         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
46304         run_program_env and test_program_prefix_after_env arguments.
46305         * math/Makefile (run-regen-ulps): Use $(run-program-env).
46306         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
46307         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
46308         explicitly with each use of ${test_wrapper_env}.
46309         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
46310         $(test-program-prefix-before-env), $(run-program-env) and
46311         $(test-program-prefix-after-env).
46312         * posix/tst-getconf.sh: Do not set environment variables
46313         explicitly.
46314         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
46315         run_program_env and test_program_prefix_after_env arguments.
46316         * stdio-common/tst-printf.sh: Do not set environment variables
46317         explicitly.
46318         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
46319         $(test-program-prefix-before-env), $(run-program-env) and
46320         $(test-program-prefix-after-env).
46321         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
46322         run_program_env and test_program_prefix_after_env arguments.
46323         Split $test calls into $test_pre and $test.
46324         * timezone/Makefile (build-testdata): Use
46325         $(built-program-cmd-before-env), $(run-program-env) and
46326         $(built-program-cmd-after-env).
46328 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46330         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
46331         strlen for non SHARED builds.
46333 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46335         * nptl/allocatestack.c (check_list): Inlined function...
46336         (__reclaim_stacks): ... here.
46338 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
46340         [BZ #15698]
46341         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46342         memory overrun.
46344 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
46346         * Rules (make-test-out): Include
46347         LOCPATH=$(common-objpfx)localedata in default environment.
46348         * debug/Makefile (tst-chk1-ENV): Remove variable.
46349         (tst-chk2-ENV): Likewise.
46350         (tst-chk3-ENV): Likewise.
46351         (tst-chk4-ENV): Likewise.
46352         (tst-chk5-ENV): Likewise.
46353         (tst-chk6-ENV): Likewise.
46354         (tst-lfschk1-ENV): Likewise.
46355         (tst-lfschk2-ENV): Likewise.
46356         (tst-lfschk3-ENV): Likewise.
46357         (tst-lfschk4-ENV): Likewise.
46358         (tst-lfschk5-ENV): Likewise.
46359         (tst-lfschk6-ENV): Likewise.
46360         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
46361         (tst-iconv7-ENV): Likewise.
46362         * intl/Makefile (LOCPATH-ENV): Likewise.
46363         (tst-codeset-ENV): Likewise.
46364         (tst-gettext3-ENV): Likewise.
46365         (tst-gettext5-ENV): Likewise.
46366         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
46367         (tst-fopenloc-ENV): Likewise.
46368         (tst-fgetws-ENV): Remove variable.
46369         (tst-ungetwc1-ENV): Likewise.
46370         (tst-ungetwc2-ENV): Likewise.
46371         (bug-ungetwc2-ENV): Likewise.
46372         (tst-swscanf-ENV): Likewise.
46373         (bug-ftell-ENV): Likewise.
46374         (tst-fgetwc-ENV): Likewise.
46375         (tst-fseek-ENV): Likewise.
46376         (tst-ftell-partial-wide-ENV): Likewise.
46377         (tst-ftell-active-handler-ENV): Likewise.
46378         (tst-ftell-append-ENV): Likewise.
46379         * posix/Makefile (tst-fnmatch-ENV): Likewise.
46380         (tst-regexloc-ENV): Likewise.
46381         (bug-regex1-ENV): Likewise.
46382         (tst-regex-ENV): Likewise.
46383         (tst-regex2-ENV): Likewise.
46384         (bug-regex5-ENV): Likewise.
46385         (bug-regex6-ENV): Likewise.
46386         (bug-regex17-ENV): Likewise.
46387         (bug-regex18-ENV): Likewise.
46388         (bug-regex19-ENV): Likewise.
46389         (bug-regex20-ENV): Likewise.
46390         (bug-regex22-ENV): Likewise.
46391         (bug-regex23-ENV): Likewise.
46392         (bug-regex25-ENV): Likewise.
46393         (bug-regex26-ENV): Likewise.
46394         (bug-regex30-ENV): Likewise.
46395         (bug-regex32-ENV): Likewise.
46396         (bug-regex33-ENV): Likewise.
46397         (bug-regex34-ENV): Likewise.
46398         (bug-regex35-ENV): Likewise.
46399         (tst-rxspencer-ENV): Likewise.
46400         (tst-rxspencer-no-utf8-ENV): Likewise.
46401         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
46402         (tst-sscanf-ENV): Likewise.
46403         (tst-swprintf-ENV): Likewise.
46404         (tst-swscanf-ENV): Likewise.
46405         (test-vfprintf-ENV): Likewise.
46406         (scanf13-ENV): Likewise.
46407         (bug14-ENV): Likewise.
46408         (tst-grouping-ENV): Likewise.
46409         * stdlib/Makefile (tst-strtod-ENV): Likewise.
46410         (tst-strtod3-ENV): Likewise.
46411         (tst-strtod4-ENV): Likewise.
46412         (tst-strtod5-ENV): Likewise.
46413         (testmb2-ENV): Likewise./
46414         * string/Makefile (tst-strxfrm-ENV): Likewise.
46415         (tst-strxfrm2-ENV): Likewise.
46416         (bug-strcoll1-ENV): Likewise.
46417         (test-strcasecmp-ENV): Likewise.
46418         (test-strncasecmp-ENV): Likewise.
46419         * time/Makefile (tst-strptime-ENV): Likewise.
46420         (tst-ftime_l-ENV): Likewise.
46421         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
46422         (tst-mbrtowc-ENV): Likewise.
46423         (tst-wcrtomb-ENV): Likewise.
46424         (tst-mbrtowc2-ENV): Likewise.
46425         (tst-c16c32-1-ENV): Likewise.
46426         (tst-mbsnrtowcs-ENV): Likewise.
46428 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
46430         * manual/resource.texi (How to get information about the memory
46431         subsystem?): Fix typo.
46432         Reported by Peon de la Parra Ivan <peon@keba.com>
46434 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
46436         [BZ #16882]
46437         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
46438         (pthread_spin_lock): Branch out of spin loop to proper location.
46439         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
46440         (pthread_spin_lock): Likewise.
46442         * nptl/tst-spin4.c: New test.
46443         * nptl/Makefile (tests): Add tst-spin4.
46445 2014-06-03  Andreas Schwab  <schwab@suse.de>
46447         [BZ #15946]
46448         * resolv/res_send.c (send_dg): Reload file descriptor after
46449         calling reopen.
46451 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
46453         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46455 2014-06-03  Richard Henderson  <rth@redhat.com>
46457         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
46458         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
46459         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
46460         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
46461         in the SAVE_PID block.
46462         (__libc_vfork): New alias.
46463         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
46465         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
46466         child in registers, not on the stack.  Remove RESET_PID conditionals.
46467         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
46469 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46471         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46473 2014-06-03  Wilco  <wdijkstr@arm.com>
46475         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
46476         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
46477         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
46478         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
46479         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
46480         Likewise.
46482 2014-06-03  Wilco  <wdijkstr@arm.com>
46484         * sysdeps/aarch64/fpu/math_private.h
46485         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
46486         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
46487         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
46488         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
46489         Fix declarations.
46491 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46493         * crypt/crypt-private.h: Include ufc-crypt.h.
46494         (__b64_from_24bit): Declare extern.
46495         * crypt/crypt_util.c(__b64_from_24bit): New function.
46496         (b64t): New static const variable.
46497         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
46498         (b64t): Remove variable.
46499         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
46500         * crypt/sha256-crypt.c: Include crypt-private.h.
46501         (b64t): Remove variable.
46502         (__sha256_crypt_r): Remove b64_from_24bit and replace
46503         with __b64_from_24bit.
46504         * crypt/sha512-crypt.c: Likewise.
46506 2014-06-02  Roland McGrath  <roland@hack.frob.com>
46508         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
46509         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
46510         Label the code __libc_vfork rather than __vfork.
46511         [!NOT_IN_libc] (vfork): Define as weak alias.
46512         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
46513         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
46514         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
46516 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46518         * malloc/malloc.c (malloc_info): Fix format specifier for
46519         n_mmaps.
46521 2014-06-02  Wilco  <wdijkstr@arm.com>
46523         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
46524         FPCR write.
46526 2014-06-02  Wilco  <wdijkstr@arm.com>
46528         [BZ #17009]
46529         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
46530         Rewrite to reduce FPCR/FPSR accesses.
46532 2014-06-01  David S. Miller  <davem@davemloft.net>
46534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46536 2014-05-31  David S. Miller  <davem@davemloft.net>
46538         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
46539         to occur in round to nearest mode when |x| >= 2.0
46541 2014-05-30  Richard Henderson  <rth@twiddle.net>
46543         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
46544         (PSEUDO_RET_NOERRNO): Remove.
46545         (ret): Don't redefine.
46546         (ret_NOERRNO): Define in terms of ret.
46547         (ret_ERRVAL): Likewise.
46549         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
46550         use of PSEUDO_RET; perform the error check directly.
46552 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
46554         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
46555         with __int128_t.
46557 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46559         * malloc/malloc (malloc_info): Fix formatting.
46561 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46562             Roland McGrath  <roland@hack.frob.com>
46564         * malloc/malloc (malloc_info): Also print mmapped statistics.
46566 2014-05-30  Roland McGrath  <roland@hack.frob.com>
46568         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
46569         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
46571 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
46573         * malloc/malloc.c (malloc_info): Inline mi_arena.
46575 2014-05-29  Richard Henderson  <rth@twiddle.net>
46577         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
46578         Remove comma before expanding ASM_ARGS_##nr.
46579         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
46580         Make _x0 a strict output; make _x8 a strict input; adjust expansion
46581         of ASM_ARGS_##nr.
46582         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
46583         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
46584         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
46585         (ASM_ARGS_1): Add leading comma.
46587         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
46588         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
46589         to __errno_location.
46590         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
46591         Remove the expected plt for __errno_location.
46593         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46594         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
46595         call to __read_tp.
46597         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46598         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
46599         it and break it down.
46600         (DOCARGS_0, DOCARGS_1): Do nothing.
46601         (DOCARGS_2): Update to store into the new stack frame.
46602         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
46603         (UNDOCARGS_1): Update to restore from the new stack frame.
46604         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
46605         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
46607         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46608         (SINGLE_THREAD_P): New parameter for result regno.
46609         (PSEUDO): Update to match; use cbz instead of beq.
46611         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46612         Use ENTRY to define the _nocancel entry point.  Share the syscall
46613         and syscall error check paths with the cancel path.
46614         (PSEUDO_END): New.
46616         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
46617         whitespace; tabs before and after asm mnemonics.
46619 2014-05-29  Eric Wong  <normalperson@yhbt.net>
46621         [BZ #15132]
46622         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46623         Call fstat64 or stat64 internally, depending on arguments passed.
46624         Replace stat buffer argument with file descriptor argument.
46625         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
46626         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
46627         Pass fd to __internal_statvfs instead of calling fstat64.
46628         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
46629         Pass fd to __internal_statvfs64 instead of calling fstat64.
46630         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
46631         Pass -1 to __internal_statvfs instead of calling stat64.
46632         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
46633         Pass -1 to __internal_statvfs64 instead of calling stat64.
46635 2014-05-28  Roland McGrath  <roland@hack.frob.com>
46637         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
46638         that was previously under [RESET_PID].
46639         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
46641         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
46642         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
46644 2014-05-27  Roland McGrath  <roland@hack.frob.com>
46646         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
46648         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
46649         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
46651 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
46653         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
46655 2014-05-27  Andreas Schwab  <schwab@suse.de>
46657         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
46658         TLS_INIT_TP macro.
46659         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
46660         * elf/rtld.c (init_tls, dl_main): Likewise.
46661         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
46662         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
46663         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
46664         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
46665         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
46666         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
46667         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
46668         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
46669         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
46670         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
46671         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
46672         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
46673         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
46674         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
46675         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
46676         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
46677         * sysdeps/generic/tls.h: Update description.
46679 2014-05-27  Will Newton  <will.newton@linaro.org>
46681         [BZ #16990]
46682         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
46683         and restore r2 rather than just restoring.
46685 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46687         [BZ #16724]
46688         * libio/tst-ftell-append.c: New test case.
46689         * libio/Makefile (tests): Add test case.
46690         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
46691         append mode.
46692         * libio/wfileops.c (do_ftell_wide): Likewise.
46694 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46698         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
46699         ...
46700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
46701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46702         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
46703         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
46704         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
46705         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
46706         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
46707         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
46708         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
46709         Moved ...
46710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
46711         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
46712         Moved ...
46713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
46714         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
46715         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
46716         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
46717         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
46718         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
46719         ...
46720         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
46721         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
46722         Moved ...
46723         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
46724         here.
46725         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
46726         ...
46727         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
46728         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
46729         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
46731         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
46732         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
46733         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
46734         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
46736         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
46737         merge into ...
46738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
46739         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
46740         ...
46741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
46742         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
46743         ...
46744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
46745         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46746         Moved ...
46747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
46748         here.
46749         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46750         Moved ...
46751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
46752         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46753         Moved ...
46754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
46756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
46757         conditional [RESET_PID].
46758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
46759         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
46760         removed.
46761         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
46762         removed.
46764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
46765         <tcb-offsets.h>.
46766         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46767         (__libc_vfork): New strong alias.
46768         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
46769         removed.
46770         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
46771         Removed.
46773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
46774         <tcb-offsets.h>.
46775         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
46776         (__libc_vfork): New strong alias.
46777         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
46778         removed.
46779         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
46780         removed.
46782 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
46784         * malloc/malloc.c (mi_arena): New function.
46785         (malloc_info): Remove nested function mi_arena. Call non-nosted
46786         function mi_arena.
46788 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46790         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
46791         by insrwi.
46792         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
46793         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
46794         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
46795         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
46796         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
46797         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
46798         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
46800 2014-05-26  Andreas Schwab  <schwab@suse.de>
46802         [BZ #16984]
46803         * locale/programs/repertoire.c (repertoire_read): Add slash
46804         between I18NPATH element and file name.
46805         * locale/programs/locfile.c (locfile_read): Likewise.
46807 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
46809         * nptl/pthread_mutexattr_settype.c
46810         (__pthread_mutexattr_settype):
46811         Disable lock elision for PTHREAD_MUTEX_NORMAL.
46813 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
46815         * nptl/tst-mutex5 (do_test):
46816         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
46818 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46820         * benchtests/README: Document 'init' directive.
46821         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
46822         BENCH_INIT.
46823         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
46824         (parse_file): Recognize 'init' directive.
46826 2014-05-26  Kyle McMartin  <kyle@redhat.com>
46828         [BZ #16796]
46829         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
46830         alignment of struct pthread.
46832 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46834         [BZ #16878]
46835         * nscd/netgroupcache.c (addgetnetgrentX): Look for
46836         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
46837         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
46838         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
46840 2014-05-25  Richard Henderson  <rth@twiddle.net>
46842         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46843         (SINGLE_THREAD_P_PIC): Remove.
46844         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
46845         (SINGLE_THREAD_P_PIC): Remove.
46847         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
46848         branch to syscall error ...
46849         (PSEUDO): ... here.
46850         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
46851         from __local_syscall_error to .Lsyscall_error.
46852         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
46853         (SYSCALL_ERROR): Update label name.
46855         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46856         Do not use DOARGS/UNDOARGS.
46857         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
46858         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
46859         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
46860         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
46861         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
46863         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
46864         block comment.
46866         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
46867         define if !NOT_IN_libc.
46868         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
46869         define with non-default symbol versions.
46871 2014-05-23  Richard Henderson  <rth@twiddle.net>
46873         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
46874         (vfork, __vfork): Define via compat_symbol.
46876         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
46877         [!HAVE_IFUNC] (vfork_compat): Remove.
46878         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
46880 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
46882         [BZ #16978]
46883         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
46884         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
46885         variable.
46887 2014-05-23  Richard Henderson  <rth@twiddle.net>
46889         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
46890         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
46891         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
46892         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
46894         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
46895         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
46896         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
46897         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
46898         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
46899         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
46900         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
46901         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
46902         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
46903         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
46904         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
46905         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
46906         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
46907         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
46908         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
46909         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
46910         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
46911         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
46912         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
46913         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
46914         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
46915         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
46916         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
46917         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
46918         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
46919         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
46920         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
46921         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
46922         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
46923         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
46924         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
46925         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
46926         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
46927         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
46928         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
46929         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
46930         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
46931         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
46932         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
46933         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
46934         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
46935         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
46936         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
46937         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
46938         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
46939         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
46940         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
46941         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
46942         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
46943         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
46944         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
46945         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
46946         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
46947         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
46948         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
46949         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
46951         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
46952         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
46953         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
46954         before exiting on error.
46955         (__libc_vfork): New strong alias.
46956         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
46957         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
46959         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
46960         that was previously under [RESET_PID].
46961         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
46963         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
46965 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
46967         [BZ #16977]
46968         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
46969         value when x - 1 is zero.
46970         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
46971         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
46972         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
46973         0.0L for an argument of 1.0L.
46974         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
46975         Likewise.
46976         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
46977         value when x - 1 is zero.
46978         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
46979         * sysdeps/i386/fpu/libm-test-ulps: Update.
46980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46982 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46984         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
46985         alphasort and versionsort.
46987 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46989         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
46990         macro.
46991         [copysignf]: Likewise.
46993 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46995         * crypt/md5-crypt.c: Fix formatting.
46997 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46999         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
47000         (b64_from_24bit): New function.
47002 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47004         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
47005         libc_hidden_builtin_def to ifunc.
47006         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47007         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
47009 2014-05-21  Roland McGrath  <roland@hack.frob.com>
47011         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
47012         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
47014 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
47016         * nscd/Depend (linuxthreads): Remove.
47017         (nptl): Add.
47018         * resolv/Depend (linuxthreads): Remove.
47019         * rt/Depend (linuxthreads): Remove.
47021         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
47022         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
47023         $(common-objpfx)elf/.
47024         (link-libc-before-gnulib): Likewise.
47025         (elfobjdir): Remove variable.
47026         * Makefile (install): Use $(elf-objpfx) instead of
47027         $(common-objpfx)elf/.
47028         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
47029         $(elfobjdir)/.
47030         (link-libc-deps): Likewise.
47031         ($(common-objpfx)libc.so): Likewise.
47032         ($(common-objpfx)linkobj/libc.so): Likewise.
47033         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
47034         instead of $(common-objpfx)elf/.
47035         (symbolic-link-list): Likewise.
47036         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47037         [$(cross-compiling) = no]: Likewise.
47038         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
47039         $(elfobjdir)/.
47040         (static-gnulib-arch): Likewise.
47041         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47042         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
47043         $(common-objpfx)elf/.
47045 2014-05-21  Richard Henderson  <rth@redhat.com>
47047         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47048         (SINGLE_THREAD_P): Use the correct width load.  Fold
47049         into the ldr offset.
47051         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
47052         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
47054 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
47056         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
47057         (libgcc_s_resume): Use __attribute_used__.
47058         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
47059         Likewise.
47061 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47063         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
47064         optimization when used with float constants.
47066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47068 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
47070         [BZ #16915]
47071         * locale/nl_langinfo_l.c: Make direct reference to every
47072         _nl_current_CATEGORY symbol.
47073         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
47074         (tests-static): Add tst-langinfo-static.
47075         (tests-special): Add tst-langinfo-static.out.
47076         ($(objpfx)tst-langinfo.out): Redirect output.
47077         ($(objpfx)tst-langinfo-static.out): New.
47078         * localedata/tst-langinfo.sh: Send output to stdout.
47079         * localedata/tst-langinfo-static.c: New file.
47081         [BZ #16965]
47082         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
47083         when the shift amount is modulo the limb size.
47085 2014-05-20  Richard Henderson  <rth@redhat.com>
47087         [BZ #16967]
47088         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
47089         Change type of sa_flags from unsigned int to int.
47091         [BZ #16966]
47092         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
47094         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
47096 2014-05-20  Will Newton  <will.newton@linaro.org>
47098         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47099         Test the return value of the system call in the nocancel case.
47101 2014-05-20  Will Newton  <will.newton@linaro.org>
47102             Yvan Roux  <yvan.roux@linaro.org>
47104         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
47105         #include of asm/ptrace.h.
47106         (PTRACE_GET_THREAD_AREA): Remove #undef.
47107         (PTRACE_GETHBPREGS): Likewise.
47108         (PTRACE_SETHBPREGS): Likewise.
47109         (struct user_regs_struct): New structure.
47110         (struct user_fpsimd_struct): New structure.
47111         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
47112         #include of asm/ptrace.h and second #include of sys/user.h.
47113         (PTRACE_GET_THREAD_AREA): Remove #undef.
47114         (PTRACE_GETHBPREGS): Likewise.
47115         (PTRACE_SETHBPREGS): Likewise.
47116         (ELF_NGREG): Use new struct user_regs_struct.
47117         (elf_fpregset_t): Use new struct user_fpsimd_struct.
47119 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47121         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
47122         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
47124 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
47126         [BZ #16958]
47127         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
47128         membar to avoid block loads/stores to overlap previous stores.
47130 2014-05-17  Richard Henderson  <rth@redhat.com>
47132         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
47133         Create the __##syscall_name##_nocancel entry point.
47134         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
47135         Remove; let the sysdep-cancel.h code create it.
47137 2014-05-17  David S. Miller  <davem@davemloft.net>
47139         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
47140         Protect with __USE_GNU.
47141         (TIOCSET_TEMPT): Likewise.
47142         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47143         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
47144         these are already provided in bits/ioctl-types.h
47146 2014-05-16  Roland McGrath  <roland@hack.frob.com>
47148         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
47149         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
47151         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
47152         Use wait4 regardless of [__NR_waitpid].
47154 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47156         PR libgcc/60166
47157         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47158         (_FP_NANSIGN_Q): Set the quiet bit.
47160 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
47162         * benchtests/Makefile
47163         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
47164         not $(common-objpfx)math/libm.so.
47165         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
47166         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
47167         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
47168         $(common-objpfx)dlfcn/libdl.so.
47169         ($(objpfx)tst-audit8): Depend on $(libm), not
47170         $(common-objpfx)math/libm.so.
47171         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
47172         not $(common-objpfx)dlfcn/libdl.so.
47173         * math/Makefile
47174         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47175         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
47176         [$(build-shared) = yes].
47177         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
47178         $(common-objpfx)nptl/libpthread.so.
47179         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
47180         $(common-objpfx)math/libm.so$(libm.so-version) or
47181         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
47182         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
47183         $(common-objpfx)dlfcn/libdl.so.
47184         * setjmp/Makefile (link-libm): Remove variable.
47185         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
47186         * stdio-common/Makefile (link-libm): Remove variable.
47187         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
47188         * stdlib/Makefile (link-libm): Remove variable.
47189         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
47190         ($(objpfx)tst-strtod-round): Likewise.
47191         ($(objpfx)tst-tininess): Likewise.
47192         ($(objpfx)tst-strtod-underflow): Likewise.
47193         ($(objpfx)tst-strtod6): Likewise.
47194         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
47195         $(libdl), not $(common-objpfx)nptl/libpthread.so and
47196         $(common-objpfx)dlfcn/libdl.so.
47198 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47200         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
47201         BSD terminal modes definitions.
47203 2014-05-16  Roland McGrath  <roland@hack.frob.com>
47205         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
47206         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
47208         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
47209         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
47210         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
47211         Don't do #include_next.
47212         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
47213         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
47214         Don't do #include_next.
47215         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
47216         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
47217         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
47218         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
47220 2014-05-16  Allan McRae  <allan@archlinux.org>
47222         * po/sv.po: Update Swedish translation from translation project.
47224         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
47225         in sed expression.
47227 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
47229         [BZ #16917]
47230         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
47231         errno if the TIOCGPTN ioctl fails with an error different than
47232         EINVAL.
47233         * login/tst-ptsname.c: New file.
47234         * login/Makefile (tests): Add tst-ptsname.
47236         [BZ #16943]
47237         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
47238         and prlimit64.
47240 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47242         [BZ #16849]
47243         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
47244         herrno to return EAI_AGAIN.
47246 2014-05-14  Roland McGrath  <roland@hack.frob.com>
47248         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
47249         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
47250         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
47251         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
47252         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
47253         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
47254         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
47255         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
47256         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
47257         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
47258         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
47259         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
47260         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
47261         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
47262         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
47263         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
47264         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
47265         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
47266         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
47267         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
47268         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
47269         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
47270         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
47271         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
47272         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
47273         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
47274         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
47275         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
47276         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
47277         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
47278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
47279         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
47280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
47281         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
47282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47283         Moved ...
47284         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
47285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
47286         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
47287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
47288         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
47289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
47290         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
47291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
47292         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
47293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
47294         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
47295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
47296         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
47297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
47298         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
47299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
47300         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
47301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
47302         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
47303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
47304         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
47305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
47306         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
47307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
47308         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
47309         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
47310         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
47311         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47312         Moved ...
47313         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
47314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
47315         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
47316         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
47317         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
47318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
47319         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
47320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
47321         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
47322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
47323         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
47324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
47325         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
47326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
47327         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
47328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
47329         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
47330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
47331         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
47332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47333         Moved ...
47334         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
47335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
47336         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
47338         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
47339         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
47340         (libpthread-sysdep_routines): Add elision-related stuff here instead.
47341         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
47342         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
47343         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
47344         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
47345         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
47346         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
47347         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
47348         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
47349         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
47350         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
47351         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
47352         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
47353         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
47354         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
47355         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
47356         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
47357         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
47358         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
47359         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
47360         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
47361         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
47362         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
47363         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
47364         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
47365         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
47366         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
47367         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
47368         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
47370         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
47371         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
47373         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
47374         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
47375         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
47376         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
47377         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
47378         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
47379         Moved ...
47380         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
47381         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
47382         Moved ...
47383         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
47384         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
47385         Moved ...
47386         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
47387         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
47388         Moved ...
47389         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
47390         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
47391         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
47392         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
47393         Moved ...
47394         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
47395         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
47396         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
47397         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
47398         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
47399         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
47400         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
47401         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
47402         Moved ...
47403         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
47404         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
47405         Moved ...
47406         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
47407         ... here.
47408         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
47409         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
47410         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
47411         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
47412         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
47413         Moved ...
47414         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
47415         ... here.
47416         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
47417         Moved ...
47418         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
47419         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
47420         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
47421         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
47422         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
47423         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
47424         Moved ...
47425         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
47426         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
47427         Moved ...
47428         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
47429         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
47430         Moved ...
47431         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
47432         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
47433         Moved ...
47434         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
47435         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
47436         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
47437         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
47438         Moved ...
47439         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
47440         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
47441         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
47442         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
47443         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
47444         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
47445         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
47446         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
47447         Moved ...
47448         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
47449         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
47450         Moved ...
47451         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
47452         ... here.
47453         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
47454         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
47455         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
47456         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
47457         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
47458         Moved ...
47459         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
47460         ... here.
47461         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
47462         Moved ...
47463         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
47464         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
47465         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
47466         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
47467         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
47468         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
47469         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
47470         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
47471         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
47472         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
47473         Moved ...
47474         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
47475         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
47476         Moved ...
47477         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
47478         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
47479         Moved ...
47480         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
47481         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
47482         Moved ...
47483         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
47484         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
47485         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
47486         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
47487         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
47488         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
47489         Moved ...
47490         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
47491         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
47492         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
47493         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
47494         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
47495         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
47496         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
47497         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
47498         Moved ...
47499         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
47500         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
47501         Moved ...
47502         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
47503         ... here.
47504         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
47505         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
47506         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
47507         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
47508         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
47509         Moved ...
47510         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
47511         ... here.
47512         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
47513         Moved ...
47514         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
47515         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
47516         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
47517         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
47518         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
47519         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
47520         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
47521         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
47522         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
47523         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
47524         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
47526         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
47527         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
47529         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
47530         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
47532         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
47533         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
47534         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
47535         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
47536         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
47537         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
47538         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
47539         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
47540         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
47541         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
47542         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
47543         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
47544         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
47545         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
47546         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
47547         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
47548         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
47549         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
47550         Moved ...
47551         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
47552         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
47553         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
47554         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
47555         Moved ...
47556         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
47557         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
47558         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
47559         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
47560         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
47561         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
47562         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
47563         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
47564         Moved ...
47565         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
47566         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
47567         Moved ...
47568         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
47569         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
47570         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
47571         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
47572         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
47573         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
47574         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
47575         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
47576         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
47577         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
47578         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
47579         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
47580         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
47581         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
47582         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
47583         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
47584         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
47586         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
47587         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
47588         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
47589         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
47590         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
47592         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
47593         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
47594         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
47595         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
47596         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
47597         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
47598         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
47599         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
47600         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
47601         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
47603         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
47604         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
47606         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
47607         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
47608         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
47609         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
47610         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
47611         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
47612         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
47613         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
47614         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
47615         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
47616         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
47617         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
47618         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
47619         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
47620         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
47621         Update #include.
47622         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
47623         Likewise.
47624         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
47625         Likewise.
47626         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
47627         Likewise.
47628         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
47629         Likewise.
47630         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
47631         Likewise.
47632         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
47633         Likewise.
47634         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
47635         Likewise.
47636         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
47637         Likewise.
47638         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
47639         Likewise.
47640         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
47641         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
47642         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
47643         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
47644         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
47645         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
47646         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
47647         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
47648         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
47649         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
47650         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
47651         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
47652         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
47653         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
47654         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
47656         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
47657         that was previously under [RESET_PID].
47658         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47659         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
47660         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
47662         * sysdeps/i386/nptl/Implies: New file.
47663         * sysdeps/x86_64/nptl/Implies: New file.
47664         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
47665         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
47666         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
47667         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
47669         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
47670         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47671         (__libc_vfork): New strong alias.
47672         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
47673         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
47675         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
47676         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47677         (__libc_vfork): New strong alias.
47678         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
47679         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
47681         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
47682         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47683         (__libc_vfork): New strong alias.
47684         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
47685         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
47686         * nptl/pt-vfork.c: New file.
47687         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
47688         (libpthread: GLIBC_2.20): New version set (empty).
47690 2014-05-14  Will Newton  <will.newton@linaro.org>
47692         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
47693         rather than #if.
47695 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
47697         [BZ #16564]
47698         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
47699         arguments with exponent 65 or above.
47700         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
47701         arguments 0x1p113L or above.
47702         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
47703         to arguments 0x1p107L or above.
47704         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
47705         positive arguments with exponent 65 or above.
47706         * math/auto-libm-test-in: Add more tests of log1p.
47707         * math/auto-libm-test-out: Regenerated.
47709         [BZ #16928]
47710         * math/s_cacos.c (__cacos): Ensure zero real part of result from
47711         non-finite arguments is +0.
47712         * math/s_cacosf.c (__cacosf): Likewise.
47713         * math/s_cacosl.c (__cacosl): Likewise.
47714         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
47715         * sysdeps/i386/fpu/libm-test-ulps: Update.
47716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47718         [BZ #16927]
47719         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
47720         value.
47721         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
47722         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
47723         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
47724         for explicit high bit of mantissa when testing for argument equal
47725         to 1.
47726         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
47727         * sysdeps/i386/fpu/libm-test-ulps: Update.
47728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47730         [BZ #16516]
47731         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
47732         (__erf): Scale by 16 instead of 8 in potentially underflowing
47733         case.  Ensure exception if result actually underflows.
47734         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
47735         (__erff): Scale by 16 instead of 8 in potentially underflowing
47736         case.  Ensure exception if result actually underflows.
47737         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
47738         (efx8): Remove variable.
47739         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47740         case.  Ensure exception if result actually underflows.
47741         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
47742         (efx8): Remove variable.
47743         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47744         case.  Ensure exception if result actually underflows.
47745         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
47746         (efx8): Remove variable.
47747         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47748         case.  Ensure exception if result actually underflows.
47749         * math/auto-libm-test-in: Add more tests of erf.
47750         * math/auto-libm-test-out: Regenerated.
47752 2014-05-14  Andreas Schwab  <schwab@suse.de>
47754         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
47755         Remove code conditionalized on USE___THREAD.
47757         * config.h.in (HAVE_PT_CHOWN): Define as 0.
47758         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
47759         not definedness.
47761 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
47763         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
47764         Define unconditionally.
47765         (__ASSUME_O_CLOEXEC): Likewise.
47766         (__ASSUME_SOCK_CLOEXEC): Likewise.
47767         (__ASSUME_IN_NONBLOCK): Likewise.
47768         (__ASSUME_PIPE2): Likewise.
47769         (__ASSUME_EVENTFD2): Likewise.
47770         (__ASSUME_SIGNALFD4): Likewise.
47771         (__ASSUME_DUP3): Likewise.
47772         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47773         (__ASSUME_DUP3): Do not define.
47774         (__ASSUME_EVENTFD2): Likewise.
47775         (__ASSUME_IN_NONBLOCK): Likewise.
47776         (__ASSUME_O_CLOEXEC): Likewise.
47777         (__ASSUME_PIPE2): Likewise.
47778         (__ASSUME_SIGNALFD4): Likewise.
47779         (__ASSUME_SOCK_CLOEXEC): Likewise.
47780         (__ASSUME_UTIMES): Undefine.
47781         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47782         (__ASSUME_UTIMES): Do not define.
47783         (__ASSUME_O_CLOEXEC): Likewise.
47784         (__ASSUME_SOCK_CLOEXEC): Likewise.
47785         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
47786         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
47787         0x020621].
47788         (__ASSUME_PIPE2): Likewise.
47789         (__ASSUME_EVENTFD2): Likewise.
47790         (__ASSUME_SIGNALFD4): Likewise.
47791         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
47792         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
47793         Do not define.
47794         (__ASSUME_EVENTFD2): Likewise.
47795         (__ASSUME_SIGNALFD4): Likewise.
47796         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
47797         (__ASSUME_32BITUIDS): Likewise.
47798         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47799         (__ASSUME_IPC64): Likewise.
47800         (__ASSUME_ST_INO_64_BIT): Likewise.
47801         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
47802         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
47803         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47804         (__ASSUME_UTIMES): Do not define.
47805         (__ASSUME_PSELECT): Likewise.
47806         (__ASSUME_PPOLL): Likewise.
47807         (__ASSUME_O_CLOEXEC): Likewise.
47808         (__ASSUME_SOCK_CLOEXEC): Likewise.
47809         (__ASSUME_IN_NONBLOCK): Likewise.
47810         (__ASSUME_PIPE2): Likewise.
47811         (__ASSUME_EVENTFD2): Likewise.
47812         (__ASSUME_SIGNALFD4): Likewise.
47813         (__ASSUME_DUP3): Likewise.
47814         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47815         (__ASSUME_UTIMES): Likewise.
47816         (__ASSUME_O_CLOEXEC): Likewise.
47817         (__ASSUME_SOCK_CLOEXEC): Likewise.
47818         (__ASSUME_IN_NONBLOCK): Likewise.
47819         (__ASSUME_PIPE2): Likewise.
47820         (__ASSUME_EVENTFD2): Likewise.
47821         (__ASSUME_SIGNALFD4): Likewise.
47822         (__ASSUME_DUP3): Likewise.
47823         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47824         (__ASSUME_UTIMES): Likewise.
47825         (__ASSUME_O_CLOEXEC): Likewise.
47826         (__ASSUME_SOCK_CLOEXEC): Likewise.
47827         (__ASSUME_IN_NONBLOCK): Likewise.
47828         (__ASSUME_PIPE2): Likewise.
47829         (__ASSUME_EVENTFD2): Likewise.
47830         (__ASSUME_SIGNALFD4): Likewise.
47831         (__ASSUME_DUP3): Likewise.
47832         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
47833         Likewise.
47834         (__ASSUME_UTIMES): Likewise.
47835         (__ASSUME_EVENTFD2): Likewise.
47836         (__ASSUME_SIGNALFD4): Likewise.
47837         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47838         (__ASSUME_O_CLOEXEC): Likewise.
47839         (__ASSUME_SOCK_CLOEXEC): Likewise.
47840         (__ASSUME_IN_NONBLOCK): Likewise.
47841         (__ASSUME_PIPE2): Likewise.
47842         (__ASSUME_EVENTFD2): Likewise.
47843         (__ASSUME_SIGNALFD4): Likewise.
47844         (__ASSUME_DUP3): Likewise.
47845         (__ASSUME_UTIMES): Undefine.
47847         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
47848         feclearexcept.  Remove symbol versioning code.
47849         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
47850         symbol versioning code.
47851         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
47852         symbol versioning code.
47853         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
47854         feupdateenv.  Remove symbol versioning code.
47855         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
47856         fegetexceptflag.  Remove symbol versioning code.
47857         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
47858         fesetexceptflag.  Remove symbol versioning code.
47859         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
47860         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
47861         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
47862         (__posix_fadvise64_l32): Remove prototype.
47863         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
47864         code.
47866 2014-05-13  Roland McGrath  <roland@hack.frob.com>
47868         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
47869         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
47870         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
47871         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
47873 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
47875         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
47876         current working directory
47878 2014-05-13  Roland McGrath  <roland@hack.frob.com>
47880         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
47881         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
47882         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
47883         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
47884         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
47885         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
47886         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
47887         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
47888         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
47889         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
47890         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
47891         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
47892         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
47893         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
47894         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
47895         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
47896         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
47897         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
47898         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
47899         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
47900         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
47901         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
47902         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
47903         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
47904         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
47905         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
47906         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
47907         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
47908         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
47909         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
47910         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
47911         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
47912         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
47913         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
47914         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
47915         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
47916         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
47917         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
47918         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
47919         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
47920         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
47921         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
47923         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
47924         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
47926         * sysdeps/unix/sysv/linux/arm/Makefile
47927         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
47928         Add rt-aeabi_unwind_cpp_pr1.
47929         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
47930         Add nptl-aeabi_unwind_cpp_pr1.
47931         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
47932         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
47933         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
47934         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47935         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
47936         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47938         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
47939         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
47940         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
47941         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
47943         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
47944         Deconditionalize the code that was previously under [RESET_PID].
47945         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
47947         * sysdeps/generic/exit-thread.h: New file.
47948         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
47949         * include/unistd.h (__exit_thread): Remove declaration.
47950         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
47951         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
47952         * csu/libc-start.c: Include <exit-thread.h>.
47953         (LIBC_START_MAIN): Pass no argument to __exit_thread.
47954         * nptl/pthread_create.c: Include <exit-thread.h>.
47955         (start_thread): Call __exit_thread in place of __exit_thread_inline.
47956         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
47957         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
47958         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
47959         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
47960         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
47961         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
47962         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
47963         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
47964         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
47965         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
47966         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
47967         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
47968         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
47969         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
47970         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
47971         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
47973 2014-05-13  Andreas Schwab  <schwab@suse.de>
47975         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
47977 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
47979         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47980         (__ASSUME_UTIMES): Do not condition on kernel version.
47981         (__ASSUME_PSELECT): Define unconditionally.
47982         (__ASSUME_PPOLL): Likewise.
47983         (__ASSUME_ATFCTS): Likewise.
47984         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
47985         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
47986         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
47987         (__ASSUME_UTIMENSAT): Define unconditionally.
47988         (__ASSUME_PRIVATE_FUTEX): Likewise.
47989         (__ASSUME_FALLOCATE): Likewise.
47990         (__ASSUME_O_CLOEXEC): Likewise.
47991         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
47992         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
47993         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
47994         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
47995         (__ASSUME_IN_NONBLOCK): Likewise.
47996         (__ASSUME_PIPE2): Likewise.
47997         (__ASSUME_EVENTFD2): Likewise.
47998         (__ASSUME_SIGNALFD4): Likewise.
47999         (__ASSUME_DUP3): Likewise.
48000         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48001         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
48002         (__ASSUME_AT_RANDOM): Likewise.
48003         (__ASSUME_PREADV): Likewise.
48004         (__ASSUME_PWRITEV): Likewise.
48005         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
48006         (__ASSUME_F_GETOWN_EX): Define unconditionally.
48007         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
48008         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48009         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
48010         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48011         (__ASSUME_O_CLOEXEC): Define unconditionally.
48012         (__ASSUME_PSELECT): Do not undefine conditionally.
48013         (__ASSUME_PPOLL): Likewise.
48014         (__ASSUME_ATFCTS): Likewise.
48015         (__ASSUME_SET_ROBUST_LIST): Likewise.
48016         (__ASSUME_UTIMENSAT): Likewise.
48017         (__ASSUME_FDATASYNC): Define unconditionally.
48018         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48019         (__ASSUME_SIGFRAME_V2): Likewise.
48020         )__ASSUME_EVENTFD2): Likewise.
48021         (__ASSUME_SIGNALFD4): Likewise.
48022         (__ASSUME_PSELECT): Do not undefine conditionally.
48023         (__ASSUME_PPOLL): Likewise.
48024         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48025         (__ASSUME_PSELECT): Define unconditionally.
48026         (__ASSUME_PPOLL): Likewise.
48027         (__ASSUME_O_CLOEXEC): Likewise.
48028         (__ASSUME_SOCK_CLOEXEC): Likewise.
48029         (__ASSUME_IN_NONBLOCK): Likewise.
48030         (__ASSUME_PIPE2): Likewise.
48031         (__ASSUME_EVENTFD2): Likewise.
48032         (__ASSUME_SIGNALFD4): Likewise.
48033         (__ASSUME_DUP3): Likewise.
48034         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48035         (__ASSUME_O_CLOEXEC): Likewise.
48036         (__ASSUME_SOCK_CLOEXEC): Likewise.
48037         (__ASSUME_IN_NONBLOCK): Likewise.
48038         (__ASSUME_PIPE2): Likewise.
48039         (__ASSUME_EVENTFD2): Likewise.
48040         (__ASSUME_SIGNALFD4): Likewise.
48041         (__ASSUME_DUP3): Likewise.
48042         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48043         (__ASSUME_EVENTFD2): Likewise.
48044         (__ASSUME_SIGNALFD4): Likewise.
48045         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48047 2014-05-12  Andreas Schwab  <schwab@suse.de>
48049         [BZ #16932]
48050         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
48051         (_nss_nis_gethostbyname4_r): Return error if item length is larger
48052         than maximum RPC packet size.
48053         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
48054         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
48055         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
48056         (_nss_nis_getservbyport_r): Likewise.
48058 2014-05-12  Will Newton  <will.newton@linaro.org>
48060         * malloc/Makefile (tests): Add tst-mallopt.
48061         * malloc/tst-mallopt.c: New file.
48063 2014-05-09  Roland McGrath  <roland@hack.frob.com>
48065         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
48066         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
48068 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48070         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
48071         (tst-tlsmod6.so): Likewise.
48073 2014-05-09  Roland McGrath  <roland@hack.frob.com>
48075         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
48077 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
48079         [BZ #16064]
48080         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
48081         and <dl-procinfo.h>.
48082         (__fegetenv): Save SSE state in envp->__eip if supported.
48083         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
48084         envp->__eip if supported.
48085         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
48086         and <dl-procinfo.h>.
48087         (__fesetenv): Always set __eip, __cs_selector, __opcode,
48088         __data_offset and __data_selector in environment to 0.  Set SSE
48089         state if supported.
48090         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
48091         test-fenv-sse.
48092         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
48093         -mfpmath=sse.
48094         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
48096 2014-05-09  Will Newton  <will.newton@linaro.org>
48098         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
48099         and libc_relro_required for ARM.
48100         * sysdeps/arm/preconfigure: Regenerate.
48102 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
48103             Stefan Liebler  <stli@linux.vnet.ibm.com>
48105         * config.make.in (enable-lock-elision): New Makefile variable.
48106         * configure.ac: Likewise.
48107         * configure: Regenerate.
48108         * sysdeps/s390/configure.ac:
48109         Add check for gcc transactions support.
48110         * sysdeps/s390/configure: Regenerate.
48111         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
48112         Build elision files if enabled.
48113         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
48114         Add lock elision support for s390.
48115         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
48116         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
48117         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
48118         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
48119         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
48120         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
48121         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
48122         Likewise.
48123         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
48124         Likewise.
48125         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
48126         Likewise.
48127         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
48128         Likewise.
48129         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
48130         (__lll_timedlock_elision, __lll_lock_elision)
48131         (__lll_unlock_elision, __lll_trylock_elision)
48132         (lll_timedlock_elision, lll_lock_elision)
48133         (lll_unlock_elision, lll_trylock_elision): Add.
48134         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48135         (pthread_mutex_t): Add lock elision support for s390.
48137 2014-05-14  Wilco  <wdijkstr@arm.com>
48139         * sysdeps/arm/fclrexcpt.c: Cleanup.
48140         * sysdeps/arm/fedisblxcpt.c: Cleanup.
48141         * sysdeps/arm/feenablxcpt.c: Cleanup.
48142         * sysdeps/arm/fegetenv.c: Cleanup.
48143         * sysdeps/arm/fegetexcept.c: Cleanup.
48144         * sysdeps/arm/fegetround.c: Cleanup.
48145         * sysdeps/arm/feholdexcpt.c: Cleanup.
48146         * sysdeps/arm/fesetenv.c: Cleanup.
48147         * sysdeps/arm/fesetround.c: Cleanup.
48148         * sysdeps/arm/feupdateenv.c: Cleanup.
48149         * sysdeps/arm/fgetexcptflg.c: Cleanup.
48150         * sysdeps/arm/fraiseexcpt.c: Cleanup.
48151         * sysdeps/arm/fsetexcptflg.c: Cleanup.
48152         * sysdeps/arm/ftestexcept.c: Cleanup.
48153         * sysdeps/arm/get-rounding-mode.h: Cleanup.
48154         * sysdeps/arm/setfpucw.c: Cleanup.
48156 2014-05-09  Will Newton  <will.newton@linaro.org>
48158         * sysdeps/arm/armv7/strcmp.S: New file.
48159         * NEWS: Mention addition of ARMv7 optimized strcmp.
48161 2014-05-08  Roland McGrath  <roland@hack.frob.com>
48163         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
48164         look for %.ac rather than %.in.
48166         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
48167         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
48168         * sysdeps/mach/hurd/configure: Regenerated.
48169         * sysdeps/unix/sysv/linux/configure: Regenerated.
48171         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
48173 2014-05-07  Steve Ellcey  <sellcey@mips.com>
48175         [BZ #16922]
48176         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
48177         (LONG_SUB): Ditto.
48178         (PTR_SUB): Ditto.
48180 2014-05-07  Andreas Schwab  <schwab@suse.de>
48182         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
48183         when skipping over non-matching result from nscd.
48185 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
48187         [BZ #16876]
48188         * nptl/sockperf.c (client): Check socket return value.
48190         [BZ #16877]
48191         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
48192         nscd security class.
48194 2014-05-06  Roland McGrath  <roland@hack.frob.com>
48196         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
48197         * sysdeps/arm/unwind.h: ... here.
48199 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
48201         [BZ #16916]
48202         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
48203         Define.
48205 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48207         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
48208         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
48209         multiarch strncpy for PPC64.
48210         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
48211         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
48212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
48213         multiarch optimizations.
48214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48215         (__libc_ifunc_impl_list): Likewise.
48216         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
48217         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
48218         multiarch stpncpy for PPC64.
48219         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
48220         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
48222 2014-05-06  Andreas Schwab  <schwab@suse.de>
48224         [BZ #16912]
48225         * gmon/mcount.c (_MCOUNT_DECL): Use
48226         atomic_compare_and_exchange_bool_acq instead of
48227         catomic_compare_and_exchange_bool_acq.
48229 2014-05-05  Roland McGrath  <roland@hack.frob.com>
48231         * elf/Makefile (others, install-bin): Remove pldd.
48232         (pldd-modules): Variable removed.
48233         ($(objpfx)pldd): Target removed.
48234         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
48235         (others, install-bin): Append pldd here.
48236         ($(objpfx)pldd): New target.
48238         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
48239         to 0, so the first #if test emitted later doesn't see it undefined.
48240         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
48241         * sysdeps/gnu/errlist.c: Regenerated.
48243 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48245         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48246         [libc_hidden_builtin_def]: Define to empty value.
48247         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
48248         [libc_hidden_builtin_def]: Likewise.
48249         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
48250         [libc_hidden_builtin_def]: Likewise.
48251         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
48252         [libc_hidden_builtin_def]: Likewise.
48253         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
48254         __redirect_memcpy and define ifunc as default hidden symbol.
48255         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
48256         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
48258 2014-05-04  Adam Conrad  <adconrad@0c3.net>
48260         * locale/iso-4217.def: Reintroduce XDR currency.
48262 2014-05-04  Allan McRae  <allan@archlinux.org>
48264         * po/eo.po: Update Esperanto translation from translation project.
48266 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
48268         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
48269         and FEATURE_INDEX_MAX to 1.
48270         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
48272 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48274         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
48275         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
48276         * iconvdata/big5.c (ONE_DIRECTION): Define.
48277         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
48278         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
48279         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
48280         * iconvdata/cp932.c (ONE_DIRECTION): Define.
48281         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
48282         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
48283         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
48284         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
48285         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
48286         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
48287         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
48288         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
48289         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
48290         * iconvdata/gbk.c (ONE_DIRECTION): Define.
48291         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
48292         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
48293         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
48294         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
48295         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
48296         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
48297         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
48298         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
48299         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
48300         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
48301         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
48302         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
48303         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
48304         * iconvdata/iso646.c (ONE_DIRECTION): Define.
48305         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
48306         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
48307         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
48308         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
48309         * iconvdata/johab.c (ONE_DIRECTION): Define.
48310         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
48311         * iconvdata/sjis.c (ONE_DIRECTION): Define.
48312         * iconvdata/t.61.c (ONE_DIRECTION): Define.
48313         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
48314         * iconvdata/tscii.c (ONE_DIRECTION): Define.
48315         * iconvdata/uhc.c (ONE_DIRECTION): Define.
48316         * iconvdata/unicode.c (ONE_DIRECTION): Define.
48317         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
48318         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
48319         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
48321 2014-05-01  Roland McGrath  <roland@hack.frob.com>
48323         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
48324         (_IO_JUMPS_OFFSET): Define to 0.
48326         * nptl/sysdeps/pthread/bits/libc-lock.h
48327         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
48328         (__libc_lock_define_initialized_recursive): Always define using
48329         initializer.  Modern compilers treat uninitialized (implicit zero) and
48330         explicit zero initializers the same (i.e. put the datum in bss).
48332 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48334         * nscd/nscd-client.h: Include <string.h>.
48336 2014-05-01  David S. Miller  <davem@davemloft.net>
48338         [BZ #16885]
48339         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
48340         multiple zero bytes exist at the end of a string.
48341         Reported by Aurelien Jarno <aurelien@aurel32.net>
48343         * string/test-strcmp.c (check): Add explicit test for situations where
48344         there are multiple zero bytes after the first.
48346 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48348         [BZ #16890]
48349         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
48350         when compiling wprintf.
48351         * stdio-common/tstdiomisc.c (t3): New function.
48352         (main): Call it.
48354 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48356         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
48357         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
48358         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
48359         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
48361 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48363         * stdlib/longlong.h: Updated from GCC.
48365 2014-05-01  Will Newton  <will.newton@linaro.org>
48366             Bernard Ogden  <bernie.ogden@linaro.org>
48368         * NEWS: Update fixed bug list.
48370         [BZ #15119]
48371         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
48373 2014-04-30  David S. Miller  <davem@davemloft.net>
48375         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
48376         (libc_feholdexcept_setround_sparc_ctx): New function.
48377         (libc_fesetenv_sparc_ctx): Likewise.
48378         (libc_feupdateenv_sparc_ctx): Likewise.
48379         (libc_feholdsetround_sparc_ctx): Likewise.
48380         (libc_feholdexcept_setround_ctx): Define.
48381         (libc_feholdexcept_setroundf_ctx): Likewise.
48382         (libc_feholdexcept_setroundl_ctx): Likewise.
48383         (libc_fesetenv_ctx): Likewise.
48384         (libc_fesetenvf_ctx): Likewise.
48385         (libc_fesetenvl_ctx): Likewise.
48386         (libc_feupdateenv_ctx): Likewise.
48387         (libc_feupdateenvf_ctx): Likewise.
48388         (libc_feupdateenvl_ctx): Likewise.
48389         (libc_feresetround_ctx): Likewise.
48390         (libc_feresetroundf_ctx): Likewise.
48391         (libc_feresetroundl_ctx): Likewise.
48392         (libc_feholdsetround_ctx): Likewise.
48393         (libc_feholdsetroundf_ctx): Likewise.
48394         (libc_feholdsetroundl_ctx): Likewise.
48396         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
48397         with __USE_GNU instead of XOPEN cpp guards.
48399         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
48400         0.
48402         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
48403         with XOPEN cpp guards.
48405 2014-04-30  Julian Brown  <julian@codesourcery.com>
48407         [BZ #16888]
48408         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
48409         handling.
48411 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
48413         [BZ #9894]
48414         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
48415         Change to 2.6.32.
48416         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
48417         * sysdeps/unix/sysv/linux/configure: Regenerated.
48418         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
48419         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
48420         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
48421         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
48422         * README: Update reference to required Linux kernel version.
48423         * manual/install.texi (Linux): Update reference to required Linux
48424         kernel headers version.
48425         * INSTALL: Regenerated.
48427         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
48428         header inclusion.
48429         [POSIX] (limits.h): Likewise.
48430         [POSIX] (math.h): Likewise.
48431         [POSIX] (sys/wait.h): Likewise.
48432         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
48433         function.
48434         [POSIX] (stddef.h): Do not allow header inclusion.
48436 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48438         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
48440 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
48442         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
48443         Return immediately after lll_futex_wake.
48445 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48447         [BZ #16791]
48448         * nscd/nscd-client.h (datahead_init_common): Initialize entire
48449         structure.
48450         (datahead_init_pos): Call datahead_init_common early.
48451         (datahead_init_neg): Likewise.
48453         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
48454         datahead_init_neg): New functions.
48455         * nscd/aicache.c (addhstaiX): Use them.
48456         * nscd/grpcache.c (cache_addgr): Likewise.
48457         * nscd/hstcache.c (cache_addhst): Likewise.
48458         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48459         * nscd/netgroupcache.c (do_notfound): Likewise.
48460         (addgetnetgrentX): Likewise.
48461         (addinnetgrX): Likewise.
48462         * nscd/pwdcache.c (cache_addpw): Likewise.
48463         * nscd/servicescache.c (cache_addserv): Likewise.
48465 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48466             Atsushi Onoe  <atsushi@onoe.org>
48468         [BZ #14308]
48469         [BZ #12994]
48470         [BZ #13651]
48471         * resolv/res_query.c (__libc_res_nsearch): Return if at least
48472         one response is valid.
48473         * resolv/res_send.c (send_dg): Check for validity of other
48474         response if the current response is a referral.
48476 2014-04-29  Steve Ellcey  <sellcey@mips.com>
48478         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
48480 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
48482         [BZ #16823]
48483         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
48484         Always divide by positive zero when computing -Inf result.
48485         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48486         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
48488 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48490         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
48491         FPSCR if value do not change.
48492         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48493         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
48494         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
48495         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48496         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
48497         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
48498         function.
48500 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
48502         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
48503         * sysdeps/unix/sysv/linux/hppa: Move directory from
48504         ports/systeps/unix/sysv/linux/hppa.
48505         * README: Update listing for hppa-*-linux-gnu.
48507 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
48509         [BZ #16754]
48510         * manual/stdio.texi (Hook functions): Fix types of stream hook
48511         functions.
48512         [BZ #16854]
48513         * socket/sys/socket.h: Fix typo in comment.
48515 2014-04-28  Wilco  <wdijkstr@arm.com>
48517         * sysdeps/arm/fenv_private.h: New file.
48518         * sysdeps/arm/math_private.h: New file.
48519         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
48521 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
48523         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
48524         with __int128_t.
48525         (La_x86_64_retval): Likewise.
48527 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
48529         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
48530         fpsr if value didn't change.
48531         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
48532         to fpcr if value didn't change.
48533         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
48534         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
48535         fpsr or fpcr if value didn't change.
48536         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
48537         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
48538         fpcr if value didn't change.
48539         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
48540         to fpsr if value didn't change.
48542 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48544         * nptl/tst-sem3.c: Use test-skeleton.c
48545         (main): Rename to do_test.  Use return instead of
48546         exit.
48547         * nptl/tst-sem4.c: Use test-skeleton.c
48548         (main): Rename to do_test.
48550 2014-04-22  David S. Miller  <davem@davemloft.net>
48552         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
48553         (struct sigaction): New struct member __glibc_reserved0, change
48554         type of sa_flags to int.
48556 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
48558         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
48559         (COUNT_LEADING_ZEROS_0): Define for AArch64.
48561 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48563         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
48564         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
48566 2014-04-22  Will Newton  <will.newton@linaro.org>
48567             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
48569         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
48570         (__longjmp): Add longjmp and longjmp_target SystemTap
48571         probes.
48572         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
48573         (__sigsetjmp): Add setjmp SystemTap probe.
48575 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
48577         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
48578         match manual order.
48580 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48582         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
48584         * sysdeps/powerpc/fpu/fenv_private.h
48585         (libc_feholdexcept_setroundl_ctx): Define to
48586         libc_feholdexcept_setround_ppc_ctx.
48587         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
48588         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
48589         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
48590         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
48592 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
48594         * sysdeps/aarch64/math-tests.h: New file.
48596 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
48598         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
48599         New.
48600         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48601         Check and set bit_AVX2_Usable.
48602         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
48603         macro.
48604         (bit_AVX2): Likewise.
48605         (index_AVX2_Usable): Likewise.
48606         (CPUID_AVX2): Likewise.
48607         (HAS_AVX2): Likewise.
48609 2014-04-17  Will Newton  <will.newton@linaro.org>
48611         * manual/setjmp.texi (System V contexts): Add note that
48612         calling setcontext on a context created by a call to a
48613         signal handler is undefined.  Update text to note that
48614         setcontext from a signal handler is possible but not
48615         recommended.
48617         [BZ #16629]
48618         * stdlib/tst-setcontext.c: Include signal.h.
48619         (main): Check that the signal stack before and
48620         after swapcontext is the same.
48622         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
48623         Re-implement to restore registers in user code and avoid
48624         rt_sigreturn system call.
48626 2014-04-17  Wilco  <wdijkstr@arm.com>
48628         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
48629         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
48630         * math/test-fenv.c: Skip exception trap tests on targets which only
48631         support non-stop mode.
48633 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
48634             Wilco Dijkstra  <wilco.dijkstra@arm.com>
48636         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
48637         (libc_feholdsetround_aarch64_ctx)
48638         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
48639         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
48640         (libc_feresetround_ctx, libc_feresetroundf_ctx)
48641         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
48642         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
48643         (libc_feresetround_noexl_ctx): Define.
48645 2014-04-16  Richard Henderson  <rth@redhat.com>
48647         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
48649         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
48650         unwind tables.
48652         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
48653         const from the non-libc, non-ldso copy.
48655         * sysdeps/alpha/libm-test-ulps: Regenerate.
48657 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
48658             Wilco Dijkstra  <wilco.dijkstra@arm.com>
48660         * sysdeps/aarch64/fpu/math_private.h: New file.
48662 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48664         * sysdeps/aarch64/libm-test-ulps: Regenerate.
48666 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
48668         [BZ #16275]
48669         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
48670         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
48671         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
48672         Intel MPX bound registers before _dl_profile_fixup.
48673         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
48674         registers after _dl_profile_fixup.  Save and restore bound
48675         registers bnd0/bnd1 when calling _dl_call_pltexit.
48676         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
48677         (LR_BND_OFFSET): Likewise.
48678         (LRV_BND0_OFFSET): Likewise.
48679         (LRV_BND1_OFFSET): Likewise.
48681 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48683         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
48684         to...
48685         * sysdeps/mach/hurd/i386/tls.h: ... here.
48686         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
48687         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
48688         fields.
48690 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48692         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
48694 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
48696         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48698 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
48700         [BZ #14770]
48701         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
48702         * sysdeps/s390/configure: Regenerate.
48704         [BZ #16824]
48705         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
48706         Set round-to-nearest internally to reduce error accumulation.
48708 2014-04-16  Alan Modra  <amodra@gmail.com>
48710         [BZ #16740]
48711         [BZ #16619]
48712         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
48713         * math/libm-test.inc (frexp_test_data): Add tests.
48714         * NEWS: Update fixed bug list.
48716 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48718         * benchtests/Makefile: Depend on libraries in build directory.
48719         (bench-math): Separate out math tests.
48720         (bench-pthread): Separate out pthread tests.
48721         (bench): Include math and pthread tests.
48723 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
48725         [BZ #16831]
48726         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
48727         _dl_debug_initialize.
48729         * configure.ac: Remove SELinux header check.
48730         * configure: Regenerate.
48731         * nscd/selinux.c (perms): Array of const char* to permission names.
48732         (nscd_request_avc_has_perm): Call security_deny_unknown to find
48733         default policy. Call string_to_security_class and string_to_av_perm to
48734         translate strings. Enforce default policy and call avs_has_perm with
48735         results of translated strings.
48737 2014-04-13  David S. Miller  <davem@davemloft.net>
48739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48741 2014-04-12  Allan McRae  <allan@archlinux.org>
48743         [BZ #16838]
48744         * manual/string.texi (Collation Functions): Fix qsort argument
48745         order in example.
48746         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48748 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
48750         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
48751         Make the test a no-op if there are no exceptions defined.
48753 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
48755         * elf/Makefile (tests): make tst-dlopen-aout conditional on
48756         enable-hardcoded-path-in-tests
48758 2014-04-11  Will Newton  <will.newton@linaro.org>
48760         * benchtests/Makefile (extra-objs): Add json-lib.o.
48761         (bench-func): Tidy up JSON output.
48762         * benchtests/bench-skeleton.c: Include json-lib.h.
48763         (main): Use JSON library functions to do output of
48764         benchmark results.
48765         * benchtests/bench-timing-type.c (main): Output the
48766         timing type simply, leaving formatting to the user.
48767         * benchtests/json-lib.c: New file.
48768         * benchtests/json-lib.h: Likewise.
48770 2014-04-11  Torvald Riegel  <triegel@redhat.com>
48772         [BZ #15215]
48773         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
48774         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
48775         memory barriers.  Add comments.
48776         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
48777         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
48778         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
48779         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
48780         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
48781         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
48783 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
48785         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
48786         * sysdeps/s390/s390-64/configure.ac: ... this ...
48787         * sysdeps/s390/configure.ac: ... to here.
48788         * sysdeps/s390/s390-32/configure: Delete file.
48789         * sysdeps/s390/s390-64/configure: Delete file.
48790         * sysdeps/s390/configure: Regenerate.
48792 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
48794         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
48796 2014-04-11  Will Newton  <will.newton@linaro.org>
48798         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
48799         to zero if it is not defined elsewhere.  (mtrim): Test
48800         the value of MALLOC_DEBUG with #if rather than #ifdef.
48802 2014-04-10 Torvald Riegel  <triegel@redhat.com>
48804         * benchtests/pthread_once-inputs: New file.
48805         * benchtests/pthread_once-source.c: New file.
48806         * benchtests/README: Update documentation.
48808 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
48809             H.J. Lu  <hongjiu.lu@intel.com>
48811         [BZ #16275]
48812         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
48813         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
48814         * sysdeps/x86_64/configure: Regenerated.
48815         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
48816         macro.
48817         (REGISTER_SAVE_RAX): Likewise.
48818         (REGISTER_SAVE_RCX): Likewise.
48819         (REGISTER_SAVE_RDX): Likewise.
48820         (REGISTER_SAVE_RSI): Likewise.
48821         (REGISTER_SAVE_RDI): Likewise.
48822         (REGISTER_SAVE_R8): Likewise.
48823         (REGISTER_SAVE_R9): Likewise.
48824         (REGISTER_SAVE_BND0): Likewise.
48825         (REGISTER_SAVE_BND1): Likewise.
48826         (REGISTER_SAVE_BND2): Likewise.
48827         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
48828         bound registers when calling _dl_fixup.
48830 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48832         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
48833         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
48834         of its definition.
48835         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
48836         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
48837         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
48838         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
48839         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
48840         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
48841         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
48843 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
48845         [BZ #15514]
48846         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
48847         pathconf(_PC_NAME_MAX).
48849 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48851         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
48852         Remove macro usage.
48853         (__PTHREAD_SPINS): Move definition to ...
48854         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
48855         (__PTHREAD_SPINS): ... here.
48856         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48857         (__PTHREAD_SPIN): Likewise.
48858         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
48859         (__PTHREAD_SPIN): Likewise.
48860         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
48861         (__PTHREAD_SPIN): Likewise.
48862         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
48863         (__PTHREAD_SPIN): Likewise.
48864         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48865         (__PTHREAD_SPIN): Likewise.
48866         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48867         (__PTHREAD_SPIN): Likewise.
48868         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
48869         (__PTHREAD_SPIN): Likewise.
48870         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48871         (__PTHREAD_SPIN): Likewise.
48872         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48873         (__PTHREAD_SPIN): Likewise.
48874         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48875         (__PTHREAD_SPIN): Likewise.
48876         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48877         (__PTHREAD_SPIN): Likewise.
48878         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
48879         (__PTHREAD_SPIN): Likewise.
48881         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
48882         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
48883         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
48884         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
48885         imply folder.
48886         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
48887         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
48888         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
48889         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
48890         correct imply path.
48891         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
48892         strlen symbol for non multi-arch builds.
48893         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
48894         missing hidden_def and weak_alias.
48896 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
48898         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
48900 2014-04-07  Will Newton  <will.newton@linaro.org>
48902         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
48903         and contents.  [!_LIBC] Remove #ifndef and contents.
48904         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
48905         * string/memccpy.c (__memccpy): Use ANSI prototype.
48906         * string/memfrob.c (memfrob): Likewise.
48907         * string/strcoll.c (STRCOLL): Likewise.
48908         * string/strlen.c (strlen): Likewise.
48909         * string/strtok.c (STRTOK): Likewise.
48910         * string/strcat.c: Remove unused #include of memcopy.h.
48911         (strcat): Use ANSI prototype.
48912         * string/strchr.c: Remove unused #include of memcopy.h.
48913         (strchr): Use ANSI prototype.
48914         * string/strcmp.c: Remove unused #include of memcopy.h.
48915         (strcmp): Use ANSI prototype.
48916         * string/strcpy.c: Remove unused #include of memcopy.h.
48917         (strcpy): Use ANSI prototype.
48919 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48921         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
48922         * config.make.in (config-extra-cppflags): Set it from
48923         libc_extra_cppflags.
48924         * configure.ac (libc_extra_cflags): Make it accumulate over
48925         configure fragments.
48926         (libc_extra_cppflags): New flag.
48927         * configure. Regenerate.
48928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
48929         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
48930         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
48931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
48933         [BZ #16815]
48934         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
48935         result for FE_DOWNWARD rounding mode.
48936         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
48937         Likewise.
48938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48940 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
48942         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
48943         in function argument name.
48945 2014-04-03  David Svoboda  <svoboda@cert.org>
48947         [BZ #5666]
48948         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
48949         explicitly.
48951 2014-04-03  Roland McGrath  <roland@hack.frob.com>
48953         * elf/dl-unmap-segments.h: New file.
48954         * sysdeps/generic/ldsodefs.h
48955         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
48956         * elf/dl-close.c: Include <dl-unmap-segments.h>.
48957         * elf/dl-fptr.c: Likewise.
48958         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
48959         * sysdeps/aarch64/tlsdesc.c: Likewise.
48960         * sysdeps/arm/tlsdesc.c: Likewise.
48961         * sysdeps/i386/tlsdesc.c: Likewise.
48962         * sysdeps/tile/dl-runtime.c: Likewise.
48963         * sysdeps/x86_64/tlsdesc.c: Likewise.
48964         * elf/dl-load.h: New file.
48965         * elf/dl-load.c: Include it.
48966         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
48967         Macros moved to dl-load.h.
48968         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
48969         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
48970         Use _dl_unmap_segments in place of __munmap.
48971         Break out segment-mapping loop into ...
48972         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
48974 2014-04-03  Will Newton  <will.newton@linaro.org>
48976         * elf/dl-lookup.c (do_lookup_x): Remove comment
48977         referring to nested function and move variable
48978         declarations down to before first use.
48980 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
48982         [BZ #16799]
48983         [BZ #16800]
48984         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
48985         with 0 numerator.
48986         * math/s_catanf.c (__catanf): Likewise.
48987         * math/s_catanh.c (__catanh): Likewise.
48988         * math/s_catanhf.c (__catanhf): Likewise.
48989         * math/s_catanhl.c (__catanhl): Likewise.
48990         * math/s_catanl.c (__catanl): Likewise.
48991         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
48992         by positive zero when computing -Inf result.
48993         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
48994         (catanh_test): Likewise.
48995         * sysdeps/i386/fpu/libm-test-ulps: Update.
48996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48998         [BZ #16789]
48999         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
49000         instead of using underflowing value in computing result.
49001         * math/s_clog10.c (__clog10): Likewise.
49002         * math/s_clog10f.c (__clog10f): Likewise.
49003         * math/s_clog10l.c (__clog10l): Likewise.
49004         * math/s_clogf.c (__clogf): Likewise.
49005         * math/s_clogl.c (__clogl): Likewise.
49006         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
49007         (clog10_test): Likewise.
49008         * sysdeps/i386/fpu/libm-test-ulps: Update.
49009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49011 2014-04-02  Alan Modra  <amodra@gmail.com>
49013         [BZ #16739]
49014         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
49015         output when value is near a power of two.  Use int64_t for lx and
49016         remove casts.  Use decimal rather than hex exponent constants.
49017         Don't use long double multiplication when double will suffice.
49018         * math/libm-test.inc (nextafter_test_data): Add tests.
49019         * NEWS: Add 16739 and 16786 to bug list.
49021         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
49023         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
49025 2014-04-01  Will Newton  <will.newton@linaro.org>
49027         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
49028         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
49030 2014-04-01  Florian Weimer  <fweimer@redhat.com>
49032         [BZ #13347]
49033         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
49034         * nptl/tst-setuid2.c: New file.
49035         * nptl/Makefile (xtests): Add tst-setuid2.
49037 2014-04-01  Alan Modra  <amodra@gmail.com>
49039         [BZ #16786]
49040         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
49042 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
49044         [BZ #6803]
49045         [BZ #6804]
49046         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
49047         set errno as appropriate.
49048         * math/w_scalbf.c (__scalbf): Likewise.
49049         * math/w_scalbl.c (__scalbl): Likewise.
49050         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
49051         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
49052         * math/libm-test.inc (scalb_test_data): Add errno expectations.
49053         Add more NaN tests.
49055         [BZ #16349]
49056         * math/w_atan2.c: Include <errno.h>.
49057         (__atan2): Set errno for result underflowing to zero.
49058         * math/w_atan2f.c: Include <errno.h>.
49059         (__atan2f): Set errno for result underflowing to zero.
49060         * math/w_atan2l.c: Include <errno.h>.
49061         (__atan2l): Set errno for result underflowing to zero.
49062         * math/auto-libm-test-in: Don't allow missing errno for some atan2
49063         tests.
49064         * math/auto-libm-test-out: Regenerated.
49066 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49068         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
49069         Encode instruction correctly in little endian.
49070         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
49071         Likewise.
49072         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
49073         Likewise.
49074         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
49075         Likewise.
49076         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
49077         Likewise.
49079 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
49081         [BZ #9894]
49082         * sysdeps/unix/sysv/linux/kernel-features.h
49083         [__sparc__ && !__arch64__ && !__sparc_v9__]
49084         (__ASSUME_SET_ROBUST_LIST): Do not define.
49085         [__sparc__ && !__arch64__ && !__sparc_v9__]
49086         (__ASSUME_FUTEX_LOCK_PI): Likewise.
49087         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
49088         Likewise.
49089         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49090         (__ASSUME_FUTEX_LOCK_PI): Undefine.
49091         (__ASSUME_REQUEUE_PI): Likewise.
49092         (__ASSUME_SET_ROBUST_LIST): Likewise.
49093         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49094         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
49095         Undefine.
49096         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49097         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
49098         Likewise.
49099         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
49100         Likewise.
49101         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
49102         Likewise.
49103         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49104         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
49105         Undefine.
49106         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
49107         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
49108         Likewise.
49110         [BZ #16648]
49111         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49112         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
49113         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
49115 2014-03-31  Will Newton  <will.newton@linaro.org>
49117         * benchtests/Makefile (bench): Add ffs and ffsll to list
49118         of tests.
49119         * benchtests/ffs-inputs: New file.
49120         * benchtests/ffsll-inputs: Likewise.
49122 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
49124         [BZ #16770]
49125         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
49126         too large before casting to int.
49127         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
49128         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
49129         * math/libm-test.inc (scalb_test_data): Add more tests.
49131 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49133         * benchtests/Makefile (DETAILED_OPT): New make option.
49134         (bench-func): Run benchmark program with -d if DETAILED_OPT is
49135         set.
49136         * benchtests/bench-skeleton.c: Include stdbool.h.
49137         (main): Store and print timings per input.
49138         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
49139         member to each argument value.
49140         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
49141         (_print_arg_data): Initialize per-input timing to 0.
49143         * benchtests/Makefile (timing-type): New binary.
49144         (bench-clean): Also remove bench-timing-type.
49145         (bench): New target for timing-type.
49146         (bench-func): Print output in JSON format.
49147         * benchtests/bench-skeleton.c (main): Print output in JSON
49148         format.
49149         * benchtests/bench-timing-type.c: New file.
49150         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
49151         (TIMING_PRINT_STATS): Remove.
49152         * benchtests/scripts/bench.py (_print_arg_data): Store variant
49153         name separately.
49155         * benchtests/bench-modf.c: Remove.
49156         * benchtests/modf-inputs: New inputs file.
49158 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
49160         [BZ #16362]
49161         * math/s_clog10.c (M_PI_LOG10E): New macro.
49162         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
49163         imaginary parts are 0.
49164         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
49165         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
49166         imaginary parts are 0.
49167         * math/s_clog10l.c (M_PI_LOG10El): New macro.
49168         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
49169         imaginary parts are 0.
49170         * math/libm-test.inc (clog10_test_data): Update expected results
49171         for when real and imaginary parts are 0.
49173 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
49175         * elf/dl-load.c: Finish conversion of __builtin_expect into
49176         __glibc_{un}likely.
49178 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
49180         [BZ #16348]
49181         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
49182         1+x for argument with exponent below -67.
49183         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
49184         Likewise.
49185         * math/auto-libm-test-in: Add more tests of exp.
49186         * math/auto-libm-test-out: Regenerated.
49188 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49190         [BZ #16759]
49191         * inet/getnetgrent_r.c (get_nonempty_val): New function.
49192         (nscd_getnetgrent): Use it.
49194         [BZ #16760]
49195         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
49196         of stpcpy.
49198 2014-03-27  Andi Kleen  <ak@linux.intel.com>
49200         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
49201         (lll_robust_lock, lll_cond_lock, lll_timedlock)
49202         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
49203         (lll_robust_unlock): Remove out of line section. Use cfi
49204         intrinsics.
49205         (LLL_STUB_UNWIND_INFO*): Remove.
49206         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
49207         (lll_robust_lock, lll_cond_lock, lll_timedlock)
49208         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
49209         (lll_robust_unlock): Remove out of line section. Use cfi
49210         intrinsics.
49211         (LLL_STUB_UNWIND_INFO*): Remove.
49213 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49215         [BZ #16758]
49216         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
49217         blank values.
49219 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
49221         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
49223 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
49225         [BZ #16198]
49226         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
49227         fnstenv.
49228         * math/test-fenv-preserve.c: New file.
49229         * math/Makefile (tests): Add test-fenv-preserve.
49231 2014-03-26  Will Newton <will.newton@linaro.org>
49233         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
49235 2014-03-25  Roland McGrath  <roland@hack.frob.com>
49237         * scripts/versionlist.awk: Partition the version sets and emit all
49238         GLIBC_* (sorted) before all others (sorted).
49240 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
49242         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
49243         GLIBC_2.2.5 version.
49245 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49247         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
49248         calls.
49250         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
49251         previous change.
49253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49255 2014-03-25  Andreas Schwab  <schwab@suse.de>
49257         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
49258         label to be used after in6ailist is initialized.
49260 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49262         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49263         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
49265 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
49267         [BZ #16357]
49268         [BZ #16599]
49269         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
49270         min_plus_half.
49271         (fp_formats): Update initializers.
49272         (init_fp_formats): Initialize new field.
49273         (output_for_one_input_case): Allow underflow for results up to
49274         min_plus_half.
49275         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
49276         * math/auto-libm-test-in: Don't mark some underflows from asin and
49277         atanh as spurious.
49278         * math/auto-libm-test-out: Regenerated.
49279         * sysdeps/i386/fpu/libm-test-ulps: Update.
49280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49282 2014-03-25  Andreas Schwab  <schwab@suse.de>
49284         * libio/Makefile (tst-ftell-partial-wide-ENV)
49285         (tst-ftell-active-handler-ENV): Define.
49287 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
49289         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
49291 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
49293         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
49295 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
49297         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
49298         * sysdeps/x86_64/fpu/multiarch/e_exp.c
49299         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
49301 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
49303         [BZ #16634]
49304         * elf/dl-load.c (open_verify): Add mode parameter.
49305         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
49306         (open_path): Change from boolean 'secure' to complete flag 'mode'
49307         (_dl_map_object): Adjust.
49308         * elf/Makefile (tests): Add tst-dlopen-aout.
49309         * elf/tst-dlopen-aout.c: New test.
49311 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
49313         [BZ #16714]
49314         * sysdeps/unix/sysv/linux/s390/bits/stat.h
49315         (struct stat): Rename member pad0 to __glibc_reserved0.
49317         [BZ #16712]
49318         * sysdeps/s390/s390-32/bits/wordsize.h
49319         (__WORDSIZE32_SIZE_ULONG): New define.
49320         * sysdeps/s390/s390-64/bits/wordsize.h
49321         (__WORDSIZE32_SIZE_ULONG): Likewise.
49322         * sysdeps/generic/stdint.h (SIZE_MAX):
49323         Define as UL if __WORDSIZE32_SIZE_ULONG.
49325         [BZ #16713]
49326         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
49327         (__glibc_reserved0): New variable.
49328         (sa_flags): Change type to int.
49330         * posix/Makefile (before-compile): Use += before-compile instead
49331         of a :=.
49333         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49334         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
49336 2014-03-20  Andreas Schwab  <schwab@suse.de>
49338         [BZ #16743]
49339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
49340         non-matching result from nscd.
49342 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49344         * scripts/bench.py: Moved to ...
49345         * benchtests/scripts/bench.py: ... here.
49346         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
49348 2014-03-24  Andreas Schwab  <schwab@suse.de>
49350         [BZ #16002]
49351         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
49352         alloca_account and account alloca use for struct in6ailist.
49354 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
49356         [BZ #16284]
49357         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
49358         rounding mode to recompute results that overflow to infinity or
49359         underflow to zero.
49360         * math/auto-libm-test-in: Don't mark tests as expected to fail for
49361         bug 16284.
49362         * math/auto-libm-test-out: Regenerated.
49363         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
49364         (ccosh_test): Likewise.
49365         (csin_test_data): Use plus_oflow.
49366         (csin_test): Use ALL_RM_TEST.
49367         (csinh_test_data): Use plus_oflow.
49368         (csinh_test): Use ALL_RM_TEST.
49369         * sysdeps/i386/fpu/libm-test-ulps: Update.
49370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49372 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
49374         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
49375         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
49376         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
49378         [BZ #16731]
49379         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
49380         when x - 1 is zero.
49381         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
49382         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
49383         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49384         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
49385         argument is 1.
49386         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
49387         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
49388         zero.
49389         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
49390         * sysdeps/i386/fpu/libm-test-ulps: Update.
49391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49393 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49395         * scripts/bench.pl: Remove file.
49396         * scripts/bench.py: New benchmark script.
49397         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
49398         * benchtests/README: Mention python dependency.
49399         * scripts/pylintrc: New file.
49400         * scripts/pylint: New file.
49402         * bits/mathdef.h: Use #ifdef instead of #if.
49403         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
49404         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49405         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
49406         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49407         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
49408         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49410 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49411             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49413         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
49414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
49415         and strpbrk-ppc64 objects.
49416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49417         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
49418         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
49419         multiarch strpbrk for POWER7.
49420         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
49421         multiarch strpbrk for PPC64.
49422         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
49423         ifunc selector.
49424         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
49425         strpbrk for POWER7.
49427 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
49429         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
49430         (atan_test): Likewise.
49431         (atanh_test_data): Use NO_TEST_INLINE for two tests.
49432         (atanh_test): Use ALL_RM_TEST.
49433         (atan2_test_data): Likewise.
49434         (cabs_test): Likewise.
49435         (cacosh_test): Likewise.
49436         (carg_test): Likewise.
49437         (casin_test): Likewise.
49438         (casinh_test): Likewise.
49439         (cbrt_test): Likewise.
49440         (csqrt_test): Likewise.
49441         (erf_test): Likewise.
49442         (erfc_test): Likewise.
49443         (pow10_test): Likewise.
49444         (exp2_test): Likewise.
49445         (hypot_test): Likewise.
49446         (j0_test): Likewise.
49447         (j1_test): Likewise.
49448         (lgamma_test): Likewise.
49449         (gamma_test): Likewise.
49450         (sincos_test): Likewise.
49451         (tanh_test): Likewise.
49452         (y0_test): Likewise.
49453         (y1_test): Likewise.
49454         * sysdeps/i386/fpu/libm-test-ulps: Update.
49455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49457 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49459         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
49460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
49461         and strcspn-ppc64 objects.
49462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49463         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
49464         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
49465         multiarch strcspn for POWER7.
49466         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
49467         multiarch strcspn for PPC64.
49468         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
49469         ifunc selector.
49470         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
49471         strcspn for POWER7.
49473 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
49475         * math/gen-libm-test.pl (generate_testfile): Expect only function
49476         name as argument to AUTO_TESTS_* and pass results for all rounding
49477         modes to parse_args.
49478         (parse_auto_input): Separate inputs of automatic tests from
49479         outputs before storing in %auto_tests.
49480         * math/libm-test.inc (acos_test_data): Update call to
49481         AUTO_TESTS_f_f.
49482         (acos_test): Use ALL_RM_TEST.
49483         (acos_tonearest_test_data): Remove.
49484         (acos_test_tonearest): Likewise.
49485         (acos_towardzero_test_data): Likewise.
49486         (acos_test_towardzero): Likewise.
49487         (acos_downward_test_data): Likewise.
49488         (acos_test_downward): Likewise.
49489         (acos_upward_test_data): Likewise.
49490         (acos_test_upward): Likewise.
49491         (acosh_test_data): Update call to AUTO_TESTS_f_f.
49492         (asin_test_data): Likewise.
49493         (asin_test): Use ALL_RM_TEST.
49494         (asin_tonearest_test_data): Remove.
49495         (asin_test_tonearest): Likewise.
49496         (asin_towardzero_test_data): Likewise.
49497         (asin_test_towardzero): Likewise.
49498         (asin_downward_test_data): Likewise.
49499         (asin_test_downward): Likewise.
49500         (asin_upward_test_data): Likewise.
49501         (asin_test_upward): Likewise.
49502         (asinh_test_data): Update call to AUTO_TESTS_f_f.
49503         (atan_test_data): Likewise.
49504         (atanh_test_data): Likewise.
49505         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
49506         (cabs_test_data): Update call to AUTO_TESTS_c_f.
49507         (carg_test_data): Likewise.
49508         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
49509         (ccos_test_data): Update call to AUTO_TESTS_c_c.
49510         (ccosh_test_data): Likewise.
49511         (cexp_test_data): Likewise.
49512         (clog_test_data): Likewise.
49513         (clog10_test_data): Likewise.
49514         (cos_test_data): Update call to AUTO_TESTS_f_f.
49515         (cos_test): Use ALL_RM_TEST.
49516         (cos_tonearest_test_data): Remove.
49517         (cos_test_tonearest): Likewise.
49518         (cos_towardzero_test_data): Likewise.
49519         (cos_test_towardzero): Likewise.
49520         (cos_downward_test_data): Likewise.
49521         (cos_test_downward): Likewise.
49522         (cos_upward_test_data): Likewise.
49523         (cos_test_upward): Likewise.
49524         (cosh_test_data): Update call to AUTO_TESTS_f_f.
49525         (cosh_test): Use ALL_RM_TEST.
49526         (cosh_tonearest_test_data): Remove.
49527         (cosh_test_tonearest): Likewise.
49528         (cosh_towardzero_test_data): Likewise.
49529         (cosh_test_towardzero): Likewise.
49530         (cosh_downward_test_data): Likewise.
49531         (cosh_test_downward): Likewise.
49532         (cosh_upward_test_data): Likewise.
49533         (cosh_test_upward): Likewise.
49534         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
49535         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
49536         (ctan_test_data): Likewise.
49537         (ctan_test): Use ALL_RM_TEST.
49538         (ctan_tonearest_test_data): Remove.
49539         (ctan_test_tonearest): Likewise.
49540         (ctan_towardzero_test_data): Likewise.
49541         (ctan_test_towardzero): Likewise.
49542         (ctan_downward_test_data): Likewise.
49543         (ctan_test_downward): Likewise.
49544         (ctan_upward_test_data): Likewise.
49545         (ctan_test_upward): Likewise.
49546         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
49547         (ctanh_test): Use ALL_RM_TEST.
49548         (ctanh_tonearest_test_data): Remove.
49549         (ctanh_test_tonearest): Likewise.
49550         (ctanh_towardzero_test_data): Likewise.
49551         (ctanh_test_towardzero): Likewise.
49552         (ctanh_downward_test_data): Likewise.
49553         (ctanh_test_downward): Likewise.
49554         (ctanh_upward_test_data): Likewise.
49555         (ctanh_test_upward): Likewise.
49556         (erf_test_data): Update call to AUTO_TESTS_f_f.
49557         (erfc_test_data): Likewise.
49558         (exp_test_data): Likewise.
49559         (exp_test): Use ALL_RM_TEST.
49560         (exp_tonearest_test_data): Remove.
49561         (exp_test_tonearest): Likewise.
49562         (exp_towardzero_test_data): Likewise.
49563         (exp_test_towardzero): Likewise.
49564         (exp_downward_test_data): Likewise.
49565         (exp_test_downward): Likewise.
49566         (exp_upward_test_data): Likewise.
49567         (exp_test_upward): Likewise.
49568         (exp10_test_data): Update call to AUTO_TESTS_f_f.
49569         (exp10_test): Use ALL_RM_TEST.
49570         (exp10_tonearest_test_data): Remove.
49571         (exp10_test_tonearest): Likewise.
49572         (exp10_towardzero_test_data): Likewise.
49573         (exp10_test_towardzero): Likewise.
49574         (exp10_downward_test_data): Likewise.
49575         (exp10_test_downward): Likewise.
49576         (exp10_upward_test_data): Likewise.
49577         (exp10_test_upward): Likewise.
49578         (exp2_test_data): Update call to AUTO_TESTS_f_f.
49579         (expm1_test_data): Likewise.
49580         (expm1_test): Use ALL_RM_TEST.
49581         (expm1_tonearest_test_data): Remove.
49582         (expm1_test_tonearest): Likewise.
49583         (expm1_towardzero_test_data): Likewise.
49584         (expm1_test_towardzero): Likewise.
49585         (expm1_downward_test_data): Likewise.
49586         (expm1_test_downward): Likewise.
49587         (expm1_upward_test_data): Likewise.
49588         (expm1_test_upward): Likewise.
49589         (fma_test_data): Update call to AUTO_TESTS_fff_f.
49590         (fma_test): Use ALL_RM_TEST.
49591         (fma_towardzero_test_data): Remove.
49592         (fma_test_towardzero): Likewise.
49593         (fma_downward_test_data): Likewise.
49594         (fma_test_downward): Likewise.
49595         (fma_upward_test_data): Likewise.
49596         (fma_test_upward): Likewise.
49597         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
49598         (j0_test_data): Update call to AUTO_TESTS_f_f.
49599         (j1_test_data): Likewise.
49600         (jn_test_data): Update call to AUTO_TESTS_if_f.
49601         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
49602         (log_test_data): Update call to AUTO_TESTS_f_f.
49603         (log10_test_data): Likewise.
49604         (log1p_test_data): Likewise.
49605         (log2_test_data): Likewise.
49606         (pow_test_data): Update call to AUTO_TESTS_ff_f.
49607         (pow_tonearest_test_data): Likewise.
49608         (sin_test_data): Update call to AUTO_TESTS_f_f.
49609         (sin_test): Use ALL_RM_TEST.
49610         (sin_tonearest_test_data): Remove.
49611         (sin_test_tonearest): Likewise.
49612         (sin_towardzero_test_data): Likewise.
49613         (sin_test_towardzero): Likewise.
49614         (sin_downward_test_data): Likewise.
49615         (sin_test_downward): Likewise.
49616         (sin_upward_test_data): Likewise.
49617         (sin_test_upward): Likewise.
49618         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
49619         (sinh_test_data): Update call to AUTO_TESTS_f_f.
49620         (sinh_test): Use ALL_RM_TEST.
49621         (sinh_tonearest_test_data): Remove.
49622         (sinh_test_tonearest): Likewise.
49623         (sinh_towardzero_test_data): Likewise.
49624         (sinh_test_towardzero): Likewise.
49625         (sinh_downward_test_data): Likewise.
49626         (sinh_test_downward): Likewise.
49627         (sinh_upward_test_data): Likewise.
49628         (sinh_test_upward): Likewise.
49629         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
49630         (sqrt_test): Use ALL_RM_TEST.
49631         (sqrt_tonearest_test_data): Remove.
49632         (sqrt_test_tonearest): Likewise.
49633         (sqrt_towardzero_test_data): Likewise.
49634         (sqrt_test_towardzero): Likewise.
49635         (sqrt_downward_test_data): Likewise.
49636         (sqrt_test_downward): Likewise.
49637         (sqrt_upward_test_data): Likewise.
49638         (sqrt_test_upward): Likewise.
49639         (tan_test_data): Update call to AUTO_TESTS_f_f.
49640         (tan_test): Use ALL_RM_TEST.
49641         (tan_tonearest_test_data): Remove.
49642         (tan_test_tonearest): Likewise.
49643         (tan_towardzero_test_data): Likewise.
49644         (tan_test_towardzero): Likewise.
49645         (tan_downward_test_data): Likewise.
49646         (tan_test_downward): Likewise.
49647         (tan_upward_test_data): Likewise.
49648         (tan_test_upward): Likewise.
49649         (tanh_test_data): Update call to AUTO_TESTS_f_f.
49650         (tgamma_test_data): Likewise.
49651         (y0_test_data): Likewise.
49652         (y1_test_data): Likewise.
49653         (yn_test_data): Update call to AUTO_TESTS_if_f.
49654         (main): Do not call removed functions.
49656 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
49658         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
49659         (ldexp_test_data): Remove.
49660         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
49661         scalbn_test_data.
49662         (scalb_test): Use ALL_RM_TEST.
49664 2014-03-19  Andreas Schwab  <schwab@suse.de>
49666         * nscd/nscd.service: Also invalidate netgroup cache on reload.
49668 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
49670         [BZ #16649]
49671         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49672         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
49673         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
49674         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49675         (__ASSUME_PREADV): Undefine.
49676         (__ASSUME_PWRITEV): Likewise.
49678 2014-03-18  Roland McGrath  <roland@hack.frob.com>
49680         * bits/mman-linux.h: Add comment about non-Linux use.
49681         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
49682         bits/mman-linux.h resting place.
49684         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
49685         * bits/mman-linux.h: ... here.
49687 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49689         * conform/conformtest.pl: Add standard definition when calling C
49690         preprocessor on data files.
49691         (checknamespace): Remove unused variable.
49693 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
49695         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
49696         minus_oflow, plus_uflow and minus_uflow in expected results.
49697         * math/libm-test.inc (scalbn_test_data): Add more tests of
49698         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
49699         minus_uflow.
49700         (scalbn_test): Use ALL_RM_TEST.
49701         (scalbln_test_data): Add more tests of negative arguments.  Use
49702         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
49703         (scalbln_test): Use ALL_RM_TEST.
49705 2014-03-18  Roland McGrath  <roland@hack.frob.com>
49707         * scripts/abilist.awk: Ignore symbols marked with .hidden.
49709 2014-03-18  Will Newton  <will.newton@linaro.org>
49711         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
49712         inaccurate comment.
49714 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
49716         * Makerules [!subdir] (check-abi): Exit with error status if a
49717         test failed.
49719 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
49721         * math/libm-test.inc (nearbyint_test_data): Include all tests used
49722         for rint.  Include results for all rounding modes.
49723         (nearbyint_test): Use ALL_RM_TEST.
49724         (rint_test_data): Include all tests used for nearbyint.
49726 2014-03-17  Will Newton  <will.newton@linaro.org>
49728         * nptl/sysdeps/pthread/pthread.h: Revert previous
49729         change.
49731         * sysdeps/generic/ldsodefs.h: Revert previous
49732         change.
49734         * libio/genops.c: Revert previous change.
49735         * libio/libioP.h: Likewise.
49736         * stdio-common/vfprintf.c: Likewise.
49738         * sysdeps/generic/math_private.h: Revert previous
49739         change.
49741         * sysdeps/generic/math_private.h: Check whether
49742         HAVE_RM_CTX is defined with #ifdef rather
49743         than #if.
49745         * argp/argp-fmtstream.h: Check whether
49746         __STRICT_ANSI__ is defined with #ifdef rather
49747         than #if.
49748         * argp/argp.h: Likewise.
49750         * libio/genops.c: Check whether
49751         _IO_JUMPS_OFFSET is defined with #ifdef rather
49752         than #if.
49753         * libio/libioP.h: Likewise.
49754         * stdio-common/vfprintf.c: Likewise.
49756         * sysdeps/generic/ldsodefs.h: Check whether
49757         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
49758         than #if.
49760         * nptl/sysdeps/pthread/pthread.h: Check
49761         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
49762         its value.
49764 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49766         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
49767         setting O_APPEND.
49768         * libio/tst-ftell-active-handler.c (do_append_test): Add a
49769         test case.
49771         [BZ #16680]
49772         * libio/fileops.c (_IO_file_open): Seek to end of file but
49773         don't cache the offset.
49774         (get_file_offset): Remove function.
49775         (do_ftell): Use cached offset when available.
49776         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
49777         don't cache the offset.
49778         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
49779         case.
49780         (do_one_test): Call it.
49781         (do_ftell_test): Fix up expected old offset for a+ mode.
49782         * libio/wfileops.c (do_ftell_wide): Used cached offset when
49783         available.
49785         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
49786         up test status with function return status.
49787         (do_write_test): Likewise.
49788         (do_append_test): Likewise.
49790         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
49791         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
49792         Remove.
49794 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
49796         * math/gen-libm-test.pl (parse_args): Handle results specified for
49797         each rounding mode separately.
49798         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
49799         tests and results from lrint_tonearest_test_data,
49800         lrint_towardzero_test_data, lrint_downward_test_data and
49801         lrint_upward_test_data.
49802         (lrint_test): Use ALL_RM_TEST.
49803         (lrint_tonearest_test_data): Remove.
49804         (lrint_test_tonearest): Likewise.
49805         (lrint_towardzero_test_data): Likewise.
49806         (lrint_test_towardzero): Likewise.
49807         (lrint_downward_test_data): Likewise.
49808         (lrint_test_downward): Likewise.
49809         (lrint_upward_test_data): Likewise.
49810         (lrint_test_upward): Likewise.
49811         (llrint_test_data): Merge in per-rounding-mode tests and results
49812         from llrint_tonearest_test_data, llrint_towardzero_test_data,
49813         llrint_downward_test_data and llrint_upward_test_data.
49814         (llrint_test): Use ALL_RM_TEST.
49815         (llrint_tonearest_test_data): Remove.
49816         (llrint_test_tonearest): Likewise.
49817         (llrint_towardzero_test_data): Likewise.
49818         (llrint_test_towardzero): Likewise.
49819         (llrint_downward_test_data): Likewise.
49820         (llrint_test_downward): Likewise.
49821         (llrint_upward_test_data): Likewise.
49822         (llrint_test_upward): Likewise.
49823         (rint_test_data): Merge in per-rounding-mode tests and results
49824         from rint_tonearest_test_data, rint_towardzero_test_data,
49825         rint_downward_test_data and rint_upward_test_data.  Add
49826         per-rounding-mode results for tests not in those arrays.
49827         (rint_test): Use ALL_RM_TEST.
49828         (rint_tonearest_test_data): Remove.
49829         (rint_test_tonearest): Likewise.
49830         (rint_towardzero_test_data): Likewise.
49831         (rint_test_towardzero): Likewise.
49832         (rint_downward_test_data): Likewise.
49833         (rint_test_downward): Likewise.
49834         (rint_upward_test_data): Likewise.
49835         (rint_test_upward): Likewise.
49836         (main): Don't call removed functions.
49838 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49840         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
49841         "Compiled on ..." crapola.  It is anti-useful.
49843 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
49845         * scripts/evaluate-test.sh: Handle fourth argument to determine
49846         whether test run should stop on failure.
49847         * Makeconfig (stop-on-test-failure): New variable.
49848         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
49849         $(stop-on-test-failure).
49850         * Makefile (tests): Give a summary of results from testing and
49851         exit with failure status if they include an ERROR or FAIL.
49852         (xtests): Likewise.
49853         * manual/install.texi (Configuring and compiling): Mention
49854         stop-on-test-failure=y.
49855         * INSTALL: Regenerated.
49857 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49859         * scripts/versionlist.awk: New file.
49860         * Makerules [$(build-shared) = yes]
49861         (postclean-generated): Add Versions.def, not Versions.def.v and
49862         Versions.def.v.i.
49863         ($(common-objpfx)Versions.def.v.i): Target removed.
49864         ($(common-objpfx)Versions.def): New target.
49865         ($(common-objpfx)Versions.all): Depend on that rather that
49866         $(common-objpfx)Versions.def.v.
49867         * Versions.def: File removed.
49869         * Makeconfig (+gccwarn): Add -Wundef.
49870         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
49871         a dl-sysdep.h breaking its contract.
49872         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
49873         * include/stackinfo.h: New file.
49874         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
49875         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
49876         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
49877         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
49878         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
49879         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
49880         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49881         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49882         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49883         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49884         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49885         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
49886         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49887         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49888         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49890 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49892         [BZ #16707]
49893         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
49894         implementation.
49895         * math/libm-test.inc (round_test_data): Add more tests.
49897         [BZ #16706]
49898         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
49899         implementation.
49900         * math/libm-test.inc (nearbyint_test_data): Add more tests.
49902         [BZ #16701]
49903         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
49904         implementation.
49905         * math/libm-test.inc (ceil_test_data): Add more tests.
49907         * math/libm-test.inc (trunc_test_data): Add more tests related to
49908         BZ#16414.
49910 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49912         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
49913         with #if rather than #ifdef.
49914         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
49916 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
49918         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
49919         first.  Disable AVX-512 GCC support if assembler doesn't support
49920         it.
49921         * sysdeps/x86_64/configure: Regenerated.
49923 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
49925         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
49926         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
49927         (__old_pthread_attr_setstack): Likewise.
49928         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
49929         [!_STACK_GROWS_DOWN]: Likewise.
49931 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
49933         * config.make.in (have-bash2): Delete.
49934         * configure.ac (libc_cv_have_bash2): Delete.
49935         * configure: Regenerate.
49936         * elf/Makefile (common-ldd-rewrite): Rename to ...
49937         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
49938         (sh-ldd-rewrite): Delete.
49939         (bash-ldd-rewrite): Delete.
49940         (have-bash2): Delete checks.
49941         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
49942         ldd-rewrite.
49944         * config.make.in (have-ksh): Delete.
49945         (KSH): Delete.
49946         * configure.ac (libc_cv_have_ksh): Delete.
49947         * configure: Regenerate.
49949         * elf/Makefile: Delete $(have-ksh) check.
49950         ($(objpfx)sotruss): Change KSH to BASH.
49951         * elf/sotruss.ksh: Rename to ...
49952         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
49953         function style to match POSIX.  Drop ksh vim mode setting.
49955         * manual/time.texi (Specifying the Time Zone with TZ): Change
49956         Tuesday to Thursday.
49958         * debug/tst-longjmp_chk2.c: Update header comment.
49959         (stackoverflow_handler): Add comment.  Call assert on pass value.
49961 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
49963         [BZ #16194]
49964         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
49965         (HAVE_AVX512_ASM_SUPPORT): Likewise.
49966         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
49967         (La_x86_64_vector): Add zmm.
49968         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
49969         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
49970         ($(objpfx)tst-audit10): New target.
49971         ($(objpfx)tst-audit10.out): Likewise.
49972         (tst-audit10-ENV): New.
49973         (AVX512-CFLAGS): Likewise.
49974         (CFLAGS-tst-audit10.c): Likewise.
49975         (CFLAGS-tst-auditmod10a.c): Likewise.
49976         (CFLAGS-tst-auditmod10b.c): Likewise.
49977         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
49978         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
49979         * sysdeps/x86_64/configure: Regenerated.
49980         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
49981         AVX-512 zmm register support.
49982         (_dl_x86_64_save_sse): Likewise.
49983         (_dl_x86_64_restore_sse): Likewise.
49984         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
49985         size vector registers.
49986         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
49987         (ZMM_SIZE): Likewise.
49988         * sysdeps/x86_64/tst-audit10.c: New file.
49989         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
49990         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
49992 2014-03-13  Roland McGrath  <roland@hack.frob.com>
49994         * configure.ac (HAVE_EHDR_START): New check.
49995         * configure: Regenerated.
49996         * config.h.in (HAVE_EHDR_START): New #undef.
49997         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
49998         assuming the lowest-addressed segment maps the start of the file.
50000 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
50002         * INSTALL: Regenerated.
50004 2014-03-13  Will Newton  <will.newton@linaro.org>
50006         * manual/setjmp.texi (System V contexts): Improve
50007         clarity and grammar of documentation.
50009 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
50011         [BZ #16381]
50012         * elf/Makefile (tests): Add tst-pie2.
50013         (tests-pie): Add tst-pie2.
50014         * elf/tst-pie2.c: New file.
50015         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
50016         for ET_EXEC.
50017         * elf/rtld.c (map_doit): Load executable as lt_executable.
50018         (dl_main): Likewise.
50020 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
50022         [BZ #16642]
50023         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50024         (__ASSUME_PSELECT): Undefine.
50026 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50028         [BZ #16689]
50029         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
50030         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
50031         static build.
50032         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
50033         selector for static builds.
50035 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50037         [BZ #16695]
50038         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
50039         key in the buffer.
50041 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50043         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
50044         IFUNC selector for static builds.
50046 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
50048         * sysdeps/mips/math_private.h [__mips_hard_float]
50049         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
50050         libc_feresetround_mips_ctx.
50051         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
50052         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
50053         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
50055         [BZ #16677]
50056         * math/s_nextafter.c (__nextafter): Do not return value from
50057         overflowing computation.
50058         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
50059         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
50060         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
50061         Likewise.
50062         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
50063         Likewise.
50064         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
50065         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
50067 2014-03-11  Roland McGrath  <roland@hack.frob.com>
50069         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
50070         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
50071         Move sfi_sp use from the load-multiple (that no longer sets sp) to
50072         the new mov targetting sp.
50074 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50076         [BZ #16683]
50077         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
50078         Define it for static builds as well.
50079         (NO_BZERO_IMPL): Likewise.
50081 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50083         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
50084         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
50085         multiarch strspn for PPC64.
50086         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
50087         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
50088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50089         (__libc_ifunc_impl_list): Likewise.
50090         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
50091         multiarch optimizations
50092         * string/strspn.c (strspn): Using macro to redefine symbol name.
50094 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50095             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50097         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
50098         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
50099         multiarch strncat for PPC64.
50100         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
50101         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
50102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50103         (__libc_ifunc_impl_list): Likewise.
50104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
50105         multiarch optimizations
50107 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50109         [BZ #16639]
50110         * nscd/nscd.service: Make service type forking.
50112 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50114         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
50115         sign in non default rounding modes.
50116         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
50118 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
50120         * math/libm-test.inc (ALL_RM_TEST): New macro.
50121         (ceil_test): Use ALL_RM_TEST.
50122         (cimag_test): Likewise.
50123         (conj_test): Likewise.
50124         (copysign_test): Likewise.
50125         (cproj_test): Likewise.
50126         (creal_test): Likewise.
50127         (fabs_test): Likewise.
50128         (floor_test): Likewise.
50129         (fmax_test): Likewise.
50130         (fmin_test): Likewise.
50131         (fmod_test): Likewise.
50132         (fpclassify_test): Likewise.
50133         (frexp_test): Likewise.
50134         (ilogb_test): Likewise.
50135         (isfinite_test): Likewise.
50136         (finite_test): Likewise.
50137         (isgreater_test): Likewise.
50138         (isgreaterequal_test): Likewise.
50139         (isinf_test): Likewise.
50140         (isless_test): Likewise.
50141         (islessequal_test): Likewise.
50142         (islessgreater_test): Likewise.
50143         (isnan_test): Likewise.
50144         (isnormal_test): Likewise.
50145         (issignaling_test): Likewise.
50146         (isunordered_test): Likewise.
50147         (logb_test): Likewise.
50148         (logb_downward_test_data): Remove.
50149         (logb_test_downward): Likewise.
50150         (lround_test): Use ALL_RM_TEST.
50151         (llround_test): Likewise.
50152         (modf_test): Likewise.
50153         (nexttoward_test): Likewise.
50154         (remainder_test): Likewise.
50155         (drem_test): Likewise.
50156         (remainder_tonearest_test_data): Likewise.
50157         (remainder_test_tonearest): Likewise.
50158         (drem_test_tonearest): Likewise.
50159         (remainder_towardzero_test_data): Likewise.
50160         (remainder_test_towardzero): Likewise.
50161         (drem_test_towardzero): Likewise.
50162         (remainder_downward_test_data): Likewise.
50163         (remainder_test_downward): Likewise.
50164         (drem_test_downward): Likewise.
50165         (remainder_upward_test_data): Likewise.
50166         (remainder_test_upward): Likewise.
50167         (drem_test_upward): Likewise.
50168         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
50169         (round_test): Use ALL_RM_TEST.
50170         (signbit_test): Likewise.
50171         (trunc_test): Likewise.
50172         (significand_test): Likewise.
50173         (main): Don't call removed functions.
50175 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
50177         [BZ #16674]
50178         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
50179         || __USE_XOPEN2K8].
50180         (ILL_ILLOPN): Likewise.
50181         (ILL_ILLADR): Likewise.
50182         (ILL_ILLTRP): Likewise.
50183         (ILL_PRVOPC): Likewise.
50184         (ILL_PRVREG): Likewise.
50185         (ILL_COPROC): Likewise.
50186         (ILL_BADSTK): Likewise.
50187         (FPE_INTDIV): Likewise.
50188         (FPE_INTOVF): Likewise.
50189         (FPE_FLTDIV): Likewise.
50190         (FPE_FLTOVF): Likewise.
50191         (FPE_FLTUND): Likewise.
50192         (FPE_FLTRES): Likewise.
50193         (FPE_FLTINV): Likewise.
50194         (FPE_FLTSUB): Likewise.
50195         (SEGV_MAPERR): Likewise.
50196         (SEGV_ACCERR): Likewise.
50197         (BUS_ADRALN): Likewise.
50198         (BUS_ADRERR): Likewise.
50199         (BUS_OBJERR): Likewise.
50200         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50201         (TRAP_TRACE): Likewise.
50202         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50203         __USE_XOPEN2K8].
50204         (CLD_KILLED): Likewise.
50205         (CLD_DUMPED): Likewise.
50206         (CLD_TRAPPED): Likewise.
50207         (CLD_STOPPED): Likewise.
50208         (CLD_CONTINUED): Likewise.
50209         (POLL_IN): Likewise.
50210         (POLL_OUT): Likewise.
50211         (POLL_MSG): Likewise.
50212         (POLL_ERR): Likewise.
50213         (POLL_PRI): Likewise.
50214         (POLL_HUP): Likewise.
50215         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
50216         Likewise.
50217         (ILL_ILLOPN): Likewise.
50218         (ILL_ILLADR): Likewise.
50219         (ILL_ILLTRP): Likewise.
50220         (ILL_PRVOPC): Likewise.
50221         (ILL_PRVREG): Likewise.
50222         (ILL_COPROC): Likewise.
50223         (ILL_BADSTK): Likewise.
50224         (FPE_INTDIV): Likewise.
50225         (FPE_INTOVF): Likewise.
50226         (FPE_FLTDIV): Likewise.
50227         (FPE_FLTOVF): Likewise.
50228         (FPE_FLTUND): Likewise.
50229         (FPE_FLTRES): Likewise.
50230         (FPE_FLTINV): Likewise.
50231         (FPE_FLTSUB): Likewise.
50232         (SEGV_MAPERR): Likewise.
50233         (SEGV_ACCERR): Likewise.
50234         (BUS_ADRALN): Likewise.
50235         (BUS_ADRERR): Likewise.
50236         (BUS_OBJERR): Likewise.
50237         (BUS_MCEERR_AR): Likewise.
50238         (BUS_MCEERR_AO): Likewise.
50239         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50240         (TRAP_TRACE): Likewise.
50241         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50242         __USE_XOPEN2K8].
50243         (CLD_KILLED): Likewise.
50244         (CLD_DUMPED): Likewise.
50245         (CLD_TRAPPED): Likewise.
50246         (CLD_STOPPED): Likewise.
50247         (CLD_CONTINUED): Likewise.
50248         (POLL_IN): Likewise.
50249         (POLL_OUT): Likewise.
50250         (POLL_MSG): Likewise.
50251         (POLL_ERR): Likewise.
50252         (POLL_PRI): Likewise.
50253         (POLL_HUP): Likewise.
50254         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
50255         (ILL_ILLOPN): Likewise.
50256         (ILL_ILLADR): Likewise.
50257         (ILL_ILLTRP): Likewise.
50258         (ILL_PRVOPC): Likewise.
50259         (ILL_PRVREG): Likewise.
50260         (ILL_COPROC): Likewise.
50261         (ILL_BADSTK): Likewise.
50262         (FPE_INTDIV): Likewise.
50263         (FPE_INTOVF): Likewise.
50264         (FPE_FLTDIV): Likewise.
50265         (FPE_FLTOVF): Likewise.
50266         (FPE_FLTUND): Likewise.
50267         (FPE_FLTRES): Likewise.
50268         (FPE_FLTINV): Likewise.
50269         (FPE_FLTSUB): Likewise.
50270         (SEGV_MAPERR): Likewise.
50271         (SEGV_ACCERR): Likewise.
50272         (BUS_ADRALN): Likewise.
50273         (BUS_ADRERR): Likewise.
50274         (BUS_OBJERR): Likewise.
50275         (BUS_MCEERR_AR): Likewise.
50276         (BUS_MCEERR_AO): Likewise.
50277         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50278         (TRAP_TRACE): Likewise.
50279         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50280         __USE_XOPEN2K8].
50281         (CLD_KILLED): Likewise.
50282         (CLD_DUMPED): Likewise.
50283         (CLD_TRAPPED): Likewise.
50284         (CLD_STOPPED): Likewise.
50285         (CLD_CONTINUED): Likewise.
50286         (POLL_IN): Likewise.
50287         (POLL_OUT): Likewise.
50288         (POLL_MSG): Likewise.
50289         (POLL_ERR): Likewise.
50290         (POLL_PRI): Likewise.
50291         (POLL_HUP): Likewise.
50292         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
50293         Likewise.
50294         (ILL_ILLOPN): Likewise.
50295         (ILL_ILLADR): Likewise.
50296         (ILL_ILLTRP): Likewise.
50297         (ILL_PRVOPC): Likewise.
50298         (ILL_PRVREG): Likewise.
50299         (ILL_COPROC): Likewise.
50300         (ILL_BADSTK): Likewise.
50301         (ILL_BADIADDR): Likewise.
50302         (ILL_BREAK): Likewise.
50303         (FPE_INTDIV): Likewise.
50304         (FPE_INTOVF): Likewise.
50305         (FPE_FLTDIV): Likewise.
50306         (FPE_FLTOVF): Likewise.
50307         (FPE_FLTUND): Likewise.
50308         (FPE_FLTRES): Likewise.
50309         (FPE_FLTINV): Likewise.
50310         (FPE_FLTSUB): Likewise.
50311         (FPE_DECOVF): Likewise.
50312         (FPE_DECDIV): Likewise.
50313         (FPE_DECERR): Likewise.
50314         (FPE_INVASC): Likewise.
50315         (FPE_INVDEC): Likewise.
50316         (SEGV_MAPERR): Likewise.
50317         (SEGV_ACCERR): Likewise.
50318         (SEGV_PSTKOVF): Likewise.
50319         (BUS_ADRALN): Likewise.
50320         (BUS_ADRERR): Likewise.
50321         (BUS_OBJERR): Likewise.
50322         (BUS_MCEERR_AR): Likewise.
50323         (BUS_MCEERR_AO): Likewise.
50324         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50325         (TRAP_TRACE): Likewise.
50326         (TRAP_BRANCH): Likewise.
50327         (TRAP_HWBKPT): Likewise.
50328         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50329         __USE_XOPEN2K8].
50330         (CLD_KILLED): Likewise.
50331         (CLD_DUMPED): Likewise.
50332         (CLD_TRAPPED): Likewise.
50333         (CLD_STOPPED): Likewise.
50334         (CLD_CONTINUED): Likewise.
50335         (POLL_IN): Likewise.
50336         (POLL_OUT): Likewise.
50337         (POLL_MSG): Likewise.
50338         (POLL_ERR): Likewise.
50339         (POLL_PRI): Likewise.
50340         (POLL_HUP): Likewise.
50341         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
50342         (ILL_ILLOPN): Likewise.
50343         (ILL_ILLADR): Likewise.
50344         (ILL_ILLTRP): Likewise.
50345         (ILL_PRVOPC): Likewise.
50346         (ILL_PRVREG): Likewise.
50347         (ILL_COPROC): Likewise.
50348         (ILL_BADSTK): Likewise.
50349         (FPE_INTDIV): Likewise.
50350         (FPE_INTOVF): Likewise.
50351         (FPE_FLTDIV): Likewise.
50352         (FPE_FLTOVF): Likewise.
50353         (FPE_FLTUND): Likewise.
50354         (FPE_FLTRES): Likewise.
50355         (FPE_FLTINV): Likewise.
50356         (FPE_FLTSUB): Likewise.
50357         (SEGV_MAPERR): Likewise.
50358         (SEGV_ACCERR): Likewise.
50359         (BUS_ADRALN): Likewise.
50360         (BUS_ADRERR): Likewise.
50361         (BUS_OBJERR): Likewise.
50362         (BUS_MCEERR_AR): Likewise.
50363         (BUS_MCEERR_AO): Likewise.
50364         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50365         (TRAP_TRACE): Likewise.
50366         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50367         __USE_XOPEN2K8].
50368         (CLD_KILLED): Likewise.
50369         (CLD_DUMPED): Likewise.
50370         (CLD_TRAPPED): Likewise.
50371         (CLD_STOPPED): Likewise.
50372         (CLD_CONTINUED): Likewise.
50373         (POLL_IN): Likewise.
50374         (POLL_OUT): Likewise.
50375         (POLL_MSG): Likewise.
50376         (POLL_ERR): Likewise.
50377         (POLL_PRI): Likewise.
50378         (POLL_HUP): Likewise.
50379         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
50380         (ILL_ILLOPN): Likewise.
50381         (ILL_ILLADR): Likewise.
50382         (ILL_ILLTRP): Likewise.
50383         (ILL_PRVOPC): Likewise.
50384         (ILL_PRVREG): Likewise.
50385         (ILL_COPROC): Likewise.
50386         (ILL_BADSTK): Likewise.
50387         (FPE_INTDIV): Likewise.
50388         (FPE_INTOVF): Likewise.
50389         (FPE_FLTDIV): Likewise.
50390         (FPE_FLTOVF): Likewise.
50391         (FPE_FLTUND): Likewise.
50392         (FPE_FLTRES): Likewise.
50393         (FPE_FLTINV): Likewise.
50394         (FPE_FLTSUB): Likewise.
50395         (SEGV_MAPERR): Likewise.
50396         (SEGV_ACCERR): Likewise.
50397         (BUS_ADRALN): Likewise.
50398         (BUS_ADRERR): Likewise.
50399         (BUS_OBJERR): Likewise.
50400         (BUS_MCEERR_AR): Likewise.
50401         (BUS_MCEERR_AO): Likewise.
50402         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50403         (TRAP_TRACE): Likewise.
50404         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50405         __USE_XOPEN2K8].
50406         (CLD_KILLED): Likewise.
50407         (CLD_DUMPED): Likewise.
50408         (CLD_TRAPPED): Likewise.
50409         (CLD_STOPPED): Likewise.
50410         (CLD_CONTINUED): Likewise.
50411         (POLL_IN): Likewise.
50412         (POLL_OUT): Likewise.
50413         (POLL_MSG): Likewise.
50414         (POLL_ERR): Likewise.
50415         (POLL_PRI): Likewise.
50416         (POLL_HUP): Likewise.
50417         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
50418         (ILL_ILLOPN): Likewise.
50419         (ILL_ILLADR): Likewise.
50420         (ILL_ILLTRP): Likewise.
50421         (ILL_PRVOPC): Likewise.
50422         (ILL_PRVREG): Likewise.
50423         (ILL_COPROC): Likewise.
50424         (ILL_BADSTK): Likewise.
50425         (FPE_INTDIV): Likewise.
50426         (FPE_INTOVF): Likewise.
50427         (FPE_FLTDIV): Likewise.
50428         (FPE_FLTOVF): Likewise.
50429         (FPE_FLTUND): Likewise.
50430         (FPE_FLTRES): Likewise.
50431         (FPE_FLTINV): Likewise.
50432         (FPE_FLTSUB): Likewise.
50433         (SEGV_MAPERR): Likewise.
50434         (SEGV_ACCERR): Likewise.
50435         (BUS_ADRALN): Likewise.
50436         (BUS_ADRERR): Likewise.
50437         (BUS_OBJERR): Likewise.
50438         (BUS_MCEERR_AR): Likewise.
50439         (BUS_MCEERR_AO): Likewise.
50440         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50441         (TRAP_TRACE): Likewise.
50442         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50443         __USE_XOPEN2K8].
50444         (CLD_KILLED): Likewise.
50445         (CLD_DUMPED): Likewise.
50446         (CLD_TRAPPED): Likewise.
50447         (CLD_STOPPED): Likewise.
50448         (CLD_CONTINUED): Likewise.
50449         (POLL_IN): Likewise.
50450         (POLL_OUT): Likewise.
50451         (POLL_MSG): Likewise.
50452         (POLL_ERR): Likewise.
50453         (POLL_PRI): Likewise.
50454         (POLL_HUP): Likewise.
50455         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
50456         (ILL_ILLOPN): Likewise.
50457         (ILL_ILLADR): Likewise.
50458         (ILL_ILLTRP): Likewise.
50459         (ILL_PRVOPC): Likewise.
50460         (ILL_PRVREG): Likewise.
50461         (ILL_COPROC): Likewise.
50462         (ILL_BADSTK): Likewise.
50463         (ILL_DBLFLT): Likewise.
50464         (ILL_HARDWALL): Likewise.
50465         (FPE_INTDIV): Likewise.
50466         (FPE_INTOVF): Likewise.
50467         (FPE_FLTDIV): Likewise.
50468         (FPE_FLTOVF): Likewise.
50469         (FPE_FLTUND): Likewise.
50470         (FPE_FLTRES): Likewise.
50471         (FPE_FLTINV): Likewise.
50472         (FPE_FLTSUB): Likewise.
50473         (SEGV_MAPERR): Likewise.
50474         (SEGV_ACCERR): Likewise.
50475         (BUS_ADRALN): Likewise.
50476         (BUS_ADRERR): Likewise.
50477         (BUS_OBJERR): Likewise.
50478         (BUS_MCEERR_AR): Likewise.
50479         (BUS_MCEERR_AO): Likewise.
50480         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50481         (TRAP_TRACE): Likewise.
50482         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50483         __USE_XOPEN2K8].
50484         (CLD_KILLED): Likewise.
50485         (CLD_DUMPED): Likewise.
50486         (CLD_TRAPPED): Likewise.
50487         (CLD_STOPPED): Likewise.
50488         (CLD_CONTINUED): Likewise.
50489         (POLL_IN): Likewise.
50490         (POLL_OUT): Likewise.
50491         (POLL_MSG): Likewise.
50492         (POLL_ERR): Likewise.
50493         (POLL_PRI): Likewise.
50494         (POLL_HUP): Likewise.
50495         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
50496         (ILL_ILLOPN): Likewise.
50497         (ILL_ILLADR): Likewise.
50498         (ILL_ILLTRP): Likewise.
50499         (ILL_PRVOPC): Likewise.
50500         (ILL_PRVREG): Likewise.
50501         (ILL_COPROC): Likewise.
50502         (ILL_BADSTK): Likewise.
50503         (FPE_INTDIV): Likewise.
50504         (FPE_INTOVF): Likewise.
50505         (FPE_FLTDIV): Likewise.
50506         (FPE_FLTOVF): Likewise.
50507         (FPE_FLTUND): Likewise.
50508         (FPE_FLTRES): Likewise.
50509         (FPE_FLTINV): Likewise.
50510         (FPE_FLTSUB): Likewise.
50511         (SEGV_MAPERR): Likewise.
50512         (SEGV_ACCERR): Likewise.
50513         (BUS_ADRALN): Likewise.
50514         (BUS_ADRERR): Likewise.
50515         (BUS_OBJERR): Likewise.
50516         (BUS_MCEERR_AR): Likewise.
50517         (BUS_MCEERR_AO): Likewise.
50518         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50519         (TRAP_TRACE): Likewise.
50520         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50521         __USE_XOPEN2K8].
50522         (CLD_KILLED): Likewise.
50523         (CLD_DUMPED): Likewise.
50524         (CLD_TRAPPED): Likewise.
50525         (CLD_STOPPED): Likewise.
50526         (CLD_CONTINUED): Likewise.
50527         (POLL_IN): Likewise.
50528         (POLL_OUT): Likewise.
50529         (POLL_MSG): Likewise.
50530         (POLL_ERR): Likewise.
50531         (POLL_PRI): Likewise.
50532         (POLL_HUP): Likewise.
50533         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
50534         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
50536         [BZ #16670]
50537         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
50538         before #include of <time.h>.
50539         [!__USE_XOPEN2K] (__need_timespec): Likewise.
50540         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
50541         (test-xfail-UNIX98/sched.h/conform): Likewise.
50543 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50545         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
50546         error absence of trapping exception support.
50547         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
50549 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
50551         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
50552         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
50553         * timezone/Makefile (testdata): Move definition above include of
50554         Rules.
50555         (test-zones): New variable.
50556         (tests-special): Add zone files.
50557         (build-testdata): Use $(evaluate-test).
50559         * elf/Makefile (tests-special): Rename tests to end with .out.
50560         ($(objpfx)noload-mem): Likewise.
50561         ($(objpfx)tst-leaks1-mem): Likewise.
50562         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
50563         * iconv/Makefile (xtests-special): Change test-iconvconfig to
50564         $(objpfx)test-iconvconfig.out.
50565         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
50566         set -e inside subshell and redirect output to file.
50567         * iconvdata/Makefile (generated): Rename tests to end with .out.
50568         Correct type.
50569         (tests-special): Rename tests to end with .out.
50570         ($(objpfx)mtrace-tst-loading): Likewise.
50571         * intl/Makefile (generated): Likewise.
50572         (tests-special): Likewise.
50573         ($(objpfx)mtrace-tst-gettext): Likewise.
50574         * misc/Makefile (generated): Likewise.
50575         (tests-special): Likewise.
50576         ($(objpfx)tst-error1-mem): Likewise.
50577         * nptl/Makefile (tests-special): Likewise.
50578         ($(objpfx)tst-stack3-mem): Likewise.
50579         (generated): Likewise.
50580         * posix/Makefile (generated): Likewise.
50581         (tests-special): Likewise.
50582         (xtests-special): Likewise.
50583         ($(objpfx)tst-fnmatch-mem): Likewise.
50584         ($(objpfx)bug-regex2-mem): Likewise.
50585         ($(objpfx)bug-regex14-mem): Likewise.
50586         ($(objpfx)bug-regex21-mem): Likewise.
50587         ($(objpfx)bug-regex31-mem): Likewise.
50588         ($(objpfx)tst-vfork3-mem): Likewise.
50589         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50590         ($(objpfx)tst-pcre-mem): Likewise.
50591         ($(objpfx)tst-boost-mem): Likewise.
50592         ($(objpfx)bug-ga2-mem): Likewise.
50593         ($(objpfx)bug-glob2-mem): Likewise.
50594         * resolv/Makefile (generate): Likewise.
50595         (tests-special): Likewise.
50596         (xtests-special): Likewise.
50597         (generated): Likewise.
50598         ($(objpfx)mtrace-tst-leaks): Likewise.
50599         ($(objpfx)mtrace-tst-leaks2): Likewise.
50601         * scripts/merge-test-results.sh: New file.
50602         * Makefile (tests-special-notdir): New variable.
50603         (tests): Run merge-test-results.sh.
50604         (xtests): Likewise.
50605         * Rules (tests-special-notdir): New variable.
50606         (xtests-special-notdir): Likewise.
50607         (tests): Run merge-test-results.sh
50608         (xtests): Likewise.
50610         * Makeconfig (test-xfail-name): New variable.
50611         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
50612         compute variable name for expected failures.
50613         * conform/Makefile (conformtest-headers-data): New variable.
50614         (conformtest-standards): Likewise.
50615         (conformtest-headers-ISO): Likewise.
50616         (conformtest-headers-ISO99): Likewise.
50617         (conformtest-headers-ISO11): Likewise.
50618         (conformtest-headers-POSIX): Likewise.
50619         (conformtest-headers-XPG3): Likewise.
50620         (conformtest-headers-XPG4): Likewise.
50621         (conformtest-headers-UNIX98): Likewise.
50622         (conformtest-headers-XOPEN2K): Likewise.
50623         (conformtest-headers-POSIX2008): Likewise.
50624         (conformtest-headers-XOPEN2K8): Likewise.
50625         (conformtest-header-list-base): Likewise.
50626         (conformtest-header-list-tests): Likewise.
50627         (conformtest-header-base): Likewise.
50628         (conformtest-header-tests): Likewise.
50629         (tests-special): Add $(conformtest-header-list-tests).  If
50630         [$(fast-check) && !$(cross-compiling)], add
50631         $(conformtest-header-tests) instead of
50632         $(objpfx)run-conformtest.out.
50633         (generated): Add $(conformtest-header-list-base).  If
50634         [$(fast-check) && !$(cross-compiling)], add
50635         $(conformtest-header-base).  Remove previous setting.
50636         ($(conformtest-header-list-tests)): New target.
50637         (test-xfail-run-conformtest): Remove variable.
50638         ($(objpfx)run-conformtest.out): Remove target.
50639         (test-xfail-ISO11/complex.h/conform): New variable.
50640         (test-xfail-ISO11/stdalign.h/conform): Likewise.
50641         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
50642         (test-xfail-XPG3/varargs.h/conform): Likewise.
50643         (test-xfail-XPG4/varargs.h/conform): Likewise.
50644         (test-xfail-UNIX98/varargs.h/conform): Likewise.
50645         (test-xfail-XPG4/ndbm.h/conform): Likewise.
50646         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
50647         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
50648         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
50649         (test-xfail-XPG3/fcntl.h/conform): Likewise.
50650         (test-xfail-XPG3/ftw.h/conform): Likewise.
50651         (test-xfail-XPG3/grp.h/conform): Likewise.
50652         (test-xfail-XPG3/langinfo.h/conform): Likewise.
50653         (test-xfail-XPG3/limits.h/conform): Likewise.
50654         (test-xfail-XPG3/pwd.h/conform): Likewise.
50655         (test-xfail-XPG3/search.h/conform): Likewise.
50656         (test-xfail-XPG3/signal.h/conform): Likewise.
50657         (test-xfail-XPG3/stdio.h/conform): Likewise.
50658         (test-xfail-XPG3/stdlib.h/conform): Likewise.
50659         (test-xfail-XPG3/string.h/conform): Likewise.
50660         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
50661         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
50662         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
50663         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
50664         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
50665         (test-xfail-XPG3/sys/types.h/conform): Likewise.
50666         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
50667         (test-xfail-XPG3/termios.h/conform): Likewise.
50668         (test-xfail-XPG3/time.h/conform): Likewise.
50669         (test-xfail-XPG3/unistd.h/conform): Likewise.
50670         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
50671         (test-xfail-XPG4/fcntl.h/conform): Likewise.
50672         (test-xfail-XPG4/langinfo.h/conform): Likewise.
50673         (test-xfail-XPG4/netdb.h/conform): Likewise.
50674         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
50675         (test-xfail-XPG4/signal.h/conform): Likewise.
50676         (test-xfail-XPG4/stdio.h/conform): Likewise.
50677         (test-xfail-XPG4/stdlib.h/conform): Likewise.
50678         (test-xfail-XPG4/stropts.h/conform): Likewise.
50679         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
50680         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
50681         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
50682         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
50683         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
50684         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
50685         (test-xfail-XPG4/sys/time.h/conform): Likewise.
50686         (test-xfail-XPG4/sys/types.h/conform): Likewise.
50687         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
50688         (test-xfail-XPG4/termios.h/conform): Likewise.
50689         (test-xfail-XPG4/ucontext.h/conform): Likewise.
50690         (test-xfail-XPG4/unistd.h/conform): Likewise.
50691         (test-xfail-XPG4/utmpx.h/conform): Likewise.
50692         (test-xfail-POSIX/sched.h/conform): Likewise.
50693         (test-xfail-POSIX/signal.h/conform): Likewise.
50694         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
50695         (test-xfail-POSIX/tar.h/conform): Likewise.
50696         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
50697         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
50698         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
50699         (test-xfail-UNIX98/netdb.h/conform): Likewise.
50700         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
50701         (test-xfail-UNIX98/sched.h/conform): Likewise.
50702         (test-xfail-UNIX98/signal.h/conform): Likewise.
50703         (test-xfail-UNIX98/stdio.h/conform): Likewise.
50704         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
50705         (test-xfail-UNIX98/stropts.h/conform): Likewise.
50706         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
50707         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
50708         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
50709         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
50710         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
50711         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
50712         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
50713         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
50714         (test-xfail-UNIX98/unistd.h/conform): Likewise.
50715         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
50716         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
50717         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
50718         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
50719         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
50720         (test-xfail-XOPEN2K/math.h/conform): Likewise.
50721         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
50722         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
50723         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
50724         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
50725         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
50726         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
50727         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
50728         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
50729         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
50730         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
50731         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
50732         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
50733         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
50734         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
50735         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
50736         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
50737         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
50738         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
50739         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
50740         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
50741         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
50742         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
50743         (test-xfail-POSIX2008/signal.h/conform): Likewise.
50744         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
50745         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
50746         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
50747         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
50748         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
50749         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
50750         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
50751         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
50752         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
50753         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
50754         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
50755         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
50756         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
50757         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
50758         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
50759         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
50760         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
50761         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
50762         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
50763         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
50764         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
50765         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
50766         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
50767         (conformtest-cc-flags): Likewise.
50768         ($(conformtest-header-tests): New target.
50769         * conform/check-header-lists.sh: New file.
50770         * conform/run-conformtest.sh: Remove.
50772         * conform/conformtest.pl: Allow ' and \ in values given for
50773         constants.
50774         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
50775         inclusion.
50776         [POSIX] (sys/types.h): Likewise.
50777         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
50778         inclusion.
50779         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
50780         inclusion.
50781         * conform/data/signal.h-data (SIGIO): Remove expectation.
50782         [XPG3] (SIGBUS): Do not expect.
50783         [POSIX || XPG3] (SIGPOLL): Likewise.
50784         [POSIX || XPG3] (SIGPROF): Likewise.
50785         [POSIX || XPG3] (SIGSYS): Likewise.
50786         [XPG3] (SIGTRAP): Likewise.
50787         [POSIX || XPG3] (SIGURG): Likewise.
50788         [POSIX || XPG3] (SIGVTALRM): Likewise.
50789         [POSIX || XPG3] (SIGXCPU): Likewise.
50790         [POSIX || XPG3] (SIGXFSZ): Likewise.
50791         [POSIX] (SA_SIGINFO): Expect.
50792         [XPG3] (siginfo_t): Do not expect type or contents.
50793         [POSIX] (si_pid): Do not expect element.
50794         [POSIX] (si_uid): Likewise.
50795         [POSIX] (si_addr): Likewise.
50796         [POSIX] (si_status): Likewise.
50797         [POSIX] (si_band): Likewise.
50798         [XPG4] (si_value): Likewise.
50799         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
50800         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
50801         [POSIX || XPG3] (ILL_ILLADR): Likewise.
50802         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
50803         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
50804         [POSIX || XPG3] (ILL_PRVREG): Likewise.
50805         [POSIX || XPG3] (ILL_COPROC): Likewise.
50806         [POSIX || XPG3] (ILL_BADSTK): Likewise.
50807         [POSIX || XPG3] (FPE_INTDIV): Likewise.
50808         [POSIX || XPG3] (FPE_INTOVF): Likewise.
50809         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
50810         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
50811         [POSIX || XPG3] (FPE_FLTUND): Likewise.
50812         [POSIX || XPG3] (FPE_FLTRES): Likewise.
50813         [POSIX || XPG3] (FPE_FLTINV): Likewise.
50814         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
50815         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
50816         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
50817         [POSIX || XPG3] (BUS_ADRALN): Likewise.
50818         [POSIX || XPG3] (BUS_ADRERR): Likewise.
50819         [POSIX || XPG3] (BUS_OBJERR): Likewise.
50820         [POSIX || XPG3] (CLD_EXITED): Likewise.
50821         [POSIX || XPG3] (CLD_KILLED): Likewise.
50822         [POSIX || XPG3] (CLD_DUMPED): Likewise.
50823         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
50824         [POSIX || XPG3] (CLD_STOPPED): Likewise.
50825         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
50826         [POSIX || XPG3] (POLL_IN): Likewise.
50827         [POSIX || XPG3] (POLL_OUT): Likewise.
50828         [POSIX || XPG3] (POLL_MSG): Likewise.
50829         [POSIX || XPG3] (POLL_ERR): Likewise.
50830         [POSIX || XPG3] (POLL_PRI): Likewise.
50831         [POSIX || XPG3] (POLL_HUP): Likewise.
50832         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
50833         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
50834         (SIG*): Do not allow.
50835         [XPG3] (si_*): Likewise.
50836         [XPG3] (SI_*): Likewise.
50837         [XPG3 || XPG4] (sigev_*): Likewise.
50838         [XPG3 || XPG4] (SIGEV_*): Likewise.
50839         [XPG3 || XPG4] (sival_*): Likewise.
50840         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
50841         [POSIX || XPG3] (BUS_*): Likewise.
50842         [POSIX || XPG3] (CLD_*): Likewise.
50843         [POSIX || XPG3] (FPE_*): Likewise.
50844         [POSIX || XPG3] (ILL_*): Likewise.
50845         [POSIX || XPG3] (POLL_*): Likewise.
50846         [POSIX || XPG3] (SEGV_*): Likewise.
50847         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
50848         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
50849         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
50850         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
50851         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
50852         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
50853         Specify type and value.
50854         (TVERSLEN): Likewise.
50855         (REGTYPE): Likewise.
50856         (AREGTYPE): Likewise.
50857         (LNKTYPE): Likewise.
50858         (SYMTYPE): Likewise.
50859         (CHRTYPE): Likewise.
50860         (BLKTYPE): Likewise.
50861         (DIRTYPE): Likewise.
50862         (FIFOTYPE): Likewise.
50863         (CONTTYPE): Likewise.
50864         (TSUID): Likewise.
50865         (TSGID): Likewise.
50866         (TSVTX): Likewise.
50867         (TUREAD): Likewise.
50868         (TUWRITE): Likewise.
50869         (TUEXEC): Likewise.
50870         (TGREAD): Likewise.
50871         (TGWRITE): Likewise.
50872         (TGEXEC): Likewise.
50873         (TOREAD): Likewise.
50874         (TOWRITE): Likewise.
50875         (TOEXEC): Likewise.
50876         [POSIX] (TSVTX): Expect constant.
50878 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
50880         * Makefile (tests): Change dependencies to ....
50881         (tests-special): ... additions to this variable.
50882         (tests): Depend on $(tests-special).
50883         * Makerules (check-abi-list): New variable.
50884         (check-abi): Depend on $(check-abi-list).
50885         [$(subdir) = elf] (tests-special): Add
50886         $(objpfx)check-abi-libc.out.
50887         [$(build-shared) = yes && subdir] (tests-special): Add
50888         $(check-abi-list).
50889         [$(build-shared) = yes && subdir] (tests): Do not depend on
50890         check-abi.
50891         * Rules (tests): Depend on $(tests-special).
50892         (xtests): Depend on $(xtests-special).
50893         * catgets/Makefile (tests): Change dependencies to ....
50894         (tests-special): ... additions to this variable.
50895         * conform/Makefile (tests): Change dependencies to ....
50896         (tests-special): ... additions to this variable.
50897         * elf/Makefile (tests): Change dependencies to ....
50898         (tests-special): ... additions to this variable.
50899         * grp/Makefile (tests): Change dependencies to ....
50900         (tests-special): ... additions to this variable.
50901         * iconv/Makefile (xtests): Change dependencies to ....
50902         (xtests-special): ... additions to this variable.
50903         * iconvdata/Makefile (tests): Change dependencies to ....
50904         (tests-special): ... additions to this variable.
50905         * intl/Makefile (tests): Change dependencies to ....
50906         (tests-special): ... additions to this variable.  Also add
50907         $(objpfx)tst-gettext.out.
50908         * io/Makefile (tests): Change dependencies to ....
50909         (tests-special): ... additions to this variable.
50910         * libio/Makefile (tests): Change dependencies to ....
50911         (tests-special): ... additions to this variable.
50912         * malloc/Makefile (tests): Change dependencies to ....
50913         (tests-special): ... additions to this variable.
50914         * misc/Makefile (tests): Change dependencies to ....
50915         (tests-special): ... additions to this variable.
50916         * nptl/Makefile (tests): Change dependencies to ....
50917         (tests-special): ... additions to this variable.
50918         * nptl_db/Makefile (tests): Change dependencies to ....
50919         (tests-special): ... additions to this variable.
50920         * posix/Makefile (tests): Change dependencies to ....
50921         (tests-special): ... additions to this variable.
50922         (xtests): Change dependencies to ....
50923         (xtests-special): ... additions to this variable.
50924         * resolv/Makefile (tests): Change dependencies to ....
50925         (tests-special): ... additions to this variable.
50926         (xtests): Change dependencies to ....
50927         (xtests-special): ... additions to this variable.
50928         * stdio-common/Makefile (tests): Change dependencies to ....
50929         (tests-special): ... additions to this variable.
50930         (do-tst-unbputc): Remove target.
50931         (do-tst-printf): Likewise.
50932         * stdlib/Makefile (tests): Change dependencies to ....
50933         (tests-special): ... additions to this variable.
50934         * string/Makefile (tests): Change dependencies to ....
50935         (tests-special): ... additions to this variable.
50936         * sysdeps/x86/Makefile (tests): Change dependencies to ....
50937         (tests-special): ... additions to this variable.
50939         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
50940         whole file.
50941         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
50942         whole file.
50943         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
50944         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
50946         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
50947         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
50948         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
50949         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
50950         * conform/data/libgen.h-data [XPG3]: Likewise.
50951         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
50952         * conform/data/ndbm.h-data [XPG3]: Likewise.
50953         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50954         * conform/data/netdb.h-data [XPG3]: Likewise.
50955         * conform/data/netinet/in.h-data [XPG3]: Likewise.
50956         * conform/data/poll.h-data [XPG3]: Likewise.
50957         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50958         * conform/data/strings.h-data [XPG3]: Likewise.
50959         * conform/data/stropts.h-data [XPG3]: Likewise.
50960         * conform/data/sys/mman.h-data [XPG3]: Likewise.
50961         * conform/data/sys/resource.h-data [XPG3]: Likewise.
50962         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
50963         Likewise.
50964         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
50965         * conform/data/sys/time.h-data [XPG3]: Likewise.
50966         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
50967         * conform/data/sys/uio.h-data [XPG3]: Likewise.
50968         * conform/data/sys/un.h-data [XPG3]: Likewise.
50969         * conform/data/syslog.h-data [XPG3]: Likewise.
50970         * conform/data/ucontext.h-data [XPG3]: Likewise.
50971         * conform/data/utmpx.h-data [XPG3]: Likewise.
50972         * conform/data/varargs.h-data [UNIX98]: Enable file.
50974         * manual/Makefile (INSTALL_INFO): Remove variable setting.
50976         * math/libm-test.inc (struct test_f_f_data): Move expected results
50977         into structure for each rounding mode.
50978         (struct test_ff_f_data): Likewise.
50979         (struct test_ff_f_data_nexttoward): Likewise.
50980         (struct test_fi_f_data): Likewise.
50981         (struct test_fl_f_data): Likewise.
50982         (struct test_if_f_data): Likewise.
50983         (struct test_fff_f_data): Likewise.
50984         (struct test_c_f_data): Likewise.
50985         (struct test_f_f1_data): Likewise.
50986         (struct test_fF_f1_data): Likewise.
50987         (struct test_ffI_f1_data): Likewise.
50988         (struct test_c_c_data): Likewise.
50989         (struct test_cc_c_data): Likewise.
50990         (struct test_f_i_data): Likewise.
50991         (struct test_ff_i_data): Likewise.
50992         (struct test_f_l_data): Likewise.
50993         (struct test_f_L_data): Likewise.
50994         (struct test_fFF_11_data): Likewise.
50995         (RM_): New macro.
50996         (RM_FE_DOWNWARD): Likewise.
50997         (RM_FE_TONEAREST): Likewise.
50998         (RM_FE_TOWARDZERO): Likewise.
50999         (RM_FE_UPWARD): Likewise.
51000         (RUN_TEST_LOOP_f_f): Update references to expected results.
51001         (RUN_TEST_LOOP_2_f): Likewise.
51002         (RUN_TEST_LOOP_fff_f): Likewise.
51003         (RUN_TEST_LOOP_c_f): Likewise.
51004         (RUN_TEST_LOOP_f_f1): Likewise.
51005         (RUN_TEST_LOOP_fF_f1): Likewise.
51006         (RUN_TEST_LOOP_fI_f1): Likewise.
51007         (RUN_TEST_LOOP_ffI_f1): Likewise.
51008         (RUN_TEST_LOOP_c_c): Likewise.
51009         (RUN_TEST_LOOP_cc_c): Likewise.
51010         (RUN_TEST_LOOP_f_i): Likewise.
51011         (RUN_TEST_LOOP_f_i_tg): Likewise.
51012         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51013         (RUN_TEST_LOOP_f_b): Likewise.
51014         (RUN_TEST_LOOP_f_b_tg): Likewise.
51015         (RUN_TEST_LOOP_f_l): Likewise.
51016         (RUN_TEST_LOOP_f_L): Likewise.
51017         (RUN_TEST_LOOP_fFF_11): Likewise.
51018         * math/gen-libm-test.pl (parse_args): Output four copies of
51019         expected results for each test.
51021         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51022         (__ASSUME_UTIMES): Remove.
51023         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51024         (__ASSUME_UTIMES): Likewise.
51026         * math/gen-auto-libm-tests.c: Update comment on output format.
51027         (output_for_one_input_case): Generate before-rounding and
51028         after-rounding information as conditions on output flags not
51029         floating-point format.
51030         * math/auto-libm-test-out: Regenerated.
51031         * math/gen-libm-test.pl (cond_value): New function.
51032         (or_cond_value): Use cond_value.
51033         (generate_testfile): Handle conditional exceptions.
51035 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
51037         * math/libm-test.inc (max_valid_error): New variable.
51038         (init_max_error): Take new argument specifying whether function
51039         results are exactly determined.  Set max_valid_error and bound
51040         other variables for errors based on this argument.
51041         (set_max_error): Do not record results above max_valid_error.
51042         (check_float_internal): Only accept errors of up to 0.5ulps if
51043         also at most max_valid_error.
51044         (START): Take new argument EXACT and pass it to init_max_error.
51045         (acos_test): Update call to START.
51046         (acos_test_tonearest): Likewise.
51047         (acos_test_towardzero): Likewise.
51048         (acos_test_downward): Likewise.
51049         (acos_test_upward): Likewise.
51050         (acosh_test): Likewise.
51051         (asin_test): Likewise.
51052         (asin_test_tonearest): Likewise.
51053         (asin_test_towardzero): Likewise.
51054         (asin_test_downward): Likewise.
51055         (asin_test_upward): Likewise.
51056         (asinh_test): Likewise.
51057         (atan_test): Likewise.
51058         (atanh_test): Likewise.
51059         (atan2_test): Likewise.
51060         (cabs_test): Likewise.
51061         (cacos_test): Likewise.
51062         (cacosh_test): Likewise.
51063         (carg_test): Likewise.
51064         (casin_test): Likewise.
51065         (casinh_test): Likewise.
51066         (catan_test): Likewise.
51067         (catanh_test): Likewise.
51068         (cbrt_test): Likewise.
51069         (ccos_test): Likewise.
51070         (ccosh_test): Likewise.
51071         (ceil_test): Likewise.
51072         (cexp_test): Likewise.
51073         (cimag_test): Likewise.
51074         (clog_test): Likewise.
51075         (clog10_test): Likewise.
51076         (conj_test): Likewise.
51077         (copysign_test): Likewise.
51078         (cos_test): Likewise.
51079         (cos_test_tonearest): Likewise.
51080         (cos_test_towardzero): Likewise.
51081         (cos_test_downward): Likewise.
51082         (cos_test_upward): Likewise.
51083         (cosh_test): Likewise.
51084         (cosh_test_tonearest): Likewise.
51085         (cosh_test_towardzero): Likewise.
51086         (cosh_test_downward): Likewise.
51087         (cosh_test_upward): Likewise.
51088         (cpow_test): Likewise.
51089         (cproj_test): Likewise.
51090         (creal_test): Likewise.
51091         (csin_test): Likewise.
51092         (csinh_test): Likewise.
51093         (csqrt_test): Likewise.
51094         (ctan_test): Likewise.
51095         (ctan_test_tonearest): Likewise.
51096         (ctan_test_towardzero): Likewise.
51097         (ctan_test_downward): Likewise.
51098         (ctan_test_upward): Likewise.
51099         (ctanh_test): Likewise.
51100         (ctanh_test_tonearest): Likewise.
51101         (ctanh_test_towardzero): Likewise.
51102         (ctanh_test_downward): Likewise.
51103         (ctanh_test_upward): Likewise.
51104         (erf_test): Likewise.
51105         (erfc_test): Likewise.
51106         (exp_test): Likewise.
51107         (exp_test_tonearest): Likewise.
51108         (exp_test_towardzero): Likewise.
51109         (exp_test_downward): Likewise.
51110         (exp_test_upward): Likewise.
51111         (exp10_test): Likewise.
51112         (exp10_test_tonearest): Likewise.
51113         (exp10_test_towardzero): Likewise.
51114         (exp10_test_downward): Likewise.
51115         (exp10_test_upward): Likewise.
51116         (pow10_test): Likewise.
51117         (exp2_test): Likewise.
51118         (expm1_test): Likewise.
51119         (expm1_test_tonearest): Likewise.
51120         (expm1_test_towardzero): Likewise.
51121         (expm1_test_downward): Likewise.
51122         (expm1_test_upward): Likewise.
51123         (fabs_test): Likewise.
51124         (fdim_test): Likewise.
51125         (floor_test): Likewise.
51126         (fma_test): Likewise.
51127         (fma_test_towardzero): Likewise.
51128         (fma_test_downward): Likewise.
51129         (fma_test_upward): Likewise.
51130         (fmax_test): Likewise.
51131         (fmin_test): Likewise.
51132         (fmod_test): Likewise.
51133         (fpclassify_test): Likewise.
51134         (frexp_test): Likewise.
51135         (hypot_test): Likewise.
51136         (ilogb_test): Likewise.
51137         (isfinite_test): Likewise.
51138         (finite_test): Likewise.
51139         (isgreater_test): Likewise.
51140         (isgreaterequal_test): Likewise.
51141         (isinf_test): Likewise.
51142         (isless_test): Likewise.
51143         (islessequal_test): Likewise.
51144         (islessgreater_test): Likewise.
51145         (isnan_test): Likewise.
51146         (isnormal_test): Likewise.
51147         (issignaling_test): Likewise.
51148         (isunordered_test): Likewise.
51149         (j0_test): Likewise.
51150         (j1_test): Likewise.
51151         (jn_test): Likewise.
51152         (ldexp_test): Likewise.
51153         (lgamma_test): Likewise.
51154         (gamma_test): Likewise.
51155         (lrint_test): Likewise.
51156         (lrint_test_tonearest): Likewise.
51157         (lrint_test_towardzero): Likewise.
51158         (lrint_test_downward): Likewise.
51159         (lrint_test_upward): Likewise.
51160         (llrint_test): Likewise.
51161         (llrint_test_tonearest): Likewise.
51162         (llrint_test_towardzero): Likewise.
51163         (llrint_test_downward): Likewise.
51164         (llrint_test_upward): Likewise.
51165         (log_test): Likewise.
51166         (log10_test): Likewise.
51167         (log1p_test): Likewise.
51168         (log2_test): Likewise.
51169         (logb_test): Likewise.
51170         (logb_test_downward): Likewise.
51171         (lround_test): Likewise.
51172         (llround_test): Likewise.
51173         (modf_test): Likewise.
51174         (nearbyint_test): Likewise.
51175         (nextafter_test): Likewise.
51176         (nexttoward_test): Likewise.
51177         (pow_test): Likewise.
51178         (pow_test_tonearest): Likewise.
51179         (pow_test_towardzero): Likewise.
51180         (pow_test_downward): Likewise.
51181         (pow_test_upward): Likewise.
51182         (remainder_test): Likewise.
51183         (drem_test): Likewise.
51184         (remainder_test_tonearest): Likewise.
51185         (drem_test_tonearest): Likewise.
51186         (remainder_test_towardzero): Likewise.
51187         (drem_test_towardzero): Likewise.
51188         (remainder_test_downward): Likewise.
51189         (drem_test_downward): Likewise.
51190         (remainder_test_upward): Likewise.
51191         (drem_test_upward): Likewise.
51192         (remquo_test): Likewise.
51193         (rint_test): Likewise.
51194         (rint_test_tonearest): Likewise.
51195         (rint_test_towardzero): Likewise.
51196         (rint_test_downward): Likewise.
51197         (rint_test_upward): Likewise.
51198         (round_test): Likewise.
51199         (scalb_test): Likewise.
51200         (scalbn_test): Likewise.
51201         (scalbln_test): Likewise.
51202         (signbit_test): Likewise.
51203         (sin_test): Likewise.
51204         (sin_test_tonearest): Likewise.
51205         (sin_test_towardzero): Likewise.
51206         (sin_test_downward): Likewise.
51207         (sin_test_upward): Likewise.
51208         (sincos_test): Likewise.
51209         (sinh_test): Likewise.
51210         (sinh_test_tonearest): Likewise.
51211         (sinh_test_towardzero): Likewise.
51212         (sinh_test_downward): Likewise.
51213         (sinh_test_upward): Likewise.
51214         (sqrt_test): Likewise.
51215         (sqrt_test_tonearest): Likewise.
51216         (sqrt_test_towardzero): Likewise.
51217         (sqrt_test_downward): Likewise.
51218         (sqrt_test_upward): Likewise.
51219         (tan_test): Likewise.
51220         (tan_test_tonearest): Likewise.
51221         (tan_test_towardzero): Likewise.
51222         (tan_test_downward): Likewise.
51223         (tan_test_upward): Likewise.
51224         (tanh_test): Likewise.
51225         (tgamma_test): Likewise.
51226         (trunc_test): Likewise.
51227         (y0_test): Likewise.
51228         (y1_test): Likewise.
51229         (yn_test): Likewise.
51230         (significand_test): Likewise.
51232         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
51233         individual tests in comment.
51234         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
51235         (prev_max_error): New variable.
51236         (prev_real_max_error): Likewise.
51237         (prev_imag_max_error): Likewise.
51238         (compare_ulp_data): Don't refer to test names in comment.
51239         (find_test_ulps): Remove function.
51240         (find_function_ulps): Likewise.
51241         (find_complex_function_ulps): Likewise.
51242         (init_max_error): Take function name as argument.  Look up ulps
51243         for that function.
51244         (print_ulps): Remove function.
51245         (print_max_error): Use prev_max_error instead of calling
51246         find_function_ulps.
51247         (print_complex_max_error): Use prev_real_max_error and
51248         prev_imag_max_error instead of calling find_complex_function_ulps.
51249         (check_float_internal): Take max_ulp parameter instead of calling
51250         find_test_ulps.  Don't call print_ulps.
51251         (check_float): Update call to check_float_internal.
51252         (check_complex): Update calls to check_float_internal.
51253         (START): Pass argument to init_max_error.
51254         * math/gen-libm-test.pl (%results): Don't include "kind"
51255         information.
51256         (parse_ulps): Don't handle ulps of individual tests.
51257         (print_ulps_file): Likewise.
51258         (output_ulps): Likewise.
51259         * math/README.libm-test: Update.
51260         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
51261         individual tests.
51262         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
51263         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
51264         * sysdeps/arm/libm-test-ulps: Likewise.
51265         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
51266         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
51267         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
51268         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
51269         * sysdeps/microblaze/libm-test-ulps: Likewise.
51270         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
51271         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
51272         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51273         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
51274         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51275         * sysdeps/sh/libm-test-ulps: Likewise.
51276         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51277         * sysdeps/tile/libm-test-ulps: Likewise.
51278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51280 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
51282         * math/libm-test.inc (print_complex_max_error): Check separately
51283         whether real and imaginary errors are within allowed range and
51284         pass 0 to print_complex_function_ulps instead of value within
51285         allowed range.
51287 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51289         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
51290         formatting.
51291         (get_handles_fopen): Likewise.
51292         (do_write_test): Likewise.
51294         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
51296         * libio/fileops.c (do_ftell): Use cached offset when
51297         available.
51298         * libio/iofwide.c (do_ftell_wide): Likewise.
51299         * libio/iofdopen.c (_IO_new_fdopen): Don't use
51300         _IO_file_attach.
51301         * libio/wfileops.c (_IO_fwide): Don't cache offset.
51303         [BZ #16532]
51304         * libio/libioP.h (get_file_offset): New function.
51305         * libio/fileops.c (get_file_offset): Likewise.
51306         (do_ftell): Likewise.
51307         (_IO_new_file_seekoff): Split out ftell logic.
51308         * libio/wfileops.c (do_ftell_wide): Likewise.
51309         (_IO_wfile_seekoff): Split out ftell logic.
51310         * libio/tst-ftell-active-handler.c: New test case.
51311         * libio/Makefile (tests): Add it.
51313 2014-03-03  Roland McGrath  <roland@hack.frob.com>
51315         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
51316         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
51318 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51320         [BZ #16639]
51321         * nscd/connections.c (nscd_init): Call do_exit.
51322         (start_threads): Call do_exit and notify_parent.
51323         (begin_drop_privileges): Call do_exit.
51324         (finish_drop_privileges): Likewise.
51325         * nscd/selinux.c (preserve_capabilities): Likewise.
51326         (install_real_capabilities): Likewise.
51327         (nscd_selinux_enabled): Likewise.
51328         (avc_create_thread): Likewise.
51329         (avc_alloc_lock): Likewise.
51330         (nscd_avc_init): Likewise.
51331         * nscd/nscd.c (parent_fd): New static variable.
51332         (main): Create a pipe between parent and child processes.
51333         Skip closing parent_fd.
51334         (monitor_child): New function.
51335         (do_exit): Likewise.
51336         (notify_parent): Likewise.
51337         * nscd/nscd.h (notify_parent): Likewise.
51338         (do_exit): Likewise.
51340 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
51342         * malloc/malloc.c (__libc_calloc): Revert last change.
51344 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51348 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
51350         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
51351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
51352         implementation.
51353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51354         (__libc_ifunc_impl_list): Likewise.
51355         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
51356         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
51357         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
51358         * string/strrchr.c: Define STRRCHR.
51360 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
51362         * benchtest/bench-strtok.c (simple_strtok): Delete.
51363         (strtok_string): Use as benchmark.
51364         * string/strtok (STRTOK): New macro.
51366 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
51368         * manual/threads.texi: Add header and standard comments to all
51369         functions.
51371         * elf/dl-lookup.c (check_match): New function.
51372         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
51373         (do_lookup_x): Remove nested function check_match. Use non-nested
51374         function check_match.
51376 2014-02-28  Roland McGrath  <roland@hack.frob.com>
51378         * csu/Makefile (generated, before-compile): Use += rather than =.
51379         * catgets/Makefile (generated, generated-dirs): Likewise.
51380         * debug/Makefile (generated): Likewise.
51381         * dlfcn/Makefile (generated): Likewise.
51382         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
51383         * iconvdata/Makefile (before-compile, generated): Likewise.
51384         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
51385         * libio/Makefile (generated): Likewise.
51386         * malloc/Makefile (generated): Likewise.
51387         * manual/Makefile (generated, generated-dirs): Likewise.
51388         * misc/Makefile (generated): Likewise.
51389         * posix/Makefile (generated): Likewise.
51390         * resolv/Makefile (generated): Likewise.
51391         * sunrpc/Makefile (generated, generated-dirs): Likewise.
51392         * timezone/Makefile (generated, generated-dirs): Likewise.
51394         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
51396 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51398         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51399         power8 implementation.
51400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
51401         file: POWER8 llround ifunc implementation.
51402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
51403         (__lllround): Add POWER8 implementation.
51404         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
51405         POWER8 llround implementation.
51407         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
51408         power8 implementation.
51409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
51410         file: POWER8 llrint ifunc implementation.
51411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
51412         Add POWER8 implementation.
51413         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
51414         POWER8 llrint implementation.
51416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
51417         power8 implementation.
51418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
51419         file: POWER8 finite ifunc implementation.
51420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
51421         Add POWER8 implementation.
51422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
51423         Likewise.
51424         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
51425         POWER8 finite implementation.
51426         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
51428         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
51429         power8 implementation.
51430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
51431         file: POWER8 isinf ifunc implementation.
51432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
51433         POWER8 implementation.
51434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
51435         Likewise.
51436         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
51437         isinf implementation.
51438         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
51440         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
51441         (INIT_ARCH): Add hwcap2 initialization.
51442         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51443         power8 implementation.
51444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
51445         file: POWER8 isnan ifunc implementation.
51446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
51447         POWER8 implementation.
51448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
51449         Likewise.
51450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
51451         isnan implementation.
51452         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
51454 2014-02-27  Joey Ye  <joey.ye@arm.com>
51456         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51457         (_FP_NANFRAC_Q): Set to zero.
51459 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51461         [BZ #16623]
51462         * math/auto-libm-test-in: New test inputs.
51463         * math/auto-libm-test-out: Regenerate.
51464         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
51465         and DA.
51466         (__cos): Likewise.
51467         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51469 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
51471         * scripts/evaluate-test.sh: Take new argument indicating whether
51472         failure is expected.
51473         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
51474         indicating whether failure is expected.
51475         * conform/Makefile (test-xfail-run-conformtest): New variable.
51476         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
51477         level.
51478         * posix/Makefile (test-xfail-annexc): New variable.
51479         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
51481 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
51483         * argp/Makefile: Include Makeconfig immediately after defining
51484         subdir.
51485         * assert/Makefile: Likewise.
51486         * benchtests/Makefile: Likewise.
51487         * catgets/Makefile: Likewise.
51488         * conform/Makefile: Likewise.
51489         * crypt/Makefile: Likewise.
51490         * csu/Makefile: Likewise.
51491         (all): Remove target.
51492         * ctype/Makefile: Include Makeconfig immediately after defining
51493         subdir.
51494         * debug/Makefile: Likewise.
51495         * dirent/Makefile: Likewise.
51496         * dlfcn/Makefile: Likewise.
51497         * gmon/Makefile: Likewise.
51498         * gnulib/Makefile: Likewise.
51499         * grp/Makefile: Likewise.
51500         * gshadow/Makefile: Likewise.
51501         * hesiod/Makefile: Likewise.
51502         * hurd/Makefile: Likewise.
51503         (all): Remove target.
51504         * iconvdata/Makefile: Include Makeconfig immediately after
51505         defining subdir.
51506         * inet/Makefile: Likewise.
51507         * intl/Makefile: Likewise.
51508         * io/Makefile: Likewise.
51509         * libio/Makefile: Likewise.
51510         (all): Remove target.
51511         * locale/Makefile: Include Makeconfig immediately after defining
51512         subdir.
51513         * login/Makefile: Likewise.
51514         * mach/Makefile: Likewise.
51515         (all): Remove target.
51516         * malloc/Makefile: Include Makeconfig immediately after defining
51517         subdir.
51518         (all): Remove target.
51519         * manual/Makefile: Include Makeconfig immediately after defining
51520         subdir.
51521         * math/Makefile: Likewise.
51522         * misc/Makefile: Likewise.
51523         * nis/Makefile: Likewise.
51524         * nss/Makefile: Likewise.
51525         * po/Makefile: Likewise.
51526         (all): Remove target.
51527         * posix/Makefile: Include Makeconfig immediately after defining
51528         subdir.
51529         * pwd/Makefile: Likewise.
51530         * resolv/Makefile: Likewise.
51531         * resource/Makefile: Likewise.
51532         * rt/Makefile: Likewise.
51533         * setjmp/Makefile: Likewise.
51534         * shadow/Makefile: Likewise.
51535         * signal/Makefile: Likewise.
51536         * socket/Makefile: Likewise.
51537         * soft-fp/Makefile: Likewise.
51538         * stdio-common/Makefile: Likewise.
51539         * stdlib/Makefile: Likewise.
51540         * streams/Makefile: Likewise.
51541         * string/Makefile: Likewise.
51542         * sunrpc/Makefile: Likewise.
51543         (all): Remove target.
51544         * sysvipc/Makefile: Include Makeconfig immediately after defining
51545         subdir.
51546         * termios/Makefile: Likewise.
51547         * time/Makefile: Likewise.
51548         * timezone/Makefile: Likewise.
51549         (all): Remove target.
51550         * wcsmbs/Makefile: Include Makeconfig immediately after defining
51551         subdir.
51552         * wctype/Makefile: Likewise.
51554 2014-02-26  Steve Ellcey  <sellcey@mips.com>
51556         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
51557         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
51558         (libc_feholdexcept_setround_mips): Ditto.
51559         (libc_feholdsetround): New.
51560         (libc_feholdsetroundf): New.
51561         (libc_feholdsetroundl): New.
51562         (libc_feupdateenv_test_mips): New.
51563         (libc_feupdateenv_test): New.
51564         (libc_feupdateenv_testf): New.
51565         (libc_feupdateenv_testl): New.
51566         (libc_feresetround): New.
51567         (libc_feresetroundf): New.
51568         (libc_feresetroundl): New.
51569         (libc_fetestexcept_mips): New.
51570         (libc_fetestexcept): New.
51571         (libc_fetestexceptf): New.
51572         (libc_fetestexceptl): New.
51573         (HAVE_RM_CTX): New.
51574         (libc_feholdexcept_setround_mips_ctx): New.
51575         (libc_feholdexcept_setround_ctx): New.
51576         (libc_feholdexcept_setroundf_ctx): New.
51577         (libc_feholdexcept_setroundl_ctx): New.
51578         (libc_fesetenv_mips_ctx): New.
51579         (libc_fesetenv_ctx): New.
51580         (libc_fesetenv_ctxf): New.
51581         (libc_fesetenv_ctxl): New.
51582         (libc_feupdateenv_mips_ctx): New.
51583         (libc_feupdateenv_ctx): New.
51584         (libc_feupdateenvf_ctx): New.
51585         (libc_feupdateenvl_ctx): New.
51586         (libc_feholdsetround_mips_ctx): New.
51587         (libc_feholdsetround_ctx): New.
51588         (libc_feholdsetroundf_ctx): New.
51589         (libc_feholdsetroundl_ctx): New.
51590         (libc_feresetround_mips_ctx): New.
51591         (libc_feresetround_ctx): New.
51592         (libc_feresetroundf_ctx): New.
51593         (libc_feresetroundl_ctx): New.
51595 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
51597         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
51599         * manual/ipc.texi: New file.
51600         * manual/Makefile (chapters): Add ipc.
51601         * manual/job.texi: Add "Inter-Process Communication" to next.
51602         * manual/process.texi: Add "Inter-Process Communication" to prev.
51604 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51608 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
51610         * malloc/malloc.c (__libc_calloc): Simplify implementation.
51612         * manual/arith.texi: Fix spaces after sentences.
51613         * manual/charset.texi: Likewise.
51614         * manual/errno.texi: Likewise.
51615         * manual/install.texi: Likewise.
51616         * manual/llio.texi: Likewise.
51617         * manual/locale.texi: Likewise.
51618         * manual/maint.texi: Likewise.
51619         * manual/math.texi: Likewise.
51620         * manual/memory.texi: Likewise.
51621         * manual/message.texi: Likewise.
51622         * manual/probes.texi: Likewise.
51623         * manual/resource.texi: Likewise.
51624         * manual/signal.texi: Likewise.
51625         * manual/socket.texi: Likewise.
51626         * manual/stdio.texi: Likewise.
51627         * manual/string.texi: Likewise.
51628         * manual/time.texi: Likewise.
51629         * manual/users.texi: Likewise.
51631 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
51633         [BZ #16632]
51634         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
51635         _DEFAULT_SOURCE is defined.
51637 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
51638             Carlos O'Donell  <carlos@redhat.com>
51640         [BZ #16613]
51641         * elf/dl-tls.c (_dl_count_modids): New function.
51642         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
51643         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
51644         audit library and increment generation counter.
51645         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
51646         * elf/tst-audit9.c: New file.
51647         * elf/tst-auditmod9a.c: New file.
51648         * elf/tst-auditmod9b.c: New file.
51649         * elf/Makefile: Add rules to build and run tst-audit9.
51651 2014-02-25  Florian Weimer  <fweimer@redhat.com>
51653         [BZ #15347]
51654         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
51656 2014-02-25  Will Newton  <will.newton@linaro.org>
51658         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
51659         (__longjmp): Restore sp and lr before restoring callee
51660         saved registers.  Add longjmp and longjmp_target
51661         SystemTap probe point.
51662         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
51663         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
51664         Define to zero to match jmpbuf layout.
51665         * sysdeps/arm/setjmp.S: Include stap-probe.h.
51666         (__sigsetjmp): Save sp and lr before saving callee
51667         saved registers.  Add setjmp SystemTap probe point.
51669 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
51671         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51673 2014-02-24  Andreas Schwab  <schwab@suse.de>
51675         [BZ #15804]
51676         * elf/pldd.c (wait_for_ptrace_stop): New function.
51677         (main): Call it after attaching.
51679 2014-02-22  Roland McGrath  <roland@hack.frob.com>
51681         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
51682         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
51683         Versions files is now verboten.
51684         * hurd/Versions (libc: GLIBC_2.0):
51685         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
51686         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
51687         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
51688         * mach/Versions: Likewise.
51690         * csu/Versions: Remove unused %include.
51691         * resolv/Versions: Likewise.
51693 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
51695         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
51696         ($(objpfx)check-local-headers.out): Likewise.
51697         ($(objpfx)begin-end-check.out): Likewise.
51698         * Makerules (check-abi-%.out): Likewise.
51699         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
51700         ($(objpfx)test2.cat): Likewise.
51701         ($(objpfx)de/libc.cat): Likewise.
51702         ($(objpfx)test-gencat.out): Likewise.
51703         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
51704         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
51705         ($(objpfx)noload-mem): Likewise.
51706         ($(objpfx)tst-pathopt.out): Likewise.
51707         ($(objpfx)tst-rtld-load-self.out): Likewise.
51708         ($(objpfx)tst-array1-cmp.out): Likewise.
51709         ($(objpfx)tst-array1-static-cmp.out): Likewise.
51710         ($(objpfx)tst-array2-cmp.out): Likewise.
51711         ($(objpfx)tst-array3-cmp.out): Likewise.
51712         ($(objpfx)tst-array4-cmp.out): Likewise.
51713         ($(objpfx)tst-array5-cmp.out): Likewise.
51714         ($(objpfx)tst-array5-static-cmp.out): Likewise.
51715         ($(objpfx)check-textrel.out): Likewise.
51716         ($(objpfx)check-execstack.out): Likewise.
51717         ($(objpfx)check-localplt.out): Likewise.
51718         ($(objpfx)order2-cmp.out): Likewise.
51719         ($(objpfx)tst-leaks1-mem): Likewise.
51720         ($(objpfx)tst-leaks1-static-mem): Likewise.
51721         ($(objpfx)tst-initorder-cmp.out): Likewise.
51722         ($(objpfx)tst-initorder2-cmp.out): Likewise.
51723         ($(objpfx)tst-unused-dep.out): Likewise.
51724         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
51725         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
51726         * iconv/Makefile (test-iconvconfig): Likewise.
51727         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
51728         ($(objpfx)iconv-test.out): Likewise.
51729         ($(objpfx)tst-tables.out): Likewise.
51730         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
51731         ($(objpfx)tst-gettext.out): Likewise.
51732         ($(objpfx)tst-translit.out): Likewise.
51733         ($(objpfx)tst-gettext2.out): Likewise.
51734         ($(objpfx)tst-gettext4.out): Likewise.
51735         ($(objpfx)tst-gettext6.out): Likewise.
51736         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
51737         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
51738         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
51739         ($(objpfx)tst-fopenloc-mem.out): Likewise.
51740         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
51741         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
51742         * posix/Makefile ($(objpfx)globtest.out): Likewise.
51743         ($(objpfx)wordexp-tst.out): Likewise.
51744         ($(objpfx)annexc.out): Likewise.
51745         ($(objpfx)tst-fnmatch-mem): Likewise.
51746         ($(objpfx)bug-regex2-mem): Likewise.
51747         ($(objpfx)bug-regex14-mem): Likewise.
51748         ($(objpfx)bug-regex21-mem): Likewise.
51749         ($(objpfx)bug-regex31-mem): Likewise.
51750         ($(objpfx)tst-vfork3-mem): Likewise.
51751         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
51752         ($(objpfx)tst-pcre-mem): Likewise.
51753         ($(objpfx)tst-boost-mem): Likewise.
51754         ($(objpfx)tst-getconf.out): Likewise.
51755         ($(objpfx)bug-ga2-mem): Likewise.
51756         ($(objpfx)bug-glob2-mem): Likewise.
51757         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
51758         ($(objpfx)mtrace-tst-leaks2): Likewise.
51759         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
51760         ($(objpfx)tst-printf.out): Likewise.
51761         ($(objpfx)tst-setvbuf1.out): Likewise.
51762         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
51763         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
51764         ($(objpfx)tst-fmtmsg.out): Likewise.
51765         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
51766         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
51768         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
51769         * bits/sigaction.h [__USE_MISC]: Likewise.
51770         * bits/waitstatus.h: Update #endif comments.
51771         * ctype/ctype.h: Likewise.
51772         * dirent/dirent.h: Likewise.
51773         [__USE_MISC]: Remove redundant conditionals.
51774         * grp/grp.h: Update #endif comments.
51775         [__USE_GNU]: Remove redundant conditionals.
51776         [__USE_MISC]: Likewise.
51777         * inet/netinet/in.h [__USE_GNU]: Likewise.
51778         * io/sys/stat.h [__USE_MISC]: Likewise.
51779         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
51780         * libio/bits/stdio.h: Update #endif comments.
51781         [__USE_MISC]: Remove redundant conditionals.
51782         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
51783         * libio/stdio.h: Update #endif comments.
51784         [__USE_MISC]: Remove redundant conditionals.
51785         * math/bits/math-finite.h [__USE_MISC]: Likewise.
51786         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
51787         * math/math.h: Update #else and #endif comments.
51788         [__USE_MISC]: Remove redundant conditionals.
51789         * misc/sys/uio.h: Update #endif comments.
51790         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
51791         * posix/glob.h [__USE_MISC]: Likewise.
51792         * posix/sys/types.h: Update #endif comments.
51793         [__USE_MISC]: Remove redundant conditionals.
51794         * posix/sys/wait.h: Update #endif comments.
51795         [__USE_MISC]: Remove redundant conditionals.
51796         * posix/unistd.h: Update #endif comments.
51797         [__USE_MISC]: Remove redundant conditionals.
51798         * pwd/pwd.h [__USE_GNU]: Likewise.
51799         [__USE_MISC]: Likewise.
51800         * resolv/netdb.h [__USE_GNU]: Likewise.
51801         * signal/signal.h: Update #endif comments.
51802         [__USE_MISC]: Remove redundant conditionals.
51803         * stdlib/stdlib.h: Update #else and #endif comments.
51804         [__USE_MISC]: Remove redundant conditionals.
51805         [__USE_GNU]: Likewise.
51806         * string/bits/string2.h [__USE_MISC]: Likewise.
51807         * string/string.h: Update #endif comments.
51808         [__USE_MISC]: Remove redundant conditionals.
51809         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
51810         Likewise.
51811         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
51812         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
51813         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
51814         Likewise.
51815         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
51816         Likewise.
51817         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
51818         comments.
51819         [__USE_MISC]: Remove redundant conditionals.
51820         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
51821         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
51822         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
51823         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
51824         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
51825         Likewise.
51826         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
51827         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
51828         Likewise.
51829         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
51830         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
51831         Likewise.
51832         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
51833         Likewise.
51834         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
51835         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
51836         Likewise.
51837         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
51838         Likewise.
51839         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
51840         * sysdeps/x86/bits/string.h: Update #endif comments.
51841         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
51842         conditionals.
51843         * time/sys/time.h: Update #endif comments.
51844         * time/time.h: Likewise.
51845         [__USE_MISC]: Remove redundant conditionals.
51847 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
51849         [BZ #16600]
51850         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
51852 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
51854         * Versions.def (librt): Add GLIBC_2.17.
51856 2014-02-21  Adam Conrad  <adconrad@0c3.net>
51858         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
51859         synonym for _SYS_AUXV_H to allow direct inclusion.
51860         * sysdeps/sparc/bits/hwcap.h: Likewise.
51861         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
51862         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
51863         * sysdeps/sparc/sysdep.h: Likewise.
51865 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51867         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
51869 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51871         * benchtests/bench-strrchr.c: Print length instead of position.
51873 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
51875         [BZ #16611]
51876         * sysdeps/unix/sysv/linux/kernel-features.h
51877         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
51878         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
51879         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
51880         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
51881         Likewise.
51882         [__i386__ || __powerpc__ || __sh__ || __sparc__]
51883         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51884         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
51885         (__ASSUME_SENDMMSG): Define instead of using previous
51886         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
51887         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51888         (__ASSUME_SENDMMSG_SYSCALL): Define.
51889         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51890         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
51891         Likewise.
51892         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51893         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51894         Likewise.
51895         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51896         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51897         Likewise.
51898         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
51899         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
51900         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
51901         [__ASSUME_SENDMMSG]: Change conditionals to
51902         [__ASSUME_SENDMMSG_SOCKETCALL].
51903         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51904         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
51905         Define.
51906         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51907         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
51908         Likewise.
51909         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
51910         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
51911         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
51912         [!__ASSUME_SENDMMSG]: Change conditional to
51913         [!__ASSUME_SENDMMSG_SOCKETCALL].
51914         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51915         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51916         Define.
51918         [BZ #16610]
51919         * sysdeps/unix/sysv/linux/kernel-features.h
51920         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
51921         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
51922         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
51923         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
51924         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
51925         [__i386__ || __sparc__]
51926         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51927         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
51928         (__ASSUME_RECVMMSG): Define instead of using previous
51929         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
51930         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51931         (__ASSUME_RECVMMSG_SYSCALL): Define.
51932         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51933         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51934         Likewise.
51935         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51936         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51937         Likewise.
51938         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51939         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51940         Likewise.
51941         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
51942         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51943         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51944         [__ASSUME_RECVMMSG]: Change condition to
51945         [__ASSUME_RECVMMSG_SOCKETCALL].
51946         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51947         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51948         Define.
51949         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51950         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51951         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51952         Likewise.
51953         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
51954         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51955         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51956         [!__ASSUME_RECVMMSG]: Change condition to
51957         [!__ASSUME_RECVMMSG_SOCKETCALL].
51958         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51959         (__ASSUME_RECVMMSG_SYSCALL): Define.
51961         [BZ #16609]
51962         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
51963         __powerpc__ || __s390__ || __sh__ || __sparc__]
51964         (__ASSUME_SOCKETCALL): Define.
51965         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
51966         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
51967         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
51968         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
51969         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51970         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
51971         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
51972         (__ASSUME_ACCEPT4): Define instead of using previous
51973         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
51974         __powerpc__ || __sparc__ || __s390__)] condition.
51975         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51976         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51977         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
51978         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51979         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51980         [!__ASSUME_ACCEPT4]: Change condition to
51981         [!__ASSUME_ACCEPT4_SOCKETCALL].
51982         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51983         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
51984         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
51985         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51986         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
51987         __ASSUME_ACCEPT4_SYSCALL.
51988         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
51989         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
51990         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51991         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
51992         __ASSUME_ACCEPT4_SYSCALL.
51993         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
51994         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51995         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51996         [__ASSUME_ACCEPT4]: Change condition to
51997         [__ASSUME_ACCEPT4_SOCKETCALL].
51998         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51999         (__ASSUME_SOCKETCALL): Define.
52000         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
52001         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52002         (__ASSUME_SOCKETCALL): Define.
52003         (__ASSUME_ACCEPT4): Remove.
52004         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
52005         Define.
52006         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52007         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
52008         Likewise.
52009         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52010         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
52012         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
52013         macro.
52014         (HWCAP_ARM_LPAE): Likewise.
52015         (HWCAP_ARM_EVTSTRM): Likewise.
52016         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
52017         Add vpfd32, lpae and evtstrm.
52018         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
52019         Increase to 22.
52021 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
52023         * math/auto-libm-test-in: Add tests of clog10.
52024         * math/auto-libm-test-out: Regenerated.
52025         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
52026         * sysdeps/i386/fpu/libm-test-ulps: Update.
52027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52029 2014-02-18  Andreas Schwab  <schwab@suse.de>
52031         [BZ #16574]
52032         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
52033         Store non-zero if the second buffer was newly allocated.
52034         (send_dg): Likewise.
52035         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
52036         to send_vc and send_dg.
52037         (res_nsend): Pass NULL for ansp2_malloced.
52038         * resolv/res_query.c (__libc_res_nquery): Add parameter
52039         answerp2_malloced and pass it down to __libc_res_nsend.
52040         (res_nquery): Pass additional NULL to __libc_res_nquery.
52041         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
52042         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
52043         second answer buffer if answerp2_malloced was set.
52044         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
52045         (__libc_res_nquerydomain): Add parameter
52046         answerp2_malloced and pass it down to __libc_res_nquery.
52047         (res_nquerydomain): Pass additional NULL to
52048         __libc_res_nquerydomain.
52049         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
52050         additional NULL to __libc_res_nsend and __libc_res_nquery.
52051         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
52052         additional NULL to __libc_res_nsearch.
52053         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
52054         parameter of __libc_res_nsearch to check for separately allocated
52055         second buffer.
52056         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
52057         __libc_res_nquery.
52058         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
52059         additional NULL to __libc_res_nquery.
52060         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
52061         __libc_res_nsearch.
52062         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
52063         * include/resolv.h: Update prototypes of __libc_res_nquery,
52064         __libc_res_nsearch, __libc_res_nsend.
52066 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
52068         * math/auto-libm-test-in: Add tests of fma.
52069         * math/auto-libm-test-out: Regenerated.
52070         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
52071         (fma_towardzero_test_data): Likewise.
52072         (fma_downward_test_data): Likewise.
52073         (fma_upward_test_data): Likewise.
52074         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
52075         mpc_mode.
52076         (rounding_modes): Add values for new field.
52077         (func_calc_method): Add value mpfr_fff_f.
52078         (func_calc_desc): Add mpfr_fff_f union field.
52079         (test_function): Add field exact_args.
52080         (FUNC): Add macro argument EXACT_ARGS.
52081         (FUNC_mpfr_f_f): Update call to FUNC.
52082         (FUNC_mpfr_f_f): Likewise.
52083         (FUNC_mpfr_ff_f): Likewise.
52084         (FUNC_mpfr_if_f): Likewise.
52085         (FUNC_mpc_c_f): Likewise.
52086         (FUNC_mpc_c_c): Likewise.
52087         (test_functions): Add fma.  Update calls to FUNC.
52088         (handle_input_arg): Add argument exact_args.
52089         (add_test): Update call to handle_input_arg.
52090         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
52091         (output_for_one_input_case): Update call to calc_generic_results.
52092         Recalculate exact zero results in each rounding mode.
52094         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
52095         non-negative before setting low bit.
52096         * math/auto-libm-test-in: Mark one asin test possibly having
52097         spurious underflow.
52098         * math/auto-libm-test-out: Regenerated.
52099         * sysdeps/i386/fpu/libm-test-ulps: Update.
52100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52102 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
52104         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
52105         * sysdeps/unix/sysv/linux/microblaze: Move directory from
52106         ports/sysdeps/unix/sysv/linux/microblaze.
52107         * README: Add missing listing for microblaze*-*-linux-gnu.
52109 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
52111         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
52112         duplicate code
52114 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
52116         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
52117         * sysdeps/unix/sysv/linux/ia64: Move directory from
52118         ports/sysdeps/unix/sysv/linux/ia64.
52119         * README: Update listing for ia64-*-linux-gnu.
52121 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
52122             Joseph Myers  <joseph@codesourcery.com>
52124         * Makeconfig (test-name): New variable.
52125         (evaluate-test): Likewise.
52126         * Makerules (do-test-clean): Remove .test-result files.
52127         (common-mostlyclean): Likewise.
52128         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
52129         * scripts/evaluate-test.sh: New file.
52131 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
52133         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
52134         separate $(objpfx)tst-fopenloc-cmp.out and
52135         $(objpfx)tst-fopenloc-mem.out targets.
52136         (tests): Update dependencies.
52137         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
52138         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
52139         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
52140         (tst-rxspencer-no-utf8-ARGS): New variable.
52141         (tst-rxspencer-no-utf8-ENV): Likewise.
52142         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
52143         instead of $(objpfx)tst-rxspencer-mem.
52144         ($(objpfx)tst-rxspencer-mem): Change target to
52145         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
52146         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
52147         * posix/tst-rxspencer-no-utf8.c: New file.
52149         * elf/Makefile ($(objpfx)order.out): Remove rule.
52150         [$(run-built-tests) = yes] (tests): Depend on
52151         $(objpfx)order-cmp.out.
52152         ($(objpfx)order-cmp.out): New rule.
52153         [$(run-built-tests) = yes] (tests): Depend on
52154         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
52155         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
52156         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
52157         $(objpfx)tst-array5-static-cmp.out.
52158         ($(objpfx)tst-array1.out): Remove rule.
52159         ($(objpfx)tst-array1-cmp.out): New rule.
52160         ($(objpfx)tst-array1-static.out): Remove rule.
52161         ($(objpfx)tst-array1-static-cmp.out): New rule.
52162         ($(objpfx)tst-array2.out): Remove rule.
52163         ($(objpfx)tst-array2-cmp.out): New rule.
52164         ($(objpfx)tst-array3.out): Remove rule.
52165         ($(objpfx)tst-array3-cmp.out): New rule.
52166         ($(objpfx)tst-array4.out): Remove rule.
52167         ($(objpfx)tst-array4-cmp.out): New rule.
52168         ($(objpfx)tst-array5.out): Remove rule.
52169         ($(objpfx)tst-array5-cmp.out): New rule.
52170         ($(objpfx)tst-array5-static.out): Remove rule.
52171         ($(objpfx)tst-array5-static-cmp.out): New rule.
52172         [$(run-built-tests) = yes] (tests): Depend on
52173         $(objpfx)order2-cmp.out.
52174         ($(objpfx)order2.out): Remove rule.
52175         ($(objpfx)order2-cmp.out): New rule.
52176         ($(objpfx)tst-initorder.out): Remove rule.
52177         [$(run-built-tests) = yes] (tests): Depend on
52178         $(objpfx)tst-initorder-cmp.out.
52179         ($(objpfx)tst-initorder-cmp.out): New rule.
52180         ($(objpfx)tst-initorder2.out): Remove rule.
52181         [$(run-built-tests) = yes] (tests): Depend on
52182         $(objpfx)tst-initorder2-cmp.out.
52183         ($(objpfx)tst-initorder2-cmp.out): New rule.
52184         [$(run-built-tests) = yes] (tests): Depend on
52185         $(objpfx)tst-unused-dep-cmp.out.
52186         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
52187         ($(objpfx)tst-unused-dep-cmp.out): New rule.
52188         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
52189         on $(objpfx)tst-setvbuf1-cmp.out.
52190         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
52191         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
52192         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
52193         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
52194         ($(objpfx)tst-svc.out): Remove rule.
52195         ($(objpfx)tst-svc-cmp.out): New rule.
52197 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
52199         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
52200         * ctype/ctype.h [__USE_MISC]: Likewise.
52201         * dirent/dirent.h [__USE_MISC]: Likewise.
52202         * grp/grp.h [__USE_MISC]: Likewise.
52203         * io/fcntl.h [__USE_MISC]: Likewise.
52204         * io/sys/stat.h [__USE_MISC]: Likewise.
52205         * libio/stdio.h [__USE_MISC]: Likewise.
52206         * posix/unistd.h [__USE_MISC]: Likewise.
52207         * pwd/pwd.h [__USE_MISC]: Likewise.
52208         * stdlib.h [__USE_MISC]: Likewise.
52209         * string/bits/string2.h [__USE_MISC]: Likewise.
52210         * string/string.h [__USE_MISC]: Likewise.
52211         * time/time.h [__USE_MISC]: Likewise.
52213 2014-02-13  Andreas Schwab  <schwab@suse.de>
52215         [BZ #16574]
52216         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
52217         second answer buffer if it was separately allocated.
52219 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
52221         * sysdeps/mips/math-tests.h: Include <features.h>.
52222         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
52223         (ROUNDING_TESTS_long_double): Do not define.
52224         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
52225         (EXCEPTION_TESTS_long_double): Likewise.
52226         * sysdeps/mips/mips64/libm-test-ulps: Update.
52228         * include/features.h (__USE_BSD): Remove macro definitions.
52229         (__USE_SVID): Likewise.
52230         (_BSD_SOURCE): Likewise.
52231         (_SVID_SOURCE): Likewise.
52232         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
52233         from definition of _DEFAULT_SOURCE.
52234         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
52235         [_DEFAULT_SOURCE].
52236         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
52237         * bits/mman.h [__USE_BSD]: Likewise.
52238         * bits/termios.h [__USE_BSD]: Likewise.
52239         * bits/waitstatus.h [__USE_BSD]: Likewise.
52240         * ctype/ctype.h [__USE_SVID]: Likewise.
52241         * dirent/dirent.h [__USE_BSD]: Likewise.
52242         * grp/grp.h [__USE_SVID]: Likewise.
52243         [__USE_BSD]: Likewise.
52244         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
52245         * io/fcntl.h [__USE_BSD]: Likewise.
52246         * io/ftw.h [__USE_BSD]: Likewise.
52247         * io/sys/stat.h [__USE_BSD]: Likewise.
52248         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
52249         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
52250         * libio/stdio.h [__USE_SVID]: Likewise.
52251         [__USE_BSD]: Likewise.
52252         * math/math.h [__USE_SVID]: Likewise.
52253         [__USE_BSD]: Likewise.
52254         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
52255         * misc/bits/syslog.h [__USE_BSD]: Likewise.
52256         * misc/search.h [__USE_SVID]: Likewise.
52257         * misc/sys/mman.h [__USE_BSD]: Likewise.
52258         * misc/sys/syslog.h [__USE_BSD]: Likewise.
52259         * misc/sys/uio.h [__USE_BSD]: Likewise.
52260         * posix/bits/unistd.h [__USE_BSD]: Likewise.
52261         * posix/glob.h [__USE_BSD]: Likewise.
52262         * posix/regex.h [__USE_BSD]: Likewise.
52263         * posix/sys/types.h [__USE_BSD]: Likewise.
52264         [__USE_SVID]: Likewise.
52265         * posix/sys/utsname.h [__USE_SVID]: Likewise.
52266         * posix/sys/wait.h [__USE_BSD]: Likewise.
52267         [__USE_SVID]: Likewise.
52268         * posix/unistd.h [__USE_BSD]: Likewise.
52269         [__USE_SVID]: Likewise.
52270         * pwd/pwd.h [__USE_SVID]: Likewise.
52271         * resolv/netdb.h [__USE_BSD]: Likewise.
52272         * setjmp/setjmp.h [__USE_BSD]: Likewise.
52273         * signal/signal.h [__USE_BSD]: Likewise.
52274         [__USE_SVID]: Likewise.
52275         * socket/sys/socket.h [__USE_BSD]: Likewise.
52276         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
52277         * stdlib/stdlib.h [__USE_BSD]: Likewise.
52278         [__USE_SVID]: Likewise.
52279         * string/bits/string2.h [__USE_BSD]: Likewise.
52280         [__USE_SVID]: Likewise.
52281         * string/bits/string3.h [__USE_BSD]: Likewise.
52282         * string/endian.h [__USE_BSD]: Likewise.
52283         * string/string.h [__USE_SVID]: Likewise.
52284         [__USE_BSD]: Likewise.
52285         * string/strings.h [__USE_BSD]: Likewise.
52286         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
52287         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
52288         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
52289         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
52290         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
52291         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
52292         Likewise.
52293         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
52294         Likewise.
52295         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
52296         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
52297         Likewise.
52298         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
52299         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
52300         Likewise.
52301         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
52302         Likewise.
52303         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
52304         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
52305         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
52306         Likewise.
52307         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
52308         Likewise.
52309         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
52310         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
52311         * termios/termios.h [__USE_BSD]: Likewise.
52312         * time/sys/time.h [__USE_BSD]: Likewise.
52313         * time/time.h [__USE_BSD]: Likewise.
52314         [__USE_SVID]: Likewise.
52316         * Makefile (subdir_targets): Remove subdir_lint.out.
52318         * stdio-common/Makefile (do-tst-unbputc): Remove target.
52319         (do-tst-printf): Likewise.
52320         (tests): Depend directly on $(objpfx)tst-unbputc.out and
52321         $(objpfx)tst-printf.out.
52323         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
52325         * Makerules (check-abi-%): Change target to
52326         $(objpfx)check-abi-%.out.
52327         (check-abi target): Update dependencies.
52328         (check-abi-pattern variable): Redirect output of diff to $@.
52329         (check-abi variable): Likewise.
52330         * elf/Makefile (check-abi): Update dependencies.
52332         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
52333         unused.
52334         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
52335         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
52336         subnormal range.
52337         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
52338         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
52339         value has largest subnormal exponent.
52340         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
52341         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
52342         * sysdeps/aarch64/soft-fp/sfp-machine.h
52343         (_FP_TININESS_AFTER_ROUNDING): New macro.
52344         * sysdeps/alpha/soft-fp/sfp-machine.h
52345         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52346         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52347         Likewise.
52348         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
52349         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52350         * sysdeps/mips/soft-fp/sfp-machine.h
52351         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52352         * sysdeps/powerpc/soft-fp/sfp-machine.h
52353         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52354         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52355         Likewise.
52356         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
52357         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52358         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
52359         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52360         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52361         Likewise.
52363 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
52365         [BZ #16545]
52366         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
52367         model 1.
52369 2014-02-12  Richard Henderson  <rth@redhat.com>
52371         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
52372         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
52373         * sysdeps/unix/sysv/linux/alpha: Move directory from
52374         ports/sysdeps/unix/sysv/linux/alpha.
52375         * README: Update listing for alpha-*-linux-gnu.
52377 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
52379         * include/features.h: Update comment documenting feature test
52380         macros.
52381         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
52382         _DEFAULT_SOURCE.
52383         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
52384         (_SVID_SOURCE): Likewise.
52385         (_DEFAULT_SOURCE): Update description of default features.
52386         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
52387         with _GNU_SOURCE.
52388         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
52389         (S_ISVTX): Likewise.
52390         * manual/math.texi (Mathematical Constants): Likewise.
52391         * manual/signal.texi (Interrupted Primitives): Likewise.
52392         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
52393         * math/test-matherr.c (_SVID_SOURCE): Do not define.
52394         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
52395         Don't refer to _SVID_SOURCE in warning text.
52397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52399         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
52400         already defined.
52401         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
52402         * sysdeps/mips/dl-lookup.c: Remove.
52403         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
52405 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
52407         [BZ #16447]
52408         * math/auto-libm-test-in: Add testcase for expl.
52409         * math/auto-libm-test-out: Regenerate.
52410         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
52411         calculation of unsafe.
52412         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
52414 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52416         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
52417         * sysdeps/unix/sysv/linux/aarch64: Move directory from
52418         ports/sysdeps/unix/sysv/linux/aarch64.
52419         * README: Update listing for aarch64*-*-linux-gnu.
52421 2014-02-11  Will Newton  <will.newton@linaro.org>
52423         * manual/probes.texi (Mathematical Function Probes): Use
52424         "triggered" instead of "hit".
52426         * manual/probes.texi (Internal Probes): Add documentation
52427         of setjmp, longjmp and longjmp_target probes.
52429         * include/stap-probe.h: Add comment about probe argument
52430         format.
52432         * malloc/mtrace.c (attribute_hidden): Remove unused macro
52433         definition.  (tr_where, tr_freehook, tr_mallochook,
52434         tr_reallochook, tr_memalignhook): Use ANSI protoype.
52436 2014-02-11  David S. Miller  <davem@davemloft.net>
52438         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
52439         processing int_tests.
52441 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
52443         * sysdeps/mips: Move directory from ports/sysdeps/mips.
52444         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
52445         * sysdeps/unix/sysv/linux/mips: Move directory from
52446         ports/sysdeps/unix/sysv/linux/mips.
52447         * README: Update listing for mips-*-linux-gnu and
52448         mips64-*-linux-gnu.
52450 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
52452         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
52453         * sysdeps/unix/sysv/linux/m68k: Move directory from
52454         ports/sysdeps/unix/sysv/linux/m68k.
52455         * README: Update listing for m68k-*-linux-gnu.
52457 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
52459         * sysdeps/tile: Move directory from ports/sysdeps/tile.
52460         * sysdeps/unix/sysv/linux/generic: Move directory from
52461         ports/sysdeps/unix/sysv/linux/generic.
52462         * sysdeps/unix/sysv/linux/tile: Move directory from
52463         ports/sysdeps/unix/sysv/linux/tile.
52464         * README: Update listing for tile*-*-linux-gnu.
52466 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
52468         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
52469         __builtin_expect.
52470         * benchtests/bench-memmem.c (simple_memmem): Likewise.
52471         * catgets/open_catalog.c (__open_catalog): Likewise.
52472         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
52473         * debug/confstr_chk.c: Likewise.
52474         * debug/fread_chk.c (__fread_chk): Likewise.
52475         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
52476         * debug/getgroups_chk.c: Likewise.
52477         * debug/mbsnrtowcs_chk.c: Likewise.
52478         * debug/mbsrtowcs_chk.c: Likewise.
52479         * debug/mbstowcs_chk.c: Likewise.
52480         * debug/memcpy_chk.c: Likewise.
52481         * debug/memmove_chk.c: Likewise.
52482         * debug/mempcpy_chk.c: Likewise.
52483         * debug/memset_chk.c: Likewise.
52484         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52485         * debug/strcat_chk.c (__strcat_chk): Likewise.
52486         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
52487         * debug/strncat_chk.c (__strncat_chk): Likewise.
52488         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
52489         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
52490         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
52491         * debug/wcpncpy_chk.c: Likewise.
52492         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52493         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
52494         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
52495         * debug/wcsncpy_chk.c: Likewise.
52496         * debug/wcsnrtombs_chk.c: Likewise.
52497         * debug/wcsrtombs_chk.c: Likewise.
52498         * debug/wcstombs_chk.c: Likewise.
52499         * debug/wmemcpy_chk.c: Likewise.
52500         * debug/wmemmove_chk.c: Likewise.
52501         * debug/wmempcpy_chk.c: Likewise.
52502         * debug/wmemset_chk.c: Likewise.
52503         * dirent/scandirat.c (SCANDIRAT): Likewise.
52504         * dlfcn/dladdr1.c (dladdr1): Likewise.
52505         * dlfcn/dladdr.c (dladdr): Likewise.
52506         * dlfcn/dlclose.c (dlclose_doit): Likewise.
52507         * dlfcn/dlerror.c (__dlerror): Likewise.
52508         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
52509         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
52510         * dlfcn/dlopen.c (dlopen_doit): Likewise.
52511         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
52512         * dlfcn/dlsym.c (dlsym_doit): Likewise.
52513         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
52514         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
52515         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
52516         Likewise.
52517         * elf/dl-conflict.c: Likewise.
52518         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
52519         * elf/dl-dst.h: Likewise.
52520         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
52521         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
52522         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
52523         * elf/dl-init.c (call_init, _dl_init): Likewise.
52524         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
52525         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
52526         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
52527         Likewise.
52528         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
52529         Likewise.
52530         * elf/dl-minimal.c (__libc_memalign): Likewise.
52531         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
52532         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52533         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
52534         * elf/dl-sym.c (do_sym): Likewise.
52535         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
52536         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
52537         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
52538         * elf/dl-writev.h (_dl_writev): Likewise.
52539         * elf/ldconfig.c (search_dir): Likewise.
52540         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
52541         (dl_main): Likewise.
52542         * elf/setup-vdso.h (setup_vdso): Likewise.
52543         * grp/compat-initgroups.c (compat_call): Likewise.
52544         * grp/fgetgrent.c (fgetgrent): Likewise.
52545         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
52546         * grp/putgrent.c (putgrent): Likewise.
52547         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52548         Likewise.
52549         * hurd/hurdinit.c: Likewise.
52550         * iconvdata/8bit-gap.c (struct): Likewise.
52551         * iconvdata/ansi_x3.110.c : Likewise.
52552         * iconvdata/big5.c : Likewise.
52553         * iconvdata/big5hkscs.c : Likewise.
52554         * iconvdata/cp1255.c: Likewise.
52555         * iconvdata/cp1258.c : Likewise.
52556         * iconvdata/cp932.c : Likewise.
52557         * iconvdata/euc-cn.c: Likewise.
52558         * iconvdata/euc-jisx0213.c : Likewise.
52559         * iconvdata/euc-jp.c: Likewise.
52560         * iconvdata/euc-jp-ms.c : Likewise.
52561         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
52562         * iconvdata/gb18030.c : Likewise.
52563         * iconvdata/gbbig5.c (const): Likewise.
52564         * iconvdata/gbgbk.c: Likewise.
52565         * iconvdata/gbk.c : Likewise.
52566         * iconvdata/ibm1364.c : Likewise.
52567         * iconvdata/ibm930.c : Likewise.
52568         * iconvdata/ibm932.c: Likewise.
52569         * iconvdata/ibm933.c : Likewise.
52570         * iconvdata/ibm935.c : Likewise.
52571         * iconvdata/ibm937.c : Likewise.
52572         * iconvdata/ibm939.c : Likewise.
52573         * iconvdata/ibm943.c: Likewise.
52574         * iconvdata/iso_11548-1.c: Likewise.
52575         * iconvdata/iso-2022-cn.c : Likewise.
52576         * iconvdata/iso-2022-cn-ext.c : Likewise.
52577         * iconvdata/iso-2022-jp-3.c: Likewise.
52578         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
52579         * iconvdata/iso-2022-kr.c : Likewise.
52580         * iconvdata/iso646.c (gconv_end): Likewise.
52581         * iconvdata/iso_6937-2.c : Likewise.
52582         * iconvdata/iso_6937.c : Likewise.
52583         * iconvdata/iso8859-1.c: Likewise.
52584         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
52585         * iconvdata/shift_jisx0213.c : Likewise.
52586         * iconvdata/sjis.c : Likewise.
52587         * iconvdata/t.61.c : Likewise.
52588         * iconvdata/tcvn5712-1.c : Likewise.
52589         * iconvdata/tscii.c: Likewise.
52590         * iconvdata/uhc.c : Likewise.
52591         * iconvdata/unicode.c (gconv_end): Likewise.
52592         * iconvdata/utf-16.c (gconv_end): Likewise.
52593         * iconvdata/utf-32.c (gconv_end): Likewise.
52594         * iconvdata/utf-7.c (base64): Likewise.
52595         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
52596         * iconv/gconv_close.c (__gconv_close): Likewise.
52597         * iconv/gconv_open.c (__gconv_open): Likewise.
52598         * iconv/gconv_simple.c (internal_ucs4_loop_single)
52599         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
52600         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
52601         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
52602         (ucs4le_internal_loop_single): Likewise.
52603         * iconv/iconv.c (iconv): Likewise.
52604         * iconv/iconv_close.c: Likewise.
52605         * iconv/loop.c (SINGLE): Likewise.
52606         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
52607         * include/atomic.h: Likewise.
52608         * inet/inet6_option.c (option_alloc): Likewise.
52609         * intl/bindtextdom.c (set_binding_values): Likewise.
52610         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
52611         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
52612         * intl/localealias.c (read_alias_file): Likewise.
52613         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
52614         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
52615         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
52616         * libio/fmemopen.c (fmemopen): Likewise.
52617         * libio/iofgets.c (_IO_fgets): Likewise.
52618         * libio/iofgets_u.c (fgets_unlocked): Likewise.
52619         * libio/iofgetws.c (fgetws): Likewise.
52620         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
52621         * libio/iogetdelim.c (_IO_getdelim): Likewise.
52622         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
52623         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
52624         * locale/findlocale.c (_nl_find_locale): Likewise.
52625         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
52626         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
52627         Likewise.
52628         * locale/setlocale.c (setlocale): Likewise.
52629         * login/programs/pt_chown.c (main): Likewise.
52630         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
52631         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
52632         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
52633         (mmap, mmap64, mremap, munmap): Likewise.
52634         * math/e_exp2l.c: Likewise.
52635         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
52636         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
52637         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
52638         * math/s_catan.c (__catan): Likewise.
52639         * math/s_catanf.c (__catanf): Likewise.
52640         * math/s_catanh.c (__catanh): Likewise.
52641         * math/s_catanhf.c (__catanhf): Likewise.
52642         * math/s_catanhl.c (__catanhl): Likewise.
52643         * math/s_catanl.c (__catanl): Likewise.
52644         * math/s_ccosh.c (__ccosh): Likewise.
52645         * math/s_ccoshf.c (__ccoshf): Likewise.
52646         * math/s_ccoshl.c (__ccoshl): Likewise.
52647         * math/s_cexp.c (__cexp): Likewise.
52648         * math/s_cexpf.c (__cexpf): Likewise.
52649         * math/s_cexpl.c (__cexpl): Likewise.
52650         * math/s_clog10.c (__clog10): Likewise.
52651         * math/s_clog10f.c (__clog10f): Likewise.
52652         * math/s_clog10l.c (__clog10l): Likewise.
52653         * math/s_clog.c (__clog): Likewise.
52654         * math/s_clogf.c (__clogf): Likewise.
52655         * math/s_clogl.c (__clogl): Likewise.
52656         * math/s_csin.c (__csin): Likewise.
52657         * math/s_csinf.c (__csinf): Likewise.
52658         * math/s_csinh.c (__csinh): Likewise.
52659         * math/s_csinhf.c (__csinhf): Likewise.
52660         * math/s_csinhl.c (__csinhl): Likewise.
52661         * math/s_csinl.c (__csinl): Likewise.
52662         * math/s_csqrt.c (__csqrt): Likewise.
52663         * math/s_csqrtf.c (__csqrtf): Likewise.
52664         * math/s_csqrtl.c (__csqrtl): Likewise.
52665         * math/s_ctan.c (__ctan): Likewise.
52666         * math/s_ctanf.c (__ctanf): Likewise.
52667         * math/s_ctanh.c (__ctanh): Likewise.
52668         * math/s_ctanhf.c (__ctanhf): Likewise.
52669         * math/s_ctanhl.c (__ctanhl): Likewise.
52670         * math/s_ctanl.c (__ctanl): Likewise.
52671         * math/w_pow.c: Likewise.
52672         * math/w_powf.c: Likewise.
52673         * math/w_powl.c: Likewise.
52674         * math/w_scalb.c (sysv_scalb): Likewise.
52675         * math/w_scalbf.c (sysv_scalbf): Likewise.
52676         * math/w_scalbl.c (sysv_scalbl): Likewise.
52677         * misc/error.c (error_tail): Likewise.
52678         * misc/pselect.c (__pselect): Likewise.
52679         * nis/nis_callback.c (__nis_create_callback): Likewise.
52680         * nis/nis_call.c (__nisfind_server): Likewise.
52681         * nis/nis_creategroup.c (nis_creategroup): Likewise.
52682         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
52683         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
52684         * nis/nis_getservlist.c (nis_getservlist): Likewise.
52685         * nis/nis_lookup.c (nis_lookup): Likewise.
52686         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
52687         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
52688         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
52689         * nis/nis_xdr.c (xdr_endpoint): Likewise.
52690         * nis/nss_compat/compat-grp.c (getgrent_next_file)
52691         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
52692         * nis/nss_compat/compat-initgroups.c (add_group)
52693         (internal_getgrent_r): Likewise.
52694         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
52695         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
52696         * nis/nss_compat/compat-spwd.c (getspent_next_file)
52697         (internal_getspnam_r): Likewise.
52698         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
52699         (_nss_nis_getaliasbyname_r): Likewise.
52700         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
52701         (_nss_nis_getntohost_r): Likewise.
52702         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
52703         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
52704         (_nss_nis_getgrgid_r): Likewise.
52705         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
52706         (internal_nis_gethostent_r, internal_gethostbyname2_r)
52707         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
52708         (_nss_nis_gethostbyname4_r): Likewise.
52709         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
52710         (initgroups_netid): Likewise.
52711         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
52712         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
52713         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
52714         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
52715         (_nss_nis_getprotobynumber_r): Likewise.
52716         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
52717         (_nss_nis_getsecretkey): Likewise.
52718         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
52719         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
52720         (_nss_nis_getpwuid_r): Likewise.
52721         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
52722         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
52723         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
52724         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
52725         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
52726         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
52727         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
52728         Likewise.
52729         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
52730         (_nss_nisplus_getntohost_r): Likewise.
52731         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
52732         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
52733         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
52734         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
52735         Likewise.
52736         * nis/nss_nisplus/nisplus-initgroups.c
52737         (_nss_nisplus_initgroups_dyn): Likewise.
52738         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
52739         (_nss_nisplus_getnetbyaddr_r): Likewise.
52740         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
52741         (_nss_nisplus_getprotobynumber_r): Likewise.
52742         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
52743         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
52744         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
52745         Likewise.
52746         * nis/nss_nisplus/nisplus-service.c
52747         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
52748         (_nss_nisplus_getservbyport_r): Likewise.
52749         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
52750         (_nss_nisplus_getspnam_r): Likewise.
52751         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
52752         Likewise.
52753         * nscd/aicache.c (addhstaiX): Likewise.
52754         * nscd/cache.c (cache_search, prune_cache): Likewise.
52755         * nscd/connections.c (register_traced_file, send_ro_fd)
52756         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
52757         (main_loop_epoll): Likewise.
52758         * nscd/grpcache.c (addgrbyX): Likewise.
52759         * nscd/hstcache.c (addhstbyX): Likewise.
52760         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52761         * nscd/mem.c (gc, mempool_alloc): Likewise.
52762         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
52763         (addinnetgrX): Likewise.
52764         * nscd/nscd-client.h (__nscd_acquire_maplock)
52765         (__nscd_drop_map_ref): Likewise.
52766         * nscd/nscd_getai.c (__nscd_getai): Likewise.
52767         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
52768         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
52769         Likewise.
52770         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
52771         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52772         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
52773         (__nscd_get_map_ref): Likewise.
52774         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
52775         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
52776         Likewise.
52777         * nscd/pwdcache.c (addpwbyX): Likewise.
52778         * nscd/selinux.c (preserve_capabilities): Likewise.
52779         * nscd/servicescache.c (addservbyX): Likewise.
52780         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
52781         * posix/fnmatch.c (fnmatch): Likewise.
52782         * posix/getopt.c (_getopt_internal_r): Likewise.
52783         * posix/glob.c (glob, glob_in_dir): Likewise.
52784         * posix/wordexp.c (exec_comm_child): Likewise.
52785         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
52786         (getanswer_r, gaih_getanswer_slice): Likewise.
52787         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
52788         * resolv/res_init.c: Likewise.
52789         * resolv/res_mkquery.c (res_nmkquery): Likewise.
52790         * resolv/res_query.c (__libc_res_nquery): Likewise.
52791         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
52792         Likewise.
52793         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
52794         * stdio-common/perror.c (perror): Likewise.
52795         * stdio-common/printf_fp.c (___printf_fp): Likewise.
52796         * stdio-common/tmpnam.c (tmpnam): Likewise.
52797         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52798         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
52799         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
52800         Likewise.
52801         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
52802         * stdlib/putenv.c (putenv): Likewise.
52803         * stdlib/setenv.c (__add_to_environ): Likewise.
52804         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52805         * stdlib/strtol_l.c (INTERNAL): Likewise.
52806         * string/memmem.c (memmem): Likewise.
52807         * string/strerror.c (strerror): Likewise.
52808         * string/strnlen.c (__strnlen): Likewise.
52809         * string/test-memmem.c (simple_memmem): Likewise.
52810         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
52811         * sunrpc/pm_getport.c (__get_socket): Likewise.
52812         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
52813         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
52814         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
52815         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
52816         Likewise.
52817         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
52818         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
52819         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
52820         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
52821         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
52822         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
52823         Likewise.
52824         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
52825         Likewise.
52826         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
52827         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
52828         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52829         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
52830         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
52831         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
52832         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
52833         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
52834         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
52835         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
52836         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52837         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
52838         Likewise.
52839         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
52840         Likewise.
52841         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
52842         Likewise.
52843         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
52844         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52845         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
52846         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
52847         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
52848         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
52849         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
52850         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
52851         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
52852         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
52853         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
52854         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52855         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
52856         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
52857         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52858         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
52859         Likewise.
52860         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
52861         Likewise.
52862         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
52863         Likewise.
52864         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
52865         Likewise.
52866         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52867         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52868         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
52869         Likewise.
52870         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
52871         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
52872         * sysdeps/posix/opendir.c (__opendirat): Likewise.
52873         * sysdeps/posix/sleep.c: Likewise.
52874         * sysdeps/posix/tempname.c: Likewise.
52875         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
52876         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52877         Likewise.
52878         * sysdeps/powerpc/powerpc32/dl-machine.h
52879         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
52880         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
52881         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52882         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
52883         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
52884         Likewise.
52885         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
52886         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
52887         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
52888         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
52889         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
52890         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
52891         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
52892         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
52893         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52894         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
52895         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
52896         (elf_machine_lazy_rel): Likewise.
52897         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52898         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
52899         (elf_machine_lazy_rel): Likewise.
52900         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
52901         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
52902         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
52903         * sysdeps/unix/grantpt.c (grantpt): Likewise.
52904         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
52905         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
52906         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
52907         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52908         Likewise.
52909         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
52910         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
52911         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
52912         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
52913         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52914         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52915         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
52916         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
52917         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
52918         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52919         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52920         Likewise.
52921         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
52922         (__posix_fallocate64_l64): Likewise.
52923         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
52924         (posix_fallocate): Likewise.
52925         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
52926         Likewise.
52927         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52928         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
52929         (getifaddrs_internal): Likewise.
52930         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
52931         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
52932         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
52933         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
52934         * sysdeps/unix/sysv/linux/posix_fallocate64.c
52935         (__posix_fallocate64_l64): Likewise.
52936         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
52937         Likewise.
52938         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
52939         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
52940         (__get_clockfreq): Likewise.
52941         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
52942         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
52943         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
52944         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52945         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52946         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
52947         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
52948         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
52949         Likewise.
52950         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
52951         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
52952         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
52953         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
52954         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52955         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
52956         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
52957         Likewise.
52958         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
52959         (posix_fallocate): Likewise.
52960         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52961         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
52962         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
52963         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
52964         (elf_machine_rela, elf_machine_rela_relative)
52965         (elf_machine_lazy_rel): Likewise.
52966         * time/asctime.c (asctime_internal): Likewise.
52967         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
52968         * time/tzset.c (__tzset_parse_tz): Likewise.
52969         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
52970         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
52971         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
52972         * wcsmbs/wcsmbsload.h: Likewise.
52974         [BZ #15894]
52975         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
52977         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
52978         (arena_get2): Remove THREAD_STATS conditionals.
52979         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
52980         (__malloc_stats, int): Likewise.
52982 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
52984         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
52985         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
52987         * manual/setjmp.texi: Fix typos/grammar errors.
52989         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
52990         Only return early when n is <= 0.  Delete unused return statement.
52992         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
52993         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
52994         * debug/tst-longjmp_chk3.c: New file.
52996         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
52997         (test_main): Replace code with set_fortify_handler call.
52998         * debug/test-strcpy_chk.c: Likewise.
52999         * debug/tst-chk1.c: Likewise.
53000         * debug/tst-longjmp_chk.c: Likewise.
53001         * test-skeleton.c: Include fcntl.h & paths.h
53002         (set_fortify_handler): Define.
53004         * debug/tst-longjmp_chk.c: Add header comment and include
53005         ../test-skeleton.c.
53006         (do_test): Mark static.
53007         (TEST_FUNCTION): Define.
53009         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
53010         (IP_PMTUDISC_INTERFACE): Likewise.
53011         (IP_MULTICAST_IF): Likewise.
53012         (IP_MULTICAST_TTL): Likewise.
53013         (IP_MULTICAST_LOOP): Likewise.
53014         (IP_ADD_MEMBERSHIP): Likewise.
53015         (IP_DROP_MEMBERSHIP): Likewise.
53016         (IP_UNBLOCK_SOURCE): Likewise.
53017         (IP_BLOCK_SOURCE): Likewise.
53018         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
53019         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
53020         (IP_MSFILTER): Likewise.
53021         (MCAST_JOIN_GROUP): Likewise.
53022         (MCAST_BLOCK_SOURCE): Likewise.
53023         (MCAST_UNBLOCK_SOURCE): Likewise.
53024         (MCAST_LEAVE_GROUP): Likewise.
53025         (MCAST_JOIN_SOURCE_GROUP): Likewise.
53026         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
53027         (MCAST_MSFILTER): Likewise.
53028         (IP_MULTICAST_ALL): Likewise.
53029         (IP_UNICAST_IF): Likewise.
53031         * timezone/Makefile: Delete $(have-ksh) check.
53032         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
53033         * timezone/tzselect.ksh: Add +x mode bits.
53035         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
53036         (ANON_INODE_FS_MAGIC): Likewise.
53037         (BDEVFS_MAGIC): Likewise.
53038         (BINFMTFS_MAGIC): Likewise.
53039         (BTRFS_TEST_MAGIC): Likewise.
53040         (CRAMFS_MAGIC_WEND): Likewise.
53041         (DEBUGFS_MAGIC): Likewise.
53042         (ECRYPTFS_SUPER_MAGIC): Likewise.
53043         (EXT3_SUPER_MAGIC): Likewise.
53044         (EXT4_SUPER_MAGIC): Likewise.
53045         (FUTEXFS_SUPER_MAGIC): Likewise.
53046         (HOSTFS_SUPER_MAGIC): Likewise.
53047         (HUGETLBFS_MAGIC): Likewise.
53048         (MINIX3_SUPER_MAGIC): Likewise.
53049         (MTD_INODE_FS_MAGIC): Likewise.
53050         (NILFS_SUPER_MAGIC): Likewise.
53051         (OPENPROM_SUPER_MAGIC): Likewise.
53052         (PIPEFS_MAGIC): Likewise.
53053         (PSTOREFS_MAGIC): Likewise.
53054         (QNX6_SUPER_MAGIC): Likewise.
53055         (RAMFS_MAGIC): Likewise.
53056         (REISERFS_SUPER_MAGIC_STRING): Likewise.
53057         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
53058         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
53059         (SECURITYFS_MAGIC): Likewise.
53060         (SELINUX_MAGIC): Likewise.
53061         (SMACK_MAGIC): Likewise.
53062         (SOCKFS_MAGIC): Likewise.
53063         (SQUASHFS_MAGIC): Likewise.
53064         (STACK_END_MAGIC): Likewise.
53065         (TMPFS_MAGIC): Likewise.
53066         (USBDEVICE_SUPER_MAGIC): Likewise.
53067         (V9FS_MAGIC): Likewise.
53068         (XENFS_SUPER_MAGIC): Likewise.
53069         (CRAMFS_MAGIC): Fix typo in comment.
53070         (EXT2_SUPER_MAGIC): Update comment.
53071         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
53073 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
53075         * sysdeps/arm: Move directory from ports/sysdeps/arm.
53076         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
53077         * sysdeps/unix/sysv/linux/arm: Move directory from
53078         ports/sysdeps/unix/sysv/linux/arm.
53079         * README: Update listing for arm-*-linux-gnueabi.
53081         * README: Remove mention of am33.
53083 2014-02-07  Roland McGrath  <roland@hack.frob.com>
53085         * bits/sigset.h (__sigemptyset): Use a statement expression rather
53086         than the comma operator, to avoid "rhs of comma has no effect"
53087         compiler warnings.
53088         (__sigfillset, __sigandset, __sigorset): Likewise.
53089         * include/signal.h (__sigemptyset): Likewise.
53090         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
53092 2014-02-07  Allan McRae  <allan@archlinux.org>
53094         * version.h (RELEASE): Set to "development".
53095         (VERSION): Set to "2.19.90"
53096         * NEWS: Add 2.20 section.
53098 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
53100         [BZ #16529]
53101         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
53103 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53105         * manual/contrib.texi: Update entry for Carlos O'Donell,
53106         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
53108 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
53110         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
53112         * sysdeps/unix/sysv/linux/kernel-features.h
53113         [__LINUX_KERNEL_VERSION >= 0x020621]
53114         (__ASSUME_PROC_PID_TASK_COMM): Define.
53116 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53118         [BZ #16398]
53119         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
53120         conversion when destination buffer does not have enough space.
53121         * libio/tst-ftell-partial-wide.c: New test case.
53122         * libio/Makefile (tests): Add tst-ftell-partial-wide.
53124         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
53125         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
53126         Leonard and Allan McRae.
53128 2014-02-04  David S. Miller  <davem@davemloft.net>
53130         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
53131         32-bit.
53133 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
53136         New file
53137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
53138         New file
53139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
53140         New file.
53141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
53142         New file.
53143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
53144         New file.
53145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
53146         New file.
53147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
53148         New file.
53149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
53150         New file.
53151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
53152         New file.
53153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
53154         New file.
53155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
53156         New file.
53157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
53158         New file.
53159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
53160         New file.
53162 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53164         * nptl/shlib-versions: Change powerpc*le start to 2.17.
53165         * shlib-versions: Likewise.
53167 2014-02-04  Roland McGrath  <roland@hack.frob.com>
53168             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53170         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
53171         (abilist-pattern): New variable, set to %-le.abilist.
53173         * Makerules (abilist-pattern): New variable.
53174         (vpath): Use $(abilist-pattern) in place of %.abilist.
53175         (check-abi-% pattern rule): Likewise.
53176         (check-abi, update-abi): Likewise.
53178 2014-02-04  Eric Wong  <normalperson@yhbt.net>
53180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53182 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
53184         * manual/startup.texi: Add next, previous, and top entries for
53185         the `Program Arguments' and `Environment Variables' nodes.
53187 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
53189         * manual/macros.texi: Add comments before MTASC-safety macros.
53191         * manual/users.texi: Document MTASC-safety properties.
53193         * manual/threads.texi (pthread_key_create, pthread_key_delete)
53194         (pthread_getspecific, pthread_setspecific): Format with
53195         @deftypefun, and add @safety note.
53196         * manual/signal.texi: Move comments that analyze the above
53197         functions to their home place.
53199 2014-02-03  Allan McRae  <allan@archlinux.org>
53201         * po/sl.po: Update Slovenian translation from translation project.
53203 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
53205         * manual/time.texi (timegm): Add missing blank after @c.
53206         Reported by Joseph Myers <joseph@codesourcery.com>.
53208 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
53210         * manual/check-safety.sh: New.
53211         * manual/Makefile ($(objpfx)stamp-summary): Run it.
53213         * manual/terminal.texi: Document MTASC-safety properties.
53215         * manual/filesys.texi: Document MTASC-safety properties.
53217         * manual/errno.texi: Document MTASC-safety properties.
53219         * manual/intro.texi: Document safety identifiers and
53220         conditionals.
53222         * manual/string.texi (wcstok): Fix prototype.
53223         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
53225         * manual/time.texi: Document MTASC-safety properties.
53227         * manual/string.texi: Document MTASC-safety properties.
53229         * manual/threads.texi: Document MTASC-safety properties.
53231         * manual/stdio.texi: Document MTASC-safety properties.
53233         * manual/syslog.texi: Document MTASC-safety properties.
53235         * manual/sysinfo.texi: Document MTASC-safety properties.
53237         * manual/startup.texi: Document MTASC-safety properties.
53239         * manual/socket.texi: Document MTASC-safety properties.
53241         * manual/signal.texi: Document MTASC-safety properties.
53243 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
53245         * manual/setjmp.texi: Document MTASC-safety properties.
53247         * manual/search.texi: Document MTASC-safety properties.
53249         * manual/resource.texi: Document MTASC-safety properties.
53251         * manual/process.texi: Document MTASC-safety properties.
53253         * manual/platform.texi: Document MTASC-safety properties.
53255         * manual/pipe.texi: Document MTASC-safety properties.
53257         * manual/pattern.texi: Document MTASC-safety properties.
53259         * manual/message.texi: Document MTASC-safety properties.
53261         [BZ #12751]
53262         * manual/memory.texi: Document MTASC-safety properties.
53264         * manual/math.texi: Document MTASC-safety properties.
53266         * manual/locale.texi: Document MTASC-safety properties.
53268         * manual/llio.texi: Document MTASC-safety properties.
53270         * manual/libdl.texi: New.
53272         * manual/lang.texi: Document MTASC-safety properties.
53274         * manual/job.texi: Document MTASC-safety properties.
53276         * manual/getopt.texi: Document MTASC-safety properties.
53278         * manual/ctype.texi: Document MTASC-safety properties.
53280 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
53282         [BZ #16046]
53283         * csu/libc-tls.c (static_map): Remove variable.
53284         (__libc_setup_tls): Use main executable's link map for TLS data.
53285         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
53286         casing for LM_ID_BASE and GL(dl_nns).
53287         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
53288         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
53289         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
53290         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
53291         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
53292         member.
53293         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
53294         l_phnum members.
53296 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
53298         * manual/debug.texi: Document MTASC-safety properties.
53300 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
53302         [BZ #16510]
53303         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
53304         of __x86_64__ when disabling x87 inline functions.
53306 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
53308         * manual/charset.texi: Document MTASC-safety properties.
53310         * manual/crypt.texi: Document MTASC-safety properties.
53312         * manual/conf.texi: Document MTASC-safety properties.
53314         * manual/arith.texi: Document MTASC-safety properties.
53316         * manual/argp.texi: Document MTASC-safety properties.
53318         * manual/macros.texi: Introduce macros to document multi
53319         thread, asynchronous signal and asynchronous cancellation
53320         safety properties.
53321         * manual/intro.texi: Introduce the properties themselves.
53323 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53325         * sysdeps/sh/sh4/Makefile: New file.
53327 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
53329         * math/gen-libm-test.pl ($srcdir): New variable.
53330         ($auto_input): Use it.
53332 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53334         [BZ #16506]
53335         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
53336         access beyond array bounds when parsing netgroups file.
53338         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
53339         the old buffer before realloc.
53341 2014-01-27  Allan McRae  <allan@archlinux.org>
53343         * po/fr.po: Update French translation from translation project.
53345 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53347         * sysdeps/sh/libm-test-ulps: Regenerate.
53349 2014-01-24  David S. Miller  <davem@davemloft.net>
53351         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
53353 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53355         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
53356         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
53358 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53360         [BZ #16474]
53361         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
53362         string pointers after reallocation.
53364 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53366         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
53367         __SH4A__ instead of __SH_FPU_ANY__.
53369 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53371         * sysdeps/sh/fpu_control.h: New file.
53372         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
53373         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
53374         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
53375         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
53376         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
53377         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
53378         * sysdeps/sh/sys/ucontext.h: Remove.
53379         * sysdeps/sh/sys: Remove directory.
53381 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53383         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
53384         s390/sys/ucontext.h.
53385         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
53386         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
53388 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
53390         [BZ #15605]
53391         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
53393 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53395         [BZ #16431]
53396         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53397         Adjust the vDSO correctly for internal calls.
53398         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
53400 2014-01-20  Allan McRae  <allan@archlinux.org>
53402         * po/ca.po: Update Catalan translation from translation project.
53404 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
53406         * sysdeps/s390/sotruss-lib.c: New file.
53408 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53410         [BZ #16430]
53411         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
53412         (__GI___gettimeofday): Alias for a different internal symbol to avoid
53413         local calls issues by not having a PLT stub required for IFUNC calls.
53414         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
53416 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
53418         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
53419         * math/test-fpucw-static.c: Likewise.
53421 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53423         [BZ #16453]
53424         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
53426 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53428         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
53429         implementation for powerpc.
53431 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
53433         [BZ #14782]
53434         * sysdeps/posix/system.c (__libc_system): Do not enable
53435         asynchronous cancellation.
53437 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53439         [BZ #16427]
53440         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
53441         handling only for numbers special also in the IEEE case.
53443 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53445         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53447 2014-01-11  Allan McRae  <allan@archlinux.org>
53449         * po/bg.po: Update Bulgarian translation from translation project.
53451         * po/de.po: Update German translation from translation project.
53453 2014-01-10  Roland McGrath  <roland@hack.frob.com>
53455         * sysdeps/generic/gcc-compat.h: New file.
53457 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53459         * benchtests/asin-inputs: Correct slow inputs.
53460         * benchtests/acos-inputs: Likewise.
53462 2014-01-10  Allan McRae  <allan@archlinux.org>
53464         * po:sv.po: Update Swedish translation from translation project.
53466         * po/vi.po: Update Vietnamese translation from translation project.
53468         * po/eo.po: Update Esperanto translation from translation project.
53470         * po/cs.po: Update Czech translation from translation project.
53472         * po/nl.po: Update Dutch translation from translation project.
53474         * po/pl.po: Update Polish translation from translation project.
53476         * po/ru.po: Update Russian translation from translation project.
53478         * po/uk.po: Update Ukrainian translation from translation project.
53480 2014-01-08  Brooks Moses  <bmoses@google.com>
53482         * elf/dl-load.c: Fix comment typo.
53484 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
53486         * po/header.pot: Rename to...
53487         * po/pot.header: ... this.
53488         * po/Makefile: Use pot.header.
53490 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
53491             Maxim Kuvyrkov  <maxim@kugelworks.com>
53493         [BZ #16394]
53494         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
53495         SRC and DEST against LEN.
53497 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53499         [BZ #16414]
53500         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
53501         implementation.
53502         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
53504 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53508 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
53510         [BZ #16408]
53511         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
53512         for large positive arguments.
53514 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
53516         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
53518         * math/auto-libm-test-in: Mark various tests with
53519         xfail-rounding:ldbl-128ibm.
53520         * math/auto-libm-test-out: Regenerated.
53522         [BZ #16407]
53523         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
53524         Increase overflow threshold.
53526 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
53528         [BZ #14286]
53529         * stdio-common/vfprintf.c: Check for integer overflow.
53531 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53533         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
53534         the first argument and return value of __tls_get_addr_internal.
53536 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53538         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
53539         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
53541 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53543         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
53544         * sysdeps/s390/rtld-global-offsets.sym: New file.
53545         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
53546         GLIBC_2.19 symbol.
53547         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
53548         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
53549         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
53550         ... this.
53551         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
53552         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
53553         ... this.
53554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53555         Regenerate.
53556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53557         Regenerate.
53558         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
53559         halfs of GPRs for high_gprs contexts.
53560         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
53561         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
53562         field.
53563         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
53564         uc_flags field.
53565         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
53566         64 bit versions:
53567         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
53568         for high GPRs (uc_high_gprs) and for future extensions
53569         (__reserved).
53570         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
53571         for future extensions (__reserved).
53572         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
53573         64 bit versions:
53574         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
53575         SC_HIGHGPRS offset definition.
53576         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
53577         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
53579         * Versions.def: Add GLIBC_2.19 for libpthread.
53580         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
53581         siglongjmp for libpthread with GLIBC_2.19 symver.
53582         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
53583         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
53584         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
53585         * sysdeps/s390/__longjmp.c: New file.
53586         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
53587         * sysdeps/s390/longjmp.c: New file.
53588         * sysdeps/s390/setjmp.S: New file.
53589         * sysdeps/s390/sigjmp.S: New file.
53590         * sysdeps/s390/v1-longjmp.c: New file.
53591         * sysdeps/s390/v1-setjmp.h: New file.
53592         * sysdeps/s390/v1-sigjmp.c: New file.
53593         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
53594         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
53595         GLIBC_2.19 version.
53596         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
53597         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
53598         versioned symbols for ____longjmp_chk.
53599         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
53600         Likewise.
53601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53602         Regenerate.
53603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53604         Regenerate.
53605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53606         Regenerate.
53607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53608         Regenerate.
53609         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
53610         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
53611         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
53612         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
53613         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
53614         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
53615         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
53616         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
53617         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
53618         * sysdeps/s390/rtld-__longjmp.c: New file.
53619         * sysdeps/s390/rtld-setjmp.S: New file.
53621 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
53623         [BZ #16400]
53624         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
53625         Return -__logl (x) for small positive arguments without evaluating
53626         a polynomial.
53628 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
53630         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
53631         Rename to ...
53632         (__ptrace_peeksiginfo_args): ... this.
53633         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53634         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53635         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53637 2014-01-06  Allan McRae  <allan@archlinux.org>
53639         * inet/netinet/in.h: Fix typo in comment.
53641 2014-01-05  Andreas Jaeger  <aj@suse.de>
53643         * sysdeps/i386/fpu/libm-test-ulps: Update.
53645 2014-01-05  Allan McRae  <allan@archlinux.org>
53647         * po/libc.pot: Regenerated.
53649         * malloc/memusagestat.c: Fix gettext call formatting.
53651 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
53653         * nscd/nscd.c: Improve usage() output.
53655 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
53657         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
53658         * sysdeps/unix/sysv/linux/configure: Regenerated.
53659         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
53660         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
53662 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
53664         [BZ #16390]
53665         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53666         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
53668 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53670         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
53671         extra tokens at end of #undef directive.
53672         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
53673         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
53674         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
53676 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
53678         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
53680         * math/auto-libm-test-in: Mark various tests with
53681         xfail-rounding:ldbl-128ibm.
53682         * math/auto-libm-test-out: Regenerated.
53684 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
53686         [BZ #16386]
53687         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
53688         numbers with subnormal high part when calculating exponent.
53690         [BZ #16385]
53691         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
53692         fabs.
53694         [BZ #16384]
53695         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
53696         M_LN2l.
53697         (__ieee754_acoshl): Use __log1pl not __log1p.
53699 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
53701         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
53702         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
53703         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
53704         (grow_heap, heap_trim, _int_new_arena, get_free_list)
53705         (reused_arena, arena_get2): Convert to GNU style.
53706         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
53707         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
53708         (memalign_check, __malloc_set_state): Likewise.
53709         * malloc/mallocbug.c (main): Likewise.
53710         * malloc/malloc.c (__malloc_assert, malloc_init_state)
53711         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
53712         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
53713         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
53714         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
53715         (__posix_memalign, malloc_info): Likewise.
53716         * malloc/malloc.h: Likewise.
53717         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
53718         (mallochook, memalignhook, reallochook, mabort): Likewise.
53719         * malloc/mcheck.h: Likewise.
53720         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
53721         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
53722         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
53723         * malloc/morecore.c (__default_morecore): Likewise.
53724         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
53725         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
53726         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
53727         (print_and_abort): Likewise.
53728         * malloc/obstack.h: Likewise.
53729         * malloc/set-freeres.c (__libc_freeres): Likewise.
53730         * malloc/tst-mallocstate.c (main): Likewise.
53731         * malloc/tst-mtrace.c (main): Likewise.
53732         * malloc/tst-realloc.c (do_test): Likewise.
53734 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53736         [BZ #16366]
53737         * nscd/netgroupcache.c (do_notfound): New function.
53738         (addgetnetgrentX): Use it.
53740         [BZ # 16365]
53741         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
53742         NSS_STATUS_NOTFOUND.
53744 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
53746         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53749 2014-01-01  Allan McRae  <allan@archlinux.org>
53751         * scripts/update-copyrights: Update configure input file suffix.
53753         * NEWS: Update copyright year.
53754         * catgets/gencat.c: Likewise.
53755         * csu/version.c: Likewise.
53756         * debug/catchsegv.sh: Likewise.
53757         * debug/pcprofiledump.c: Likewise.
53758         * debug/xtrace.sh: Likewise.
53759         * elf/ldconfig.c: Likewise.
53760         * elf/ldd.bash.in: Likewise.
53761         * elf/pldd.c: Likewise.
53762         * elf/sotruss.ksh: Likewise.
53763         * elf/sprof.c: Likewise.
53764         * iconv/iconv_prog.c: Likewise.
53765         * iconv/iconvconfig.c: Likewise.
53766         * locale/programs/locale.c: Likewise.
53767         * locale/programs/localedef.c: Likewise.
53768         * login/programs/pt_chown.c: Likewise.
53769         * malloc/memusage.sh: Likewise.
53770         * malloc/memusagestat.c: Likewise.
53771         * malloc/mtrace.pl: Likewise.
53772         * manual/libc.texinfo: Likewise.
53773         * nscd/nscd.c: Likewise.
53774         * nss/getent.c: Likewise.
53775         * nss/makedb.c: Likewise.
53776         * posix/getconf.c: Likewise.
53777         * scripts/test-installation.pl: Likewise.
53779         * All files with FSF copyright notices: Update copyright dates
53780         using scripts/update-copyrights.
53781         * intl/plural.c: Regenerated.
53782         * locale/programs/charmap-kw.h: Likewise.
53783         * locale/programs/locfile-kw.h: Likewise.
53785 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
53787         * sysdeps/unix/sysv/linux/configure: Regenerated.
53788         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
53789         the linux/fanotify.h header.
53790         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
53791         HAVE_LINUX_FANOTIFY_H is defined.
53793 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53795         * benchtests/cos-inputs: New inputs.
53796         * benchtests/sin-inputs: Likewise.
53798         * benchtests/atan-inputs: New inputs. Fix name of multiple
53799         precision fallback inputs.
53801         * benchtests/atanh-inputs: New inputs.
53802         * benchtests/tanh-inputs: Likewise.
53804         * benchtests/acosh-inputs: New inputs.
53805         * benchtests/asinh-inputs: Likewise.
53807         * benchtests/cosh-inputs: New inputs.
53808         * benchtests/sinh-inputs: Likewise.
53810         * benchtests/acos-inputs: Add more inputs.
53811         * benchtests/asin-inputs: Likewise.
53813 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
53815         [BZ #16375]
53816         * manual/arith.texi: Fix spelling.
53817         * manual/charset.texi: Likewise.
53818         * manual/errno.texi: Likewise.
53819         * manual/filesys.texi: Likewise.
53820         * manual/lang.texi: Likewise.
53821         * manual/llio.texi: Likewise.
53822         * manual/locale.texi: Likewise.
53823         * manual/message.texi: Likewise.
53824         * manual/resource.texi: Likewise.
53825         * manual/search.texi: Likewise.
53826         * manual/setjmp.texi: Likewise.
53827         * manual/stdio.texi: Likewise.
53828         * manual/string.texi: Likewise.
53829         * manual/sysinfo.texi: Likewise.
53830         * manual/time.texi: Likewise.
53832 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
53834         * po/sl.po: New file.
53836 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
53838         * .gitignore: Add core/.gdbinit/.gdb_history.
53840 2013-12-27  Allan McRae  <allan@archlinux.org>
53842         [BZ #16369]
53843         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
53844         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
53846 2013-12-24  Brooks Moses  <bmoses@google.com>
53848         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
53849         all compilers that claim C++98 compliance, not just GCC.
53850         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
53851         Likewise.
53853 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
53855         * NEWS: Restore accidentally deleted bug-fix entries.
53857 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
53858             Ondřej Bílka  <neleai@seznam.cz>
53860         [BZ #15073]
53861         * malloc/malloc.c (_int_free): Perform sanity check only if we
53862         have_lock.
53864 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
53866         [BZ #12986]
53867         * manual/stdio.texi (String Input Conversions): Clarify that character
53868         classes are not supported.
53870 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53874 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
53876         [BZ #16337]
53877         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
53878         Calculate results for small negative arguments directly rather
53879         than using reflection formula with special underflow handling.
53881         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
53882         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
53883         sysdeps/unix/bsd/bsd4.4/syscalls.list.
53884         (fchflags): Likewise.
53885         (revoke): Likewise.
53886         (setlogin): Likewise.
53887         (sigaltstack): Likewise.
53888         (wait4): Likewise.
53889         (sigblock): Remove.
53890         (sigsetmask): Likewise.
53891         (wait3): Likewise.
53892         (waitpid): Likewise.
53893         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
53894         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
53895         file.
53896         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
53897         * sysdeps/unix/bsd/Makefile: ... here.
53898         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
53899         * sysdeps/unix/bsd/Versions: ... here.
53900         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
53901         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
53902         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
53903         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
53904         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
53905         * sysdeps/unix/bsd/sigblock.c: ... here.
53906         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
53907         * sysdeps/unix/bsd/sigsetmask.c: ... here.
53908         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
53909         * sysdeps/unix/bsd/sigvec.c: ... here.
53910         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
53911         * sysdeps/unix/bsd/tcdrain.c: ... here.
53912         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
53913         * sysdeps/unix/bsd/tcgetattr.c: ... here.
53914         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
53915         * sysdeps/unix/bsd/tcsetattr.c: ... here.
53916         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
53917         * sysdeps/unix/bsd/wait.c: ... here.
53918         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
53919         * sysdeps/unix/bsd/wait3.c: ... here.
53920         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
53921         * sysdeps/unix/bsd/waitpid.c: ... here.
53923 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
53925         [BZ #16356]
53926         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
53927         round-to-nearest for [!USE_AS_EXPM1L].
53928         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
53929         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
53930         more tests of exp and exp10.  Expect some exp10 tests to miss
53931         exceptions or fail in directed rounding modes.
53932         * math/auto-libm-test-out: Regenerated.
53933         * math/libm-test.inc (exp10_tonearest_test_data): New array.
53934         (exp10_test_tonearest): New function.
53935         (exp10_towardzero_test_data): New array.
53936         (exp10_test_towardzero): New function.
53937         (exp10_downward_test_data): New array.
53938         (exp10_test_downward): New function.
53939         (exp10_upward_test_data): New array.
53940         (exp10_test_upward): New function.
53941         (main): Call the new functions.
53942         * sysdeps/i386/fpu/libm-test-ulps: Update.
53943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53945 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
53947         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
53948         asinh, atan, atan2, atanh, cbrt, cos and cosh.
53949         * math/auto-libm-test-out: Regenerated.
53950         * math/libm-test.inc (acosh_test_data): Add more tests.
53951         (atanh_test_data): Likewise.
53952         (ceil_test_data): Likewise.
53953         (copysign_test_data): Likewise.
53954         * sysdeps/i386/fpu/libm-test-ulps: Update.
53955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53957         * timezone/checktab.awk: Update from tzcode 2013i.
53958         * timezone/private.h: Likewise.
53959         * timezone/scheck.c: Likewise.
53960         * timezone/tzfile.h: Likewise.
53961         * timezone/tzselect.ksh: Likewise.
53962         * timezone/zdump.c: Likewise.
53963         * timezone/zic.c: Likewise.
53965         * math/auto-libm-test-in: Add tests of cpow.
53966         * math/auto-libm-test-out: Regenerated.
53967         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
53968         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53969         mpc_cc_c.
53970         (func_calc_desc): Add mpc_cc_c union field.
53971         (test_functions): Add cpow.
53972         (special_fill_2pi): New function.
53973         (special_real_inputs): Add 2pi.
53974         (calc_generic_results): Handle mpc_cc_c.
53975         * sysdeps/i386/fpu/libm-test-ulps: Update.
53976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53978         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
53979         csqrt, ctan and ctanh.
53980         * math/auto-libm-test-out: Regenerated.
53981         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53982         (TEST_COND_x86): Likewise.
53983         (ccos_test_data): Use AUTO_TESTS_c_c.
53984         (ccosh_test_data): Likewise.
53985         (cexp_test_data): Likewise.
53986         (clog_test_data): Likewise.
53987         (csqrt_test_data): Likewise.
53988         (ctan_test_data): Likewise.
53989         (ctan_tonearest_test_data): Likewise.
53990         (ctan_towardzero_test_data): Likewise.
53991         (ctan_downward_test_data): Likewise.
53992         (ctan_upward_test_data): Likewise.
53993         (ctanh_test_data): Likewise.
53994         (ctanh_tonearest_test_data): Likewise.
53995         (ctanh_towardzero_test_data): Likewise.
53996         (ctanh_downward_test_data): Likewise.
53997         (ctanh_upward_test_data): Likewise.
53998         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53999         mpc_c_c.
54000         (func_calc_desc): Add mpc_c_c union field.
54001         (FUNC_mpc_c_c): New macro.
54002         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
54003         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
54004         ctanh.
54005         (special_fill_min_subnorm_p120): New function.
54006         (special_real_inputs): Add min_subnorm_p120.
54007         (calc_generic_results): Handle mpc_c_c.
54008         * sysdeps/i386/fpu/libm-test-ulps: Update.
54009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54011 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54013         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
54014         (do_sin_slow): New functions.
54015         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
54016         (cslow2, csloww1, csloww2): Use the new functions.
54018         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
54019         Use M to change sign of result instead of X.  Assume X is
54020         positive.
54021         (csloww1): Likewise.
54022         (__sin): Adjust.
54023         (__cos): Adjust.
54025         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
54026         arguments A and DA.
54027         (__sin): Adjust.
54028         (__cos): Likewise.
54030         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
54031         (__cos): Likewise.
54032         (sloww1): Don't adjust sign of DX.
54033         (csloww1): Likewise.
54034         (sloww2): Use X directly and don't adjust sign of DX.
54035         (csloww2): Likewise.
54037 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54039         * math/auto-libm-test-in: Add tests of cabs and carg.
54040         * math/auto-libm-test-out: Regenerated.
54041         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
54042         (carg_test_data): Likewise.
54043         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54044         mpc_c_f.
54045         (func_calc_desc): Add mpc_c_f union field.
54046         (test_functions): Add cabs and carg.
54047         (calc_generic_results): Handle mpc_c_f.
54049         * sysdeps/powerpc/powerpc32/libgcc-compat.S
54050         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
54051         as a macro and a compat symbol.
54052         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
54053         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
54054         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
54055         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
54056         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
54057         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
54058         not use .hidden.
54059         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
54060         Likewise.
54061         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
54062         Likewise.
54063         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
54064         Likewise.
54065         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
54066         Likewise.
54067         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
54068         Likewise.
54069         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
54070         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
54071         from GLIBC_2.3.2.
54073 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54077 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54079         * manual/texinfo.tex: Update to version 2013-11-26.10 with
54080         trailing whitespace removed.
54081         * scripts/config.guess: Update to version 2013-11-29.
54082         * scripts/config.sub: Update to version 2013-10-01.
54084         * math/auto-libm-test-in: Add tests of sincos.
54085         * math/auto-libm-test-out: Regenerated.
54086         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
54087         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54088         mpfr_f_11.
54089         (func_calc_desc): Add mpfr_f_11 union field.
54090         (test_functions): Add sincos.
54091         (calc_generic_results): Handle mpfr_f_11.
54092         * sysdeps/i386/fpu/libm-test-ulps: Update.
54093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54095 2013-12-19  Andreas Schwab  <schwab@suse.de>
54097         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
54098         CALL_MCOUNT.
54099         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54100         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
54101         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
54103 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54105         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
54106         * sysdeps/i386/fpu/libm-test-ulps: Update.
54107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54109         [BZ #16293]
54110         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
54111         round-to-nearest mode when using frndint.
54112         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
54113         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54114         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
54115         Likewise.
54116         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
54117         sinh test to fail.
54118         * math/auto-libm-test-out: Regenerated.
54119         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
54120         (TEST_COND_x86): Likewise.
54121         (expm1_tonearest_test_data): New array.
54122         (expm1_test_tonearest): New function.
54123         (expm1_towardzero_test_data): New array.
54124         (expm1_test_towardzero): New function.
54125         (expm1_downward_test_data): New array.
54126         (expm1_test_downward): New function.
54127         (expm1_upward_test_data): New array.
54128         (expm1_test_upward): New function.
54129         (main): Run the new test functions.
54130         * sysdeps/i386/fpu/libm-test-ulps: Update.
54131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54133         * include/features.h: Update comment documenting feature test
54134         macros.  Mention _DEFAULT_SOURCE in comment.
54135         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
54136         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
54137         _BSD_SOURCE and _SVID_SOURCE.
54138         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
54139         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
54140         !_SVID_SOURCE]: Likewise.
54141         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54142         (__USE_POSIX_IMPLICITLY): Define.
54143         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54144         (_POSIX_SOURCE): Undefine and redefine.
54145         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54146         (_POSIX_C_SOURCE): Likewise.
54147         * manual/creature.texi (_DEFAULT_SOURCE): Document.
54148         (Feature Test Macros): Update documentation of default features.
54150 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54152         * benchtests/Makefile: Add bench-strtok.
54153         * benchtests/bench-strtok.c: New file: strtok benchtest.
54155 2013-12-19  Allan McRae  <allan@archlinux.org>
54157         * manual/install.texi: Suppress menu for plain text output.
54158         * INSTALL: Regenerated.
54160 2013-12-18  Brooks Moses  <bmoses@google.com>
54162         [BZ #15846]
54163         * misc/getauxval.c: Include errno.h.
54164         (__getauxval): Set errno to ENOENT if the requested type is not
54165         found.
54166         * misc/sys/auxv.h (getauxval): Document that it may set errno;
54167         don't declare with __attribute_const__.
54168         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
54169         * manual/startup.texi: Document that getauxval sets errno.
54171 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
54173         * math/auto-libm-test-in: Add tests of jn and yn.
54174         * math/auto-libm-test-out: Regenerated.
54175         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
54176         (yn_test_data): Likewise.
54177         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54178         mpfr_if_f.
54179         (func_calc_desc): Add mpfr_if_f union field.
54180         (FUNC_mpfr_if_f): New macro.
54181         (test_functions): Add jn and yn.
54182         (calc_generic_results): Assert type of second input for
54183         mpfr_ff_f.  Handle mpfr_if_f.
54184         (output_for_one_input_case): Disable all checking for arguments
54185         fitting floating-point types in case of an integer argument.
54186         * sysdeps/i386/fpu/libm-test-ulps: Update.
54187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54190         Don't expect fegetround reference in libm.so.
54192 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54194         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
54195         $(config-cflags-nofma).
54197 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
54199         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
54200         * math/auto-libm-test-out: Regenerated.
54202         [BZ #16338]
54203         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
54204         to determine exponent and adjust argument to have exponent of -1.
54205         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
54206         log2.
54207         * math/auto-libm-test-out: Regenerated.
54208         * sysdeps/i386/fpu/libm-test-ulps: Update.
54209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54211 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
54213         * manual/probes.texi: Remove cases when per-thread arenas are
54214         disabled.
54216 2013-12-18  Andreas Schwab  <schwab@suse.de>
54218         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
54219         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
54220         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
54221         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
54222         * sysdeps/i386/i686/multiarch/Makefile: Update.
54223         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
54225 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54227         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
54228         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
54230 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
54232         [BZ #15968]
54233         Support TZ transition times < 00:00:00.
54234         This is needed for version-3 tz-format files; it supports time
54235         stamps past 2037 for America/Godthab (the only entry in the tz
54236         database for which this change is relevant).
54237         * manual/time.texi (TZ Variable): Document transition times
54238         from -167:59:59 through -00:00:01.
54239         * time/tzset.c (tz_rule): Time of day is now signed.
54240         (__tzset_parse_tz): Parse negative time of day.
54242         Document TZ transition times >= 25:00:00.
54243         * manual/time.texi (TZ Variable): Document transition times from
54244         25:00:00 through 167:59:59.  These are already supported, and this
54245         support will help with version-3 tz-format files.
54247         * manual/time.texi (TZ Variable): Modernize North America example
54248         to reflect current (i.e., 2007-and-later) daylight saving rules.
54250         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
54252 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54254         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
54255         * sysdeps/unix/bsd/bits/stat.h: Likewise.
54256         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
54257         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54258         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
54259         * sysdeps/unix/bsd/bsdstat.h: Likewise.
54260         * sysdeps/unix/bsd/clock.c: Likewise.
54261         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
54262         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
54263         * sysdeps/unix/bsd/init-posix.c: Likewise.
54264         * sysdeps/unix/bsd/poll.c: Likewise.
54265         * sysdeps/unix/bsd/ptsname.c: Likewise.
54266         * sysdeps/unix/bsd/seekdir.c: Likewise.
54267         * sysdeps/unix/bsd/setegid.c: Likewise.
54268         * sysdeps/unix/bsd/seteuid.c: Likewise.
54269         * sysdeps/unix/bsd/setgid.c: Likewise.
54270         * sysdeps/unix/bsd/setrgid.c: Likewise.
54271         * sysdeps/unix/bsd/setruid.c: Likewise.
54272         * sysdeps/unix/bsd/setsid.c: Likewise.
54273         * sysdeps/unix/bsd/setuid.c: Likewise.
54274         * sysdeps/unix/bsd/sigaction.c: Likewise.
54275         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
54276         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
54277         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
54278         * sysdeps/unix/bsd/telldir.c: Likewise.
54279         * sysdeps/unix/bsd/times.c: Likewise.
54280         * sysdeps/unix/bsd/usleep.c: Likewise.
54282         * misc/Makefile (install-lib): Remove libbsd-compat.a.
54283         ($(objpfx)libbsd-compat.a): Remove rule.
54285         * include/features.h (__FAVOR_BSD): Do not define.
54286         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
54287         features conflicting with POSIX.
54288         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
54289         (_BSD_SOURCE): Remove description of not being a subset of other
54290         feature test macros.
54291         * manual/job.texi (getpgrp): Do not document BSD version.
54292         (getpgid): Do not document by reference to BSD getpgrp.
54293         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
54294         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
54295         * signal/signal.h [__FAVOR_BSD]: Likewise.
54296         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
54297         instead of making contents conditional on [__FAVOR_BSD].
54298         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
54300 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54304 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54306         [BZ #16314]
54307         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
54308         values below 2**-450, not 2**-500.
54309         * math/auto-libm-test-in: Don't allow spurious underflow from
54310         hypot.
54311         * math/auto-libm-test-out: Regenerated.
54313         [BZ #16316]
54314         [BZ #16330]
54315         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
54316         values of ha and hb and sort them after adjusting subnormal
54317         arguments.
54318         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
54319         Likewise.
54320         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
54321         values of ea and eb and sort them after adjusting subnormal
54322         arguments.
54323         * math/auto-libm-test-in: Do not expect some hypot tests of
54324         subnormals to fail.  Add more hypot tests.
54325         * math/auto-libm-test-out: Regenerated.
54327 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54329         [BZ #13304]
54330         * sysdeps/sh/s_fma.c: New file.
54331         * sysdeps/sh/s_fmaf.c: New file.
54332         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
54333         version.
54334         * sysdeps/sh/Implies: Add sh/soft-fp.
54336 2013-12-16  Roland McGrath  <roland@hack.frob.com>
54338         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
54339         level of indirection to members `objname', `errstring', `malloced'.
54340         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
54341         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
54342         it as the __longjmp argument (just pass 1 instead).
54343         (_dl_catch_error): Initialize C with argument pointers and address of
54344         volatile local ERRCODE rather than copying values out of C at return.
54346 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
54348         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
54349         * math/auto-libm-test-out: Regenerated.
54350         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
54351         (hypot_test_data): Likewise.
54352         (pow_test_data): Likewise.
54353         (pow_tonearest_test_data): Likewise.
54354         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54355         mpfr_ff_f.
54356         (func_calc_desc): Add mpfr_ff_f union field.
54357         (FUNC_mpfr_ff_f): New macro.
54358         (test_functions): Add atan2, hypot and pow.
54359         (special_fill_min): New function.
54360         (special_fill_minus_min): Likewise.
54361         (special_fill_min_subnorm): Likewise.
54362         (special_fill_minus_min_subnorm): Likewise.
54363         (special_real_inputs): Add min, -min, min_subnorm and
54364         -min_subnorm.
54365         (calc_generic_results): Handle mpfr_ff_f.
54366         * sysdeps/i386/fpu/libm-test-ulps: Update.
54367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54369 2013-12-16  Will Newton  <will.newton@linaro.org>
54371         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
54372         (Aligned Memory Blocks): Add documentation for aligned_alloc
54373         and suggest it as an alternative to posix_memalign.
54374         (Hooks for Malloc): Document __memalign_hook is also called
54375         for aligned_alloc.  (Summary of Malloc): Add summary for
54376         aligned alloc.  Document __memalign_hook is also called
54377         for aligned_alloc.
54379 2013-12-16  Will Newton  <will.newton@linaro.org>
54381         * manual/memory.texi (Malloc Examples): Clarify default
54382         alignment documentation.  Suggest posix_memalign rather
54383         than memalign or valloc.
54384         (Aligned Memory Blocks): Remove suggestion to use memalign
54385         or valloc.  Remove obsolete comment about BSD.
54386         Document memalign errno values and mark the function obsolete.
54387         Document posix_memalign returned error codes.  Mark valloc
54388         as obsolete.  (Hooks for Malloc): __memalign_hook is also
54389         called for posix_memalign and valloc.
54390         (Summary of Malloc): Add posix_memalign to function summary.
54391         __memalign_hook is also called for posix_memalign and valloc.
54393 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54395         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
54396         TAYLOR_SIN.
54397         (__sin): Adjust.
54398         (__cos): Likewise.
54399         (sloww): Use mynumber union.  Expand ternary operator into
54400         if-else statements.
54401         (cslow): use mynumber union.
54403 2013-12-16  Allan McRae  <allan@archlinux.org>
54405         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
54406         * configure: Regenerated.
54408         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
54410         [BZ #14120]
54411         * configure.ac: Added --enable-maintainer-mode. Check for
54412         autoconf when enabled.
54413         * configure: Regenerated.
54415         * nscd/nscd.service: New file.
54416         * nscd/nscd.tmpfiles: New file.
54418 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
54420         [BZ #12100]
54421         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
54422         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
54423         * sysdeps/x86_64/multiarch/strstr.c: ... here.
54424         (strstr): Add __strstr_sse2_unaligned ifunc.
54425         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
54426         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
54427         (strcasestr): Remove __strcasestr_sse42 ifunc.
54428         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
54429         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54430         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
54432 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54434         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
54435         * sysdeps/sh/bits/fenv.h: ... here.
54436         * sysdeps/sh/sh4/fpu/bits: Remove directory.
54438 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54440         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
54442         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
54443         hypotf multiarch implementations.
54444         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
54445         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
54446         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
54447         multiarch hypot for PPC64.
54448         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
54449         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
54450         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
54451         multiarch hypotf for PPC64.
54453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
54454         modff multiarch implementations.
54455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
54456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
54457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
54458         multiarch modf for PPC64.
54459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
54460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
54461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
54462         multiarch modff for PPC64.
54464         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
54465         and logl multiarch implementations.
54466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
54467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
54468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
54469         multiarch logb for PPC64.
54470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
54471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
54472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
54473         multiarch logb for PPC64.
54474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
54475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
54476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
54477         multiarch logb for PPC64.
54479         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
54480         isinff multiarch implementation.
54481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
54482         file.
54483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
54484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
54485         multiarch isinf for PPC64.
54486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
54487         file.
54488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
54489         multiarch isinff for PPC64.
54491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
54492         finitef multiarch implementation.
54493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
54494         file.
54495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
54496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
54497         multiarch finite for PPC64.
54498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
54499         file.
54500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
54501         multiarch finitef for PPC64.
54503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
54504         lrint multiarch implementation.
54505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
54506         file.
54507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
54508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
54509         multiarch llrint for PPC64.
54510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
54511         multiarch lrint for PPC64.
54513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
54514         copysignf multiarch implementation.
54515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
54516         file.
54517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
54518         file.
54519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
54520         multiarch copysign for PPC64.
54521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
54522         multiarch copysignf for PPC64.
54524         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
54525         multiarch implementation.
54526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
54527         file.
54528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
54529         file.
54530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
54531         file.
54532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
54533         file.
54534         multiarch llround for PPC64.
54535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
54536         multiarch trunc for PPC64.
54537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
54538         multiarch truncf for PPC64.
54540         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
54541         multiarch implementation.
54542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
54543         file.
54544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
54545         file.
54546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
54547         file.
54548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
54549         file.
54550         multiarch llround for PPC64.
54551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
54552         multiarch round for PPC64.
54553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
54554         multiarch roundf for PPC64.
54556         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
54557         multiarch implementation.
54558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
54559         file.
54560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
54561         file.
54562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
54563         file.
54564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
54565         file.
54566         multiarch llround for PPC64.
54567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
54568         multiarch floor for PPC64.
54569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
54570         multiarch floorf for PPC64.
54572         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
54573         multiarch implementation.
54574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
54575         file.
54576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
54577         file.
54578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
54579         file.
54580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
54581         file.
54582         multiarch llround for PPC64.
54583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
54584         multiarch ceil for PPC64.
54585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
54586         multiarch ceilf for PPC64.
54588         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
54589         multiarch implementation.
54590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
54591         file.
54592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
54593         file.
54594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
54595         file.
54596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
54597         multiarch llround for PPC64.
54598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
54599         multiarch lround for PPC64.
54601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
54602         multiarch implementation.
54603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
54604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
54605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
54606         file.
54607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
54608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
54609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
54610         multiarch isnan for PPC64.
54611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
54612         multiarch isnanf for PPC64.
54614         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
54615         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
54616         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
54617         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
54618         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
54619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
54621         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
54622         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54623         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54624         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
54627         multiarch implementations.
54628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54629         (__libc_ifunc_impl_list): Likewise.
54630         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
54631         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
54632         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
54633         multiarch stpcpy for PPC64.
54635         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
54636         multiarch implementations.
54637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54638         (__libc_ifunc_impl_list): Likewise.
54639         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
54640         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
54641         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
54642         multiarch strcpy for PPC64.
54644         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
54645         redefine function name.
54646         (_wordcopy_fwd_dest_aligned): Likewise.
54647         (_wordcopy_bwd_aligned): Likewise.
54648         (_wordcopy_bwd_dest_aligned): Likewise.
54649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
54650         multiarch implementations.
54651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54652         (__libc_ifunc_impl_list): Likewise.
54653         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
54654         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
54655         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
54656         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
54657         multiarch wcscpy for PPC64.
54659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
54660         multiarch implementations.
54661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54662         (__libc_ifunc_impl_list): Likewise.
54663         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
54664         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
54665         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
54666         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
54667         multiarch wcscpy for PPC64.
54669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
54670         multiarch implementations.
54671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54672         (__libc_ifunc_impl_list): Likewise.
54673         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
54674         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
54675         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
54676         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
54677         multiarch wcsrchr for PPC64.
54679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
54680         multiarch implementations.
54681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54682         (__libc_ifunc_impl_list): Likewise.
54683         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
54684         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
54685         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
54686         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
54687         multiarch wcschr for PPC64.
54689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
54690         multiarch implementations.
54691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54692         (__libc_ifunc_impl_list): Likewise.
54693         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
54694         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
54695         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
54696         multiarch strchrnul for PPC64.
54698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
54699         implementations.
54700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54701         (__libc_ifunc_impl_list): Likewise.
54702         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
54703         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
54704         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
54705         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
54706         strchr for PPC64.
54708         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
54709         implementations.
54710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54711         (__libc_ifunc_impl_list): Likewise.
54712         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
54713         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
54714         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
54715         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
54716         strncmp for PPC64.
54718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
54719         multiarch implementations.
54720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54721         (__libc_ifunc_impl_list): Likewise.
54722         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
54723         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
54724         strncasecmp for PPC64.
54725         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
54726         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
54727         multiarch strncasecmp_l for PPC64.
54729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
54730         multiarch implementations.
54731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54732         (__libc_ifunc_impl_list): Likewise.
54733         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
54734         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
54735         multiarch strcasecmp for PPC64.
54736         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
54737         file.
54738         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
54739         multiarch strcasecmp_l for PPC64.
54741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
54742         implementations.
54743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54744         (__libc_ifunc_impl_list): Likewise.
54745         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
54746         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
54747         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
54748         strnlen for PPC64.
54750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
54751         implementations.
54752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54753         (__libc_ifunc_impl_list): Likewise.
54754         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
54755         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
54756         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
54757         strlen for PPC64.
54759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
54760         implementations.
54761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54762         (__libc_ifunc_impl_list): Likewise.
54763         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
54764         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
54765         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
54766         rawmemrchr for PPC64.
54768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
54769         implementation.
54770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54771         (__libc_ifunc_impl_list): Likewise.
54772         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
54773         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
54774         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
54775         memrchr for PPC64.
54777         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
54778         implementation.
54779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54780         (__libc_ifunc_impl_list): Likewise.
54781         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
54782         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
54783         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
54784         memchr for PPC64.
54786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
54787         implementation.
54788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54789         (__libc_ifunc_impl_list): Likewise.
54790         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
54791         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
54792         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
54793         mempcpy for PPC64.
54795         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
54796         avoid cretion of __bzero symbol.
54797         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
54798         Likewise.
54799         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
54800         Likewise.
54801         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
54802         Likewise.
54803         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
54804         multiarch implementations.
54805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54806         (__libc_ifunc_impl_list): Likewise.
54807         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
54808         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
54809         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
54810         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
54811         bzero for PPC32.
54812         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
54813         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
54814         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
54815         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
54816         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
54817         memset for PPC64.
54818         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
54820         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
54821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
54822         implementations.
54823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54824         (__libc_ifunc_impl_list): Likewise.
54825         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
54826         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
54827         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
54828         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
54829         memcmp for PPC64.
54831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
54832         multiarch for POWER/PPC64.
54833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
54834         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
54835         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
54836         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
54837         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
54838         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
54839         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
54840         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
54841         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
54842         memcpy for PPC64.
54844         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
54845         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
54846         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
54847         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
54848         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
54849         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
54850         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
54851         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
54852         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
54853         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
54854         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
54855         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
54856         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
54857         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
54858         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
54859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
54860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
54861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
54862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
54863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
54864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
54865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
54867 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54869         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
54871 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54873         * benchtests/Makefile (bench): Add exp2 and log2.
54874         (LDLIBS-bench-exp2): Add -lm.
54875         (LDLIBS-bench-log2): Likewise.
54876         * benchtests/exp2-inputs: New inputs file.
54877         * benchtests/log2-inputs: New inputs file.
54878         * benchtests/log-inputs: Add new inputs.
54879         * benchtests/tan-inputs: Likewise.
54881 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54883         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
54884         definition...
54885         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
54886         (csloww2): ... from here.
54888         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
54889         instead of structures.
54890         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
54891         (POLYNOMIAL): Likewise.
54892         (TAYLOR_SLOW): Likewise.
54893         (__sin): Likewise.
54894         (__cos): Likewise.
54895         (slow1): Likewise.
54896         (slow2): Likewise.
54897         (sloww): Likewise.
54898         (sloww1); Likewise.
54899         (sloww2): Likewise.
54900         (bsloww1): Likewise.
54901         (bsloww2): Likewise.
54902         (cslow2): Likewise.
54903         (csloww): Likewise.
54904         (csloww1): Likewise.
54905         (csloww2): Likewise.
54907 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
54909         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
54910         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
54911         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
54912         * malloc/hooks.c (realloc_check): Likewise.
54914         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
54915         * malloc/arena.c: Remove PER_THREAD conditional.
54916         [!PER_THREAD]: Remove code.
54917         (ptmalloc_unlock_all2): Likewise.
54918         (ptmalloc_init): Likewise.
54919         (_int_new_arena): Likewise.
54920         (arena_get2): Likewise.
54921         * malloc/hooks.c (__malloc_get_state): Likewise.
54922         (__malloc_set_state): Likewise.
54923         * malloc/malloc.c: Likewise.
54924         (struct malloc_state): Likewise.
54925         (struct malloc_par): Likewise.
54926         (__libc_realloc): Likewise.
54927         (__libc_mallopt): Likewise.
54929 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54931         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
54933 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
54935         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
54936         macro to a function.  Check for zero perturb_byte.
54937         (_int_malloc, _int_free): Remove zero perturb_byte checks.
54939         * malloc/malloc.c: (force_reg): Remove.
54940         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
54941         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
54942         force_reg by atomic_forced_read.
54943         * malloc/arena.c (ptmalloc_init): Likewise.
54944         * malloc/hooks.c (top_check): Likewise.
54946 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54950 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
54952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54954 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
54956         * math/auto-libm-test-in: Add tests of lgamma.
54957         * math/auto-libm-test-out: Regenerated.
54958         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
54959         (M_LOG_2_SQRT_PIl): Likewise.
54960         (lgamma_test_data): Use AUTO_TESTS_f_f1.
54961         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54962         mpfr_f_f1.
54963         (func_calc_desc): Add mpfr_f_f1 union field.
54964         (ARGS1): New macro.
54965         (ARGS2): Likewise.
54966         (ARGS3): Likewise.
54967         (ARGS4): Likewise.
54968         (RET1): Likewise.
54969         (RET2): Likewise.
54970         (CALC): Likewise.
54971         (FUNC): Likewise.
54972         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
54973         (test_functions): Add lgamma.
54974         (calc_generic_results): Handle mpfr_f_f1.
54975         * sysdeps/i386/fpu/libm-test-ulps: Update.
54976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54978 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54980         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
54981         __mpn_add_n for PowerPC64/POWER7.
54982         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
54983         __mpn_sub_n for PowerPC64/POWER7.
54985         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
54986         __mpn_addmul_1 for PowerPC64.
54987         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
54988         __mpn_submul_1 for PowerPC64.
54989         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
54990         for PowerPC64.
54991         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
54992         for PowerPC64.
54994 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
54996         [BZ #15089]
54997         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
54999 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55001         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
55003         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
55004         add multiarch folders.
55005         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
55006         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
55007         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
55008         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
55009         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
55010         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
55011         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
55012         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
55013         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
55014         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
55015         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
55016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
55017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
55018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
55019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
55020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
55021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
55023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
55024         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
55025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
55026         New file.
55027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
55028         New file.
55029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
55030         multiarch __ieee754_hypot for PowerPC32.
55031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
55032         New file.
55033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
55034         New file.
55035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
55036         multiarch __ieee754_hypotf for PowerPC32.
55038         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
55039         long_double_symbol only if __logbl is defined.
55040         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
55041         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
55042         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
55043         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
55044         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
55045         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
55046         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
55047         path for implementation.
55048         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
55049         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
55050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
55051         logb, and logbl multiarch implementations for PowerPC32.
55052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
55053         file.
55054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
55055         file.
55056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
55057         multiarch logb for PowerPC32.
55058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
55059         file.
55060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
55061         file.
55062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
55063         multiarch logbf for PowerPC32.
55064         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
55065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
55066         file.
55067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
55068         multiarch logbl implementation for PowerPC32.
55070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
55071         and modff multiarch implementations.
55072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
55073         New file.
55074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
55075         New file.
55076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
55077         multiarch modf for PowerPC32.
55078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
55079         New file.
55080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
55081         New file.
55082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
55083         multiarch modff for PowerPC32.
55085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
55086         and lrintf multiarch implementations.
55087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
55088         New file.
55089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
55090         New file.
55091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
55092         multiarch lrint for PowerPC32.
55093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
55094         file: multiarch lrintf for PowerPC32.
55096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
55097         and lroundf multiarch implementations.
55098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
55099         New file.
55100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
55101         New file.
55102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
55103         New file.
55104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
55105         multiarch lround for PowerPC32.
55106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
55107         file: multiarch lroundf for PowerPC32.
55109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
55110         copysign and copysignf multiarch implementations.
55111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
55112         New file.
55113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
55114         New file.
55115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
55116         file: multiarch copysign for PowerPC32.
55117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
55118         file: multiarch copysignf for PowerPC32.
55120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
55121         and truncf multiarch implementations.
55122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
55123         New file.
55124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
55125         file.
55126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
55127         multiarch trunc for PowerPC32.
55128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
55129         New file.
55130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
55131         New file.
55132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
55133         multiarch truncf for PowerPC32.
55135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
55136         and roundf multiarch implementations.
55137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
55138         New file.
55139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
55140         file.
55141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
55142         multiarch round for PowerPC32.
55143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
55144         New file.
55145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
55146         New file.
55147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
55148         multiarch roundf for PowerPC32.
55150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
55151         and floorf multiarch implementations.
55152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
55153         New file.
55154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
55155         file.
55156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
55157         multiarch floor for PowerPC32.
55158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
55159         New file.
55160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
55161         New file.
55162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
55163         multiarch floorf for PowerPC32.
55165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
55166         and ceilf multiarch implementations.
55167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
55168         New file.
55169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
55170         file.
55171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
55172         multiarch ceil for PowerPC32.
55173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
55174         New file.
55175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
55176         file.
55177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
55178         multiarch ceilf for PowerPC32.
55180         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
55181         is defined.
55182         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
55183         FINITEF is defined.
55184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
55185         and finitef multiarch implementations.
55186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
55187         New file.
55188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
55189         file.
55190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
55191         multiarch finite for PowerPC32.
55192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
55193         New file.
55194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
55195         file: multiarch finitef for PowerPC32.
55197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
55198         and isinff multiarch implementations.
55199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
55200         file.
55201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
55202         file.
55203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
55204         multiarch isinf for PowerPC32.
55205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
55206         New file.
55207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
55208         multiarch isinff for PowerPC32.
55210         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
55211         alias when __isnan is defined.
55212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
55213         and isnanf multiarch implementations.
55214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
55215         file.
55216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
55217         file.
55218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
55219         file.
55220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
55221         file.
55222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
55223         multiarch isnan for PowerPC32.
55224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
55225         New file.
55226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
55227         New file.
55228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
55229         multiarch isnanf for PowerPC32.
55231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
55232         and sqrtf multiarch implementations.
55233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
55234         file.
55235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
55236         file.
55237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
55238         multiarch sqrt for PowerPC32.
55239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
55240         file.
55241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
55242         file.
55243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
55244         multiarch sqrtf for PowerPC32.
55246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
55247         and llroundf multiarch implementations.
55248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
55249         New file.
55250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
55251         New file.
55252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
55253         New file.
55254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
55255         file: multiarch llround for PowerPC32.
55256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
55257         file: multiarch llroundf for PowerPC32.
55259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
55260         multiarch PowerPC32 fpu implementations.
55261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
55262         New file.
55263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
55264         New file.
55265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
55266         multiarch llrint for PowerPC32.
55267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
55268         New file.
55269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
55270         New file.
55271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
55272         file.
55274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
55276         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
55277         file.
55278         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
55279         file.
55280         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
55281         file.
55282         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
55283         multiarch wordcopy for PPC32.
55284         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55285         wordcopy objects.
55286         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55287         (__libc_ifunc_impl_list): Likewise.
55288         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
55289         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
55290         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
55291         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
55292         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
55293         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
55295         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
55296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
55297         file.
55298         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
55299         file.
55300         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
55301         file.
55302         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
55303         multiarch wcscpy for PPC32.
55304         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55305         multiarch objects.
55306         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55307         (__libc_ifunc_impl_list): Likewise.
55308         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
55309         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
55310         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
55311         sysdeps/powerpc/power6/wcscpy.c.
55313         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
55314         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
55315         file.
55316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
55317         file.
55318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
55319         file.
55320         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
55321         multiarch wcsrchr for PPC32.
55322         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
55323         multiarch objects.
55324         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55325         (__libc_ifunc_impl_list): Likewise.
55326         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
55327         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
55328         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
55329         sysdeps/powerpc/power6/wcsrchr.c.
55331         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
55332         file.
55333         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
55334         file.
55335         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
55336         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
55337         multiarch wcschr for PPc32.
55338         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
55339         multiarch objects.
55340         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55341         (__libc_ifunc_impl_list): Likewise.
55342         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
55343         * sysdeps/powerpc/power6/wcschr.c: ... to here.
55344         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
55345         sysdeps/powerpc/power6/wcschr.c.
55347         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
55348         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
55349         file.
55350         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
55351         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
55352         file: multiarch strchr for PPC32.
55353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
55354         multiarch objects.
55355         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55356         (__libc_ifunc_impl_list): Likewise.
55358         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
55359         name.
55360         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
55361         file.
55362         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
55363         file.
55364         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
55365         multiarch strchrnul for PPC32.
55366         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
55367         multiarch objects.
55368         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55369         (__libc_ifunc_impl_list): Likewise.
55371         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
55372         file.
55373         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
55374         multiarch strncasecmp for PPC32.
55375         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
55376         file.
55377         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
55378         multiarch strncasecmp_l for PPC32.
55379         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
55380         strncasecmp multiarch objects.
55381         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55382         (__libc_ifunc_impl_list): Likewise.
55384         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
55385         file.
55386         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
55387         multiarch strncasecmp for PPC32.
55388         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
55389         New file.
55390         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
55391         multiarch strcasecmp_l for PPC32.
55392         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
55393         multiarch objects.
55394         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55395         (__libc_ifunc_impl_list): Likewise.
55397         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
55398         file.
55399         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
55400         file.
55401         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
55402         multiarch strncmp for PPC32.
55403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
55404         multiarch objects.
55405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55406         (__libc_ifunc_impl_list): Likewise.
55408         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
55409         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
55410         file.
55411         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
55412         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
55413         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
55414         multiarch objects.
55415         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55416         (__libc_ifunc_impl_list): Likewise.
55418         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
55419         file.
55420         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
55421         file.
55422         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
55423         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
55424         multiarch objects.
55425         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55426         (__libc_ifunc_impl_list): Likewise.
55428         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
55429         file.
55430         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
55431         file.
55432         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
55433         multiarch rawmemchr for PPC32.
55434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
55435         multiarch objects.
55436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55437         (__libc_ifunc_impl_list): Likewise.
55439         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
55440         file.
55441         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
55442         file.
55443         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
55444         file: memrchr multiarch for PPC32.
55445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
55446         multiarch objects.
55447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55448         (__libc_ifunc_impl_list): Likewise.
55450         * string/memchr.c (__memchr): Using macro to redefine symbol name.
55451         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
55452         file.
55453         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
55454         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
55455         multiarch memchr for PPC32.
55456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
55457         multiarch objects.
55458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55459         (__libc_ifunc_impl_list): Likewise.
55461         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
55462         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
55463         file.
55464         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
55465         file.
55466         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
55467         file: multiarch mempcpy for PPC32.
55468         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
55469         multiarch objects.
55470         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55471         (__libc_ifunc_impl_list): Likewise.
55473         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
55474         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
55475         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
55476         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
55477         multiarch bzero for PPC32.
55478         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
55479         file.
55480         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
55481         file.
55482         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
55483         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
55484         file: multiarch memset for PPC32.
55485         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
55486         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
55487         memset multiarch objects.
55488         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55489         (__libc_ifunc_impl_list): Likewise.
55491         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
55492         file.
55493         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
55494         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
55495         memcmp for PPC32.
55496         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
55497         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
55498         multiarch objects.
55499         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55500         (__libc_ifunc_impl_list): Likewise.
55502         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
55503         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
55504         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
55505         file.
55506         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
55507         file.
55508         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
55509         file.
55510         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
55511         multiarch memcpy for PPC32.
55512         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
55513         multiarch objects.
55514         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55515         (__libc_ifunc_impl_list): Likewise.
55517         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
55518         support multiarch for POWER/PPC32.
55519         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
55520         Likewise.
55521         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
55522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
55523         Implies file to make multiarch folder appers before the fpu and
55524         default folder for power4 configuration.
55526 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55528         * scripts/bench.pl: Append volatile keyword to type.
55530 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55532         * sysdeps/sh/sotruss-lib.c: New file.
55533         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
55535 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55539 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
55541         [BZ #6810]
55542         * math/w_tgamma.c: Include <errno.h>.
55543         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
55544         * math/w_tgammaf.c: Include <errno.h>.
55545         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
55546         * math/w_tgammal.c: Include <errno.h>.
55547         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
55548         * math/auto-libm-test-in: Do not allow missing errno on tgamma
55549         underflow.  Add more tgamma tests.
55550         * math/auto-libm-test-out: Regenerated.
55551         * sysdeps/i386/fpu/libm-test-ulps: Update.
55552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55554         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
55555         sin, sinh, tan, tanh, tgamma, y0 and y1.
55556         * math/auto-libm-test-out: Regenerated.
55557         * math/libm-test.inc (TEST_COND_x86_64): New macro.
55558         (TEST_COND_x86): Likewise.
55559         (M_E2l): Remove macro.
55560         (M_E3l): Likewise.
55561         (M_2_SQRT_PIl): Likewise.
55562         (M_SQRT_PIl): Likewise.
55563         (M_1_DIV_El): Likewise.
55564         (log_test_data): Use AUTO_TESTS_f_f.
55565         (log10_test_data): Likewise.
55566         (log1p_test_data): Likewise.
55567         (log2_test_data): Likewise.
55568         (sin_test_data): Likewise.
55569         (sin_tonearest_test_data): Likewise.
55570         (sin_towardzero_test_data): Likewise.
55571         (sin_downward_test_data): Likewise.
55572         (sin_upward_test_data): Likewise.
55573         (sinh_test_data): Likewise.
55574         (sinh_tonearest_test_data): Likewise.
55575         (sinh_towardzero_test_data): Likewise.
55576         (sinh_downward_test_data): Likewise.
55577         (sinh_upward_test_data): Likewise.
55578         (tan_test_data): Likewise.
55579         (tan_tonearest_test_data): Likewise.
55580         (tan_towardzero_test_data): Likewise.
55581         (tan_downward_test_data): Likewise.
55582         (tan_upward_test_data): Likewise.
55583         (tanh_test_data): Likewise.
55584         (tgamma_test_data): Likewise.
55585         (y0_test_data): Likewise.
55586         (y1_test_data): Likewise.
55587         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
55588         (special_real_inputs): Add pi/4.
55589         * sysdeps/i386/fpu/libm-test-ulps: Update.
55590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55592 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55594         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
55595         "longjmp_target" static probes.
55596         (__longjmp): Rename to __longjmp_symbol.
55597         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55598         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
55599         on which longjmp to generate.
55600         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
55601         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
55602         probe.
55603         (__sigsetjmp): Rename to __sigsetjmp_symbol.
55604         (__sigjmp_save): Rename to __sigjmp_save_symbol.
55605         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
55606         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
55607         and __sigjmp_save_symbol based on which sigsetjmp to generated.
55608         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
55610         __longjmp_symbol based on which __longjmp to generate.
55611         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
55612         probe.
55613         (setjmp): Rename to setjmp_symbol.
55614         (__sigsetjmp): Rename to __sigsetjmp_symbol.
55615         (_setjmp): Rename to _setjmp_symbol.
55616         (__sigsetjmp): Rename to __sigsetjmp_symbol.
55617         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
55618         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
55619         which setjmp to generate.
55620         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
55621         "longjmp_target" static probes.
55623 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55625         * benchtests/README: Add note about output arguments.
55626         * benchtests/bench-sincos.c: Remove file.
55627         * benchtests/sincos-inputs: New file.
55628         * scripts/bench.pl: Identify output arguments and define
55629         static variables for them.
55631         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
55633         [BZ #15941]
55634         * Makefile (INSTALL): Add install-plain.texi as the primary
55635         dependency.
55636         * manual/install-plain.texi: New file.
55637         * manual/install.texi: Include node directive only for
55638         non-plaintext output.
55640 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
55642         * stdlib/longlong.h: Update from GCC.
55644         [BZ #6807]
55645         [BZ #15901]
55646         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
55647         * math/w_j0f.c (y0f): Likewise.
55648         * math/w_j0l.c (__y0l): Likewise.
55649         * math/w_j1.c (y1): Likewise.
55650         * math/w_j1f.c (y1f): Likewise.
55651         * math/w_j1l.c (__y1l): Likewise.
55652         * math/w_jn.c (yn): Likewise.
55653         * math/w_jnf.c (ynf): Likewise.
55654         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
55655         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
55656         value for Bessel function domain errors outside _SVID_ mode.
55657         Adjust sign of return value for yn (negative integer, 0).
55658         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
55659         by zero in return for negative x and set sign appropriately for
55660         negative n.
55661         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
55662         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55663         * math/libm-test.inc (y0_test_data): Add more tests and adjust
55664         expectations in error cases.
55665         (y1_test_data): Likewise.
55666         (yn_test_data): Likewise.
55667         * sysdeps/i386/fpu/libm-test-ulps: Update.
55668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55670 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55672         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
55673         "64" to "64-v1".  Add "64-v2".
55674         (abi-64-options): Rename to ...
55675         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
55676         (abi-64-condition): Rename to ...
55677         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
55678         (abi-64-ld-soname): Rename to ...
55679         (abi-64-v1-ld-soname): ... this.
55680         (abi-64-v2-options): Define.
55681         (abi-64-v2-condition): Likewise.
55682         (abi-64-v2-ld-soname): Likewise.
55683         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
55684         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
55685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
55686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
55687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
55689 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55690             Alan Modra  <amodra@gmail.com>
55692         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
55693         New versions for use with the ELFv2 ABI.
55694         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
55695         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
55696         declaration.
55697         (struct La_ppc64v2_retval): Likewise.
55698         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
55699         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
55700         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
55701         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
55702         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
55703         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55704         Do not save or restore CR.
55705         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
55706         (_dl_profile_resolve): Do no save or restore CR.  Support extended
55707         return values for ELFv2 ABI.  Fix location of FPR return registers.
55708         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
55709         updated values for _CALL_ELF == 2.
55710         (La_regs, La_retval, int_retval): Likewise.
55712 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55714         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
55715         (FRAME_MIN_SIZE_PARM): Likewise.
55716         (FRAME_BACKCHAIN): Likewise.
55717         (FRAME_CR_SAVE): Likewise.
55718         (FRAME_LR_SAVE): Likewise.
55719         (FRAME_TOC_SAVE): Likewise.
55720         (FRAME_PARM_SAVE): Likewise.
55721         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
55722         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
55723         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
55724         (call_mcount_parm_offset): New macro.
55725         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
55726         (PROF): Use symbolic stack frame offsets.
55727         (TAIL_CALL_SYSCALL_ERROR): Likewise.
55728         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
55729         Redefine in terms of FRAME_MIN_SIZE.
55730         (_dl_runtime_resolve): Use symbolic stack frame offsets.
55731         (_dl_profile_resolve): Likewise.  Update comment.
55732         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
55733         symbols stack frame offsets.
55734         (__sigsetjmp): Likewise.
55735         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
55736         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
55737         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
55738         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
55740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
55741         (FRAME_BACKCHAIN): Remove.
55742         (FRAME_CR_SAVE): Likewise.
55743         (FRAME_LR_SAVE): Likewise.
55744         (FRAME_COMPILER_DW): Likewise.
55745         (FRAME_LINKER_DW): Likewise.
55746         (FRAME_TOC_SAVE): Likewise.
55747         (FRAME_PARM_SAVE): Likewise.
55748         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
55749         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
55750         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
55751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
55752         (CHECK_SP): Use symbolic stack frame offsets.
55753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
55754         zone" instead of caller's parameter save area for temp storage.
55755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55756         Likewise.  Also, use symbolic stack frame offsets.
55757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
55758         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
55759         our own stack frame instead of the caller's.
55760         (__socket): Use symbolic stack frame offsets.
55762 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55763             Alan Modra  <amodra@gmail.com>
55765         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
55766         Define.
55767         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
55768         (PPC64_LOCAL_ENTRY_OFFSET): Define.
55769         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
55770         New function.
55771         (elf_machine_fixup_plt): Call it.
55772         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
55773         reloc arguments.
55774         (elf_machine_rela): Update call to elf_machine_plt_conflict.
55775         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
55776         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
55777         r2 before calling target.
55779 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55780             Alan Modra  <amodra@gmail.com>
55782         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
55783         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
55784         versions of macros to support ELFv2 ABI.
55785         (LOCALENTRY): New macro.
55786         (ENTRY, EALIGN): Use it.
55787         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
55788         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
55789         fall through into ENTRY entry point.
55790         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
55791         Only define if _CALL_ELF != 2.
55793         (elf_machine_matches_host): Verify ABI version matches.
55794         (RTLD_START): Use LOCALENTRY.
55795         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
55796         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
55797         (PLT_ENTRY_WORDS): New macro.
55798         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
55799         (elf_machine_runtime_setup): Support ELFv2 ABI.
55800         (elf_machine_fixup_plt): Likewise.
55801         (elf_machine_plt_conflict): Likewise.
55802         (resolve_ifunc): Likewise.
55803         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
55804         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55805         Likewise.
55806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
55807         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
55808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55809         (makecontext): Support ELFv2 ABI.
55810         * elf/elf.h (EF_PPC64_ABI): Define.
55812 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55814         * sysdeps/powerpc/powerpc64/sysdep.h
55815         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
55816         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
55817         (ENTRY) [ASSEMBLER]: ... but instead here ...
55818         (EALIGN) [ASSEMBLER]: ... and here.
55819         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
55820         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
55821         (ENTRY_2) [!ASSEMBLER]: Use it.
55822         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
55823         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
55824         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
55825         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
55826         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
55827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
55828         Use PPC64_LOAD_FUNCPTR.
55830         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
55832 2013-12-04  Alan Modra  <amodra@gmail.com>
55834         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
55835         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
55836         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
55837         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
55839         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
55840         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
55841         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
55842         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
55843         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
55844         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
55846 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55849         (__makecontext): Fix incorrect CFI when backtracing out of
55850         context created via makecontext.
55851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
55852         (__setcontext): Fix incorrect CFI during switch to new context.
55853         (__novec_setcontext): Likewise.
55855 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
55857         [BZ #4772]
55858         * time/strptime_l.c (__strptime_internal): Allow modifiers
55859         in strptime.
55860         * time/tst-strptime.c (day_tests): Add testcase.
55862 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55864         * scripts/bench.pl: Skip over blank lines.
55866 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
55868         [BZ #926]
55869         * manual/time.texi (Calendar Time): Clarify what timezone functions
55870         use.
55872 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55876 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
55878         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
55879         implementation.
55880         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
55881         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
55882         * debug/memset_chk.c (__memset_chk): Likewise.
55883         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
55884         * debug/strncpy_chk.c: Likewise.
55886 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
55888         [BZ #15268]
55889         [BZ #15425]
55890         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
55891         (__ieee754_exp): For possibly underflowing results, check size of
55892         result and force underflow exception if required.
55893         * math/auto-libm-test-in: Add more tests of exp.
55894         * math/auto-libm-test-out: Regenerated.
55895         * sysdeps/i386/fpu/libm-test-ulps: Update.
55896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55898         [BZ #16283]
55899         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
55900         * math/w_exp2f.c (__exp2f): Likewise.
55901         * math/w_exp2l.c (__exp2l): Likewise.
55902         * math/auto-libm-test-in: Do not allow missing errno on exp2
55903         underflow.
55904         * math/auto-libm-test-out: Regenerated.
55906 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
55908         [BZ #16274]
55909         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
55910         handle filename validation.
55911         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
55912         (do_open): Delete.
55914 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
55916         [BZ #6786]
55917         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
55918         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
55919         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
55920         <float.h>.
55921         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
55922         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
55923         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55924         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
55925         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55926         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
55927         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55928         * math/auto-libm-test-in: Don't allow missing errno from erfc.
55929         Add more erfc tests.
55930         * math/auto-libm-test-out: Regenerated.
55931         * sysdeps/i386/fpu/libm-test-ulps: Update.
55932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55934         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
55935         exp2, expm1, j0 and j1.
55936         * math/auto-libm-test-out: Regenerated.
55937         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
55938         (erfc_test_data): Likewise.
55939         (exp_test_data): Likewise.
55940         (exp_tonearest_test_data): Likewise.
55941         (exp_towardzero_test_data): Likewise.
55942         (exp_downward_test_data): Likewise.
55943         (exp_upward_test_data): Likewise.
55944         (exp10_test_data): Likewise.
55945         (exp2_test_data): Likewise.
55946         (expm1_test_data): Likewise.
55947         (j0_test_data): Likewise.
55948         (j1_test_data): Likewise.
55949         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
55950         (input_flag_type): Add flag_xfail_rounding.
55951         (input_flags): Add xfail-rounding.
55952         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
55953         (output_for_one_input_case): Handle flag_xfail_rounding.
55954         * sysdeps/i386/fpu/libm-test-ulps: Update.
55955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55957 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
55959         [BZ #16289]
55960         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
55961         division by 0.
55963 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55965         [BZ #16195]
55966         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
55967         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
55968         (STAP_PROBE0): New macro.
55969         (STAP_PROBE1): Likewise.
55970         (STAP_PROBE2): Likewise.
55971         (STAP_PROBE3): Likewise.
55972         (STAP_PROBE4): Likewise.
55974 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
55976         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
55978 2013-12-02  Steve Ellcey  <sellcey@mips.com>
55980         * benchtests/Makefile (bench): Add sqrt.
55981         (LDLIBS-bench-sqrt): New.
55982         * benchtests/sqrt-input: New.
55984 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
55986         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
55987         (GAIH_EAI): Likewise.
55988         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
55989         (gaih_inet): Likewise.
55990         (getaddrinfo): Don't use GAIH_EAI.
55992         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
55993         (struct gaih): Remove definition.
55995 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55997         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
55998         Use HERRNOP directly.
56000 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56004 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
56006         * math/gen-auto-libm-tests.c (test_functions): Add more
56007         single-argument functions.
56008         (special_fill_pi_2): New function.
56009         (special_fill_minus_pi_2): Likewise.
56010         (special_fill_pi_6): Likewise.
56011         (special_fill_minus_pi_6): Likewise.
56012         (special_fill_pi_3): Likewise.
56013         (special_fill_2pi_3): Likewise.
56014         (special_fill_e): Likewise.
56015         (special_fill_1_e): Likewise.
56016         (special_fill_e_minus_1): Likewise.
56017         (special_real_inputs): Add more special inputs.
56018         (output_for_one_input_case): Do not require ERANGE on underflow to
56019         zero if round-to-nearest result does not underflow to zero, unless
56020         exact results required.
56021         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
56022         atan, atanh, cbrt, cos and cosh.
56023         * math/auto-libm-test-out: Regenerated.
56024         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
56025         (acos_tonearest_test_data): Likewise.
56026         (acos_towardzero_test_data): Likewise.
56027         (acos_downward_test_data): Likewise.
56028         (acos_upward_test_data): Likewise.
56029         (acosh_test_data): Likewise.
56030         (asin_test_data): Likewise.
56031         (asin_tonearest_test_data): Likewise.
56032         (asin_towardzero_test_data): Likewise.
56033         (asin_upward_test_data): Likewise.
56034         (asinh_test_data): Likewise.
56035         (atan_test_data): Likewise.
56036         (atanh_test_data): Likewise.
56037         (cbrt_test_data): Likewise.
56038         (cos_test_data): Likewise.
56039         (cos_tonearest_test_data): Likewise.
56040         (cos_towardzero_test_data): Likewise.
56041         (cos_downward_test_data): Likewise.
56042         (cos_upward_test_data): Likewise.
56043         (cosh_test_data): Likewise.
56044         (cosh_tonearest_test_data): Likewise.
56045         (cosh_towardzero_test_data): Likewise.
56046         (cosh_downward_test_data): Likewise.
56047         (cosh_upward_test_data): Likewise.
56048         * sysdeps/i386/fpu/libm-test-ulps: Update.
56049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56051 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
56053         [BZ #6787]
56054         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
56055         * math/w_exp10f.c (__exp10f): Likewise.
56056         * math/w_exp10l.c (__exp10l): Likewise.
56057         * math/libm-test.inc (exp10_test_data): Add more tests and expect
56058         errno settings in existing tests.
56060         [BZ #14032]
56061         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
56062         precision control set to double precision.
56063         * sysdeps/i386/fpu/w_sqrt.c: New file.
56064         * math/auto-libm-test-in: Add more tests.
56065         * math/auto-libm-test-out: Update.
56067         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
56068         (sqrt_test_tonearest): New function.
56069         (sqrt_towardzero_test_data): New variable.
56070         (sqrt_test_towardzero): New function.
56071         (sqrt_downward_test_data): New variable.
56072         (sqrt_test_downward): New function.
56073         (sqrt_upward_test_data): New variable.
56074         (sqrt_test_upward): New function.
56075         (main): Call the new functions.
56077         * math/gen-auto-libm-tests.c: New file.
56078         * math/auto-libm-test-in: Likewise.
56079         * math/auto-libm-test-out: New generated file.
56080         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
56081         variables.
56082         (%beautify): Add generated representations of zero.
56083         (top level): Set $auto_input and call parse_auto_input.
56084         (beautify): Remove trailing "f" from hex float constants.
56085         (parse_args): Handle XFAIL_TEST.
56086         (convert_condition): New function.
56087         (or_value): Likewise.
56088         (or_cond_value): Likewise.
56089         (generate_testfile): Handle AUTO_TESTS_* lines.
56090         (parse_auto_input): New function.
56091         * math/libm-test.inc (XFAIL_TEST): New macro.
56092         (ERRNO_UNCHANGED): Update value.
56093         (ERRNO_EDOM): Likewise.
56094         (ERRNO_ERANGE): Likewise.
56095         (IGNORE_RESULT): Likewise.
56096         (TEST_COND_flt_32): New macro.
56097         (TEST_COND_dbl_64): Likewise.
56098         (TEST_COND_ldbl_96_intel): Likewise.
56099         (TEST_COND_ldbl_96_m68k): Likewise.
56100         (TEST_COND_ldbl_128): Likewise.
56101         (TEST_COND_ldbl_128ibm): Likewise.
56102         (TEST_COND_long32): Likewise.
56103         (TEST_COND_long64): Likewise.
56104         (TEST_COND_before_rounding): Likewise.
56105         (TEST_COND_after_rounding): Likewise.
56106         (enable_test): Handle XFAIL_TEST flag.
56107         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
56108         with finite results.
56109         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
56110         auto-libm-test-out.
56112 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56113             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56115         [BZ #16214]
56116         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
56117         __tls_get_addr_internal instead of __tls_get_offset in order to
56118         avoid GOT pointer dependency.  Make rtld export
56119         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
56120         __tls_get_addr since we are a __tls_get_offset platform.
56121         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
56122         GOT pointer being set up before.
56123         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
56125 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
56127         * manual/math.texi (Errors in Math Functions): Document accuracy
56128         goals.
56130         [BZ #15004]
56131         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
56132         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
56133         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56134         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56135         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56136         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56137         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56138         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56139         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56140         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56141         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56142         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56143         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56144         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56145         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56146         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56148         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
56149         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
56150         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
56151         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
56152         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
56153         Likewise.
56154         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
56155         Likewise.
56156         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
56157         Likewise.
56158         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
56159         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
56160         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
56161         atomic-feupdateenv and flt-rounds.
56162         * sysdeps/powerpc/nofpu/Versions (libc): Add
56163         __atomic_feholdexcept, __atomic_feclearexcept,
56164         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
56165         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
56166         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
56167         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
56168         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
56169         here.
56170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
56171         Update.
56173         * manual/arith.texi (FP Exceptions): Document that exceptions may
56174         not be raised when matherr is used.
56175         (Math Error Reporting): Document overflow in directed rounding
56176         modes.  Document that errno may not be set when finite values are
56177         returned on overflow.  Document intent to set errno on underflow
56178         only for underflow to zero.
56180         [BZ #16271]
56181         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
56182         round-to-nearest then adjust result for other rounding modes.
56183         * include/fenv.h (fegetround): Use libm_hidden_proto.
56184         * math/fegetround.c (fegetround): Use libm_hidden_def.
56185         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
56186         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
56187         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
56188         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
56189         Likewise.
56190         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
56191         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56192         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
56193         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
56195 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56197         [BZ #16077]
56198         * nss/Versions (libnss_files): Add
56199         _nss_files_gethostbyname3_r.
56200         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
56201         New function.
56202         (HOST_DB_LOOKUP): Remove macro.
56203         (_nss_files_gethostbyname_r): Implement function without the
56204         HOST_DB_LOOKUP macro.
56205         (_nss_files_gethostbyname2_r): Likewise.
56207 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
56209         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
56211 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
56213         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
56214         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
56215         warning.
56217 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56219         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
56220         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
56221         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
56222         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
56223         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
56224         __fe_nomask_env_priv and attribute_hidden.
56225         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
56226         (libc_feupdateenv_test_ppc): Likewise.
56227         (libc_feresetround_ppc): Likewise.
56228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56229         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
56230         compat_symbol macro.
56231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56232         (__fe_nomask_env): Likewise.
56233         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
56235 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56237         * string/Makefile: Remove ifunc tests.
56238         * string/test-string.h: Define TEST_IFUNC.
56239         * string/test-bcopy-ifunc.c: Remove.
56240         * string/test-bzero-ifunc.c: Likewise.
56241         * string/test-memccpy-ifunc.c: Likewise.
56242         * string/test-memchr-ifunc.c: Likewise.
56243         * string/test-memcmp-ifunc.c: Likewise.
56244         * string/test-memcpy-ifunc.c: Likewise.
56245         * string/test-memmem-ifunc.c: Likewise.
56246         * string/test-memmove-ifunc.c: Likewise.
56247         * string/test-mempcpy-ifunc.c: Likewise.
56248         * string/test-memrchr-ifunc.c: Likewise.
56249         * string/test-memset-ifunc.c: Likewise.
56250         * string/test-rawmemchr-ifunc.c: Likewise.
56251         * string/test-stpcpy-ifunc.c: Likewise.
56252         * string/test-stpncpy-ifunc.c: Likewise.
56253         * string/test-strcasecmp-ifunc.c: Likewise.
56254         * string/test-strcasestr-ifunc.c: Likewise.
56255         * string/test-strcat-ifunc.c: Likewise.
56256         * string/test-strchr-ifunc.c: Likewise.
56257         * string/test-strchrnul-ifunc.c: Likewise.
56258         * string/test-strcmp-ifunc.c: Likewise.
56259         * string/test-strcpy-ifunc.c: Likewise.
56260         * string/test-strcspn-ifunc.c: Likewise.
56261         * string/test-strlen-ifunc.c: Likewise.
56262         * string/test-strncasecmp-ifunc.c: Likewise.
56263         * string/test-strncat-ifunc.c: Likewise.
56264         * string/test-strncmp-ifunc.c: Likewise.
56265         * string/test-strncpy-ifunc.c: Likewise.
56266         * string/test-strnlen-ifunc.c: Likewise.
56267         * string/test-strpbrk-ifunc.c: Likewise.
56268         * string/test-strrchr-ifunc.c: Likewise.
56269         * string/test-strspn-ifunc.c: Likewise.
56270         * string/test-strstr-ifunc.c: Likewise.
56272 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56274         * benchtests/Makefile: Remove ifunc tests.
56275         * benchtests/bench-string.h: Define TEST_IFUNC.
56276         * benchtests/bench-bcopy-ifunc.c: Remove.
56277         * benchtests/bench-bzero-ifunc.c: Likewise.
56278         * benchtests/bench-memccpy-ifunc.c: Likewise.
56279         * benchtests/bench-memchr-ifunc.c: Likewise.
56280         * benchtests/bench-memcmp-ifunc.c: Likewise.
56281         * benchtests/bench-memcpy-ifunc.c: Likewise.
56282         * benchtests/bench-memmem-ifunc.c: Likewise.
56283         * benchtests/bench-memmove-ifunc.c: Likewise.
56284         * benchtests/bench-mempcpy-ifunc.c: Likewise.
56285         * benchtests/bench-memrchr-ifunc.c: Likewise.
56286         * benchtests/bench-memset-ifunc.c: Likewise.
56287         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
56288         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
56289         * benchtests/bench-stpcpy-ifunc.c: Likewise.
56290         * benchtests/bench-stpncpy-ifunc.c: Likewise.
56291         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
56292         * benchtests/bench-strcasestr-ifunc.c: Likewise.
56293         * benchtests/bench-strcat-ifunc.c: Likewise.
56294         * benchtests/bench-strchr-ifunc.c: Likewise.
56295         * benchtests/bench-strchrnul-ifunc.c: Likewise.
56296         * benchtests/bench-strcmp-ifunc.c: Likewise.
56297         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
56298         * benchtests/bench-strcpy-ifunc.c: Likewise.
56299         * benchtests/bench-strcspn-ifunc.c: Likewise.
56300         * benchtests/bench-strlen-ifunc.c: Likewise.
56301         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
56302         * benchtests/bench-strncat-ifunc.c: Likewise.
56303         * benchtests/bench-strncmp-ifunc.c: Likewise.
56304         * benchtests/bench-strncpy-ifunc.c: Likewise.
56305         * benchtests/bench-strnlen-ifunc.c: Likewise.
56306         * benchtests/bench-strpbrk-ifunc.c: Likewise.
56307         * benchtests/bench-strrchr-ifunc.c: Likewise.
56308         * benchtests/bench-strsep-ifunc.c: Likewise.
56309         * benchtests/bench-strspn-ifunc.c: Likewise.
56310         * benchtests/bench-strstr-ifunc.c: Likewise.
56312 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56314         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
56316 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56318         * resolv/netdb.h: Use __glibc_reserved instead __unused.
56319         * rt/aio.h: Likewise.
56320         * sysdeps/gnu/bits/utmp.h: Likewise.
56321         * sysdeps/gnu/bits/utmpx.h: Likewise.
56322         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56323         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
56324         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
56325         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
56326         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
56327         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
56328         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
56329         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
56330         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
56331         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
56332         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
56333         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
56334         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
56335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
56336         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
56337         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
56338         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
56339         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
56340         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
56341         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
56342         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
56343         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
56344         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
56345         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56346         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
56347         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56348         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
56349         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
56350         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
56351         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
56352         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
56353         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
56354         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
56355         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
56356         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
56357         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
56358         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
56359         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
56360         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
56361         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
56362         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
56363         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56365 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
56367         [BZ #16245]
56368         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
56369         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
56371 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
56373         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
56374         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
56375         Likewise.
56377 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56379         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
56380         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
56381         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
56382         (__fesetround): Remove define.
56383         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
56384         rounding and exceptions handling.
56385         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
56386         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
56387         (__fe_nomask_env): Likewise.
56388         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
56389         __fegetround instead of fegetround.
56390         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56391         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
56393 2013-11-21  Roland McGrath  <roland@hack.frob.com>
56395         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
56396         it's there.
56398         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
56400 2013-11-21  Meador Inge  <meadori@codesourcery.com>
56402         [BZ #11157]
56403         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
56404         (encrypt_r): Likewise.
56405         * malloc/obstack.h (obstack_free): Likewise.
56406         * posix/unistd.h (encrypt): Likewise.
56408 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
56410         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
56411         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
56412         DL_CALL_DT_FINI() that call the functions directly.
56413         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
56414         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
56415         * elf/dl-fini.c: Likewise.
56417 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
56419         * malloc/hooks.c (memalign_check): Add alignment rounding.
56420         * malloc/malloc.c (_mid_memalign): New function.
56421         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
56422         Implement by calling _mid_memalign.
56423         * manual/probes.texi (Memory Allocation Probes): Remove
56424         memory_valloc_retry and memory_pvalloc_retry.
56426 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56428         * locale/programs/locarchive.c (open_archive): Add const
56429         qualifier to ARCHIVEFNAME and copy default fname to
56430         DEFAULT_FNAME.
56432         [BZ #15601]
56433         * libio/tst-widetext.input: Rename Oriya to Odia.
56434         * locale/iso-639.def: Likewise.
56436         * manual/probes.texi (Mathematical Function Probes): Add
56437         documentation for sin, cos, asin and acos probes.
56438         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
56439         (__sin32): Add slowasin probe.
56440         (__cos32): Add slowacos probe.
56441         (__mpsin): Add slowsin probe.
56442         (__mpcos): Add slowcos probe.
56444 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
56446         [BZ #15483]
56447         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
56448         thread-local __sim_exceptions_thread and global
56449         __sim_exceptions_global.
56450         (__sim_disabled_exceptions): Change to thread-local
56451         __sim_disabled_exceptions_thread and global
56452         __sim_disabled_exceptions_global.
56453         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
56454         and global __sim_round_mode_global.
56455         (__simulate_exceptions): Use thread-local floating-point state and
56456         set global state from it as needed.
56457         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
56458         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
56459         __sim_round_mode_thread.
56460         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
56461         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
56462         and global __sim_exceptions_global.
56463         (__sim_disabled_exceptions): Change to thread-local
56464         __sim_disabled_exceptions_thread and global
56465         __sim_disabled_exceptions_global.
56466         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
56467         and global __sim_round_mode_global.
56468         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
56469         (SIM_SET_GLOBAL): Likewise.
56470         * sysdeps/powerpc/soft-fp/sfp-machine.h
56471         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
56472         __sim_round_mode_thread.
56473         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
56474         __sim_disabled_exceptions_thread.
56475         (__sim_exceptions): Change to __sim_exceptions_thread.
56476         (__sim_disabled_exceptions): Change to
56477         __sim_disabled_exceptions_thread.
56478         (__sim_round_mode): Change to __sim_round_mode_thread.
56479         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
56480         thread-local floating-point state and set global state from it as
56481         needed.
56482         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
56483         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
56484         (__sim_disabled_exceptions): Remove extern declaration.
56485         (feenableexcept): Use thread-local floating-point state and set
56486         global state from it as needed.
56487         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
56488         extern declaration.
56489         (__sim_disabled_exceptions): Likewise.
56490         (__sim_round_mode): Likewise.
56491         (__fegetenv): Use thread-local floating-point state.
56492         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
56493         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
56494         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
56495         floating-point state and set global state from it as needed.
56496         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
56497         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
56498         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
56499         Likewise.
56500         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
56501         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
56502         Likewise.
56503         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
56504         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
56505         Use __sim_round_mode_thread.
56506         * math/test-fenv-tls.c: New file.
56507         * math/Makefile (tests): Add test-fenv-tls.
56508         ($(objpfx)test-fenv-tls): Depend on
56509         $(common-objpfx)nptl/libpthread.so.
56511 2013-11-19  Andreas Schwab  <schwab@suse.de>
56513         * locale/programs/locale.c (show_info): Decode wordarray elements.
56514         * locale/categories.def (LC_MONETARY): Add element for
56515         _NL_MONETARY_CRNCYSTR.
56516         * locale/C-monetary.c (conversion_rate): New variable.
56517         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
56518         element.
56520 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
56522         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
56523         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
56525 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
56527         * elf/Makefile (tst-auxv): New test.
56528         * elf/tst-auxv.c: New
56529         * elf/rtld.c (dl_main): Adjust AT_EXECFN
56531 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
56533         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
56534         (hidden_proto): Caller changed.
56535         (hidden_tls_proto): New macro.
56536         (libc_hidden_tls_proto): Likewise.
56537         (rtld_hidden_tls_proto): Likewise.
56538         (libm_hidden_tls_proto): Likewise.
56539         (libresolv_hidden_tls_proto): Likewise.
56540         (librt_hidden_tls_proto): Likewise.
56541         (libdl_hidden_tls_proto): Likewise.
56542         (libnss_files_hidden_tls_proto): Likewise.
56543         (libnsl_hidden_tls_proto): Likewise.
56544         (libnss_nisplus_hidden_tls_proto): Likewise.
56545         (libutil_hidden_tls_proto): Likewise.
56547 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
56549         [BZ #10253]
56550         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
56551         (decompose_rpath): Defer expansion to fillin_rpath.
56552         (_dl_init_paths): Pass linkmap to fillin_rpath.
56554 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56556         * benchtests/Makefile: Add strsep.
56557         * benchtests/bench-strsep.c: New file: strsep benchtest.
56558         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
56560 2013-11-18  Andreas Schwab  <schwab@suse.de>
56562         * locale/programs/locale.c (show_info) [case byte]: Check for
56563         '\377' instead of '\177'.
56564         * locale/C-monetary.c (not_available): Always use "\377".
56565         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
56566         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
56567         detect unavailable sign_posn locale elements.
56568         * locale/localeconv.c (__localeconv): For grouping and
56569         mon_grouping handle "\177" and "\377" like no grouping.
56570         (INT_ELEM): New macro.  Use it to set all numeric members.
56571         * locale/programs/ld-monetary.c (monetary_read)
56572         <tok_mon_grouping>: Normalize single -1 to the empty string.
56573         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
56574         Likewise.
56576 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
56578         [BZ #16055]
56579         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
56580         when we match (nil).
56581         * stdio-common/tst-sscanf.c (struct test): Add testcase.
56583 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
56585         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
56586         (NO_TEST_INLINE): Update value.
56587         (ERRNO_UNCHANGED): Likewise.
56588         (ERRNO_EDOM): Likewise.
56589         (ERRNO_ERANGE): Likewise.
56590         (IGNORE_RESULT): Likewise.
56591         (check_float_internal): Check signs of NaN results if
56592         TEST_NAN_SIGN used.
56593         (check_complex): Pass TEST_NAN_SIGN flag through to second
56594         check_float_internal call.
56595         (copysign_test_data): Add tests with quiet NaNs as second
56596         argument.  Use TEST_NAN_SIGN.
56597         (fabs_test_data): Add test of negative quiet NaN argument.  Use
56598         TEST_NAN_SIGN.
56599         (signbit_test_data): Add tests of quiet NaN argument.
56600         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
56602         * math/gen-libm-test.pl (show_exceptions): Take extra argument
56603         $ignore_result.
56604         (parse_args): Handle function results specified as IGNORE.
56605         * math/libm-test.inc (IGNORE_RESULT): New macro.
56606         (check_float_internal): Do not check numerical result if flag
56607         IGNORE_RESULT set.
56608         (check_complex): Pass through IGNORE_RESULT to second
56609         check_float_internal call.
56610         (check_int): Do not check numerical result if flag IGNORE_RESULT
56611         set.
56612         (check_long): Likewise.
56613         (check_bool): Likewise.
56614         (check_longlong): Likewise.
56615         (lrint_test_data): Add tests of infinite and NaN arguments.
56616         (lrint_tonearest_test_data): Likewise.
56617         (lrint_towardzero_test_data): Likewise.
56618         (lrint_downward_test_data): Likewise.
56619         (lrint_upward_test_data): Likewise.
56620         (llrint_test_data): Likewise.
56621         (llrint_tonearest_test_data): Likewise.
56622         (llrint_towardzero_test_data): Likewise.
56623         (llrint_downward_test_data): Likewise.
56624         (llrint_upward_test_data): Likewise.
56625         (lround_test_data): Likewise.
56626         (llround_test_data): Likewise.
56628         * math/libm-test.inc (NO_TEST_INLINE): New macro.
56629         (ERRNO_UNCHANGED): Update value.
56630         (ERRNO_EDOM): Likewise.
56631         (ERRNO_ERANGE): Likewise.
56632         (NO_TEST_INLINE_FLOAT): New macro.
56633         (NO_TEST_INLINE_DOUBLE): Likewise.
56634         (enable_test): New function.
56635         (RUN_TEST_f_f): Check enable_test before running test.
56636         (RUN_TEST_2_f): Likewise.
56637         (RUN_TEST_fff_f): Likewise.
56638         (RUN_TEST_c_f): Likewise.
56639         (RUN_TEST_f_f1): Likewise.
56640         (RUN_TEST_fF_f1): Likewise.
56641         (RUN_TEST_fI_f1): Likewise.
56642         (RUN_TEST_ffI_f1): Likewise.
56643         (RUN_TEST_c_c): Likewise.
56644         (RUN_TEST_cc_c): Likewise.
56645         (RUN_TEST_f_i): Likewise.
56646         (RUN_TEST_f_i_tg): Likewise.
56647         (RUN_TEST_ff_i_tg): Likewise.
56648         (RUN_TEST_f_b): Likewise.
56649         (RUN_TEST_f_b_tg): Likewise.
56650         (RUN_TEST_f_l): Likewise.
56651         (RUN_TEST_f_L): Likewise.
56652         (RUN_TEST_fFF_11): Likewise.
56653         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
56654         conditionals.
56655         (cosh_test_data): Likewise.
56656         (exp_test_data): Likewise.
56657         (expm1_test_data): Likewise.
56658         (hypot_test_data): Likewise.
56659         (pow_test_data): Likewise.
56660         (sinh_test_data): Likewise.
56661         (tanh_test_data): Likewise.
56662         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
56663         flags argument.
56665         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
56666         tests with quiet NaN input and output.
56667         (acosh_test_data): Likewise.
56668         (asin_test_data): Likewise.
56669         (asinh_test_data): Likewise.
56670         (atan_test_data): Likewise.
56671         (atanh_test_data): Likewise.
56672         (atan2_test_data): Likewise.
56673         (cbrt_test_data): Likewise.
56674         (cos_test_data): Likewise.
56675         (cosh_test_data): Likewise.
56676         (erf_test_data): Likewise.
56677         (erfc_test_data): Likewise.
56678         (exp_test_data): Likewise.
56679         (exp10_test_data): Likewise.
56680         (exp2_test_data): Likewise.
56681         (expm1_test_data): Likewise.
56682         (hypot_test_data): Likewise.
56683         (j0_test_data): Likewise.
56684         (j1_test_data): Likewise.
56685         (jn_test_data): Likewise.
56686         (lgamma_test_data): Likewise.
56687         (log_test_data): Likewise.
56688         (log10_test_data): Likewise.
56689         (log1p_test_data): Likewise.
56690         (log2_test_data): Likewise.
56691         (pow_test_data): Likewise.
56692         (scalb_test_data): Likewise.
56693         (sin_test_data): Likewise.
56694         (sincos_test_data): Likewise.
56695         (sinh_test_data): Likewise.
56696         (tan_test_data): Likewise.
56697         (tanh_test_data): Likewise.
56698         (tgamma_test_data): Likewise.
56699         (y0_test_data): Likewise.
56700         (y1_test_data): Likewise.
56701         (yn_test_data): Likewise.
56703         [BZ #16167]
56704         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
56705         argument being NaN and avoid computations with second argument in
56706         that case.
56707         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
56708         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
56709         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
56711 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
56713         * locale/iso-639.def: Add Chitwani Tharu (the).
56715 2013-11-14  Andreas Schwab  <schwab@suse.de>
56717         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
56718         word instead of empty string.
56720 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56723         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
56724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56725         (__fe_nomask_env): Likewise.
56727 2013-11-13  Steve Ellcey  <sellcey@mips.com>
56729         * benchtests/bench-timing.h: Include time.h.
56731 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
56733         [BZ #15997]
56734         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
56735         to 3.4.0 for x32.
56736         * sysdeps/unix/sysv/linux/configure: Regenerated.
56738 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
56740         [BZ #16151]
56741         * stdlib/strtod_l.c (round_and_return): Do not consider
56742         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
56743         exponent one less than half the least subnormal exponent.
56744         * stdlib/test-strtod-round-data: Add more tests.
56745         * stdlib/tst-strtod-round.c (tests): Regenerated.
56747 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56749         [BZ #14143]
56750         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
56751         (__fe_mask_env): Likewise.
56752         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
56753         libm_hidden_proto and add function prototype.
56754         (__fe_mask_env): Add function prototype.
56755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56756         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
56757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56758         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
56759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56760         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
56762 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56764         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
56765         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
56767 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56769         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
56770         of htab_find_slot().
56772 2013-11-11  David S. Miller  <davem@davemloft.net>
56774         [BZ #16150]
56775         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
56776         symbol in the non-vis3 case in static builds.
56777         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
56778         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
56779         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
56780         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
56782 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
56784         [BZ #387]
56785         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
56786         it is empty.
56788 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56790         * benchtests/Makefile: Add bench-strtod.
56791         * benchtests/bench-strtod.c: New file: strtod benchtest
56793 2013-11-11  Andreas Schwab  <schwab@suse.de>
56795         [BZ #16153]
56796         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
56797         terminating NUL in key length.
56799 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56801         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56802         Add artificial ODP entry for vDSO symbol for PPC64.
56803         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
56804         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
56806 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
56808         [BZ #15374]
56809         * nss/getent.c (services_keys): Recognize services starting with digit.
56811 2013-11-06  David S. Miller  <davem@davemloft.net>
56813         [BZ #15985]
56814         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
56815         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
56817 2013-11-06  Will Newton  <will.newton@linaro.org>
56819         * manual/memory.texi (Malloc Examples): Remove register
56820         keyword from examples.
56822 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
56824         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
56826 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
56828         [BZ #6981]
56829         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
56830         depending on [__GCC_IEC_559 > 0].
56831         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
56832         depending on [__GCC_IEC_559_COMPLEX > 0].
56834 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
56836         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
56837         to iso-639.def.
56839 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
56841         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
56843 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
56845         [BZ #16112]
56846         * malloc/malloc (malloc_info): Do not handle first bin as
56847         special case.
56849 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
56851         * locale/iso-639.def: Add Central Nahuatl (nhn).
56853 2013-11-01  Bruno Haible  <bruno@clisp.org>
56855         [BZ #7003]
56856         * manual/math.texi (BSD Random): Specify range upper bound as
56857         in POSIX.
56859 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
56861         * locale/iso-639.def: Add Meadow Mari (mhr).
56863 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
56865         [BZ #14752], [BZ #15763]
56866         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
56867         Validate name.
56868         * rt/tst_shm.c: Add test for escaping directory.
56870 2013-10-31  Andreas Schwab  <schwab@suse.de>
56872         [BZ #15917]
56873         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
56874         followed by 'x' as part of digit sequence.
56875         * stdio-common/tst-sscanf.c (double_tests2): New tests.
56877 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
56879         [BZ #16037]
56880         * configure.ac: allow GNU Make 4.0 and greater.
56881         * configure: Regenerated.
56883 2013-10-30  Will Newton  <will.newton@linaro.org>
56885         [BZ #16038]
56886         * malloc/hooks.c (memalign_check): Limit alignment to the
56887         maximum representable power of two.
56888         * malloc/malloc.c (__libc_memalign): Likewise.
56889         * malloc/tst-memalign.c (do_test): Add test for very
56890         large alignment values.
56891         * malloc/tst-posix_memalign.c (do_test): Likewise.
56893 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
56895         [BZ #11087]
56896         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
56897         (munmap_chunk): Likewise.
56898         (mremap_chunk): Likewise.
56900 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
56902         [BZ #15799]
56903         * stdlib/div.c (div): Remove obsolete code.
56904         * stdlib/ldiv.c (ldiv): Likewise.
56905         * stdlib/lldiv.c (lldiv): Likewise.
56907 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56909         [BZ #16071]
56910         * nss/nss_files/files-XXX.c (get_contents_ret): New
56911         enumerator.
56912         (get_contents): New function.
56913         (internal_getent): Use it.  Expand size of LINEBUFLEN.
56915 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
56917         * configure.in: Moved to ...
56918         * configure.ac: ... here. Change reference to configure.in
56919         to configure.ac.
56920         * sysdeps/arm/preconfigure.ac: ... here.
56921         configure.in to configure.ac.
56922         * sysdeps/gnu/configure.in: Moved to ...
56923         * sysdeps/gnu/configure.ac: ... here.
56924         * sysdeps/i386/configure.in: Moved to ...
56925         * sysdeps/i386/configure.ac: ... here.
56926         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
56927         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
56928         * sysdeps/mach/configure.in: Moved to ...
56929         * sysdeps/mach/configure.ac: ... here.
56930         * sysdeps/mach/hurd/configure.in: Moved to ...
56931         * sysdeps/mach/hurd/configure.ac: ... here.
56932         * sysdeps/powerpc/configure.in: Moved to ...
56933         * sysdeps/powerpc/configure.ac: ... here.
56934         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
56935         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
56936         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
56937         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
56938         * sysdeps/s390/s390-32/configure.in: Moved to ...
56939         * sysdeps/s390/s390-32/configure.ac: ... here.
56940         * sysdeps/s390/s390-64/configure.in: Moved to ...
56941         * sysdeps/s390/s390-64/configure.ac: ... here.
56942         * sysdeps/sh/configure.in: Moved to ...
56943         * sysdeps/sh/configure.ac: ... here.
56944         * sysdeps/sparc/configure.in: Moved to ...
56945         * sysdeps/sparc/configure.ac: ... here.
56946         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
56947         * sysdeps/unix/sysv/linux/configure.ac: ... here.
56948         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
56949         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
56950         * sysdeps/x86_64/configure.in: Moved to ...
56951         * sysdeps/x86_64/configure.ac: ... here.
56952         * sysdeps/x86_64/preconfigure.in: Moved to ...
56953         * sysdeps/x86_64/preconfigure.ac: ... here.
56954         * aclocal.m4: Change reference to configure.in to configure.ac.
56955         * config.h.in: Likewise.
56956         * manual/install.texi: Likewise.
56957         * manual/maint.texi: Likewise.
56958         * Makefile: Likewise.
56959         * malloc/Makefile: Likewise.
56960         * nscd/Makefile: Likewise.
56961         * Makeconfig: Change reference to configure.in and
56962         preconfigure.in to configure.ac and preconfigure.ac
56963         respectively.
56964         * INSTALL: Regenerated.
56965         * configure: Likewise.
56966         * sysdeps/gnu/configure: Likewise.
56967         * sysdeps/i386/configure: Likewise.
56968         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
56969         * sysdeps/mach/configure: Likewise.
56970         * sysdeps/mach/hurd/configure: Likewise.
56971         * sysdeps/powerpc/configure: Likewise.
56972         * sysdeps/powerpc/powerpc32/configure: Likewise.
56973         * sysdeps/powerpc/powerpc64/configure: Likewise.
56974         * sysdeps/s390/s390-32/configure: Likewise.
56975         * sysdeps/s390/s390-64/configure: Likewise.
56976         * sysdeps/sh/configure: Likewise.
56977         * sysdeps/sparc/configure: Likewise.
56978         * sysdeps/unix/sysv/linux/configure: Likewise.
56979         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
56980         * sysdeps/x86_64/configure: Likewise.
56981         * sysdeps/x86_64/preconfigure: Likewise.
56983 2013-10-29  Andreas Schwab  <schwab@suse.de>
56985         * stdio-common/Makefile (tst-swscanf-ENV): Define.
56987 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56989         * benchtests/pow-inputs: Add new inputs.
56991         * benchtests/exp-inputs: Add new inputs.
56993         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
56994         conditional check for return value.
56995         (__cos32): Likewise.
56997 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56999         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
57000         to provide a boost for large inputs with word alignment.
57001         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
57002         implementation based on optimized PPC64 strcpy.
57003         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
57004         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
57005         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
57006         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
57008 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57010         [BZ #2801]
57011         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
57013 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57015         [BZ #14876]
57016         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
57017         * time/tst-strptime.c (day_tests): Add testcase.
57019 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57021         [BZ #14029]
57022         * manual/pattern.texi: Acknowledge that fnmatch can fail.
57024 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
57026         [BZ #16074]
57027         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
57028         MAP_FAILED on error.
57030 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57032         [BZ #16072]
57033         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
57034         heap for large requests.
57036 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
57038         [BZ #9954]
57039         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
57040         result if the result has no associated interface.
57041         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
57042         interface for all 127.X.Y.Z addresses.
57044 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
57046         * locale/iso-639.def: Add Ligurian (lij)
57048 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
57050         [BZ #15825]
57051         * sunrpc/rpc_main.c: Document rpcgen -5.
57053 2013-10-19  Michael Stahl  <mstahl@redhat.com>
57055         * elf/rtld.c (do_preload): Print the reason why preloading failed.
57057 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
57059         [BZ #10278]
57060         * posix/glob.c: Match only directories when trailing slash is present.
57061         * posix/tst-gnuglob.c (my_opendir): Do not open files.
57062         (main): Add testcase.
57064 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
57066         [BZ #15670]
57067         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
57069 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
57071         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
57072         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
57073         AUTH_DES and cindex for FIPS 140-2.
57074         (DES Encryption): Add cindex FIPS 46-3.
57076         * locale/locarchive.h (struct locarhandle): Add fname.
57077         * locale/programs/localedef.c (main): Pass ARGV[remaining]
57078         if an optional argument was specified to --list-archive,
57079         otherwise NULL.
57080         * locale/programs/locarchive.c (show_archive_content): Take new
57081         argument fname and pass it via ah.fname to open_archive.
57082         * locale/programs/localedef.h: Update decl.
57083         (open_archive): If AH->fname is non-null, open that file
57084         rather than the default file name, and don't ignore ENOENT.
57085         (create_archive): Set AH.fname to NULL.
57086         (delete_locales_from_archive): Likewise.
57087         (add_locales_to_archive): Likewise.
57088         * locale/programs/locfile.c (write_all_categories): Likewise.
57090 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
57091             Aldy Hernandez  <aldyh@redhat.com>
57093         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
57094         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
57095         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
57096         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
57097         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
57098         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
57099         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
57100         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
57101         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
57102         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
57103         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
57104         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
57105         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
57106         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
57107         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
57108         Likewise.
57109         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
57110         Likewise.
57111         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
57112         Likewise.
57113         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
57114         Likewise.
57115         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
57116         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
57117         Likewise.
57118         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
57119         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
57120         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
57121         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
57122         Likewise.
57123         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
57124         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
57125         * sysdeps/powerpc/preconfigure: Likewise.
57126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
57127         Likewise.
57128         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
57129         Replace contents of file by #include of <fenv_libc.h>.
57130         * sysdeps/powerpc/soft-fp/sfp-machine.h
57131         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
57132         and <sys/prctl.h>.
57133         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
57134         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
57135         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
57136         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
57137         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
57138         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
57139         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
57140         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
57141         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
57142         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
57143         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
57144         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
57145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57146         Allow copysignl PLT reference to be missing.
57148 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
57149             Joseph Myers  <joseph@codesourcery.com
57151         [BZ #15948]
57152         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
57153         single character.
57154         (add_to_tablewc): Assert sequence of wide characters is nonempty.
57156 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57158         * elf/tst-tls-dlinfo.c: Don't include tls.h.
57159         * elf/tst-tls1.c: Likewise.
57160         * elf/tst-tls10.h: Likewise.
57161         * elf/tst-tls14.c: Likewise.
57162         * elf/tst-tls2.c: Likewise.
57163         * elf/tst-tls3.c: Likewise.
57164         * elf/tst-tls4.c: Likewise.
57165         * elf/tst-tls5.c: Likewise.
57166         * elf/tst-tls6.c: Likewise.
57167         * elf/tst-tls7.c: Likewise.
57168         * elf/tst-tls8.c: Likewise.
57169         * elf/tst-tls9.c: Likewise.
57170         * elf/tst-tlsmod1.c: Likewise.
57171         * elf/tst-tlsmod13.c: Likewise.
57172         * elf/tst-tlsmod13a.c: Likewise.
57173         * elf/tst-tlsmod14a.c: Likewise.
57174         * elf/tst-tlsmod16a.c: Likewise.
57175         * elf/tst-tlsmod16b.c: Likewise.
57176         * elf/tst-tlsmod2.c: Likewise.
57177         * elf/tst-tlsmod3.c: Likewise.
57178         * elf/tst-tlsmod4.c: Likewise.
57179         * elf/tst-tlsmod5.c: Likewise.
57180         * elf/tst-tlsmod6.c: Likewise.
57182 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
57184         [BZ #12486]
57185         * malloc/malloc.c: remove checks for statistics.
57187 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
57189         [BZ #15277]
57190         * inet/inet_net.c (inet_network): Detect additional invalid strings.
57191         * inet/tst-network.c: Add testcase.
57193 2013-10-17  Andreas Schwab  <schwab@suse.de>
57195         [BZ #15218]
57196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
57197         to determine canonical name.
57199 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
57201         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
57202         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
57203         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57204         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57205         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57206         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57207         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57208         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57209         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57210         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57211         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57212         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57213         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57214         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57215         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57216         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57217         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57218         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57219         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
57220         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57221         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57222         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57223         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57224         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
57225         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
57226         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57227         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57228         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
57229         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57230         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
57231         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57232         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57233         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
57234         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57235         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57236         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57237         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57238         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57239         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57240         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57241         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57242         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
57243         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
57244         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57245         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
57246         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57247         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57248         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
57249         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
57250         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57251         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
57252         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57253         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
57254         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
57255         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57256         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
57257         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57258         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57260 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
57262         [BZ #16041]
57263         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
57264         make result into a quiet NaN.
57266 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
57268         * soft-fp/adddf3.c: Fix horizontal whitespace.
57269         * soft-fp/addsf3.c: Likewise.
57270         * soft-fp/addtf3.c: Likewise.
57271         * soft-fp/divdf3.c: Likewise.
57272         * soft-fp/divsf3.c: Likewise.
57273         * soft-fp/divtf3.c: Likewise.
57274         * soft-fp/double.h: Likewise.
57275         * soft-fp/eqdf2.c: Likewise.
57276         * soft-fp/eqsf2.c: Likewise.
57277         * soft-fp/eqtf2.c: Likewise.
57278         * soft-fp/extenddftf2.c: Likewise.
57279         * soft-fp/extended.h: Likewise.
57280         * soft-fp/extendsfdf2.c: Likewise.
57281         * soft-fp/extendsftf2.c: Likewise.
57282         * soft-fp/extendxftf2.c: Likewise.
57283         * soft-fp/fixdfdi.c: Likewise.
57284         * soft-fp/fixdfsi.c: Likewise.
57285         * soft-fp/fixdfti.c: Likewise.
57286         * soft-fp/fixsfdi.c: Likewise.
57287         * soft-fp/fixsfsi.c: Likewise.
57288         * soft-fp/fixsfti.c: Likewise.
57289         * soft-fp/fixtfdi.c: Likewise.
57290         * soft-fp/fixtfsi.c: Likewise.
57291         * soft-fp/fixtfti.c: Likewise.
57292         * soft-fp/fixunsdfdi.c: Likewise.
57293         * soft-fp/fixunsdfsi.c: Likewise.
57294         * soft-fp/fixunsdfti.c: Likewise.
57295         * soft-fp/fixunssfdi.c: Likewise.
57296         * soft-fp/fixunssfsi.c: Likewise.
57297         * soft-fp/fixunssfti.c: Likewise.
57298         * soft-fp/fixunstfdi.c: Likewise.
57299         * soft-fp/fixunstfsi.c: Likewise.
57300         * soft-fp/fixunstfti.c: Likewise.
57301         * soft-fp/floatdidf.c: Likewise.
57302         * soft-fp/floatdisf.c: Likewise.
57303         * soft-fp/floatditf.c: Likewise.
57304         * soft-fp/floatsidf.c: Likewise.
57305         * soft-fp/floatsisf.c: Likewise.
57306         * soft-fp/floatsitf.c: Likewise.
57307         * soft-fp/floattidf.c: Likewise.
57308         * soft-fp/floattisf.c: Likewise.
57309         * soft-fp/floattitf.c: Likewise.
57310         * soft-fp/floatundidf.c: Likewise.
57311         * soft-fp/floatundisf.c: Likewise.
57312         * soft-fp/floatunditf.c: Likewise.
57313         * soft-fp/floatunsidf.c: Likewise.
57314         * soft-fp/floatunsisf.c: Likewise.
57315         * soft-fp/floatunsitf.c: Likewise.
57316         * soft-fp/floatuntidf.c: Likewise.
57317         * soft-fp/floatuntisf.c: Likewise.
57318         * soft-fp/floatuntitf.c: Likewise.
57319         * soft-fp/fmadf4.c: Likewise.
57320         * soft-fp/fmasf4.c: Likewise.
57321         * soft-fp/fmatf4.c: Likewise.
57322         * soft-fp/gedf2.c: Likewise.
57323         * soft-fp/gesf2.c: Likewise.
57324         * soft-fp/getf2.c: Likewise.
57325         * soft-fp/ledf2.c: Likewise.
57326         * soft-fp/lesf2.c: Likewise.
57327         * soft-fp/letf2.c: Likewise.
57328         * soft-fp/muldf3.c: Likewise.
57329         * soft-fp/mulsf3.c: Likewise.
57330         * soft-fp/multf3.c: Likewise.
57331         * soft-fp/negdf2.c: Likewise.
57332         * soft-fp/negsf2.c: Likewise.
57333         * soft-fp/negtf2.c: Likewise.
57334         * soft-fp/op-1.h: Likewise.
57335         * soft-fp/op-2.h: Likewise.
57336         * soft-fp/op-4.h: Likewise.
57337         * soft-fp/op-8.h: Likewise.
57338         * soft-fp/op-common.h: Likewise.
57339         * soft-fp/quad.h: Likewise.
57340         * soft-fp/single.h: Likewise.
57341         * soft-fp/soft-fp.h: Likewise.
57342         * soft-fp/sqrtdf2.c: Likewise.
57343         * soft-fp/sqrtsf2.c: Likewise.
57344         * soft-fp/sqrttf2.c: Likewise.
57345         * soft-fp/subdf3.c: Likewise.
57346         * soft-fp/subsf3.c: Likewise.
57347         * soft-fp/subtf3.c: Likewise.
57348         * soft-fp/truncdfsf2.c: Likewise.
57349         * soft-fp/trunctfdf2.c: Likewise.
57350         * soft-fp/trunctfsf2.c: Likewise.
57351         * soft-fp/trunctfxf2.c: Likewise.
57352         * soft-fp/unorddf2.c: Likewise.
57353         * soft-fp/unordsf2.c: Likewise.
57354         * soft-fp/unordtf2.c: Likewise.
57356 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
57358         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
57359         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
57361 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
57363         * elf/dl-libc.c: Clear initfini list after freeing.
57365 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
57367         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
57368         * soft-fp/addsf3.c: Likewise.
57369         * soft-fp/addtf3.c: Likewise.
57370         * soft-fp/divdf3.c: Likewise.
57371         * soft-fp/divsf3.c: Likewise.
57372         * soft-fp/divtf3.c: Likewise.
57373         * soft-fp/double.h: Likewise.
57374         * soft-fp/eqdf2.c: Likewise.
57375         * soft-fp/eqsf2.c: Likewise.
57376         * soft-fp/eqtf2.c: Likewise.
57377         * soft-fp/extenddftf2.c: Likewise.
57378         * soft-fp/extended.h: Likewise.
57379         * soft-fp/extendsfdf2.c: Likewise.
57380         * soft-fp/extendsftf2.c: Likewise.
57381         * soft-fp/extendxftf2.c: Likewise.
57382         * soft-fp/fixdfdi.c: Likewise.
57383         * soft-fp/fixdfsi.c: Likewise.
57384         * soft-fp/fixdfti.c: Likewise.
57385         * soft-fp/fixsfdi.c: Likewise.
57386         * soft-fp/fixsfsi.c: Likewise.
57387         * soft-fp/fixsfti.c: Likewise.
57388         * soft-fp/fixtfdi.c: Likewise.
57389         * soft-fp/fixtfsi.c: Likewise.
57390         * soft-fp/fixtfti.c: Likewise.
57391         * soft-fp/fixunsdfdi.c: Likewise.
57392         * soft-fp/fixunsdfsi.c: Likewise.
57393         * soft-fp/fixunsdfti.c: Likewise.
57394         * soft-fp/fixunssfdi.c: Likewise.
57395         * soft-fp/fixunssfsi.c: Likewise.
57396         * soft-fp/fixunssfti.c: Likewise.
57397         * soft-fp/fixunstfdi.c: Likewise.
57398         * soft-fp/fixunstfsi.c: Likewise.
57399         * soft-fp/fixunstfti.c: Likewise.
57400         * soft-fp/floatdidf.c: Likewise.
57401         * soft-fp/floatdisf.c: Likewise.
57402         * soft-fp/floatditf.c: Likewise.
57403         * soft-fp/floatsidf.c: Likewise.
57404         * soft-fp/floatsisf.c: Likewise.
57405         * soft-fp/floatsitf.c: Likewise.
57406         * soft-fp/floattidf.c: Likewise.
57407         * soft-fp/floattisf.c: Likewise.
57408         * soft-fp/floattitf.c: Likewise.
57409         * soft-fp/floatundidf.c: Likewise.
57410         * soft-fp/floatundisf.c: Likewise.
57411         * soft-fp/floatunsidf.c: Likewise.
57412         * soft-fp/floatunsisf.c: Likewise.
57413         * soft-fp/floatuntidf.c: Likewise.
57414         * soft-fp/floatuntisf.c: Likewise.
57415         * soft-fp/floatuntitf.c: Likewise.
57416         * soft-fp/fmadf4.c: Likewise.
57417         * soft-fp/fmasf4.c: Likewise.
57418         * soft-fp/fmatf4.c: Likewise.
57419         * soft-fp/gedf2.c: Likewise.
57420         * soft-fp/gesf2.c: Likewise.
57421         * soft-fp/getf2.c: Likewise.
57422         * soft-fp/ledf2.c: Likewise.
57423         * soft-fp/lesf2.c: Likewise.
57424         * soft-fp/letf2.c: Likewise.
57425         * soft-fp/muldf3.c: Likewise.
57426         * soft-fp/mulsf3.c: Likewise.
57427         * soft-fp/multf3.c: Likewise.
57428         * soft-fp/negdf2.c: Likewise.
57429         * soft-fp/negsf2.c: Likewise.
57430         * soft-fp/negtf2.c: Likewise.
57431         * soft-fp/op-1.h: Likewise.
57432         * soft-fp/op-2.h: Likewise.
57433         * soft-fp/op-4.h: Likewise.
57434         * soft-fp/op-8.h: Likewise.
57435         * soft-fp/op-common.h: Likewise.
57436         * soft-fp/quad.h: Likewise.
57437         * soft-fp/single.h: Likewise.
57438         * soft-fp/soft-fp.h: Likewise.
57439         * soft-fp/sqrtdf2.c: Likewise.
57440         * soft-fp/sqrtsf2.c: Likewise.
57441         * soft-fp/sqrttf2.c: Likewise.
57442         * soft-fp/subdf3.c: Likewise.
57443         * soft-fp/subsf3.c: Likewise.
57444         * soft-fp/subtf3.c: Likewise.
57445         * soft-fp/truncdfsf2.c: Likewise.
57446         * soft-fp/trunctfdf2.c: Likewise.
57447         * soft-fp/trunctfsf2.c: Likewise.
57448         * soft-fp/trunctfxf2.c: Likewise.
57449         * soft-fp/unorddf2.c: Likewise.
57450         * soft-fp/unordsf2.c: Likewise.
57451         * soft-fp/unordtf2.c: Likewise.
57453 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
57455         [BZ #15672]
57456         * misc/error.c (error_tail): Fix possible buffer overflow.
57458 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
57460         [BZ #13028]
57461         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
57462         address.
57464 2013-10-14  P. J. McDermott  <pj@pehjota.net>
57466         [BZ #832]
57467         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
57468         testing pipefail option.
57470 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
57472         * soft-fp/double.h: Indent preprocessor directives inside #if.
57473         * soft-fp/extended.h: Likewise.
57474         * soft-fp/op-2.h: Likewise.
57475         * soft-fp/op-4.h: Likewise.
57476         * soft-fp/op-common.h: Likewise.
57477         * soft-fp/quad.h: Likewise.
57478         * soft-fp/single.h: Likewise.
57479         * soft-fp/soft-fp.h: Likewise.
57481 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
57483         * iconv/iconv_prog.c: Fix typos.
57484         * stdio-common/psiginfo-data.h: Likewise.
57486 2013-10-12   Reuben Thomas <rrt@sc3d.org>
57488         [BZ #15764]
57489         * locale/setlocale.c: Fix typo.
57491 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
57493         [BZ #16036]
57494         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
57495         signaling NaN arguments.
57496         * soft-fp/unordsf2.c (__unordsf2): Likewise.
57497         * soft-fp/unordtf2.c (__unordtf2): Likewise.
57499         [BZ #14910]
57500         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
57501         unordered operands.
57502         * soft-fp/gesf2.c (__gesf2): Likewise.
57503         * soft-fp/getf2.c (__getf2): Likewise.
57504         * soft-fp/ledf2.c (__ledf2): Likewise.
57505         * soft-fp/lesf2.c (__lesf2): Likewise.
57506         * soft-fp/letf2.c (__letf2): Likewise.
57508         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
57509         * soft-fp/eqsf2.c (__eqsf2): Likewise.
57510         * soft-fp/eqtf2.c (__eqtf2): Likewise.
57511         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
57512         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
57513         * soft-fp/fixdfti.c (__fixdfti): Likewise.
57514         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
57515         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
57516         * soft-fp/fixsfti.c (__fixsfti): Likewise.
57517         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
57518         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
57519         * soft-fp/fixtfti.c (__fixtfti): Likewise.
57520         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
57521         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
57522         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
57523         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
57524         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
57525         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
57526         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
57527         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
57528         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
57529         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
57530         * soft-fp/floatdisf.c (__floatdisf): Likewise.
57531         * soft-fp/floatsisf.c (__floatsisf): Likewise.
57532         * soft-fp/floattidf.c (__floattidf): Likewise.
57533         * soft-fp/floattisf.c (__floattisf): Likewise.
57534         * soft-fp/floattitf.c (__floattitf): Likewise.
57535         * soft-fp/floatundidf.c (__floatundidf): Likewise.
57536         * soft-fp/floatundisf.c (__floatundisf): Likewise.
57537         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
57538         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
57539         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
57540         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
57541         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
57542         * soft-fp/gesf2.c (__gesf2): Likewise.
57543         * soft-fp/getf2.c (__getf2): Likewise.
57544         * soft-fp/ledf2.c (__ledf2): Likewise.
57545         * soft-fp/lesf2.c (__lesf2): Likewise.
57546         * soft-fp/letf2.c (__letf2): Likewise.
57548         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
57549         Undefine and redefine.
57550         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
57551         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
57552         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
57553         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
57554         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57555         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
57556         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57557         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
57558         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57559         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
57560         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57561         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
57562         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57563         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
57564         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57566         [BZ #16032]
57567         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
57568         without decrementing exponent if mantissa >= that for the
57569         denominator, not >.
57570         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
57571         denominator, not >.  Decrement exponent in < case instead of
57572         incrementing in >= case.
57573         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
57574         without decrementing exponent if mantissa >= that for the
57575         denominator, not >.
57577         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
57578         computing saturated result for unsigned overflow.
57580 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57581             Jeff Law  <law@redhat.com>
57583         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
57584         (atan2Mp): Add systemtap probe marker.
57585         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
57586         (__ieee754_log): Add systemtap probe marker.
57587         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
57588         (atanMp): Add systemtap probe marker.
57589         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
57590         (tanMp): Add systemtap probe marker.
57591         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
57592         (__slowexp): Add systemtap probe marker.
57593         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
57594         (__slowpow): Add systemtap probe marker.
57595         * manual/probes.texi: Document probes.
57597 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
57599         [BZ #15362]
57600         * libio/fileops.c (_IO_new_file_write): Return count of bytes
57601         written.
57602         (_IO_new_file_xsputn): Don't return EOF if nothing has been
57603         written.
57604         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
57605         written to buffer but not flushed.
57606         * libio/iofwrite_u.c:  Likewise.
57607         * libio/iopadn.c:  Return bytes returned even if EOF was
57608         encountered.
57609         * libio/iowpadn.c:  Likewise.
57610         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
57611         if _IO_padn does not write the whole buffer.
57612         [!COMPILE_WPRINTF] (PAD): Likewise.
57614 2013-10-10  David S. Miller  <davem@davemloft.net>
57616         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
57617         directory block.
57619 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
57621         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
57622         instead of FSF address.
57623         * soft-fp/fixdfti.c: Likewise.
57624         * soft-fp/fixsfti.c: Likewise.
57625         * soft-fp/fixtfti.c: Likewise.
57626         * soft-fp/fixunsdfti.c: Likewise.
57627         * soft-fp/fixunssfti.c: Likewise.
57628         * soft-fp/fixunstfti.c: Likewise.
57629         * soft-fp/floattidf.c: Likewise.
57630         * soft-fp/floattisf.c: Likewise.
57631         * soft-fp/floattitf.c: Likewise.
57632         * soft-fp/floatuntidf.c: Likewise.
57633         * soft-fp/floatuntisf.c: Likewise.
57634         * soft-fp/floatuntitf.c: Likewise.
57635         * soft-fp/trunctfxf2.c: Likewise.
57637         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
57638         * soft-fp/fixdfti.c: Likewise.
57639         * soft-fp/fixsfti.c: Likewise.
57640         * soft-fp/fixtfti.c: Likewise.
57641         * soft-fp/fixunsdfti.c: Likewise.
57642         * soft-fp/fixunssfti.c: Likewise.
57643         * soft-fp/fixunstfti.c: Likewise.
57644         * soft-fp/floattidf.c: Likewise.
57645         * soft-fp/floattisf.c: Likewise.
57646         * soft-fp/floattitf.c: Likewise.
57647         * soft-fp/floatuntidf.c: Likewise.
57648         * soft-fp/floatuntisf.c: Likewise.
57649         * soft-fp/floatuntitf.c: Likewise.
57650         * soft-fp/trunctfxf2.c: Likewise.
57652 2013-10-10  David S. Miller  <davem@davemloft.net>
57654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57656 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
57658         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
57659         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
57660         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
57661         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
57662         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
57663         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
57664         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
57666         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
57667         for NaNs before doing comparisons on argument.
57668         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
57669         Likewise.
57671 2013-10-10  Will Newton  <will.newton@linaro.org>
57673         * malloc/hooks.c (memalign_check): Ensure the value of bytes
57674         passed to _int_memalign does not overflow.
57676 2013-10-10  Torvald Riegel  <triegel@redhat.com>
57678         * scripts/bench.pl: Add include-sources directive.
57679         * benchtests/README: Update documentation.
57681 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
57683         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
57684         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
57685         instead of FP_INIT_ROUNDMODE.
57686         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
57687         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
57689         [BZ #16034]
57690         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
57691         copy class of input value.
57692         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
57693         not handle exceptions.
57694         * soft-fp/negsf2.c (__negsf2): Likewise.
57695         * soft-fp/negtf2.c (__negtf2): Likewise.
57696         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
57698 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
57700         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
57701         semicolon.  From Linux kernel.
57703 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
57705         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
57707 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
57709         [BZ #156]
57710         * manual/socket.texi: Added statement about buffer
57711         for gethostbyname2_r.
57713 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
57715         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
57716         Use .p2align directive instead, throughout.
57717         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57718         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
57719         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
57720         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57721         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57722         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
57723         * sysdeps/x86_64/strchr.S: Likewise.
57724         * sysdeps/x86_64/strrchr.S: Likewise.
57726 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57728         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
57730         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
57732         * sysdeps/generic/math_private.h (__mpsin1): Remove
57733         declaration.
57734         (__mpcos1): Likewise.
57735         (__mpsin): New argument __range_reduce.
57736         (__mpcos): Likewise.
57737         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57738         (slow): Use __mpsin and __mpcos.
57739         (slow1): Likewise.
57740         (slow2): Likewise.
57741         (sloww): Likewise.
57742         (sloww1): Likewise.
57743         (sloww2): Likewise.
57744         (bsloww): Likewise.
57745         (bsloww1): Likewise.
57746         (bsloww2): Likewise.
57747         (cslow2): Likewise.
57748         (csloww): Likewise.
57749         (csloww1): Likewise.
57750         (csloww2): Likewise.
57751         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
57752         range_reduce.  Merge in __mpsin1.
57753         (__mpcos): Likewise.
57754         (__mpsin1): Remove.
57755         (__mpcos1): Likewise.
57757 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
57759         * locale/loadlocale.c (_nl_intern_locale_data): Use
57760         LOCFILE_ALIGNED_P.
57761         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
57762         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
57763         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
57764         obstack data is appropriately aligned.
57765         (obstack_int32_grow_fast): Likewise.
57766         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
57767         * locale/programs/locfile.c (add_locale_uint32): Likewise.
57768         (add_locale_uint32_array): Likewise.
57770 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57772         * benchtests/Makefile: Remove ARGLIST and RET variables.
57773         ($(objpfx)bench-%.c): Pass only function name to the script.
57774         * benchtests/README: Update documentation.
57775         * benchtests/acos-inputs: Add new directives.
57776         * benchtests/acosh-inputs: Likewise.
57777         * benchtests/asin-inputs: Likewise.
57778         * benchtests/asinh-inputs: Likewise.
57779         * benchtests/atan-inputs: Likewise.
57780         * benchtests/atanh-inputs: Likewise.
57781         * benchtests/cos-inputs: Likewise.
57782         * benchtests/cosh-inputs: Likewise.
57783         * benchtests/exp-inputs: Likewise.
57784         * benchtests/log-inputs: Likewise.
57785         * benchtests/pow-inputs: Likewise.
57786         * benchtests/rint-inputs: Likewise.
57787         * benchtests/sin-inputs: Likewise.
57788         * benchtests/sinh-inputs: Likewise.
57789         * benchtests/tan-inputs: Likewise.
57790         * benchtests/tanh-inputs: Likewise.
57791         * scripts/bench.pl: Add support for new directives.
57793 2013-10-07  Alan Modra  <amodra@gmail.com>
57795         * README: Fix careless merge.
57797 2013-10-05  Alan Modra  <amodra@gmail.com>
57799         * NEWS: Mention powerpc64le support and bugs fixed.
57800         * README: Both big-endian and little-endian powerpc64 supported.
57802 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57804         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
57805         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
57806         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
57807         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
57809 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
57811         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
57812         match prototype.
57814 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
57816         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
57817         Move -mhard-float appending from
57818         ports/sysdeps/powerpc/powerpc32/Makefile.
57819         [$(with-fp) = yes] (ASFLAGS): Likewise.
57820         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
57821         * sysdeps/powerpc/nofpu: Move directory from
57822         ports/sysdeps/powerpc/nofpu.
57823         * sysdeps/powerpc/soft-fp: Move directory from
57824         ports/sysdeps/powerpc/soft-fp.
57825         * sysdeps/powerpc/powerpc32/405: Move directory from
57826         ports/sysdeps/powerpc/powerpc32/405.
57827         * sysdeps/powerpc/powerpc32/440: Move directory from
57828         ports/sysdeps/powerpc/powerpc32/440.
57829         * sysdeps/powerpc/powerpc32/464: Move directory from
57830         ports/sysdeps/powerpc/powerpc32/464.
57831         * sysdeps/powerpc/powerpc32/476: Move directory from
57832         ports/sysdeps/powerpc/powerpc32/476.
57833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
57834         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
57835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
57836         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
57837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
57838         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
57839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
57840         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
57841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
57842         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
57843         * README: Update for powerpc-*-linux-gnu software floating point
57844         support in libc.
57846         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
57847         case to powerpc/powerpc32*.
57848         * sysdeps/unix/sysv/linux/configure: Regenerated.
57850         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
57851         (_FPU_MASK_OM): Define as 0x04.
57852         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
57853         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
57854         0x00c10080.
57855         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
57856         0x0000003c.
57857         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
57859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
57860         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
57861         getcontext_e500.
57862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
57863         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
57864         setcontext_e500.
57865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
57866         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
57867         and setcontext_e500.
57869 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
57871         * locale/iso-3166.def: Update iso-1366.def and related occurrences
57873 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57875         * manual/threads.texi (Default Thread Attributes): Fix typo.
57877 2013-10-04  Will Newton  <will.newton@linaro.org>
57879         * malloc/Makefile: Add tst-memalign.
57880         * malloc/tst-memalign.c: New file.
57882         * malloc/tst-posix_memalign.c: Add comments.
57883         (do_test): Add comments and call free on all potentially
57884         allocated pointers. Add space after cast.
57886         * malloc/tst-pvalloc.c: Add comments.
57887         (do_test): Add comments and call free on all potentially
57888         allocated pointers. Remove duplicate check for NULL pointer.
57889         Add space after cast.
57891         * malloc/tst-valloc.c: Add comments.
57892         (do_test): Add comments and call free on all potentially
57893         allocated pointers. Remove duplicate check for NULL pointer.
57894         Add space after cast.
57896 2013-10-04  Alan Modra  <amodra@gmail.com>
57898         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57899         Use stdint types in rather than __attribute__((mode())).
57900         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57902 2013-10-04  Alan Modra  <amodra@gmail.com>
57904         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57905         Correct handling of unaligned relocs for little-endian.
57906         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57908 2013-10-04  Alan Modra  <amodra@gmail.com>
57910         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
57911         * configure: Regenerate.
57912         * nptl/shlib-versions: Powerpc*le starts at 2.18.
57913         * shlib-versions: Likewise.
57915 2013-10-04  Alan Modra  <amodra@gmail.com>
57917         * string/tester.c (test_memrchr): Increment reported test cycle.
57919 2013-10-04  Alan Modra  <amodra@gmail.com>
57921         * string/test-memcpy.c (do_one_test): When reporting errors, print
57922         string address and don't overrun end of string.
57924 2013-10-04  Alan Modra  <amodra@gmail.com>
57926         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
57927         insrdi.  Make better use of reg selection to speed exit slightly.
57928         Schedule entry path a little better.  Remove useless "are we done"
57929         checks on entry to main loop.  Handle wrapping around zero address.
57930         Correct main loop count.  Handle single left-over word from main
57931         loop inline rather than by using loop_small.  Remove extra word
57932         case in loop_small caused by wrong loop count.  Add little-endian
57933         support.
57934         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57935         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
57936         cache hint.
57937         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57938         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
57939         support.  Avoid rlwimi.
57940         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
57942 2013-10-04  Alan Modra  <amodra@gmail.com>
57944         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
57945         insrdi.  Formatting.
57946         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
57947         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57948         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
57949         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57950         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57951         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
57953 2013-10-04  Alan Modra  <amodra@gmail.com>
57955         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
57956         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57957         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
57958         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
57959         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57960         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57961         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57962         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57963         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
57964         use of regs.  Use power7 mtocrf.  Tidy function tails.
57966 2013-10-04  Alan Modra  <amodra@gmail.com>
57968         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
57969         Formatting.  Consistently use rXXX register defines or rN defines.
57970         Use early exit labels that avoid restoring unused non-volatile regs.
57971         Make cr field use more consistent with rWORDn compares.  Rename
57972         regs used as shift registers for unaligned loop, using rN defines
57973         for short lifetime/multiple use regs.
57974         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57975         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
57976         addi 1,1,64 to pop stack frame.  Simplify return value code.
57977         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57979 2013-10-04  Alan Modra  <amodra@gmail.com>
57981         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
57982         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
57983         rather than rlwimi.
57984         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
57985         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
57986         little-endian support.  Correct typos.
57987         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
57988         rather than rlwimi.
57989         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
57990         in loop and entry code to keep "and." results.
57991         (strchr): Add little-endian support.  Comment.  Move cntlzd
57992         earlier in tail.
57993         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
57995 2013-10-04  Alan Modra  <amodra@gmail.com>
57997         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
57998         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
57999         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
58000         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
58002 2013-10-04  Alan Modra  <amodra@gmail.com>
58004         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
58005         (rTMP): Define as r11.
58006         (strcmp): Add little-endian support.  Optimise tail.
58007         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
58008         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58009         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58010         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58011         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58012         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58013         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58015 2013-10-04  Alan Modra  <amodra@gmail.com>
58017         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
58018         little-endian support.  Remove unnecessary "are we done" tests.
58019         Handle "s" wrapping around zero and extremely large "size".
58020         Correct main loop count.  Handle single left-over word from main
58021         loop inline rather than by using small_loop.  Correct comments.
58022         Delete "zero" tail, use "end_max" instead.
58023         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
58025 2013-10-04  Alan Modra  <amodra@gmail.com>
58027         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
58028         support.  Don't branch over align.
58029         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
58030         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
58031         support.  Rearrange tmp reg use to suit.  Comment.
58032         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
58034 2013-10-04  Alan Modra  <amodra@gmail.com>
58036         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
58038 2013-10-04  Alan Modra  <amodra@gmail.com>
58040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
58041         conditional form of branch and link when obtaining pc.
58042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
58044 2013-10-04  Alan Modra  <amodra@gmail.com>
58046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
58047         HIWORD/LOWORD.
58048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
58049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
58051 2013-10-04  Alan Modra  <amodra@gmail.com>
58053         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
58054         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
58055         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
58056         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
58057         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58058         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58059         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
58060         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58061         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
58062         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
58064 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58065             Alistair Popple <alistair@ozlabs.au.ibm.com>
58066             Alan Modra <amodra@gmail.com>
58068         [BZ #15723]
58069         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
58070         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
58071         _dl_hwcap access for little-endian.
58072         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
58073         destroy vmx regs when saving unaligned.
58074         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
58075         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
58076         destroy vmx regs when saving unaligned.
58078 2013-10-04  Alan Modra  <amodra@gmail.com>
58080         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
58081         Don't use a union to pack hi/low value.
58083 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58085         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
58086         for little-endian.
58087         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58088         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
58089         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58090         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58091         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58093 2013-10-04  Alan Modra  <amodra@gmail.com>
58095         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
58096         constants to usual value for .cst8 section, and remove redundant
58097         high address load.
58098         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
58099         constant for 0x1p52.  Load little-endian words of double from
58100         correct stack offsets.
58102 2013-10-04  Alan Modra  <amodra@gmail.com>
58104         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
58105         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
58106         words of double from correct stack offsets.
58107         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
58108         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
58109         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58110         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58111         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58112         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58113         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58114         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
58115         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
58116         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58117         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58118         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58119         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58120         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58121         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58122         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
58123         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
58125 2013-10-04  Alan Modra  <amodra@gmail.com>
58127         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
58128         64-bit int/double union.
58129         (_FPU_SETCW): Likewise.
58130         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
58131         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
58133 2013-10-04  Alan Modra  <amodra@gmail.com>
58135         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
58136         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
58138 2013-10-04  Alan Modra  <amodra@gmail.com>
58140         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
58141         use vector int constants.
58142         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
58144 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58146         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
58147         array with long long.
58148         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
58149         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
58150         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
58151         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
58152         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
58153         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
58154         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
58155         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
58156         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
58157         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
58158         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
58159         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
58160         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
58162 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58164         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
58165         (__signbit): Likewise.  Correct for little-endian.
58166         (__signbitl): Call __signbit.
58167         (lrint): Correct for little-endian.
58168         (lrintf): Call lrint.
58170 2013-10-04  Alan Modra  <amodra@gmail.com>
58172         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
58173         union 32-bit int array member with 64-bit int array.
58174         (t515, tm256): Double rather than long double.
58175         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
58177 2013-10-04  Alan Modra  <amodra@gmail.com>
58179         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
58180         Delete.
58181         (IEEE854_LONG_DOUBLE_BIAS): Delete.
58182         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
58183         version of math_ldbl.h.
58185 2013-10-04  Alan Modra  <amodra@gmail.com>
58187         [BZ #15734], [BZ #15735]
58188         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
58189         all uses of ieee875 long double macros and unions.  Simplify test
58190         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
58191         ldbl_extract_mantissa value for ix,iy exponents.  Properly
58192         normalize after ldbl_extract_mantissa, and don't add hidden bit
58193         already handled.  Don't treat low word of ieee854 mantissa like
58194         low word of IBM long double and mask off bit when testing for
58195         zero.
58196         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
58197         all uses of ieee875 long double macros and unions.  Simplify tests
58198         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
58199         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
58200         two1022, instead use their values.  Recognise that tests for large
58201         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
58202         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
58203         Rewrite all uses of ieee875 long double macros and unions.  Simplify
58204         test for 0.0L and nan.  Correct negation.
58205         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
58206         ieee875 long double macros and unions.  Correct output for large
58207         magnitude x.  Correct absolute value calculation.
58208         (__erfcl): Likewise.
58209         * math/libm-test.inc: Add tests for errors discovered in IBM long
58210         double versions of fmodl, remainderl, erfl and erfcl.
58212 2013-10-04  Alan Modra  <amodra@gmail.com>
58214         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
58215         all uses of ieee854 long double macros and unions.  Simplify tests
58216         for long doubles that are fully specified by the high double.
58217         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
58218         Likewise.
58219         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
58220         Remove dead code too.
58221         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
58222         (__ieee754_ynl): Likewise.
58223         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
58224         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
58225         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
58226         Remove dead code too.
58227         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
58228         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
58229         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
58230         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
58231         Simplify.
58232         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
58233         Simplify.
58234         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
58235         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
58236         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
58237         Comment on variable precision.
58238         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
58239         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58240         Likewise.
58241         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
58242         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
58243         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
58244         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
58245         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
58247 2013-10-04  Alan Modra  <amodra@gmail.com>
58249         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
58250         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
58251         all uses of ieee854 long double macros and unions.
58252         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
58253         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58254         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
58255         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
58256         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
58257         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58258         Likewise.
58259         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
58260         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
58261         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
58262         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
58263         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
58264         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
58265         Simplify sign and nan test too.
58266         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
58267         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
58268         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
58269         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
58270         Likewise.
58271         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58272         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
58273         Likewise.
58274         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58275         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
58276         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
58277         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
58278         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
58279         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
58281 2013-10-04  Alan Modra  <amodra@gmail.com>
58283         * stdio-common/printf_size.c (__printf_size): Don't use
58284         union ieee854_long_double in fpnum union.
58285         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
58286         signbit macro to retrieve sign from long double.
58287         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
58288         retrieve sign from long double.
58289         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
58290         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
58291         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
58292         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
58293         * math/test-misc.c (main): Don't use union ieee854_long_double.
58295 2013-10-04  Alan Modra  <amodra@gmail.com>
58297         [BZ #15680]
58298         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
58299         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
58300         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
58301         calculation.  Remove unnecessary test for denormal exponent.
58302         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
58303         Correct handling of denormals.  Avoid undefined shift behaviour.
58304         Correct normalisation of low mantissa when low double is denormal.
58305         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
58306         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
58307         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
58308         Correct normalisation of low mantissa.  Test for overflow of high
58309         mantissa and normalise.
58310         (ldbl_nearbyint): Use more readable constant for two52.
58311         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
58312         (__mpn_construct_long_double): Fix test for overflow of high
58313         mantissa and correct normalisation.  Avoid undefined shift.
58315 2013-10-04  Alan Modra  <amodra@gmail.com>
58317         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58318         (union ibm_extended_long_double): Define as an array of ieee754_double.
58319         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
58320         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
58321         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
58322         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58323         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58324         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
58325         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58326         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58327         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58328         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
58329         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58331 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
58333         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
58334         page size instead of calling getpagesize.
58336         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
58337         (LOCFILE_ALIGN_MASK): Likewise.
58338         (LOCFILE_ALIGN_UP): Likewise.
58339         (LOCFILE_ALIGNED_P): Likewise.
58340         * locale/programs/ld-collate.c (collate_output): Use the new
58341         macros instead of __alignof__ (int32_t).
58342         * locale/weight.h (findidx): Likewise.
58344 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
58346         [BZ #431]
58347         * manual/string.texi: Fix strncat and wcsncat.
58349 2013-10-03  Brooks Moses  <bmoses@google.com>
58351         [BZ #15915]
58352         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
58353         * Makerules: ...here, and adjust associated comments.
58355 2013-10-02  Will Newton  <will.newton@linaro.org>
58357         * malloc/Makefile: Add tst-pvalloc.
58358         * malloc/tst-pvalloc.c: New file.
58360 2013-10-02  Will Newton  <will.newton@linaro.org>
58362         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
58363         improve test coverage.
58365 2013-10-02  Will Newton  <will.newton@linaro.org>
58367         * malloc/Makefile: Add tst-posix_memalign.
58368         * malloc/tst-posix_memalign.c: New file.
58370 2013-10-01  Eric Blake  <eblake@redhat.com>
58372         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
58373         Use __THROWNL rather than __THROW on static functions.
58375 2013-09-30  Petr Machata  <pmachata@redhat.com>
58377         * elf/elf.h (R_AARCH64_ABS16): New macro.
58378         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
58379         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
58380         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
58381         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
58382         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
58383         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
58384         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
58385         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
58386         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
58387         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
58388         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
58389         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
58390         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
58391         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
58392         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
58393         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
58394         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
58395         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
58396         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
58397         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
58398         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
58399         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
58400         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
58401         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
58402         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
58403         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
58404         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
58405         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
58406         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
58407         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
58408         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
58409         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
58410         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
58411         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
58412         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
58413         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
58414         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
58415         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
58416         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
58417         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
58418         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
58419         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
58420         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
58421         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
58422         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
58423         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
58424         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
58425         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
58426         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
58427         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
58428         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
58429         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
58430         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
58431         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
58432         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
58433         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
58434         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
58435         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
58436         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
58437         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
58438         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
58439         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
58440         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
58441         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
58442         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
58443         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
58444         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
58445         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
58446         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
58447         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
58448         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
58449         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
58450         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
58451         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
58452         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
58453         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
58454         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
58455         (R_AARCH64_TLSDESC_LDR): Likewise.
58456         (R_AARCH64_TLSDESC_ADD): Likewise.
58457         (R_AARCH64_TLSDESC_CALL): Likewise.
58459 2013-09-30  Andreas Schwab  <schwab@suse.de>
58461         [BZ #15048]
58462         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
58463         the nss database lookup.
58464         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58467 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
58469         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
58471 2013-09-28  P. J. McDermott  <pj@pehjota.net>
58473         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
58474         ${Bash-specific parameter/pattern/string} parameter expansion.
58475         * sysdeps/unix/make-syscalls.sh: Likewise.
58477 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58479         * sysdeps/sh/stackguard-macros.h: New file.
58481 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
58483         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58484         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
58485         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
58486         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
58487         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58488         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
58490 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58492         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
58493         Fix thread ID register.
58495 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
58497         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
58498         [POSIX || UNIX98]: Require rather than permitting all symbols from
58499         <time.h>.
58500         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
58501         element of struct sched_param.
58502         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
58503         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
58504         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
58505         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
58506         constant.
58508 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
58510         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
58511         argument calculation.
58513 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
58515         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
58516         Expect macro.
58517         [POSIX] (pthread_attr_t): Do not require type.
58518         [POSIX] (pthread_cond_t): Likewise.
58519         [POSIX] (pthread_condattr_t): Likewise.
58520         [POSIX] (pthread_key_t): Likewise.
58521         [POSIX] (pthread_mutex_t): Likewise.
58522         [POSIX] (pthread_mutexattr_t): Likewise.
58523         [POSIX] (pthread_once_t): Likewise.
58524         [POSIX] (pthread_t): Likewise.
58525         [POSIX-based standards] (pthread_atfork): Expect function.
58527 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
58528             Richard Sandiford  <richard@codesourcery.com>
58530         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
58531         (swap_endianness_p): New extern variable.
58532         (set_big_endian): New inline function.
58533         (maybe_swap_uint32): Likewise.
58534         (maybe_swap_uint32_array): Likewise.
58535         (maybe_swap_uint32_obstack): Likewise.
58536         * locale/programs/locfile.c: Include <stdbool.h>.
58537         (swap_endianness_p): New variable.
58538         (add_locale_uint32): Call maybe_swap_uint32.
58539         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
58540         (write_locale_data): Call maybe_swap_uint32_array.
58541         * locale/programs/ld-collate.c (obstack_int32_grow): Call
58542         maybe_swap_uint32.
58543         (obstack_int32_grow_fast): Likewise.
58544         (output_weightwc): Call maybe_swap_uint32_obstack.
58545         (collate_output): Likewise.
58546         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
58547         (OPT_LITTLE_ENDIAN): Likewise.
58548         (options): Add --little-endian and --big-endian options.
58549         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
58550         * locale/programs/locarchive.c: Include "locfile.h".
58551         (GET): New macro.
58552         (SET): Likewise.
58553         (INC): Likewise.
58554         (create_archive): Use the new macros to access fields of
58555         structures directly mapped from or written to locale archives.
58556         (oldlocrecentcmp): Likewise.
58557         (enlarge_archive): Likewise.
58558         (insert_name): Likewise.
58559         (add_alias): Likewise.
58560         (add_locale): Likewise.
58561         (delete_locales_from_archive): Likewise.
58562         (show_archive_content): Likewise.
58563         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
58564         locale data.
58566 2013-09-24  Roland McGrath  <roland@hack.frob.com>
58568         * manual/freemanuals.texi: Updated from (newly) canonical copy at
58569         http://www.gnu.org/doc/freemanuals.texi.
58570         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
58572 2013-09-24  Will Newton  <will.newton@linaro.org>
58574         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
58575         macro.
58577 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
58579         * locale/hashval.h (compute_hashval): Interpret bytes of key as
58580         unsigned char.
58582 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
58584         * manual/threads.texi (POSIX Threads): Fix a typo.
58586 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
58588         [BZ #14547]
58589         * string/tst-strcoll-overflow.c: New test case.
58590         * string/Makefile (xtests): Add tst-strcoll-overflow.
58591         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
58592         cache if string sizes may cause integer overflow.
58594         [BZ #14547]
58595         * string/strcoll_l.c (coll_seq): New members rule, idx,
58596         save_idx and back_us.
58597         (get_next_seq_nocache): New function.
58598         (do_compare_nocache): New function.
58599         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
58600         when malloc fails.
58602 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
58604         [BZ #15754]
58605         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
58606         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
58607         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
58609         [BZ #15754]
58610         * elf/Makefile (tests): Add tst-ptrguard1.
58611         (tests-static): Add tst-ptrguard1-static.
58612         (tst-ptrguard1-ARGS): Define.
58613         (tst-ptrguard1-static-ARGS): Define.
58614         * elf/tst-ptrguard1.c: New file.
58615         * elf/tst-ptrguard1-static.c: New file.
58616         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
58617         * sysdeps/i386/stackguard-macros.h: Likewise.
58618         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58619         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58620         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58621         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58622         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58623         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58625 2013-09-23  Hector Marco  <hecmargi@upv.es>
58626             Ismael Ripoll  <iripoll@disca.upv.es>
58627             Carlos O'Donell  <carlos@redhat.com>
58629         [BZ #15754]
58630         * sysdeps/generic/stackguard-macros.h: Define
58631         __pointer_chk_guard_local and POINTER_CHK_GUARD.
58632         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
58633         Define __pointer_chk_guard_local.
58634         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
58635         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
58637 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
58639         [BZ #15859]
58640         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
58642 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
58644         * include/string.h (__ffs): Declare as hidden.
58645         * string/ffs.c (__ffs): Define as hidden.
58646         * sysdeps/i386/ffs.c (__ffs): Likewise.
58647         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
58648         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
58649         * sysdeps/s390/ffs.c (__ffs): Likewise.
58650         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
58652 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
58654         * NEWS: Mention malloc probes.
58656         * malloc/arena.c (new_heap): New memory_heap_new probe.
58657         (grow_heap): New memory_heap_more probe.
58658         (shrink_heap): New memory_heap_less probe.
58659         (heap_trim): New memory_heap_free probe.
58660         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
58661         (systrim): New memory_sbrk_less probe.
58662         * manual/probes.texi: Document them.
58664         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
58665         * manual/probes.texi: Document it.
58667         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
58668         (__libc_realloc): Add memory_realloc_retry probe.
58669         (__libc_memalign): Add memory_memalign_retry probe.
58670         (__libc_valloc): Add memory_valloc_retry probe.
58671         (__libc_pvalloc): Add memory_pvalloc_retry probe.
58672         (__libc_calloc): Add memory_calloc_retry probe.
58673         * manual/probes.texi: Document them.
58675         * malloc/arena.c (get_free_list): Add probe
58676         memory_arena_reuse_free_list.
58677         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
58678         and memory_arena_reuse.
58679         (arena_get2) [!PER_THREAD]: Likewise.
58680         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
58681         memory_arena_reuse_realloc.
58682         * manual/probes.texi: Document them.
58684         * malloc/malloc.c (__libc_free): Add
58685         memory_mallopt_free_dyn_thresholds probe.
58686         (__libc_mallopt): Add multiple memory_mallopt probes.
58687         * manual/probes.texi: Document them.
58689         * malloc/malloc.c: Include stap-probe.h.
58690         (__libc_mallopt): Add memory_mallopt probe.
58691         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
58692         * manual/probes.texi: New.
58693         * manual/Makefile (chapters): Add probes.
58694         * manual/threads.texi: Set next node.
58696 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
58698         [BZ #15963, #13985]
58699         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
58700         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
58701         Add `Chinese' to `nan' entry name.
58703 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58705         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
58706         (POLYNOMIAL): Likewise.
58707         (TAYLOR_SINCOS): Likewise.
58708         (TAYLOR_SLOW): Likewise.
58709         (__sin): Use TAYLOR_SINCOS.
58710         (__cos): Likewise.
58711         (slow): Use TAYLOR_SLOW.
58712         (sloww): Likewise.
58713         (bsloww): Likewise.
58714         (csloww): Likewise.
58716 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58718         * stdlib/strtod_l.c: Fix buffer overrun.
58720 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58722         * benchtests/Makefile (bench): Add sincos.
58723         * benchtests/bench-sincos.c: New file.
58725         * math/libm-test.inc (cos_test_data): New test inputs.
58726         (sin_test_data): Likewise.
58728         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
58729         macro.
58730         (__sin): Use it.
58731         (__cos): Likewise.
58732         (slow1): Likewise.
58733         (slow2): Likewise.
58734         (sloww1): Likewise.
58735         (sloww2): Likewise.
58736         (bsloww1): Likewise.
58737         (bsloww2): Likewise.
58738         (cslow2): Likewise.
58739         (csloww1): Likewise.
58740         (csloww2): Likewise.
58742         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
58743         function.
58744         (__sin): Use it.
58745         (__cos): Likewise.
58747         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
58748         gotos.
58749         (__cos): Likewise.
58751 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
58753         * config.h.in (HAVE_MIPS_NAN2008): New macro.
58754         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
58755         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
58756         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
58757         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
58758         * elf/cache.c (print_entry): Handle the new cache flags.
58760 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
58761             Aldy Hernandez  <aldyh@redhat.com>
58763         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
58764         Change condition to [_SOFT_FLOAT].
58765         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
58766         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
58767         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
58768         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
58769         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
58770         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
58771         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
58772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
58773         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
58774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
58775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
58776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
58777         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
58778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
58779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
58780         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
58781         declaration.
58783 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
58785         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
58786         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
58787         (__longjmp): Use LOAD_GP to load saved GPRs.
58788         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
58789         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
58790         (__sigsetjmp): Use SAVE_GP to save GPRs.
58792         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
58793         Do not append -msoft-float.
58794         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
58796 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58798         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
58800 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
58802         [BZ #15966]
58803         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
58804         (_FPU_GETCW): Use initial "__" on variable and field names but not
58805         on macro parameter name.
58806         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
58807         parentheses around reference to macro parameter.
58809 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
58811         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
58812         prototype.
58813         (ctype_startup): Use uint32_t in cast and sizeof for
58814         ctype->charnames.
58816 2013-09-11  Jia Liu  <proljc@gmail.com>
58818         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
58819         __daddr_t_defined.
58820         [__FreeBSD__]: Likewise.
58822 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
58824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
58825         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
58826         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
58827         (strchr): Remove __strchr_sse42 ifunc selection.
58828         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
58829         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
58831 2013-09-11  Will Newton  <will.newton@linaro.org>
58833         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
58834         parameter to RES. Remove hardcoded 1000 value.
58835         * benchtests/bench-skeleton.c (main): Pass RES parameter
58836         to TIMING_INIT and multiply result by 1000.
58838 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58842 2013-09-11  Andreas Schwab  <schwab@suse.de>
58844         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
58845         if not defined.
58846         (O_TMPFILE) [__USE_GNU]: Define.
58847         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
58848         Define.
58850 2013-09-11  Will Newton  <will.newton@linaro.org>
58852         [BZ #15857]
58853         * malloc/malloc.c (__libc_memalign): Check the value of bytes
58854         does not overflow.
58856 2013-09-11  Will Newton  <will.newton@linaro.org>
58858         [BZ #15856]
58859         * malloc/malloc.c (__libc_valloc): Check the value of bytes
58860         does not overflow.
58862 2013-09-11  Will Newton  <will.newton@linaro.org>
58864         [BZ #15855]
58865         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
58866         does not overflow.
58868 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
58870         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
58871         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58872         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58873         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58874         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58876 2013-09-10  Allan McRae  <allan@archlinux.org>
58878         [BZ #15748]
58879         * manual/arith.texi (Parsing of Floats): Clarify
58880         cross-reference.
58882         [BZ #15849]
58883         * manual/install.texi (Running make install): Mention
58884         --enable-pt-chown.
58885         * INSTALL: Regenerated.
58887 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
58889         * csu/init-first.c (_init): Remove the !SHARED condition around
58890         FPU control word initialization.
58891         * elf/dl-support.c (_dl_fpu_control): New variable.
58892         (_dl_aux_init) <AT_FPUCW>: Initialize it.
58893         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
58894         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
58895         * math/test-fpucw-static.c: New file.
58896         * math/test-fpucw-ieee.c: New file.
58897         * math/test-fpucw-ieee-static.c: New file.
58898         * math/Makefile (tests): Add `test-fpucw-ieee' and
58899         `$(tests-static)'.
58900         (tests-static): New variable.
58901         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
58902         dependency to...
58903         [($(build-shared),yes)]
58904         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
58905         ... this.
58906         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
58907         New dependency.
58909 2013-09-09  Allan McRae  <allan@archlinux.org>
58911         [BZ #15939]
58912         * manual/string.texi (Collation Functions): Fix typo in
58913         strcoll example.
58914         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
58916         [BZ #15893]
58917         * stdlib/isomac.c (get_null_defines): Fix memory leak.
58919         [BZ #15892]
58920         * libio/memstream.c (open_memstream): Fix memory leak.
58921         * libio/wmemstream.c (open_wmemstream): Likewise.
58923         [BZ #15895]
58924         * nscd/netgroupcache.c: Fix nesting of ifdefs.
58926 2013-09-09  Will Newton  <will.newton@linaro.org>
58928         * malloc/Makefile: Add tst-realloc to tests.
58929         * malloc/tst-realloc.c: New file.
58931 2013-09-09  Allan McRae  <allan@archlinux.org>
58933         [BZ #15844]
58934         * COPYING: Update from GNU website to fix FSF address.
58935         * COPYING.LIB: Likewise.
58937 2013-09-06  David S. Miller  <davem@davemloft.net>
58939         * po/zh_TW.po: Update Chinese (traditional) translation from
58940         translation project.
58942 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
58943             Joseph Myers  <joseph@codesourcery.com>
58945         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
58946         "localeinfo.h".
58947         (obstack_chunk_alloc): New macro.
58948         (obstack_chunk_free): Likewise.
58949         (record_offset): New function.
58950         (init_locale_data): Likewise.
58951         (align_locale_data): Likewise.
58952         (add_locale_empty): Likewise.
58953         (add_locale_raw_data): Likewise.
58954         (add_locale_raw_obstack): Likewise.
58955         (add_locale_string): Likewise.
58956         (add_locale_wstring): Likewise.
58957         (add_locale_uint32): Likewise.
58958         (add_locale_uint32_array): Likewise.
58959         (add_locale_char): Likewise.
58960         (start_locale_structure): Likewise.
58961         (end_locale_structure): Likewise.
58962         (start_locale_prelude): Likewise.
58963         (end_locale_prelude): Likewise.
58964         (write_locale_data): Take locale_file structure rather than an
58965         iovec.
58966         * locale/programs/locfile.h: Include "obstack.h".
58967         (struct locale_file): Change to store locale file contents instead
58968         of header.
58969         (init_locale_data): New prototype.
58970         (align_locale_data): Likewise.
58971         (add_locale_empty): Likewise.
58972         (add_locale_raw_data): Likewise.
58973         (add_locale_raw_obstack): Likewise.
58974         (add_locale_string): Likewise.
58975         (add_locale_wstring): Likewise.
58976         (add_locale_uint32): Likewise.
58977         (add_locale_uint32_array): Likewise.
58978         (add_locale_char): Likewise.
58979         (start_locale_structure): Likewise.
58980         (end_locale_structure): Likewise.
58981         (start_locale_prelude): Likewise.
58982         (end_locale_prelude): Likewise.
58983         (write_locale_data): Update prototype.
58984         * locale/programs/3level.h (struct TABLE): Remove result field.
58985         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
58986         Use new locale_file interface.
58987         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
58988         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
58989         * locale/programs/ld-address.c (address_output): Use new
58990         locale_file interface.
58991         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
58992         NO_ADD_LOCALE.
58993         (collate_finish): Don't call collseq_table_finalize.
58994         (collate_output): Use new locale_file interface.
58995         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
58996         in file.
58997         (NO_FINALIZE): Change to NO_ADD_LOCALE.
58998         (TABLE): Move defines earlier in file.
58999         (ELEMENT): Likewise.
59000         (DEFAULT): Likewise.
59001         (wctrans_table_add): Move macro and inline function earlier in
59002         file.
59003         (struct wctype_table): Move type earlier in file.
59004         (add_locale_wctype_table): New static prototype.
59005         (struct locale_ctype_t): Use logical types instead of struct iovec
59006         pointers for members.
59007         (ctype_output): Use new locale_file interface.
59008         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
59009         new locale_file interface.
59010         (allocate_arrays): Update for use of new locale_file interface.
59011         * locale/programs/ld-identification.c (identification_output): Use
59012         new locale_file interface.
59013         * locale/programs/ld-measurement.c (measurement_output): Likewise.
59014         * locale/programs/ld-messages.c (messages_output): Likewise.
59015         * locale/programs/ld-monetary.c (monetary_output): Likewise.
59016         * locale/programs/ld-name.c (name_output): Likewise.
59017         * locale/programs/ld-numeric.c (numeric_output): Likewise.
59018         * locale/programs/ld-paper.c (paper_output): Likewise.
59019         * locale/programs/ld-telephone.c (telephone_output): Likewise.
59020         * locale/programs/ld-time.c (time_output): Likewise.
59022 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59024         * benchtests/Makefile: Add memrchr benchmark.
59025         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
59026         benchmark as memrchr.
59027         * benchtests/bench-memrchr-ifunc.c: New file.
59028         * benchtests/bench-memrchr.c: New file.
59030 2013-09-06   Will Newton  <will.newton@linaro.org>
59032         * benchtests/Makefile (string-bench): Add memcpy.
59034 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
59035             Cong Wang  <amwang@redhat.com>
59037         [BZ #15850]
59038         * sysdeps/unix/sysv/linux/bits/in.h
59039         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
59040         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
59041         before __USE_KERNEL_IPV6_DEFS uses.
59042         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
59043         IPPROTO_BEETPH.
59044         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
59045         sockaddr_in6, or ipv6_mreq.
59047 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59049         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
59050         memory access for final bytes in some large inputs.
59051         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
59053 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59055         * string/test-memrchr.c: New file.
59056         * string/test-memrchr-ifunc.c: New file.
59057         * string/Makefile: Add new memrchr testcase.
59059 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
59061         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
59062         fanotify_init returns EPERM.
59064 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
59066         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
59067         errors.
59068         (top level): Treat second token from macro or constant entries for
59069         allowed headers as allowed.
59070         * include/complex.h: Condition internal declarations on
59071         [!_ISOMAC].
59072         * include/fenv.h: Condition include of <stdbool.h> and internal
59073         declarations on [!_ISOMAC].
59075 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
59077         [BZ #15923]
59078         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
59080 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
59082         * configure.in (--enable-versioning): Remove configure option.
59083         (libc_cv_asm_symver_directive): Remove configure test.
59084         (libc_cv_ld_version_script_option): Likewise.
59085         (VERSIONING): Remove variable and AC_SUBST.
59086         (DO_VERSIONING): Remove AC_DEFINE.
59087         * configure: Regenerated.
59088         * config.h.in (DO_VERSIONING): Remove macro.
59089         * Makerules [$(versioning) = yes]: Change conditionals to
59090         [$(build-shared) = yes].
59091         * config.make.in (versioning): Remove variable.
59092         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
59093         [$(build-shared) = yes].
59094         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
59095         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
59096         * elf/Makefile [$(versioning) = yes]: Change conditionals to
59097         [$(build-shared) = yes].
59098         * extra-lib.mk [$(versioning) = yes]: Likewise.
59099         * hurd/Makefile [$(versioning) = yes]: Likewise.
59100         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
59101         [SHARED].
59102         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
59103         [SHARED].
59104         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
59105         [SHARED && !NO_HIDDEN].
59106         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
59107         [SHARED].
59108         [SHARED && DO_VERSIONING]: Likewise..
59109         * libio/Makefile [$(versioning) = yes]: Change conditionals to
59110         [$(build-shared) = yes].
59111         * manual/install.texi (--disable-versioning): Remove
59112         documentation.
59113         * INSTALL: Regenerated.
59114         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
59115         to [SHARED].
59116         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
59117         [$(build-shared) = yes].
59118         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
59119         * sysdeps/i386/i686/multiarch/strstr-c.c
59120         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
59121         [SHARED && !NO_HIDDEN].
59122         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
59123         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
59124         * sysdeps/powerpc/powerpc32/dl-machine.c
59125         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
59126         * sysdeps/powerpc/powerpc32/sysdep.h
59127         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
59128         to [SHARED && PIC && !NO_HIDDEN].
59129         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
59130         conditional to [SHARED].
59132 2013-09-04   Will Newton  <will.newton@linaro.org>
59134         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
59135         * benchtests/bench-string.h: Include bench-timing.h instead
59136         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
59137         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
59138         call to HP_TIMING_DIFF_INIT.
59139         * benchtests/bench-memccpy.c: Use bench-timing.h macros
59140         instead of hp-timing.h macros.
59141         * benchtests/bench-memchr.c: Likewise.
59142         * benchtests/bench-memcmp.c: Likewise.
59143         * benchtests/bench-memcpy.c: Likewise.
59144         * benchtests/bench-memmem.c: Likewise.
59145         * benchtests/bench-memmove.c: Likewise.
59146         * benchtests/bench-memset.c: Likewise.
59147         * benchtests/bench-rawmemchr.c: Likewise.
59148         * benchtests/bench-strcasecmp.c: Likewise.
59149         * benchtests/bench-strcasestr.c: Likewise.
59150         * benchtests/bench-strcat.c: Likewise.
59151         * benchtests/bench-strchr.c: Likewise.
59152         * benchtests/bench-strcmp.c: Likewise.
59153         * benchtests/bench-strcpy.c: Likewise.
59154         * benchtests/bench-strcpy_chk.c: Likewise.
59155         * benchtests/bench-strlen.c: Likewise.
59156         * benchtests/bench-strncasecmp.c: Likewise.
59157         * benchtests/bench-strncat.c: Likewise.
59158         * benchtests/bench-strncmp.c: Likewise.
59159         * benchtests/bench-strncpy.c: Likewise.
59160         * benchtests/bench-strnlen.c: Likewise.
59161         * benchtests/bench-strpbrk.c: Likewise.
59162         * benchtests/bench-strrchr.c: Likewise.
59163         * benchtests/bench-strspn.c: Likewise.
59164         * benchtests/bench-strstr.c: Likewise.
59166 2013-09-04  Will Newton  <will.newton@linaro.org>
59168         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
59170 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
59172         [BZ #15427]
59173         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
59174         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
59175         * math/libm-test.inc (lgamma_test_data): Add more tests.
59176         * sysdeps/i386/fpu/libm-test-ulps: Update.
59177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59179 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
59181         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
59182         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59183         Add ifunc.
59184         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59185         Add strcmp-sse2-unaligned
59186         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
59188 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
59190         * Versions.def (libc): Add GLIBC_2.19.
59192 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
59194         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
59195         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
59197 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
59199         [BZ #14155]
59200         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
59201         intermediate calculations in recurrence.
59202         (__ieee754_ynf): Likewise.
59203         * math/libm-test.inc (jn_test_data): Do not allow spurious
59204         underflow exception.  Add more tests.
59205         (yn_test_data): Add more tests.
59206         * sysdeps/i386/fpu/libm-test-ulps: Update.
59207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59209 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
59211         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
59213 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
59215         * csu/init-first.c: Fix then/than typos.
59216         * locale/programs/ld-collate.c: Likewise.
59217         * locale/programs/linereader.h: Likewise.
59218         * manual/charset.texi: Likewise.
59219         * manual/filesys.texi: Likewise.
59220         * manual/stdio.texi: Likewise.
59221         * manual/string.texi: Likewise.
59222         * stdlib/fmtmsg.c: Likewise.
59223         * sysdeps/i386/stpncpy.S: Likewise.
59224         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59225         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59226         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59227         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59229 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
59231         * elf/dl-open.c: Fix typos.
59232         * iconvdata/gbbig5.c: Likewise.
59233         * iconvdata/iso-2022-jp.c: Likewise.
59234         * iconv/gconv_int.h: Likewise.
59235         * iconv/loop.c: Likewise.
59236         * nis/rpcsvc/nis.h: Likewise.
59237         * resolv/ns_name.c: Likewise.
59238         * stdio-common/vfscanf.c: Likewise.
59239         * streams/stropts.h: Likewise.
59240         * sunrpc/rpc_thread.c: Likewise.
59241         * sysdeps/i386/strpbrk.S: Likewise.
59242         * sysdeps/ieee754/k_standard.c: Likewise.
59243         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59244         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59245         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
59246         * sysdeps/mach/hurd/profil.c: Likewise.
59247         * sysdeps/s390/dl-procinfo.h: Likewise.
59248         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
59249         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
59250         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
59251         * sysdeps/x86_64/dl-trampoline.S: Likewise.
59252         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59254 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
59256         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
59257         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
59259 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
59261         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
59262         aix specific files.
59263         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
59264         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
59265         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
59266         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
59267         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
59268         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
59269         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
59270         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
59272 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
59273             Roland McGrath  <roland@hack.frob.com>
59275         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
59276         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
59278 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59280         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
59281         __executable_start symbol instead of _start.
59283 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
59285         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
59286         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
59287         Move macros to...
59288         * sysdeps/gnu/ldsodefs.h: ... this new file.
59290         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
59291         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
59292         instead of ELFOSABI_LINUX.
59294         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
59295         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
59296         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
59297         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
59298         Likewise.
59299         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
59300         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
59301         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
59302         Likewise.
59303         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
59304         (ibm_extended_long_double): Add ieee_nan member.
59305         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
59306         (do_test): New function.
59308         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
59309         TEST_TRUNC.
59310         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
59311         functions, renamed from truncdfsf_test, trunctfsf_test,
59312         trunctfdf_test.
59313         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
59314         functions.
59315         (do_test): Run all these.
59317 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
59319         * argp/argp-help.c: Fix typos.
59320         * argp/argp-parse.c: Likewise.
59321         * debug/backtracesyms.c: Likewise.
59322         * elf/elf.h: Likewise.
59323         * malloc/malloc.c: Likewise.
59324         * nis/nis_print.c: Likewise.
59325         * resolv/res_comp.c: Likewise.
59326         * stdlib/stdlib.h: Likewise.
59327         * sunrpc/clnt_tcp.c: Likewise.
59328         * sunrpc/clnt_udp.c: Likewise.
59329         * sunrpc/clnt_unix.c: Likewise.
59330         * sysdeps/unix/bsd/ptsname.c: Likewise.
59331         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
59332         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
59333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
59334         Likewise.
59335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
59336         Likewise.
59337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
59338         Likewise.
59339         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59341 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59343         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
59344         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59346 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
59348         [BZ #15897]
59349         * dlfcn/Makefile (tests): Add bug-dl-leaf.
59350         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
59351         ($(objpfx)bug-dl-leaf): New rule.
59352         ($(objpfx)bug-dl-leaf.so): Likewise.
59353         ($(objpfx)bug-dl-leaf.out): Likewise.
59354         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
59355         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
59356         * dlfcn/bug-dl-leaf.c: New test.
59357         * dlfcn/bug-dl-leaf-lib.c: Likewise.
59358         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
59359         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
59360         (dlclose): Likewise.
59361         (dlmopen): Likewise.
59363 2013-08-27  Roland McGrath  <roland@hack.frob.com>
59365         * include/netdb.h [!_ISOMAC]:
59366         Don't include <tls.h>.
59367         (h_errno, __libc_h_errno): Move declaration and macros out of
59368         [_LIBC_REENTRANT].
59370         * include/resolv.h [_RESOLV_H_]:
59371         Don't include <tls.h>.
59372         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
59373         * resolv/res_libc.c: Don't include <tls.h>.
59374         (_res): Use __attribute__ ((nocommon)) in place of
59375         __attribute__ ((section (".bss"))).
59377         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
59378         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
59380         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
59382         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
59383         only under [SIOCGIFCONF && SIOCGIFNETMASK].
59385         * resolv/res_mkquery.c: Include <sys/time.h>.
59387         * inet/ifreq.c: Moved to ...
59388         * sysdeps/unix/ifreq.c: ... here.
59389         * inet/ifreq.c: New file, true stub version.
59391         * socket/sa_len.c: New file.
59392         * socket/Makefile (aux): Add it.
59393         * sysdeps/unix/sysv/linux/Makefile
59394         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
59395         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
59396         and #include <socket/sa_len.c>.
59397         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
59398         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
59400         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
59401         * bits/socket.h: ... here.
59403         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
59404         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
59405         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
59407 2013-08-27  Andreas Schwab  <schwab@suse.de>
59409         [BZ #15736]
59410         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
59411         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
59412         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
59413         * string/test-strcasecmp.c (test_main): Run tests in several
59414         locales.
59415         * string/test-strncasecmp.c (test_main): Likewise.
59417         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
59418         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
59419         to __strcasecmp_nonascii and __strncasecmp_nonascii.
59420         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
59421         (__strncasecmp_ssse3) [PIC]: Likewise.
59423 2013-08-26  Roland McGrath  <roland@hack.frob.com>
59425         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
59427         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
59428         instead of explicitly declaring xdecrypt.
59429         * nis/nss_nis/nis-publickey.c: Likewise.
59431 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59433         [BZ #15890]
59434         * nscd/aicache.c: Include res_hconf.h.
59435         (addhstaiX): Initialize res_hconf.
59437 2013-08-26  Andreas Schwab  <schwab@suse.de>
59439         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
59440         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
59442 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59444         * nscd/aicache.c (addhstaiX): Fix indentation.
59446 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
59448         * configure.ac: Quote $build_pt_chown test.
59449         * configure: Regenerated.
59451 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
59453         [BZ #15532]
59454         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
59455         * math/s_cexpf.c (__cexpf): Likewise.
59456         * math/s_cexpl.c (__cexpl): Likewise.
59457         * math/libm-test.inc (cexp_test_data): Correct expected return
59458         value for NaN + i0.  Add another test.
59460 2013-08-22  David S. Miller  <davem@davemloft.net>
59462         * po/ca.po: Update Catalan translation from translation project.
59463         * po/uk.po: Add Ukrainian translations from translation project.
59465 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
59467         [BZ #15797]
59468         * math/s_fdim.c (__fdim): Check for infinite arguments if result
59469         is infinite, not alongside NaN test.
59470         * math/s_fdimf.c (__fdimf): Likewise.
59471         * math/s_fdiml.c (__fdiml): Likewise.
59472         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
59473         errno is unchanged.
59475 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
59477         * argp/argp-help.c: Fix typos.
59478         * crypt/speeds.c: Likewise.
59479         * csu/check_fds.c: Likewise.
59480         * elf/dl-load.c: Likewise.
59481         * elf/dl-open.c: Likewise.
59482         * elf/reldep3.c: Likewise.
59483         * elf/reldep.c: Likewise.
59484         * elf/sprof.c: Likewise.
59485         * iconv/iconv_charmap.c: Likewise.
59486         * iconv/skeleton.c: Likewise.
59487         * iconv/strtab.c: Likewise.
59488         * io/lockf64.c: Likewise.
59489         * libio/libioP.h: Likewise.
59490         * resolv/gai_notify.c: Likewise.
59491         * resolv/ns_name.c: Likewise.
59492         * resolv/ns_samedomain.c: Likewise.
59493         * resolv/res_send.c: Likewise.
59494         * stdlib/random.c: Likewise.
59495         * sunrpc/rpc/xdr.h: Likewise.
59496         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
59497         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
59498         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
59499         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
59500         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
59501         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
59502         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
59503         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
59504         * sysdeps/mach/hurd/check_fds.c: Likewise.
59505         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59506         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59507         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59508         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59509         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59510         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59511         * sysdeps/pthread/aio_notify.c: Likewise.
59512         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
59513         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
59514         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
59515         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59516         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
59518 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59520         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
59521         version if bit_Slow_SSE4_2 is set.
59522         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59523         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59525 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59527         [BZ #15867]
59528         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
59529         trampoline stack frame information.
59530         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
59531         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
59532         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
59533         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
59534         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
59535         * sysdeps/unix/sysv/linux/powerpc/init-first.c
59536         (_libc_vdso_platform_setup): Initialize the signal trampolines.
59537         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
59538         sa_flags value.
59539         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
59540         interrupting a syscall and set with option SA_SIGINFO.
59542 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
59544         [BZ #15531]
59545         * math/s_cproj.c (__cproj): Only return an infinity if one part of
59546         argument is infinite.
59547         * math/s_cprojf.c (__cprojf): Likewise.
59548         * math/s_cprojl.c (__cprojl): Likewise.
59549         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
59550         * math/libm-test.inc (cproj_test_data): Add more tests.
59552         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
59554         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
59555         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
59556         size.  Use __ffs to determine corresponding shift.
59558 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
59559             Roland McGrath  <roland@hack.frob.com>
59561         * Makefile (INSTALL): Remove trailing blank lines from output of
59562         makeinfo.
59564 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59566         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
59567         Align 32 bit compat elf_greg to 8 bytes.
59569 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
59571         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
59573 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59575         * string/strcoll_l.c (coll_seq): New structure.
59576         (get_next_seq_cached): New function.
59577         (get_next_seq): New function.
59578         (do_compare): New function.
59579         (STRCOLL): Use GNU style definition.  Simplify implementation
59580         by using get_next_seq, get_next_seq_cached and do_compare.
59582 2013-08-16  Florian Weimer  <fweimer@redhat.com>
59584         [BZ #14699]
59585         CVE-2013-4237
59586         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
59587         member.
59588         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
59589         member.
59590         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
59591         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
59592         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
59593         conditional.
59594         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
59595         GETDENTS_64BIT_ALIGNED.
59596         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59597         * manual/filesys.texi (Reading/Closing Directory): Document
59598         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
59599         strongly.
59600         * manual/conf.texi (Limits for Files): Add portability note to
59601         NAME_MAX, PATH_MAX.
59602         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
59604 2013-08-13  Andreas Schwab  <schwab@suse.de>
59606         [BZ #15749]
59607         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
59608         of fabs.
59609         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
59610         LDBL_MAX_EXP >= 16384]: Add tests for it.
59612 2013-08-12  David S. Miller  <davem@davemloft.net>
59614         * version.h (RELEASE): Set to "development".
59615         (VERSION): Set to "2.18.90".
59616         * NEWS: Add 2.19 section.
59618 2013-08-03  David S. Miller  <davem@davemloft.net>
59620         * po/ko.po: Update Korean translation from translation project.
59622 2013-08-01  David S. Miller  <davem@davemloft.net>
59624         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
59625         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
59626         Bilka.
59628 2013-07-30  David S. Miller  <davem@davemloft.net>
59630         * po/fr.po: Update French translation from translation project.
59632 2013-07-28  David S. Miller  <davem@davemloft.net>
59634         * po/cs.po: Update Czech translation from translation project.
59636         * po/sv.po: Update Swedish translation from translation project.
59638 2013-07-27  David S. Miller  <davem@davemloft.net>
59640         * po/eo.po: Update Esperanto translation from translation project.
59642         * po/vi.po: Update Vietnamese translation from translation project.
59644         * po/de.po: Update German translation from translation project.
59646 2013-07-26  David S. Miller  <davem@davemloft.net>
59648         * po/bg.po: Update Bulgarian translation from translation project.
59650         * po/nl.po: Update Dutch translation from translation project.
59651         * po/pl.po: Update Polish translation from translation project.
59652         * po/ru.po: Update Russian translation from translation project.
59654 2013-07-24  David S. Miller  <davem@davemloft.net>
59656         * po/libc.pot: Update.
59658 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59660         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
59661         variable page size.
59662         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
59663         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
59664         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
59666 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59668         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
59670 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59671             Andreas Schwab  <schwab@suse.de>
59672             Roland McGrath  <roland@hack.frob.com>
59673             Joseph Myers  <joseph@codesourcery.com>
59674             Carlos O'Donell  <carlos@redhat.com>
59676         [BZ #15755]
59677         * config.h.in: Define HAVE_PT_CHOWN.
59678         * config.make.in (build-pt-chown): New variable.
59679         * configure.in (--enable-pt_chown): New configure option.
59680         * configure: Regenerate.
59681         * login/Makefile: Include Makeconfig.  Build pt_chown only if
59682         build-pt-chown is enabled.
59683         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
59684         pt_chown to fix pty ownership.
59685         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
59686         CLOSE_ALL_FDS.
59687         * manual/install.texi (Configuring and compiling): Mention
59688         --enable-pt_chown. Add @findex for grantpt.
59689         * INSTALL: Regenerate.
59691 2013-07-20  David S. Miller  <davem@davemloft.net>
59693         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
59694         difference between 32-bit and 64-bit.
59696 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
59698         [BZ #15711]
59699         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
59700         Avoid system header dependency with -ffreestanding.
59701         ($(objpfx)bits/syscall%d): Likewise.
59703 2013-07-13  David S. Miller  <davem@davemloft.net>
59705         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
59706         underflows from atanl/atan2l due to bug 15319.
59707         (casinh_test_data): Likewise.
59709 2013-07-07  David S. Miller  <davem@davemloft.net>
59711         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
59713 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
59715         * sysdeps/i386/fpu/libm-test-ulps: Update.
59716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59718 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59720         * configure.in (--enable-lock-elision): Fix message text.
59721         * INSTALL: Regenerate.
59722         * configure: Regenerate.
59724 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59728 2013-07-03  Andreas Jaeger  <aj@suse.de>
59730         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
59731         define.
59732         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
59733         (ptrace_peeksiginfo_args): Add.
59734         (__ptrace_peeksiginfo_flags): Add.
59735         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59736         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59737         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59739 2013-07-03  Allan McRae  <allan@archlinux.org>
59741         * sysdeps/i386/fpu/libm-test-ulps: Update.
59743 2013-07-02  David S. Miller  <davem@davemloft.net>
59745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59747 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
59749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59751 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
59753         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
59754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59756 2013-07-02  Andi Kleen <ak@linux.intel.com>
59758         * config.h.in (ENABLE_LOCK_ELISION): Add.
59759         * configure.in (--enable-lock-elision): Add option.
59760         * manual/install.texi: Document --enable lock elision.
59761         * configure: Regenerate
59762         * INSTALL: Regenerate.
59764 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
59766         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
59767         SSE4.2 strcasecmp for libc.a.
59768         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
59770 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
59772         [BZ #13304]
59773         * soft-fp/op-common.h (_FP_FMA): New macro.
59774         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
59775         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
59776         (_FP_MUL_MEAT_1_imm): ... here.
59777         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
59778         (_FP_MUL_MEAT_1_wide): ... here.
59779         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
59780         (_FP_MUL_MEAT_1_hard): ... here.
59781         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
59782         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
59783         (_FP_MUL_MEAT_2_wide): ... here.
59784         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
59785         (_FP_MUL_MEAT_2_wide_3mul): ... here.
59786         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
59787         (_FP_MUL_MEAT_2_gmp): ... here.
59788         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
59789         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
59790         (_FP_MUL_MEAT_4_wide): ... here.
59791         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
59792         (_FP_MUL_MEAT_4_gmp): ... here.
59793         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
59794         (_FP_WFRACBITS_DW_S): Likewise.
59795         (_FP_WFRACXBITS_DW_S): Likewise.
59796         (_FP_HIGHBIT_DW_S): Likewise.
59797         (FP_FMA_S): Likewise.
59798         (_FP_FRAC_HIGH_DW_S): Likewise.
59799         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
59800         (_FP_WFRACBITS_DW_D): Likewise.
59801         (_FP_WFRACXBITS_DW_D): Likewise.
59802         (_FP_HIGHBIT_DW_D): Likewise.
59803         (FP_FMA_D): Likewise.
59804         (_FP_FRAC_HIGH_DW_D): Likewise.
59805         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
59806         (_FP_WFRACBITS_DW_E): Likewise.
59807         (_FP_WFRACXBITS_DW_E): Likewise.
59808         (_FP_HIGHBIT_DW_E): Likewise.
59809         (FP_FMA_E): Likewise.
59810         (_FP_FRAC_HIGH_DW_E): Likewise.
59811         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
59812         (_FP_WFRACBITS_DW_Q): Likewise.
59813         (_FP_WFRACXBITS_DW_Q): Likewise.
59814         (_FP_HIGHBIT_DW_Q): Likewise.
59815         (FP_FMA_Q): Likewise.
59816         (_FP_FRAC_HIGH_DW_Q): Likewise.
59817         * soft-fp/fmasf4.c: New file.
59818         * soft-fp/fmadf4.c: Likewise.
59819         * soft-fp/fmatf4.c: Likewise.
59821 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59823         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59824         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
59825         Silvermont.
59826         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
59827         macro.
59828         (index_Slow_SSE4_2): Likewise.
59829         (index_Prefer_PMINUB_for_stringop): Likewise.
59830         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
59831         bit_Slow_SSE4_2 is set.
59832         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59833         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59835 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59837         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
59838         rtld_global._dl_hwcap2.
59839         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
59840         POWER8.
59841         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
59842         POWER8 feature descriptions defined in _dl_hwcap2.
59843         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
59844         string handling for POWER8 feature bits.
59845         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
59846         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
59847         _dl_powerpc_cap_flags.
59848         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
59849         * sysdeps/powerpc/rtld-global-offsets.sym
59850         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
59851         _dl_hwcap2 in the rtld_global_ro structure.
59853 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59855         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
59856         hardware capabilities in support of AT_HWCAP2.
59857         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
59858         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
59859         GLRO(dl_hwcap2).
59860         (_dl_show_auxv): Add support for calling _dl_procinfo to display
59861         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
59862         explicitly the unknown a_type display mechanism is used.
59863         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
59864         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
59865         struct member.
59866         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
59867         to macro prototype for AT_HWCAP2 support.
59868         * sysdeps/i386/dl-procinfo.h: Likewise.
59869         * sysdeps/s390/dl-procinfo.h: Likewise.
59870         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
59871         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
59872         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
59873         return -1 for unknown a_type display fallback.
59874         * sysdeps/sparc/dl-procinfo.h: Likewise.
59875         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
59876         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
59878 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
59880         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
59881         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
59883 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
59885         [BZ #12492]
59886         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
59887         mprotect making __stack_prot writable.
59889 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
59890             Joseph Myers  <joseph@codesourcery.com>
59892         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
59893         as being properly aligned.
59895 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
59897         * dlfcn/modstatic5.c: New file.
59898         * dlfcn/tststatic5.c: New file.
59899         * dlfcn/Makefile (tests): Add tststatic5.
59900         (tests-static): Likewise.
59901         (modules-names): Add modstatic5.
59902         (tststatic5-ENV): New variable.
59903         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
59905         [BZ #15022]
59906         * elf/dl-support.c (_dl_main_map): New variable.
59907         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
59908         (_dl_nns, _dl_load_adds): Set to 1.
59909         (_dl_initial_searchlist): Refer to _dl_main_map.
59910         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
59911         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
59912         call to _dl_get_origin.
59913         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
59914         around call_map.
59915         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
59916         * dlfcn/modstatic3.c: New file.
59917         * dlfcn/tststatic3.c: New file.
59918         * dlfcn/tststatic4.c: New file.
59919         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
59920         (tests-static): Likewise.
59921         (modules-names): Add modstatic3.
59922         (tststatic3-ENV, tststatic4-ENV): New variables.
59923         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
59924         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
59926 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
59928         * configure.in (CC): Require GCC version 4.4 or later.
59929         * configure: Regenerated.
59930         * manual/install.texi (Tools for Compilation): Update GCC version
59931         requirement.
59932         * INSTALL: Regenerated.
59934 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59936         [BZ #15674]
59937         * string/test-memcmp.c (check2): New.
59938         (main): Call check2.
59940         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
59942 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
59944         [BZ #15022]
59945         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
59946         over to...
59947         (dl_open_worker) [!SHARED]: ... here.
59949 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59951         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
59953 2013-06-25  Richard Henderson  <rth@redhat.com>
59955         * locale/programs/locarchive.c: Include <libc-internal.h>
59957 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
59959         * manual/texinfo.tex: Update to version 2013-06-21.17, with
59960         trailing whitespace removed.
59962 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59964         [BZ #10283]
59965         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
59966         * locale/programs/locarchive.c: Include libc-mmap.h.
59967         (prepare_address_space): Take two new outputs (the mmap base and len).
59968         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
59969         values.
59970         (create_archive): Declare new mmap base and len values for
59971         prepare_address_space, and store the result in ah.
59972         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
59973         (enlarge_archive): If ah->mmap_base is not NULL, use that and
59974         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59975         Declare new mmap base and len values for
59976         prepare_address_space, and store the result in new_ah.
59977         (open_archive): Declare new mmap base and len values for
59978         prepare_address_space, and store the result in ah.
59979         (close_archive): If ah->mmap_base is not NULL, use that and
59980         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59981         * sysdeps/generic/libc-mmap.h: New file.
59983 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59985         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
59986         (ALIGN_UP): Likewise.
59987         (PTR_ALIGN_DOWN): Likewise.
59988         (PTR_ALIGN_UP): Likewise.
59990 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59992         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
59993         entry mapped to PPC_PLATFORM_POWER8.
59994         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
59995         POWER8.
59996         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
59997         (_dl_string_platform): Add case for exporting platform position for
59998         POWER8.
59999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
60000         search path to sysdeps/powerpc/powerpc32/power8 directory.
60001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
60002         search path to sysdeps/powerpc/powerpc64/power8 directory.
60003         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
60004         power7 directories.
60005         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
60006         power7 directories.
60008 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
60010         * INSTALL: Regenerate.
60012         * nscd/connections.c (nscd_init): Fix comment.
60014 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
60016         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
60018         [BZ #15667]
60019         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
60020         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
60022 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
60024         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
60025         DL_DST_REQ_STATIC.
60026         (DL_DST_REQ_STATIC): Remove macro.
60028 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
60030         [BZ #7006]
60031         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
60032         with a shift of 0 bits.
60034 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
60036         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
60037         $(tststatic-ENV).
60039 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60041         [BZ #15655]
60042         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
60044 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60046         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
60047         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
60048         accepts -fno-tree-loop-distribute-patterns.
60049         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
60050         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
60051         recursive call.
60052         * string/memset.c (memset): Likewise.
60053         * string/test-memmove.c (simple_memmove): Disable loop transformation
60054         to library calls.
60055         * string/test-memset.c (simple_memset): Likewise.
60056         * benchtests/bench-memmove.c (simple_memmove): Likewise.
60057         * benchtests/bench-memset.c (simple_memset): Likewise.
60058         * configure: Regenerated.
60060 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
60062         * math/test-misc.c (main): Ignore fesetround failure when failures
60063         of subsequent rounding tests would be ignored.
60065         [BZ #15654]
60066         * math/fedisblxcpt.c (fedisableexcept): Return 0.
60067         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
60068         * math/fegetenv.c (__fegetenv): Return 0.
60069         * math/fegetexcept.c (fegetexcept): Return 0.
60070         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
60071         FE_TONEAREST.
60072         * math/feholdexcpt.c (feholdexcept): Return 0.
60073         * math/fesetenv.c (__fesetenv): Return 0.
60074         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
60075         argument FE_TONEAREST.
60076         * math/feupdateenv.c (__feupdateenv): Return 0.
60077         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
60079 2013-06-18  Roland McGrath  <roland@hack.frob.com>
60081         * elf/rtld-Rules (rtld-compile-command.S): New variable.
60082         (rtld-compile-command.s, rtld-compile-command.c): New variables.
60083         ($(objpfx)rtld-%.os rules): Use them.
60085 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60087         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
60088         fields.
60090 2013-06-17  Roland McGrath  <roland@hack.frob.com>
60092         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
60093         length of target pattern, then descending length of dependency pattern.
60094         * configure.in (AWK): Require gawk 3.1.2 or newer.
60095         * manual/install.texi (Tools for Compilation): Say that we do.
60096         * configure: Regenerated.
60098         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
60099         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
60100         * scripts/sysd-rules.awk: ... this new script.
60101         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
60102         than a glob-style pattern.
60104 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
60106         * math/test-misc.c (main): Do not treat incorrectly rounded
60107         conversions as failure unless ROUNDING_TESTS passes.
60109 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
60111         [BZ #15631]
60112         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
60113         restore exception state around main square root computation, then
60114         check for inexactness explicitly.
60116         * math/libm-test.inc (fma_test_data): Add another test.
60118 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60120         * manual/threads.texi (Non-POSIX Extensions): New document
60121         node.  Document pthread_getattr_default_np and
60122         pthread_setattr_default_np.
60124         * Versions.def (libpthread): Add GLIBC_2.18.
60125         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
60126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60127         Likewise.
60128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60129         Likewise.
60130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60131         Likewise.
60132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60133         Likewise.
60134         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
60135         Likewise.
60136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60137         Likewise.
60138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60139         Likewise.
60140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60141         Likewise.
60142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60143         Likewise.
60145 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60148         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
60150 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60151             H.J. Lu  <hjl.tools@gmail.com>
60153         [BZ #15627]
60154         * sysdeps/x86_64/rtld-memset.c: Remove file.
60155         * sysdeps/x86_64/rtld-memset.S: New file.
60157 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
60159         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
60160         (test_in_one_mode): Take arguments for whether the rounding mode
60161         is supported for each floating-point type.
60162         (do_test): Pass new arguments to test_in_one_mode using
60163         ROUNDING_TESTS.
60165 2013-06-13  Roland McGrath  <roland@hack.frob.com>
60167         * posix/tst-waitid.c (do_test): Distinguish different instances of
60168         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
60169         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
60170         before entering the kernel for waitpid.
60172 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60174         * NEWS: Fix note on clock function precision.  Text by Roland
60175         McGrath.
60177 2013-06-13  Roland McGrath  <roland@hack.frob.com>
60179         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
60180         it into place only when and if the sanity check passes.
60182 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
60184         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
60185         output for whether conversion result is exact.  Take argument
60186         indicating whether type is IBM long double.
60187         (round_for_all): Change need_exact field to ibm_ld.
60188         * stdlib/tst-strtod-round.c (struct exactness): New type.
60189         (struct test): Change bool ld_ok field to struct exactness exact.
60190         (TEST): Update all definitions for change to field.
60191         (tests): Regenerate array contents.
60192         (test_in_one_mode): Take pointer to new field instead of old ld_ok
60193         field value.  Check for IBM long double here.
60194         (do_test): Update calls to test_in_one_mode.
60196 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60198         [BZ #12515]
60199         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
60200         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
60202 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60204         [BZ #15605]
60205         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
60206         generated by the compiler on loop optimizations.
60207         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
60208         general definitions.
60210 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
60212         * math/bug-nextafter.c: Include <math-tests.h>.
60213         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60214         the relevant type.
60215         * math/bug-nexttoward.c: Include <math-tests.h>.
60216         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60217         the relevant type.
60218         * math/test-misc.c: Include <math-tests.h>.
60219         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60220         the relevant type.
60222 2013-06-12  Andreas Jaeger  <aj@suse.de>
60224         * po/ia.po: Update Interlingua translation from translation
60225         project.
60227 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60229         * include/fenv.h: Include stdbool.h.
60230         (struct rm_ctx): New structure.
60231         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
60232         Define macro.
60233         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
60234         (SET_RESTORE_ROUNDF): Likewise.
60235         (SET_RESTORE_ROUNDL): Likewise.
60236         (SET_RESTORE_ROUND_NOEX): Likewise.
60237         (SET_RESTORE_ROUND_NOEXF): Likewise.
60238         (SET_RESTORE_ROUND_NOEXL): Likewise.
60239         (SET_RESTORE_ROUND_53BIT): Likewise.
60240         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
60241         (libc_feresetround_noexf_ctx): Likewise.
60242         (libc_feresetround_noexl_ctx): Likewise.
60243         (libc_feholdsetround_53bit_ctx): Likewise.
60244         (libc_feresetround_53bit_ctx): Likewise.
60245         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
60246         (libc_feholdexcept_setround_sse_ctx): New function.
60247         (libc_fesetenv_sse_ctx): Likewise.
60248         (libc_feupdateenv_sse_ctx): Likewise.
60249         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
60250         (libc_feholdexcept_setround_387_ctx): Likewise.
60251         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
60252         (libc_feholdsetround_387_prec_ctx): Likewise.
60253         (libc_feholdsetround_387_ctx): Likewise.
60254         (libc_feholdsetround_387_53bit_ctx): Likewise.
60255         (libc_feholdsetround_sse_ctx): Likewise.
60256         (libc_feresetround_sse_ctx): Likewise.
60257         (libc_feresetround_387_ctx): Likewise.
60258         (libc_feupdateenv_387_ctx): Likewise.
60259         (libc_feholdexcept_setroundf_ctx): Define macro.
60260         (libc_fesetenvf_ctx): Likewise.
60261         (libc_feupdateenvf_ctx): Likewise.
60262         (libc_feholdsetroundf_ctx): Likewise.
60263         (libc_feresetroundf_ctx): Likewise.
60264         (libc_feholdexcept_setround_ctx): Likewise.
60265         (libc_fesetenv_ctx): Likewise.
60266         (libc_feupdateenv_ctx): Likewise.
60267         (libc_feholdsetround_ctx): Likewise.
60268         (libc_feresetround_ctx): Likewise.
60269         (libc_feholdexcept_setroundl_ctx): Likewise.
60270         (libc_feupdateenvl_ctx): Likewise.
60271         (libc_feholdsetroundl_ctx): Likewise.
60272         (libc_feresetroundl_ctx): Likewise.
60273         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
60274         (libc_feresetround_53bit_ctx): Likewise.
60276 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60278         * locale/iso-639.def: Convert to UTF-8.
60280 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
60282         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
60283         (EXCEPTION_TESTS_double): Likewise.
60284         (EXCEPTION_TESTS_long_double): Likewise.
60285         (EXCEPTION_TESTS): Likewise.
60286         * math/libm-test.inc (test_exceptions): Only test exceptions if
60287         EXCEPTION_TESTS (FLOAT).
60289 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60291         * benchtests/Makefile (string-bench): Add strcpy_chk and
60292         stpcpy_chk.
60293         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
60294         * benchtests/bench-stpcpy_chk.c: New file.
60295         * benchtests/bench-strcpy_chk-ifunc.c: New file.
60296         * benchtests/bench-strcpy_chk.c: New file.
60297         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
60298         code.
60299         (do_test): Likewise.
60301 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60303         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
60304         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
60305         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
60306         with tabs where appropriate.
60307         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
60308         dl-procinfo.h.
60309         [PPC_PLATFORM_PPC440]: Likewise.
60310         [PPC_PLATFORM_PPC464]: Likewise.
60311         [PPC_PLATFORM_PPC476]: Likewise.
60312         (_dl_string_platform): Add support for detecting ppc405, ppc440,
60313         ppc464, and ppc476 platform strings merging from ports/
60314         dl-procinfo.h.
60316 2013-06-11  Andreas Schwab  <schwab@suse.de>
60318         [BZ #14991]
60319         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
60320         (from_ucs4_idx): Regenerate.
60321         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
60322         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
60323         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
60324         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
60325         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
60326         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
60327         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
60328         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
60329         from FROM_LOOP and TO_LOOP specific macros.
60330         (BODY): Handle combining characters.
60331         * iconvdata/BIG5HKSCS.irreversible: Update.
60332         * iconvdata/BIG5HKSCS.precomposed: New file.
60333         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
60334         characters.
60335         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
60337 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60339         * include/sys/time.h: Fix indentation and add copyright header.
60341         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
60342         (do_test): Likewise.
60343         * string/test-memchr.c (do_one_test): Likewise.
60344         (do_test): Likewise.
60345         * string/test-memcmp.c (do_one_test): Likewise.
60346         (do_test): Likewise.
60347         * string/test-memcpy.c (do_one_test): Likewise.
60348         (do_test): Likewise.
60349         * string/test-memmem.c (do_one_test): Likewise.
60350         (do_test): Likewise.
60351         (do_random_tests): Likewise.
60352         * string/test-memmove.c (do_one_test): Likewise.
60353         (do_test): Likewise.
60354         * string/test-memset.c (do_one_test): Likewise.
60355         (do_test): Likewise.
60356         * string/test-rawmemchr.c (do_one_test): Likewise.
60357         (do_test): Likewise.
60358         * string/test-strcasecmp.c (do_one_test): Likewise.
60359         (do_test): Likewise.
60360         * string/test-strcasestr.c (do_one_test): Likewise.
60361         (do_test): Likewise.
60362         * string/test-strcat.c (do_one_test): Likewise.
60363         (do_test): Likewise.
60364         * string/test-strchr.c (do_one_test): Likewise.
60365         (do_test): Likewise.
60366         * string/test-strcmp.c (do_one_test): Likewise.
60367         (do_test): Likewise.
60368         * string/test-strcpy.c (do_one_test): Likewise.
60369         (do_test): Likewise.
60370         * string/test-string.h: Likewise.
60371         (test_init): Likewise.
60372         * string/test-strlen.c (do_one_test): Likewise.
60373         (do_test): Likewise.
60374         * string/test-strncasecmp.c (do_one_test): Likewise.
60375         (do_test): Likewise.
60376         * string/test-strncat.c (do_one_test): Likewise.
60377         (do_test): Likewise.
60378         * string/test-strncmp.c (do_one_test): Likewise.
60379         (do_test_limit): Likewise.
60380         (do_test): Likewise.
60381         * string/test-strncpy.c (do_one_test): Likewise.
60382         (do_test): Likewise.
60383         * string/test-strnlen.c (do_one_test): Likewise.
60384         (do_test): Likewise.
60385         * string/test-strpbrk.c (do_one_test): Likewise.
60386         (do_test): Likewise.
60387         * string/test-strrchr.c (do_one_test): Likewise.
60388         (do_test): Likewise.
60389         * string/test-strspn.c (do_one_test): Likewise.
60390         (do_test): Likewise.
60391         * string/test-strstr.c (do_one_test): Likewise.
60392         (do_test): Likewise.
60394         * benchtests/Makefile (string-bench): Add string benchmarks.
60395         * benchtests/bench-bcopy-ifunc.c: New file.
60396         * benchtests/bench-bcopy.c: New file.
60397         * benchtests/bench-bzero-ifunc.c: New file.
60398         * benchtests/bench-bzero.c: New file.
60399         * benchtests/bench-memccpy-ifunc.c: New file.
60400         * benchtests/bench-memccpy.c: New file.
60401         * benchtests/bench-memchr-ifunc.c: New file.
60402         * benchtests/bench-memchr.c: New file.
60403         * benchtests/bench-memcmp-ifunc.c: New file.
60404         * benchtests/bench-memcmp.c: New file.
60405         * benchtests/bench-memmem-ifunc.c: New file.
60406         * benchtests/bench-memmem.c: New file.
60407         * benchtests/bench-memmove-ifunc.c: New file.
60408         * benchtests/bench-memmove.c: New file.
60409         * benchtests/bench-mempcpy-ifunc.c: New file.
60410         * benchtests/bench-mempcpy.c: New file.
60411         * benchtests/bench-memset-ifunc.c: New file.
60412         * benchtests/bench-memset.c: New file.
60413         * benchtests/bench-rawmemchr-ifunc.c: New file.
60414         * benchtests/bench-rawmemchr.c: New file.
60415         * benchtests/bench-stpcpy-ifunc.c: New file.
60416         * benchtests/bench-stpcpy.c: New file.
60417         * benchtests/bench-stpncpy-ifunc.c: New file.
60418         * benchtests/bench-stpncpy.c: New file.
60419         * benchtests/bench-strcasecmp-ifunc.c: New file.
60420         * benchtests/bench-strcasecmp.c: New file.
60421         * benchtests/bench-strcasestr-ifunc.c: New file.
60422         * benchtests/bench-strcasestr.c: New file.
60423         * benchtests/bench-strcat-ifunc.c: New file.
60424         * benchtests/bench-strcat.c: New file.
60425         * benchtests/bench-strchr-ifunc.c: New file.
60426         * benchtests/bench-strchr.c: New file.
60427         * benchtests/bench-strchrnul-ifunc.c: New file.
60428         * benchtests/bench-strchrnul.c: New file.
60429         * benchtests/bench-strcmp-ifunc.c: New file.
60430         * benchtests/bench-strcmp.c: New file.
60431         * benchtests/bench-strcpy-ifunc.c: New file.
60432         * benchtests/bench-strcpy.c: New file.
60433         * benchtests/bench-strcspn-ifunc.c: New file.
60434         * benchtests/bench-strcspn.c: New file.
60435         * benchtests/bench-strlen-ifunc.c: New file.
60436         * benchtests/bench-strlen.c: New file.
60437         * benchtests/bench-strncasecmp-ifunc.c: New file.
60438         * benchtests/bench-strncasecmp.c: New file.
60439         * benchtests/bench-strncat-ifunc.c: New file.
60440         * benchtests/bench-strncat.c: New file.
60441         * benchtests/bench-strncmp-ifunc.c: New file.
60442         * benchtests/bench-strncmp.c: New file.
60443         * benchtests/bench-strncpy-ifunc.c: New file.
60444         * benchtests/bench-strncpy.c: New file.
60445         * benchtests/bench-strnlen-ifunc.c: New file.
60446         * benchtests/bench-strnlen.c: New file.
60447         * benchtests/bench-strpbrk-ifunc.c: New file.
60448         * benchtests/bench-strpbrk.c: New file.
60449         * benchtests/bench-strrchr-ifunc.c: New file.
60450         * benchtests/bench-strrchr.c: New file.
60451         * benchtests/bench-strspn-ifunc.c: New file.
60452         * benchtests/bench-strspn.c: New file.
60453         * benchtests/bench-strstr-ifunc.c: New file.
60454         * benchtests/bench-strstr.c: New file.
60456         * benchtests/Makefile: Disable parallel execution of targets.
60457         (string-bench): Add memcpy.
60458         (benchset): New variable to store a list of benchmark sets.
60459         (bench-func): Renamed from bench.
60460         (bench-set): New target.
60461         (bench): Depend on bench-func and bench-set.
60462         * benchtests/README: Add section on benchmark sets.
60463         * benchtests/bench-memcpy-ifunc.c: New file.
60464         * benchtests/bench-memcpy.c: New file.
60465         * benchtests/bench-string.h: New file.
60467 2013-06-11  Andreas Schwab  <schwab@suse.de>
60469         [BZ #15577]
60470         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
60471         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
60472         values in the triple.
60473         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
60474         terminator in the group key.
60476 2013-06-11  Andreas Jaeger  <aj@suse.de>
60478         * po/zh_TW.po: Update Chinese (traditional) translation from
60479         translation project.
60481 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60483         * include/time.h (__clock_gettime): Add libc_hidden_proto.
60484         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
60485         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
60486         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60487         (clock_getcpuclockid): Likewise.
60488         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
60489         Add weak_alias and libc_hidden_def.
60490         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
60491         * rt/clock_gettime.c (clock_gettime): Rename to
60492         __clock_gettime.  Add weak_alias and libc_hidden_def.
60493         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
60494         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
60495         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
60496         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
60497         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
60498         Likewise.
60499         * rt/clock_settime.c (clock_settime): Rename to
60500         __clock_settime.  Add weak_alias and libc_hidden_def.
60501         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
60503 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
60505         * mach/err_boot.sub: Remove trailing whitespace.
60506         * mach/err_ipc.sub: Likewise.
60507         * mach/err_mach.sub: Likewise.
60509         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
60510         (ROUNDING_TESTS_double): Likewise.
60511         (ROUNDING_TESTS_long_double): Likewise.
60512         (ROUNDING_TESTS): Likewise.
60513         * math/libm-test.inc: Include <math-tests.h>.
60514         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
60515         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60516         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60517         (IF_ROUND_INIT_FE_UPWARD): Likewise.
60519 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60521         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
60522         of assigning.
60524 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
60526         * sysdeps/gnu/errlist.awk: Do not generate space at end of
60527         otherwise empty TRANS lines.
60528         * sysdeps/gnu/errlist.c: Regenerated.
60530         * catgets/gencat.c (error_print): Use (void) in function
60531         definition.
60532         * crypt/crypt_util.c (__init_des): Likewise.
60533         * crypt/speeds.c (Stop): Likewise.
60534         (main): Likewise.
60535         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
60536         * inet/ruserpass.c (token): Likewise.
60537         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
60538         * intl/localealias.c (extend_alias_table): Likewise.
60539         * intl/plural-exp.c (init_germanic_plural): Likewise.
60540         * libio/fcloseall.c (__fcloseall): Likewise.
60541         * libio/genops.c (_IO_flush_all): Likewise.
60542         (_IO_flush_all_linebuffered): Likewise.
60543         (_IO_cleanup): Likewise.
60544         (_IO_iter_begin): Likewise.
60545         (_IO_iter_end): Likewise.
60546         (_IO_list_lock): Likewise.
60547         (_IO_list_unlock): Likewise.
60548         (_IO_list_resetlock): Likewise.
60549         * libio/getchar.c (getchar): Likewise.
60550         * libio/getchar_u.c (getchar_unlocked): Likewise.
60551         * libio/getwchar.c (getwchar): Likewise.
60552         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
60553         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
60554         * login/getpt.c (__getpt): Likewise.
60555         * login/tst-utmp.c (main): Likewise.
60556         * malloc/hooks.c (__malloc_check_init): Likewise.
60557         * malloc/malloc.c (__malloc_stats): Likewise.
60558         * malloc/mtrace.c (tr_break): Likewise.
60559         (mtrace): Likewise.
60560         (muntrace): Likewise.
60561         * misc/fstab.c (endfsent): Likewise.
60562         * misc/getclktck.c (__getclktck): Likewise.
60563         * misc/getdtsz.c (__getdtablesize): Likewise.
60564         * misc/gethostid.c (gethostid): Likewise.
60565         * misc/getpagesize.c (__getpagesize): Likewise.
60566         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
60567         (__get_nprocs): Likewise.
60568         (__get_phys_pages): Likewise.
60569         (__get_avphys_pages): Likewise.
60570         * misc/getttyent.c (getttyent): Likewise.
60571         (setttyent): Likewise.
60572         (endttyent): Likewise.
60573         * misc/getusershell.c (getusershell): Likewise.
60574         (endusershell): Likewise.
60575         (setusershell): Likewise.
60576         (initshells): Likewise.
60577         * misc/hsearch.c (__hdestroy): Likewise.
60578         * misc/sync.c (sync): Likewise.
60579         * misc/syslog.c (closelog_internal): Likewise.
60580         (closelog): Likewise.
60581         * misc/ttyslot.c (ttyslot): Likewise.
60582         * misc/vhangup.c (vhangup): Likewise.
60583         * posix/fork.c (__fork): Likewise.
60584         * posix/getegid.c (__getegid): Likewise.
60585         * posix/geteuid.c (__geteuid): Likewise.
60586         * posix/getgid.c (__getgid): Likewise.
60587         * posix/getpid.c (__getpid): Likewise.
60588         * posix/getppid.c (__getppid): Likewise.
60589         * posix/getuid.c (__getuid): Likewise.
60590         * posix/pause.c (pause): Likewise.
60591         * posix/setpgrp.c (setpgrp): Likewise.
60592         * posix/setsid.c (__setsid): Likewise.
60593         * posix/test-vfork.c (noop): Likewise.
60594         * resolv/gethnamaddr.c (_endhtent): Likewise.
60595         (_gethtent): Likewise.
60596         (ht_endhostent): Likewise.
60597         (gethostent): Likewise.
60598         (dns_service): Likewise.
60599         * stdlib/drand48.c (drand48): Likewise.
60600         * stdlib/lrand48.c (lrand48): Likewise.
60601         * stdlib/mrand48.c (mrand48): Likewise.
60602         * stdlib/rand.c (rand): Likewise.
60603         * stdlib/random.c (__random): Likewise.
60604         * stdlib/setenv.c (clearenv): Likewise.
60605         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
60606         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
60607         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
60608         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
60609         (__get_nprocs): Likewise.
60610         (__get_phys_pages): Likewise.
60611         (__get_avphys_pages): Likewise.
60612         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
60613         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
60614         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
60615         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
60616         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
60617         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
60618         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
60619         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
60620         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
60621         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
60622         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
60623         * sysdeps/mach/hurd/sync.c (sync): Likewise.
60624         * sysdeps/posix/clock.c (clock): Likewise.
60625         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
60626         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
60627         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
60628         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
60629         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
60630         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
60631         (__get_nprocs_conf): Likewise.
60632         (__get_phys_pages): Likewise.
60633         (__get_avphys_pages): Likewise.
60634         * time/clock.c (clock): Likewise.
60635         * time/tzset.c (__tzname_max): Likewise.
60637 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
60639         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
60640         (__bswap_32): Do not use "register".
60641         * crypt/crypt.c (_ufc_doit_r): Likewise.
60642         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
60643         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
60644         * gmon/gmon.c (__monstartup): Likewise.
60645         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
60646         * hurd/hurdmalloc.c (more_memory): Likewise.
60647         (malloc): Likewise.
60648         (free): Likewise.
60649         (realloc): Likewise.
60650         (malloc_fork_prepare): Likewise.
60651         (malloc_fork_parent): Likewise.
60652         (malloc_fork_child): Likewise.
60653         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
60654         (_svcauth_des): Likewise.
60655         * inet/inet_lnaof.c (inet_lnaof): Likewise.
60656         * inet/inet_net.c (inet_network): Likewise.
60657         * inet/inet_netof.c (inet_netof): Likewise.
60658         * inet/rcmd.c (__validuser2_sa): Likewise.
60659         * io/fts.c (fts_open): Likewise.
60660         (fts_load): Likewise.
60661         (fts_close): Likewise.
60662         (fts_read): Likewise.
60663         (fts_children): Likewise.
60664         (fts_build): Likewise.
60665         (fts_stat): Likewise.
60666         (fts_sort): Likewise.
60667         (fts_alloc): Likewise.
60668         (fts_lfree): Likewise.
60669         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
60670         (_IO_file_xsgetn): Likewise.
60671         (_IO_file_xsgetn_mmap): Likewise.
60672         * libio/iofopncook.c (_IO_cookie_read): Likewise.
60673         (_IO_cookie_write): Likewise.
60674         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
60675         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
60676         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
60677         * malloc/obstack.c (_obstack_begin): Likewise.
60678         (_obstack_begin_1): Likewise.
60679         (_obstack_newchunk): Likewise.
60680         (_obstack_allocated_p): Likewise.
60681         (obstack_free): Likewise.
60682         (_obstack_memory_used): Likewise.
60683         * misc/getttyent.c (getttynam): Likewise.
60684         (getttyent): Likewise.
60685         (skip): Likewise.
60686         (value): Likewise.
60687         * misc/getusershell.c (initshells): Likewise.
60688         * misc/syslog.c (__vsyslog_chk): Likewise.
60689         * misc/ttyslot.c (ttyslot): Likewise.
60690         * nis/nis_hash.c (__nis_hash): Likewise.
60691         * posix/fnmatch_loop.c (FCT): Likewise.
60692         * posix/getconf.c (print_all): Likewise.
60693         (main): Likewise.
60694         * posix/getopt.c (exchange): Likewise.
60695         * posix/glob.c (globfree): Likewise.
60696         (prefix_array): Likewise.
60697         (__glob_pattern_type): Likewise.
60698         * resolv/arpa/nameser.h (NS_GET16): Likewise.
60699         (NS_GET32): Likewise.
60700         (NS_PUT16): Likewise.
60701         (NS_PUT32): Likewise.
60702         * resolv/gethnamaddr.c (getanswer): Likewise.
60703         (gethostbyname2): Likewise.
60704         (gethostbyaddr): Likewise.
60705         (_gethtent): Likewise.
60706         (_gethtbyname2): Likewise.
60707         (_gethtbyaddr): Likewise.
60708         * resolv/ns_print.c (dst_s_get_int16): Likewise.
60709         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
60710         * resolv/res_init.c (__res_vinit): Likewise.
60711         (net_mask): Likewise.
60712         * resolv/res_mkquery.c (outchar): Likewise.
60713         (PRINT): Likewise.
60714         * stdio-common/printf_fp.c (outchar): Likewise.
60715         (PRINT): Likewise.
60716         * stdio-common/printf_fphex.c (outchar): Likewise.
60717         (PRINT): Likewise.
60718         * stdio-common/printf_size.c (outchar): Likewise.
60719         (PRINT): Likewise.
60720         * stdio-common/test_rdwr.c (main): Likewise.
60721         * stdio-common/tfformat.c (matches): Likewise.
60722         * stdio-common/vfprintf.c (outchar): Likewise.
60723         (printf_unknown): Likewise.
60724         (buffered_vfprintf): Likewise.
60725         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
60726         * stdio-common/xbug.c (AppendToBuffer): Likewise.
60727         (ReadFile): Likewise.
60728         * stdlib/qsort.c (SWAP): Likewise.
60729         (_quicksort): Likewise.
60730         * stdlib/setenv.c (__add_to_environ): Likewise.
60731         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
60732         * stdlib/strtol_l.c (__strtol_l): Likewise.
60733         * stdlib/tst-strtod.c (main): Likewise.
60734         * stdlib/tst-strtol.c (main): Likewise.
60735         * stdlib/tst-strtoll.c (main): Likewise.
60736         * string/bits/string2.h (__strcmp_cc): Likewise.
60737         (__strcmp_cg): Likewise.
60738         (__strcspn_c1): Likewise.
60739         (__strcspn_c2): Likewise.
60740         (__strcspn_c3): Likewise.
60741         (__strspn_c1): Likewise.
60742         (__strspn_c2): Likewise.
60743         (__strspn_c3): Likewise.
60744         (__strsep_1c): Likewise.
60745         (__strsep_2c): Likewise.
60746         (__strsep_3c): Likewise.
60747         * string/memccpy.c (__memccpy): Likewise.
60748         * string/stpcpy.c (__stpcpy): Likewise.
60749         * string/strcmp.c (strcmp): Likewise.
60750         * string/strrchr.c (strrchr): Likewise.
60751         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
60752         Likewise.
60753         * sysdeps/mach/hurd/getcwd.c
60754         (_hurd_canonicalize_directory_name_internal): Likewise.
60755         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
60756         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
60757         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
60758         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
60759         Likewise, in both definitions.
60760         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
60761         definitions.
60762         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
60763         64] (__bswap_64): Likewise.
60764         * time/test_time.c (main): Likewise.
60765         * time/tzfile.c (__tzfile_read): Likewise.
60766         (__tzfile_compute): Likewise.
60767         * time/tzset.c (__tzset_parse_tz): Likewise.
60768         (tzset_internal): Likewise.
60769         (compute_change): Likewise.
60770         * wcsmbs/wcscat.c (__wcscat): Likewise.
60771         * wcsmbs/wcschr.c (wcschr): Likewise.
60772         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
60773         * wcsmbs/wcscspn.c (wcscspn): Likewise.
60774         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
60775         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
60776         * wcsmbs/wcsspn.c (wcsspn): Likewise.
60777         * wcsmbs/wcsstr.c (wcsstr): Likewise.
60778         * wcsmbs/wmemchr.c (wmemchr): Likewise.
60779         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60780         * wcsmbs/wmemset.c (wmemset): Likewise.
60782 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
60784         * scripts/config.guess: Update to version 2013-05-16.
60785         * scripts/config.sub: Update to version 2013-04-24.
60786         * scripts/install-sh: Update to version 2011-11-20.07.
60787         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
60788         * scripts/move-if-change: Update to version 2012-01-06 07:23.
60790 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
60792         * debug/fgetws_u_chk.c: Fix leading whitespaces.
60793         * elf/sln.c: Likewise.
60794         * hurd/hurd/ioctl.h: Likewise.
60795         * hurd/hurdmalloc.c: Likewise.
60796         * hurd/xattr.c: Likewise.
60797         * include/shlib-compat.h: Likewise.
60798         * inet/ruserpass.c: Likewise.
60799         * libio/iofgets_u.c: Likewise.
60800         * libio/iofgetws_u.c: Likewise.
60801         * locale/programs/ld-identification.c: Likewise.
60802         * locale/programs/ld-time.c: Likewise.
60803         * mach/msg-destroy.c: Likewise.
60804         * nss/nss_files/files-netgrp.c: Likewise.
60805         * resolv/res_data.c: Likewise.
60806         * soft-fp/op-1.h: Likewise.
60807         * soft-fp/op-2.h: Likewise.
60808         * soft-fp/op-4.h: Likewise.
60809         * soft-fp/op-common.h: Likewise.
60810         * stdio-common/printf_fphex.c: Likewise.
60811         * stdlib/strtod_l.c: Likewise.
60812         * sunrpc/rpc/clnt.h: Likewise.
60813         * sysdeps/generic/framestate.c: Likewise.
60814         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60815         * sysdeps/i386/bsd-setjmp.S: Likewise.
60816         * sysdeps/i386/__longjmp.S: Likewise.
60817         * sysdeps/i386/setjmp.S: Likewise.
60818         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60819         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60820         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60821         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60822         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60823         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
60824         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
60825         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
60826         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
60827         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60828         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
60829         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
60830         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
60831         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
60832         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
60833         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60834         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
60835         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
60836         * sysdeps/ieee754/support.c: Likewise.
60837         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60838         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
60839         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
60840         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
60841         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
60842         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
60843         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
60844         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
60845         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
60846         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
60847         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
60848         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
60849         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
60850         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
60851         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
60852         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
60853         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
60856 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
60858         * posix/transbug.c: Remove executable mode.
60860 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
60862         * crypt/speeds.c: Remove trailing whitespace.
60863         * dlfcn/default.c: Likewise.
60864         * elf/ifuncdep2.c: Likewise.
60865         * elf/ifuncmain1.c: Likewise.
60866         * elf/ifuncmain1vis.c: Likewise.
60867         * elf/testobj.h: Likewise.
60868         * elf/tst-stackguard1.c: Likewise.
60869         * gmon/sys/gmon.h: Likewise.
60870         * hurd/hurdmsg.c: Likewise.
60871         * hurd/new-fd.c: Likewise.
60872         * hurd/ports-get.c: Likewise.
60873         * iconvdata/ibm1008_420.c: Likewise.
60874         * inet/tst-getni1.c: Likewise.
60875         * inet/tst-getni2.c: Likewise.
60876         * libio/ioungetc.c: Likewise.
60877         * libio/wfiledoalloc.c: Likewise.
60878         * manual/libm-err-tab.pl: Likewise.
60879         * math/w_dremf.c: Likewise.
60880         * misc/ftruncate.c: Likewise.
60881         * posix/bug-glob2.c: Likewise.
60882         * posix/tst-pcre.c: Likewise.
60883         * posix/wait4.c: Likewise.
60884         * resolv/README: Likewise.
60885         * resolv/res_debug.h: Likewise.
60886         * resolv/tst-inet_ntop.c: Likewise.
60887         * setjmp/bug269-setjmp.c: Likewise.
60888         * soft-fp/extended.h: Likewise.
60889         * soft-fp/op-1.h: Likewise.
60890         * soft-fp/op-2.h: Likewise.
60891         * soft-fp/op-4.h: Likewise.
60892         * soft-fp/op-8.h: Likewise.
60893         * soft-fp/testit.c: Likewise.
60894         * stdio-common/bug16.c: Likewise.
60895         * stdlib/random.c: Likewise.
60896         * sunrpc/rpcsvc/rquota.x: Likewise.
60897         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
60898         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60899         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60900         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60901         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60902         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60903         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60904         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60905         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60906         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60907         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60908         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60909         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60910         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60911         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60912         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60913         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60914         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60915         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60916         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60917         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60918         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60919         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
60920         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
60921         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
60922         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
60923         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60924         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
60925         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60926         * sysdeps/ieee754/s_lib_version.c: Likewise.
60927         * sysdeps/mach/hurd/check_fds.c: Likewise.
60928         * sysdeps/mach/hurd/getsockname.c: Likewise.
60929         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
60930         * sysdeps/mach/hurd/recvfrom.c: Likewise.
60931         * sysdeps/powerpc/bits/link.h: Likewise.
60932         * sysdeps/powerpc/dl-procinfo.c: Likewise.
60933         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
60934         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
60935         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
60936         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
60937         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
60938         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
60939         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
60940         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
60941         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60942         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
60943         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60944         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
60945         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60946         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60947         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60948         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
60949         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
60950         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60951         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60952         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60953         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
60954         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60955         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60956         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
60957         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
60958         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
60959         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60960         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60961         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
60962         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
60963         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
60964         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60965         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60966         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
60967         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
60968         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
60969         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
60970         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
60971         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
60972         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
60973         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
60974         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
60975         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
60976         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
60977         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
60978         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
60979         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
60980         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
60981         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
60982         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60983         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60984         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60985         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60986         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
60987         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
60988         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
60989         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60990         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
60991         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
60992         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
60993         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
60994         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
60995         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60996         * sysdeps/powerpc/sysdep.h: Likewise.
60997         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60998         * sysdeps/s390/s390-64/sub_n.S: Likewise.
60999         * sysdeps/sh/dl-trampoline.S: Likewise.
61000         * sysdeps/sh/memset.S: Likewise.
61001         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
61002         * sysdeps/sh/strlen.S: Likewise.
61003         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
61004         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
61005         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
61006         * sysdeps/sparc/sparc32/rem.S: Likewise.
61007         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
61008         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
61009         * sysdeps/sparc/sparc32/strchr.S: Likewise.
61010         * sysdeps/sparc/sparc32/udiv.S: Likewise.
61011         * sysdeps/sparc/sparc32/urem.S: Likewise.
61012         * sysdeps/sparc/sparc64/add_n.S: Likewise.
61013         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61014         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
61015         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
61016         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
61017         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
61018         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
61019         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
61020         * sysdeps/unix/bsd/times.c: Likewise.
61021         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
61022         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
61023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
61024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
61025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
61026         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
61027         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61028         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
61029         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
61030         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
61031         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
61032         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
61033         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
61034         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61035         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
61036         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
61037         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
61038         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
61039         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
61040         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
61041         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
61042         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
61043         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61044         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
61045         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
61046         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
61047         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
61048         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61049         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
61050         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
61051         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
61052         * sysdeps/x86_64/strcspn.S: Likewise.
61054 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61056         * locale/C-translit.h: Revert #include <stdint.h> because this is a
61057         generated file.  Regenerate properly from gen-translit.pl.
61058         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
61059         locale/C-translit.h.
61061 2013-06-05  Andreas Schwab  <schwab@suse.de>
61063         [BZ #15100]
61064         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
61065         week as 6 instead of -1.
61066         * time/tst-strptime.c (day_tests): Add test case.
61068 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61070         * sysdeps/generic/math_private.h
61071         (libc_feholdexcept_setround_53bit): Replace with
61072         libc_feholdsetround_53bit.
61073         (libc_feupdateenv_53bit): Replace with
61074         libc_feresetround_53bit.
61075         (SET_RESTORE_ROUND_53BIT): Adjust.
61077 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61079         * string/test-strchrnul.c: Add copyright header.
61081         * posix/tst-getaddrinfo4.c: Increase test timeout.
61083 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
61085         [BZ #15536]
61086         * math/libm-test.inc (MAX_EXP): Remove
61087         (MIN_EXP): Define.
61088         (ulp): Use MIN_EXP - MANT_DIG.
61089         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
61091 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
61093         * po/be.po: Revert last change.
61094         * po/zh_CN.po: Likewise.
61095         * po/header.pot: Likewise.
61097 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
61099         * Makefile ($(common-objpfx)linkobj/libc.so): Define
61100         link-libc-deps to empty as target-specific variable.
61101         * Makerules (link-libc-args): New variable.
61102         (libc-for-link): Likewise.
61103         (link-libc-deps): Likewise.
61104         (lib%.so): Depend on $(link-libc-deps).  Link with
61105         $(link-libc-args).
61106         (build-module): Link with $(link-libc-args).
61107         (build-module-asneeded): Likewise.
61108         (build-module-helper-objlist): Filter out $(link-libc-deps) from
61109         list of objects.
61110         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
61111         target-specific variable.
61112         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
61113         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
61114         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
61115         libc.
61116         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
61117         libc and ld.so.
61118         ($(objpfx)libpcprofile.so): Likewise.
61119         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
61120         libc_nonshared.a.
61121         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
61122         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
61123         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
61124         $(link-libc-deps).
61125         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
61126         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
61127         * login/Makefile ($(objpfx)libutil.so): Likewise.
61128         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
61129         * math/Makefile ($(objpfx)libm.so): Likewise.
61130         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
61131         $(objpfx)libnsl.so): Define libc-for-link as target-specific
61132         variable instead of depending directly on libc.
61133         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
61134         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
61135         $(link-libc-deps).
61136         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
61137         libc.
61138         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
61139         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
61140         ($(objpfx)libanl.so): Likewise.
61141         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
61142         ld.so.
61143         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
61144         $(link-libc-deps).
61145         * sysdeps/i386/fpu/Makefile: Remove file.
61146         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
61147         ($(objpfx)libm.so): Remove dependency on ld.so.
61149 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
61151         [BZ # 15553]
61152         * nis/yp_xdr.c (XDRMAXNAME): Define.
61153         (XDRMAXRECORD): Define.
61154         (xdr_domainname): Use XDRMAXNAME.
61155         (xdr_mapname): Likewise.
61156         (xdr_peername): Likewise.
61157         (xdr_keydat): Use XDRMAXRECORD.
61158         (xdr_valdat): Likewise.
61160 2013-05-30  Jeff Law  <law@redhat.com>
61162         [BZ #14256]
61163         * manual/errno.texi (ESTALE): Update to account for more than
61164         just NFS file systems.
61165         * sysdeps/gnu/errlist.c: Regenerated.
61167 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61169         [BZ #15465]
61170         * elf/Makefile (tests): Add tst-null-argv.
61171         (modules-names):  Add tst-null-argv-lib.
61172         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
61173         (tst-null-argv-ENV): Set environment for tst-null-argv.
61174         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
61175         (RTLD_PROGNAME): New macro.
61176         * elf/tst-null-argv.c: New test case.
61177         * elf/tst-null-argv-lib.c: Library for test case.
61178         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
61179         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
61180         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
61181         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
61182         * elf/dl-init.c (call_init): Likewise.
61183         (_dl_init): Likewise.
61184         * elf/dl-load.c (print_search_path): Likewise.
61185         (_dl_map_object): Likewise.
61186         * elf/dl-lookup.c (do_lookup_x): Likewise.
61187         (add_dependency): Likewise.
61188         (_dl_lookup_symbol_x): Likewise.
61189         (_dl_debug_bindings): Likewise.
61190         * elf/dl-open.c (_dl_show_scope): Likewise.
61191         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
61192         * elf/dl-version.c (match_symbol): Likewise.
61193         (_dl_check_map_versions): Likewise.
61194         * elf/rtld.c (dl_main): Likewise.
61195         (print_unresolved): Use RTLD_PROGNAME.
61196         (print_missing_version): Likewise.
61197         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
61198         (elf_machine_rela): Likewise.
61199         * sysdeps/powerpc/powerpc32/dl-machine.c
61200         (__process_machine_rela): Likewise.
61201         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61202         Likewise.
61203         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61204         Likewise.
61205         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
61206         Likewise.
61207         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61208         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
61209         Likewise.
61210         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
61211         Likewise.
61212         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61214 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
61216         * po/be.po: Add descriptive title.
61217         * po/zh_CN.po: Likewise.
61218         * po/header.pot: Likewise.
61220 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
61222         * locale/programs/locarchive.c (create_archive): Inlucde fname in
61223         error message.
61224         (enlarge_archive): Likewise.
61226 2013-05-28  Ben North  <ben@redfrontdoor.org>
61228         * manual/arith.texi (frexp): It is the magnitude of the return
61229         value which lies in [0.5, 1), not the return value itself.
61231 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61235 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
61237         * stdio-common/bug26.c (main): Correct fscanf template.
61239         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
61240         declare _dl_skip_args.
61242         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
61243         Don't declare.
61245         * manual/platform.texi: Add missing @end deftypefun.
61247 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
61249         [BZ #15529]
61250         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
61251         bit of mantissa of 2^16382.
61252         * math/libm-test.inc (hypot_test_data): Add more tests.
61254         * math/libm-test.inc: Add drem and pow10 to list of tested
61255         functions.
61256         (pow10_test): New function.
61257         (drem_test): Likewise.
61258         (drem_test_tonearest): Likewise.
61259         (drem_test_towardzero): Likewise.
61260         (drem_test_downward): Likewise.
61261         (drem_test_upward): Likewise.
61262         (main): Call the new functions.
61264         * math/libm-test.inc (finite_test_data): Remove.
61265         (finite_test): Run tests from isfinite_test_data.
61266         (gamma_test_data): Remove.
61267         (gamma_test): Run tests from lgamma_test_data.
61268         * sysdeps/i386/fpu/libm-test-ulps: Update.
61269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61271 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61273         * manual/platform.texi: Add PowerPC PPR function set documentation.
61274         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
61275         implementation.
61277 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
61279         * math/libm-test.inc (MAX_EXP): Define.
61280         (ULPDIFF): Define.
61281         (ulp): New function.
61282         (check_float_internal): Use ULPDIFF.
61283         (cpow_test): Disable failing test.
61284         (check_ulp): Test ulp() implementation.
61285         (main): Call check_ulp before starting tests.
61287 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
61289         * math/gen-libm-test.pl (generate_testfile): Do not handle
61290         START_DATA and END_DATA.
61291         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
61292         END_DATA.
61293         (acos_tonearest_test_data): Likewise.
61294         (acos_towardzero_test_data): Likewise.
61295         (acos_downward_test_data): Likewise.
61296         (acos_upward_test_data): Likewise.
61297         (acosh_test_data): Likewise.
61298         (asin_test_data): Likewise.
61299         (asin_tonearest_test_data): Likewise.
61300         (asin_towardzero_test_data): Likewise.
61301         (asin_downward_test_data): Likewise.
61302         (asin_upward_test_data): Likewise.
61303         (asinh_test_data): Likewise.
61304         (atan_test_data): Likewise.
61305         (atanh_test_data): Likewise.
61306         (atan2_test_data): Likewise.
61307         (cabs_test_data): Likewise.
61308         (cacos_test_data): Likewise.
61309         (cacosh_test_data): Likewise.
61310         (carg_test_data): Likewise.
61311         (casin_test_data): Likewise.
61312         (casinh_test_data): Likewise.
61313         (catan_test_data): Likewise.
61314         (catanh_test_data): Likewise.
61315         (cbrt_test_data): Likewise.
61316         (ccos_test_data): Likewise.
61317         (ccosh_test_data): Likewise.
61318         (ceil_test_data): Likewise.
61319         (cexp_test_data): Likewise.
61320         (cimag_test_data): Likewise.
61321         (clog_test_data): Likewise.
61322         (clog10_test_data): Likewise.
61323         (conj_test_data): Likewise.
61324         (copysign_test_data): Likewise.
61325         (cos_test_data): Likewise.
61326         (cos_tonearest_test_data): Likewise.
61327         (cos_towardzero_test_data): Likewise.
61328         (cos_downward_test_data): Likewise.
61329         (cos_upward_test_data): Likewise.
61330         (cosh_test_data): Likewise.
61331         (cosh_tonearest_test_data): Likewise.
61332         (cosh_towardzero_test_data): Likewise.
61333         (cosh_downward_test_data): Likewise.
61334         (cosh_upward_test_data): Likewise.
61335         (cpow_test_data): Likewise.
61336         (cproj_test_data): Likewise.
61337         (creal_test_data): Likewise.
61338         (csin_test_data): Likewise.
61339         (csinh_test_data): Likewise.
61340         (csqrt_test_data): Likewise.
61341         (ctan_test_data): Likewise.
61342         (ctan_tonearest_test_data): Likewise.
61343         (ctan_towardzero_test_data): Likewise.
61344         (ctan_downward_test_data): Likewise.
61345         (ctan_upward_test_data): Likewise.
61346         (ctanh_test_data): Likewise.
61347         (ctanh_tonearest_test_data): Likewise.
61348         (ctanh_towardzero_test_data): Likewise.
61349         (ctanh_downward_test_data): Likewise.
61350         (ctanh_upward_test_data): Likewise.
61351         (erf_test_data): Likewise.
61352         (erfc_test_data): Likewise.
61353         (exp_test_data): Likewise.
61354         (exp_tonearest_test_data): Likewise.
61355         (exp_towardzero_test_data): Likewise.
61356         (exp_downward_test_data): Likewise.
61357         (exp_upward_test_data): Likewise.
61358         (exp10_test_data): Likewise.
61359         (exp2_test_data): Likewise.
61360         (expm1_test_data): Likewise.
61361         (fabs_test_data): Likewise.
61362         (fdim_test_data): Likewise.
61363         (finite_test_data): Likewise.
61364         (floor_test_data): Likewise.
61365         (fma_test_data): Likewise.
61366         (fma_towardzero_test_data): Likewise.
61367         (fma_downward_test_data): Likewise.
61368         (fma_upward_test_data): Likewise.
61369         (fmax_test_data): Likewise.
61370         (fmin_test_data): Likewise.
61371         (fmod_test_data): Likewise.
61372         (fpclassify_test_data): Likewise.
61373         (frexp_test_data): Likewise.
61374         (gamma_test_data): Likewise.
61375         (hypot_test_data): Likewise.
61376         (ilogb_test_data): Likewise.
61377         (isfinite_test_data): Likewise.
61378         (isgreater_test_data): Likewise.
61379         (isgreaterequal_test_data): Likewise.
61380         (isinf_test_data): Likewise.
61381         (isless_test_data): Likewise.
61382         (islessequal_test_data): Likewise.
61383         (islessgreater_test_data): Likewise.
61384         (isnan_test_data): Likewise.
61385         (isnormal_test_data): Likewise.
61386         (issignaling_test_data): Likewise.
61387         (isunordered_test_data): Likewise.
61388         (j0_test_data): Likewise.
61389         (j1_test_data): Likewise.
61390         (jn_test_data): Likewise.
61391         (ldexp_test_data): Likewise.
61392         (lgamma_test_data): Likewise.
61393         (lrint_test_data): Likewise.
61394         (lrint_tonearest_test_data): Likewise.
61395         (lrint_towardzero_test_data): Likewise.
61396         (lrint_downward_test_data): Likewise.
61397         (lrint_upward_test_data): Likewise.
61398         (llrint_test_data): Likewise.
61399         (llrint_tonearest_test_data): Likewise.
61400         (llrint_towardzero_test_data): Likewise.
61401         (llrint_downward_test_data): Likewise.
61402         (llrint_upward_test_data): Likewise.
61403         (log_test_data): Likewise.
61404         (log10_test_data): Likewise.
61405         (log1p_test_data): Likewise.
61406         (log2_test_data): Likewise.
61407         (logb_test_data): Likewise.
61408         (logb_downward_test_data): Likewise.
61409         (lround_test_data): Likewise.
61410         (llround_test_data): Likewise.
61411         (modf_test_data): Likewise.
61412         (nearbyint_test_data): Likewise.
61413         (nextafter_test_data): Likewise.
61414         (nexttoward_test_data): Likewise.
61415         (pow_test_data): Likewise.
61416         (pow_tonearest_test_data): Likewise.
61417         (pow_towardzero_test_data): Likewise.
61418         (pow_downward_test_data): Likewise.
61419         (pow_upward_test_data): Likewise.
61420         (remainder_test_data): Likewise.
61421         (remainder_tonearest_test_data): Likewise.
61422         (remainder_towardzero_test_data): Likewise.
61423         (remainder_downward_test_data): Likewise.
61424         (remainder_upward_test_data): Likewise.
61425         (remquo_test_data): Likewise.
61426         (rint_test_data): Likewise.
61427         (rint_tonearest_test_data): Likewise.
61428         (rint_towardzero_test_data): Likewise.
61429         (rint_downward_test_data): Likewise.
61430         (rint_upward_test_data): Likewise.
61431         (round_test_data): Likewise.
61432         (scalb_test_data): Likewise.
61433         (scalbn_test_data): Likewise.
61434         (scalbln_test_data): Likewise.
61435         (signbit_test_data): Likewise.
61436         (sin_test_data): Likewise.
61437         (sin_tonearest_test_data): Likewise.
61438         (sin_towardzero_test_data): Likewise.
61439         (sin_downward_test_data): Likewise.
61440         (sin_upward_test_data): Likewise.
61441         (sincos_test_data): Likewise.
61442         (sinh_test_data): Likewise.
61443         (sinh_tonearest_test_data): Likewise.
61444         (sinh_towardzero_test_data): Likewise.
61445         (sinh_downward_test_data): Likewise.
61446         (sinh_upward_test_data): Likewise.
61447         (sqrt_test_data): Likewise.
61448         (tan_test_data): Likewise.
61449         (tan_tonearest_test_data): Likewise.
61450         (tan_towardzero_test_data): Likewise.
61451         (tan_downward_test_data): Likewise.
61452         (tan_upward_test_data): Likewise.
61453         (tanh_test_data): Likewise.
61454         (tgamma_test_data): Likewise.
61455         (trunc_test_data): Likewise.
61456         (y0_test_data): Likewise.
61457         (y1_test_data): Likewise.
61458         (yn_test_data): Likewise.
61459         (significand_test_data): Likewise.
61461         * math/gen-libm-test.pl (@functions): Remove variable.
61462         (generate_testfile): Don't handle START and END lines.
61463         * math/libm-test.inc (START): New macro.
61464         (END): Likewise.
61465         (END_COMPLEX): Likewise.
61466         (acos_test): Use END macro without arguments.
61467         (acos_test_tonearest): Likewise.
61468         (acos_test_towardzero): Likewise.
61469         (acos_test_downward): Likewise.
61470         (acos_test_upward): Likewise.
61471         (acosh_test): Likewise.
61472         (asin_test): Likewise.
61473         (asin_test_tonearest): Likewise.
61474         (asin_test_towardzero): Likewise.
61475         (asin_test_downward): Likewise.
61476         (asin_test_upward): Likewise.
61477         (asinh_test): Likewise.
61478         (atan_test): Likewise.
61479         (atanh_test): Likewise.
61480         (atan2_test): Likewise.
61481         (cabs_test): Likewise.
61482         (cacos_test): Use END_COMPLEX macro without arguments.
61483         (cacosh_test): Likewise.
61484         (carg_test): Use END macro without arguments.
61485         (casin_test): Use END_COMPLEX macro without arguments.
61486         (casinh_test): Likewise.
61487         (catan_test): Likewise.
61488         (catanh_test): Likewise.
61489         (cbrt_test): Use END macro without arguments.
61490         (ccos_test): Use END_COMPLEX macro without arguments.
61491         (ccosh_test): Likewise.
61492         (ceil_test): Use END macro without arguments.
61493         (cexp_test): Use END_COMPLEX macro without arguments.
61494         (cimag_test): Use END macro without arguments.
61495         (clog_test): Use END_COMPLEX macro without arguments.
61496         (clog10_test): Likewise.
61497         (conj_test): Likewise.
61498         (copysign_test): Use END macro without arguments.
61499         (cos_test): Likewise.
61500         (cos_test_tonearest): Likewise.
61501         (cos_test_towardzero): Likewise.
61502         (cos_test_downward): Likewise.
61503         (cos_test_upward): Likewise.
61504         (cosh_test): Likewise.
61505         (cosh_test_tonearest): Likewise.
61506         (cosh_test_towardzero): Likewise.
61507         (cosh_test_downward): Likewise.
61508         (cosh_test_upward): Likewise.
61509         (cpow_test): Use END_COMPLEX macro without arguments.
61510         (cproj_test): Likewise.
61511         (creal_test): Use END macro without arguments.
61512         (csin_test): Use END_COMPLEX macro without arguments.
61513         (csinh_test): Likewise.
61514         (csqrt_test): Likewise.
61515         (ctan_test): Likewise.
61516         (ctan_test_tonearest): Likewise.
61517         (ctan_test_towardzero): Likewise.
61518         (ctan_test_downward): Likewise.
61519         (ctan_test_upward): Likewise.
61520         (ctanh_test): Likewise.
61521         (ctanh_test_tonearest): Likewise.
61522         (ctanh_test_towardzero): Likewise.
61523         (ctanh_test_downward): Likewise.
61524         (ctanh_test_upward): Likewise.
61525         (erf_test): Use END macro without arguments.
61526         (erfc_test): Likewise.
61527         (exp_test): Likewise.
61528         (exp_test_tonearest): Likewise.
61529         (exp_test_towardzero): Likewise.
61530         (exp_test_downward): Likewise.
61531         (exp_test_upward): Likewise.
61532         (exp10_test): Likewise.
61533         (exp2_test): Likewise.
61534         (expm1_test): Likewise.
61535         (fabs_test): Likewise.
61536         (fdim_test): Likewise.
61537         (finite_test): Likewise.
61538         (floor_test): Likewise.
61539         (fma_test): Likewise.
61540         (fma_test_towardzero): Likewise.
61541         (fma_test_downward): Likewise.
61542         (fma_test_upward): Likewise.
61543         (fmax_test): Likewise.
61544         (fmin_test): Likewise.
61545         (fmod_test): Likewise.
61546         (fpclassify_test): Likewise.
61547         (frexp_test): Likewise.
61548         (gamma_test): Likewise.
61549         (hypot_test): Likewise.
61550         (ilogb_test): Likewise.
61551         (isfinite_test): Likewise.
61552         (isgreater_test): Likewise.
61553         (isgreaterequal_test): Likewise.
61554         (isinf_test): Likewise.
61555         (isless_test): Likewise.
61556         (islessequal_test): Likewise.
61557         (islessgreater_test): Likewise.
61558         (isnan_test): Likewise.
61559         (isnormal_test): Likewise.
61560         (issignaling_test): Likewise.
61561         (isunordered_test): Likewise.
61562         (j0_test): Likewise.
61563         (j1_test): Likewise.
61564         (jn_test): Likewise.
61565         (ldexp_test): Likewise.
61566         (lgamma_test): Likewise.
61567         (lrint_test): Likewise.
61568         (lrint_test_tonearest): Likewise.
61569         (lrint_test_towardzero): Likewise.
61570         (lrint_test_downward): Likewise.
61571         (lrint_test_upward): Likewise.
61572         (llrint_test): Likewise.
61573         (llrint_test_tonearest): Likewise.
61574         (llrint_test_towardzero): Likewise.
61575         (llrint_test_downward): Likewise.
61576         (llrint_test_upward): Likewise.
61577         (log_test): Likewise.
61578         (log10_test): Likewise.
61579         (log1p_test): Likewise.
61580         (log2_test): Likewise.
61581         (logb_test): Likewise.
61582         (logb_test_downward): Likewise.
61583         (lround_test): Likewise.
61584         (llround_test): Likewise.
61585         (modf_test): Likewise.
61586         (nearbyint_test): Likewise.
61587         (nextafter_test): Likewise.
61588         (nexttoward_test): Likewise.
61589         (pow_test): Likewise.
61590         (pow_test_tonearest): Likewise.
61591         (pow_test_towardzero): Likewise.
61592         (pow_test_downward): Likewise.
61593         (pow_test_upward): Likewise.
61594         (remainder_test): Likewise.
61595         (remainder_test_tonearest): Likewise.
61596         (remainder_test_towardzero): Likewise.
61597         (remainder_test_downward): Likewise.
61598         (remainder_test_upward): Likewise.
61599         (remquo_test): Likewise.
61600         (rint_test): Likewise.
61601         (rint_test_tonearest): Likewise.
61602         (rint_test_towardzero): Likewise.
61603         (rint_test_downward): Likewise.
61604         (rint_test_upward): Likewise.
61605         (round_test): Likewise.
61606         (scalb_test): Likewise.
61607         (scalbn_test): Likewise.
61608         (scalbln_test): Likewise.
61609         (signbit_test): Likewise.
61610         (sin_test): Likewise.
61611         (sin_test_tonearest): Likewise.
61612         (sin_test_towardzero): Likewise.
61613         (sin_test_downward): Likewise.
61614         (sin_test_upward): Likewise.
61615         (sincos_test): Likewise.
61616         (sinh_test): Likewise.
61617         (sinh_test_tonearest): Likewise.
61618         (sinh_test_towardzero): Likewise.
61619         (sinh_test_downward): Likewise.
61620         (sinh_test_upward): Likewise.
61621         (sqrt_test): Likewise.
61622         (tan_test): Likewise.
61623         (tan_test_tonearest): Likewise.
61624         (tan_test_towardzero): Likewise.
61625         (tan_test_downward): Likewise.
61626         (tan_test_upward): Likewise.
61627         (tanh_test): Likewise.
61628         (tgamma_test): Likewise.
61629         (trunc_test): Likewise.
61630         (y0_test): Likewise.
61631         (y1_test): Likewise.
61632         (yn_test): Likewise.
61633         (significand_test): Likewise.
61635 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
61637         [BZ #15381]
61638         * libio/genops.c (_IO_no_init): Initialize wide struct info.
61640 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61642         [BZ #14894]
61643         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
61644         __ppc_mdoio and __ppc_mdoom.
61645         * manual/platform.texi: Document new functions __ppc_yield,
61646         __ppc_mdoio and __ppc_mdoom.
61648 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
61650         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
61651         (main): Mention "tls" pseudo-hwcap is legacy.
61652         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
61654 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
61656         * math/gen-libm-test.pl (parse_args): Output only string of
61657         arguments as text for test name, not full call or descriptions of
61658         tests for extra outputs.
61659         (generate_testfile): Do not pass function name to parse_args.
61660         Generate this_func variable from START.
61661         * math/libm-test.inc (struct test_f_f_data): Rename test_name
61662         field to arg_str.
61663         (struct test_ff_f_data): Likewise.
61664         (test_ff_f_data_nexttoward): Likewise.
61665         (struct test_fi_f_data): Likewise.
61666         (struct test_fl_f_data): Likewise.
61667         (struct test_if_f_data): Likewise.
61668         (struct test_fff_f_data): Likewise.
61669         (struct test_c_f_data): Likewise.
61670         (struct test_f_f1_data): Likewise.  Remove field extra_name.
61671         (struct test_fF_f1_data): Likewise.
61672         (struct test_ffI_f1_data): Likewise.
61673         (struct test_c_c_data): Rename test_name field to arg_str.
61674         (struct test_cc_c_data): Likewise.
61675         (struct test_f_i_data): Likewise.
61676         (struct test_ff_i_data): Likewise.
61677         (struct test_f_l_data): Likewise.
61678         (struct test_f_L_data): Likewise.
61679         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
61680         and extra2_name.
61681         (COMMON_TEST_SETUP): New macro.
61682         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
61683         (COMMON_TEST_CLEANUP): Likewise.
61684         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
61685         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
61686         macros.
61687         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
61688         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
61689         macros.
61690         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
61691         (RUN_TEST_fff_f): Take argument string.  Call new setup and
61692         cleanup macros.
61693         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
61694         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
61695         macros.
61696         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
61697         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
61698         macros.
61699         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
61700         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
61701         cleanup macros.
61702         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
61703         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
61704         cleanup macros.
61705         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
61706         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
61707         cleanup macros.
61708         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
61709         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
61710         macros.
61711         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
61712         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
61713         macros.
61714         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
61715         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
61716         macros.
61717         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
61718         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
61719         cleanup macros.
61720         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
61721         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
61722         cleanup macros.
61723         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
61724         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
61725         macros.
61726         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
61727         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
61728         cleanup macros.
61729         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
61730         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
61731         macros.
61732         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
61733         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
61734         macros.
61735         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
61736         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
61737         cleanup macros.
61738         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
61740 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
61742         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
61743         to _sifields.sigfault.
61744         (si_addr_lsb): Define new macro.
61745         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61746         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61747         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
61749 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
61751         [BZ #15441]
61752         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
61753         returns -1.
61754         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
61755         null return -1.
61756         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
61757         loading the domain.
61759 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
61761         * math/gen-libm-test.pl (parse_args): Do not include expected
61762         result in test name.
61763         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
61764         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61765         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61766         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61767         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61770 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61772         * benchtests/Makefile: Sort function entries.
61774         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
61775         tanh, asinh, acosh, atanh.
61776         * benchtests/acos-inputs: New file.
61777         * benchtests/acosh-inputs: New file.
61778         * benchtests/asin-inputs: New file.
61779         * benchtests/asinh-inputs: New file.
61780         * benchtests/atanh-inputs: New file.
61781         * benchtests/cosh-inputs: New file.
61782         * benchtests/log-inputs: New file.
61783         * benchtests/sinh-inputs: New file.
61784         * benchtests/tanh-inputs: New file.
61786 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
61788         [BZ #15339]
61789         * posix/tst-getaddrinfo4.c: New test.
61790         * posix/Makefile (tests): Add it.
61792 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61794         [BZ #15339]
61795         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
61796         when no services were used.
61797         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
61798         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
61800 2013-05-21  Andreas Schwab  <schwab@suse.de>
61802         [BZ #15014]
61803         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
61804         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
61805         successful.
61806         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
61807         redundant variable declarations and reallocation of buffer when
61808         parsing as IPv6 address.  Always set NSS status when called from
61809         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
61810         buffer too small.  Correct computation of needed size.
61811         * nss/Makefile (tests): Add test-digits-dots.
61812         * nss/test-digits-dots.c: New test.
61814 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61816         * benchtests/Makefile: Remove instructions for adding
61817         benchmark tests.
61818         * benchtests/README: New file to explain how to execute and
61819         enhance the benchmark tests.
61821 2013-05-21  Andreas Schwab  <schwab@suse.de>
61823         [BZ #15493]
61824         * setjmp/Makefile (tests): Add tst-sigsetjmp.
61825         * setjmp/tst-sigsetjmp.c: New test.
61827 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
61829         * sysdeps/x86_64/memset.S (memset): New implementation.
61830         (__bzero): Likewise.
61831         (__memset_tail): New function.
61833 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
61835         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
61836         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
61837         __memcpy_sse2_unaligned ifunc selection.
61838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61839         Add memcpy-sse2-unaligned.S.
61840         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61841         Add: __memcpy_sse2_unaligned.
61843 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
61845         [BZ #15490]
61846         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61847         math_force_eval before restoring floating-point envrionment.
61848         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
61849         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
61850         Likewise.
61851         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
61852         <math_private.h>.
61853         (__nearbyintl): Use math_force_eval before restoring
61854         floating-point environment.
61855         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
61857         * math/gen-libm-test.pl (special_functions): Remove.
61858         (parse_args): Don't handle TEST_extra.  Handle functions with no
61859         return value.
61860         * math/libm-test.inc (struct test_sincos_data): Replace with
61861         struct test_fFF_11_data.
61862         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
61863         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
61864         (sincos_test_data): Change element type to struct
61865         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
61866         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
61867         RUN_TEST_LOOP_sincos.
61868         * math/README.libm-test: Don't mention special handling of
61869         individual functions.
61870         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
61871         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61872         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61873         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61874         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61877         * math/gen-libm-test.pl (get_variable): Remove function.
61878         (parse_args): Don't show pointer parameters to call in test
61879         names.  Use "extra output N" in test names for extra outputs
61880         rather than naming variables.
61882 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
61884         [BZ #15488]
61885         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
61886         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
61887         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
61888         double tests.
61889         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
61890         disable.
61891         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
61892         check_long_double.
61894         * math/gen-libm-test.pl (@tests): Remove variable.
61895         ($count): Likewise.
61896         (new_test): Remove function.
61897         (show_exceptions): New function.
61898         (special_functions): Use show_exceptions instead of new_test.
61899         (parse_args): Likewise.
61900         (generate_testfile): Pass only function name in generated call to
61901         print_max_error or print_complex_max_error.
61902         (get_ulps): Do not handle complex tests specially.
61903         (output_test): Rename to ...
61904         (get_all_ulps_for_test): ... this.  Return a string rather than
61905         printing to a file.  Require ulps to be present.
61906         (output_ulps): Generate arrays rather than #defines.
61907         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
61908         (struct ulp_data): New type.
61909         (BUILD_COMPLEX_ULP): Remove macro.
61910         (compare_ulp_data): New function.
61911         (find_ulps): Likewise.
61912         (find_test_ulps): Likewise.
61913         (find_function_ulps): Likewise.
61914         (find_complex_function_ulps): Likewise.
61915         (print_max_error): Determine allowed ulps using
61916         find_function_ulps.
61917         (print_complex_max_error): Determine allowed ulps using
61918         find_complex_function_ulps.
61919         (check_float_internal): Determine max ulps using find_test_ulps.
61920         (check_float): Do not take max_ulp parameter.  Update call to
61921         check_float_internal.
61922         (check_complex): Likewise.
61923         (check_int): Do not take max_ulp parameter.
61924         (check_long): Likewise.
61925         (check_bool): Likewise.
61926         (check_longlong): Likewise.
61927         (struct test_f_f_data): Remove max_ulp field.
61928         (struct test_ff_f_data): Likewise.
61929         (struct test_ff_f_data_nexttoward): Likewise.
61930         (struct test_fi_f_data): Likewise.
61931         (struct test_fl_f_data): Likewise.
61932         (struct test_if_f_data): Likewise.
61933         (struct test_fff_f_data): Likewise.
61934         (struct test_c_f_data): Likewise.
61935         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
61936         (struct test_fF_f1_data): Likewise.
61937         (struct test_ffI_f1_data): Likewise.
61938         (struct test_c_c_data): Remove max_ulp field.
61939         (struct test_cc_c_data): Likewise.
61940         (struct test_f_i_data): Likewise.
61941         (struct test_ff_i_data): Likewise.
61942         (struct test_f_l_data): Likewise.
61943         (struct test_f_L_data): Likewise.
61944         (struct test_sincos_data): Likewise.
61945         (RUN_TEST_f_f): Do not handle ulps.
61946         (RUN_TEST_LOOP_f_f): Likewise.
61947         (RUN_TEST_2_f): Likewise.
61948         (RUN_TEST_LOOP_2_f): Likewise.
61949         (RUN_TEST_fff_f): Likewise.
61950         (RUN_TEST_LOOP_fff_f): Likewise.
61951         (RUN_TEST_c_f): Likewise.
61952         (RUN_TEST_LOOP_c_f): Likewise.
61953         (RUN_TEST_f_f1): Likewise.
61954         (RUN_TEST_LOOP_f_f1): Likewise.
61955         (RUN_TEST_fF_f1): Likewise.
61956         (RUN_TEST_LOOP_fF_f1): Likewise.
61957         (RUN_TEST_fI_f1): Likewise.
61958         (RUN_TEST_LOOP_fI_f1): Likewise.
61959         (RUN_TEST_ffI_f1): Likewise.
61960         (RUN_TEST_LOOP_ffI_f1): Likewise.
61961         (RUN_TEST_c_c): Likewise.
61962         (RUN_TEST_LOOP_c_c): Likewise.
61963         (RUN_TEST_cc_c): Likewise.
61964         (RUN_TEST_LOOP_cc_c): Likewise.
61965         (RUN_TEST_f_i): Likewise.
61966         (RUN_TEST_LOOP_f_i): Likewise.
61967         (RUN_TEST_f_i_tg): Likewise.
61968         (RUN_TEST_LOOP_f_i_tg): Likewise.
61969         (RUN_TEST_ff_i_tg): Likewise.
61970         (RUN_TEST_LOOP_ff_i_tg): Likewise.
61971         (RUN_TEST_f_b): Likewise.
61972         (RUN_TEST_LOOP_f_b): Likewise.
61973         (RUN_TEST_f_b_tg): Likewise.
61974         (RUN_TEST_LOOP_f_b_tg): Likewise.
61975         (RUN_TEST_f_l): Likewise.
61976         (RUN_TEST_LOOP_f_l): Likewise.
61977         (RUN_TEST_f_L): Likewise.
61978         (RUN_TEST_LOOP_f_L): Likewise.
61979         (RUN_TEST_sincos): Likewise.
61980         (RUN_TEST_LOOP_sincos): Likewise.
61982 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
61984         [BZ #15480]
61985         [BZ #15485]
61986         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
61987         main case of finite arguments, set rounding mode to FE_TONEAREST
61988         and discard exceptions.
61989         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
61990         exceptions.
61991         (remainder_tonearest_test_data): New variable.
61992         (remainder_test_tonearest): New function.
61993         (remainder_towardzero_test_data): New variable.
61994         (remainder_test_towardzero): New function.
61995         (remainder_downward_test_data): New variable.
61996         (remainder_test_downward): New function.
61997         (remainder_upward_test_data): New variable.
61998         (remainder_test_upward): New function.
61999         (main): Call the new test functions.
62001         * math/libm-test.inc (struct test_f_f1_data): Remove field
62002         extra_init.
62003         (struct test_fF_f1_data): Likewise.
62004         (struct test_ffI_f1_data): Likewise.
62005         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
62006         based on value of EXTRA_EXPECTED.
62007         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62008         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
62009         EXTRA_VAR based on value of EXTRA_EXPECTED.
62010         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62011         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
62012         EXTRA_VAR based on value of EXTRA_EXPECTED.
62013         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62014         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
62015         EXTRA_VAR based on value of EXTRA_EXPECTED.
62016         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62017         * math/gen-libm-test.pl (parse_args): Don't output initializers
62018         for extra output values.
62020         * math/libm-test.inc (check_int): Expect result to be exactly
62021         equal to expected value and do not handle ulps.
62022         (check_long): Likewise.
62023         (check_longlong): Likewise.
62025         * math/libm-test.inc (ceil_test_data): Test for "inexact"
62026         exceptions.
62027         (cimag_test_data): Likewise.
62028         (conj_test_data): Likewise.
62029         (copysign_test_data): Likewise.
62030         (cproj_test_data): Likewise.
62031         (creal_test_data): Likewise.
62032         (fabs_test_data): Likewise.
62033         (fdim_test_data): Likewise.
62034         (finite_test_data): Likewise.
62035         (floor_test_data): Likewise.
62036         (fmax_test_data): Likewise.
62037         (fmin_test_data): Likewise.
62038         (fmod_test_data): Likewise.
62039         (fpclassify_test_data): Likewise.
62040         (frexp_test_data): Likewise.
62041         (ilogb_test_data): Likewise.
62042         (isfinite_test_data): Likewise.
62043         (isgreater_test_data): Likewise.
62044         (isgreaterequal_test_data): Likewise.
62045         (isinf_test_data): Likewise.
62046         (isless_test_data): Likewise.
62047         (islessequal_test_data): Likewise.
62048         (islessgreater_test_data): Likewise.
62049         (isnan_test_data): Likewise.
62050         (isnormal_test_data): Likewise.
62051         (issignaling_test_data): Likewise.
62052         (isunordered_test_data): Likewise.
62053         (ldexp_test_data): Likewise.
62054         (lrint_test_data): Likewise.
62055         (lrint_test_data) [TEST_FLOAT]: Disable one test.
62056         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
62057         (lrint_tonearest_test_data): Test for "inexact" exceptions.
62058         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
62059         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
62060         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
62061         test input.
62062         (lrint_towardzero_test_data): Test for "inexact" exceptions.
62063         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
62064         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
62065         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
62066         that test input.
62067         (lrint_downward_test_data): Test for "inexact" exceptions.
62068         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
62069         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
62070         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
62071         test input.
62072         (lrint_upward_test_data): Test for "inexact" exceptions.
62073         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
62074         test input.
62075         (llrint_test_data): Test for "inexact" exceptions.
62076         (llrint_test_data) [TEST_FLOAT]: Disable one test.
62077         (llrint_tonearest_test_data): Test for "inexact" exceptions.
62078         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
62079         (llrint_towardzero_test_data): Test for "inexact" exceptions.
62080         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
62081         (llrint_downward_test_data): Test for "inexact" exceptions.
62082         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
62083         (llrint_upward_test_data): Test for "inexact" exceptions.
62084         (logb_test_data): Likewise.
62085         (logb_downward_test_data): Likewise.
62086         (nextafter_test_data): Likewise.
62087         (nexttoward_test_data): Likewise.
62088         (remainder_test_data): Likewise.
62089         (remquo_test_data): Likewise.
62090         (scalbn_test_data): Likewise.
62091         (scalbln_test_data): Likewise.
62092         (signbit_test_data): Likewise.
62093         (sqrt_test_data): Likewise.
62094         (significand_test_data): Likewise.
62096 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62098         [BZ #15424]
62099         * benchtests/bench-modf.c (struct args): Mark arg0 as
62100         volatile.
62101         * scripts/bench.pl: Mark members of struct args as volatile.
62103 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62105         [BZ # 15497]
62106         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
62107         negative infinity on POWER6 or lower.
62108         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
62110 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
62112         [BZ #15442]
62113         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
62114         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
62115         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
62116         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
62117         (_FP_SETQNAN): New macro.
62118         (_FP_SETQNAN_SEMIRAW): Likewise.
62119         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
62120         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
62121         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
62122         (FP_EXTEND): Use _FP_FRAC_SNANP.
62123         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
62124         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
62125         into account.
62126         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
62127         New macro.
62128         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
62129         Likewise.
62131 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62133         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
62134         with DIVIDE_BY_ZERO_EXCEPTION.
62135         (gamma_test_data): Likewise.
62136         (lgamma_test_data): Likewise.
62137         (log_test_data): Likewise.
62138         (log10_test_data): Likewise.
62139         (log2_test_data): Likewise.
62140         (tgamma_test_data): Likewise.
62142         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
62143         (acos_test_tonearest): Likewise.
62144         (acos_test_towardzero): Likewise.
62145         (acos_test_downward): Likewise.
62146         (acos_test_upward): Likewise.
62147         (acosh_test): Likewise.
62148         (asin_test): Likewise.
62149         (asin_test_tonearest): Likewise.
62150         (asin_test_towardzero): Likewise.
62151         (asin_test_downward): Likewise.
62152         (asin_test_upward): Likewise.
62153         (asinh_test): Likewise.
62154         (atan_test): Likewise.
62155         (atanh_test): Likewise.
62156         (atan2_test): Likewise.
62157         (cabs_test): Likewise.
62158         (cacos_test): Likewise.
62159         (cacosh_test): Likewise.
62160         (casin_test): Likewise.
62161         (casinh_test): Likewise.
62162         (catan_test): Likewise.
62163         (catanh_test): Likewise.
62164         (cbrt_test): Likewise.
62165         (ccos_test): Likewise.
62166         (ccosh_test): Likewise.
62167         (cexp_test): Likewise.
62168         (clog_test): Likewise.
62169         (clog10_test): Likewise.
62170         (cos_test): Likewise.
62171         (cos_test_tonearest): Likewise.
62172         (cos_test_towardzero): Likewise.
62173         (cos_test_downward): Likewise.
62174         (cos_test_upward): Likewise.
62175         (cosh_test): Likewise.
62176         (cosh_test_tonearest): Likewise.
62177         (cosh_test_towardzero): Likewise.
62178         (cosh_test_downward): Likewise.
62179         (cosh_test_upward): Likewise.
62180         (cpow_test): Likewise.
62181         (csin_test): Likewise.
62182         (csinh_test): Likewise.
62183         (csqrt_test): Likewise.
62184         (ctan_test): Likewise.
62185         (ctan_test_tonearest): Likewise.
62186         (ctan_test_towardzero): Likewise.
62187         (ctan_test_downward): Likewise.
62188         (ctan_test_upward): Likewise.
62189         (ctanh_test): Likewise.
62190         (ctanh_test_tonearest): Likewise.
62191         (ctanh_test_towardzero): Likewise.
62192         (ctanh_test_downward): Likewise.
62193         (ctanh_test_upward): Likewise.
62194         (erf_test): Likewise.
62195         (erfc_test): Likewise.
62196         (exp_test): Likewise.
62197         (exp_test_tonearest): Likewise.
62198         (exp_test_towardzero): Likewise.
62199         (exp_test_downward): Likewise.
62200         (exp_test_upward): Likewise.
62201         (exp10_test): Likewise.
62202         (exp2_test): Likewise.
62203         (expm1_test): Likewise.
62204         (fmod_test): Likewise.
62205         (gamma_test): Likewise.
62206         (hypot_test): Likewise.
62207         (j0_test): Likewise.
62208         (j1_test): Likewise.
62209         (jn_test): Likewise.
62210         (lgamma_test): Likewise.
62211         (log_test): Likewise.
62212         (log10_test): Likewise.
62213         (log1p_test): Likewise.
62214         (log2_test): Likewise.
62215         (logb_test_downward): Likewise.
62216         (pow_test): Likewise.
62217         (pow_test_tonearest): Likewise.
62218         (pow_test_towardzero): Likewise.
62219         (pow_test_downward): Likewise.
62220         (pow_test_upward): Likewise.
62221         (remainder_test): Likewise.
62222         (remquo_test): Likewise.
62223         (sin_test): Likewise.
62224         (sin_test_tonearest): Likewise.
62225         (sin_test_towardzero): Likewise.
62226         (sin_test_downward): Likewise.
62227         (sin_test_upward): Likewise.
62228         (sincos_test): Likewise.
62229         (sinh_test): Likewise.
62230         (sinh_test_tonearest): Likewise.
62231         (sinh_test_towardzero): Likewise.
62232         (sinh_test_downward): Likewise.
62233         (sinh_test_upward): Likewise.
62234         (sqrt_test): Likewise.
62235         (tan_test): Likewise.
62236         (tan_test_tonearest): Likewise.
62237         (tan_test_towardzero): Likewise.
62238         (tan_test_downward): Likewise.
62239         (tan_test_upward): Likewise.
62240         (tanh_test): Likewise.
62241         (tgamma_test): Likewise.
62242         (y0_test): Likewise.
62243         (y1_test): Likewise.
62244         (yn_test): Likewise.
62246         * math/gen-libm-test.pl (adjust_arg): Remove function.
62247         (special_function): Remove argument $in_func.  Only handle
62248         generating output for tables of tests, not inside functions.
62249         (parse_args): Likewise.
62250         (generate_testfile): Remove variable $in_func.  Update call to
62251         parse_args.
62252         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
62253         (MINUS_ZERO_INIT): Rename macro to minus_zero.
62254         (PLUS_INFTY_INIT): Rename macro to plus_infty.
62255         (MINUS_INFTY_INIT): Rename macro to minus_infty.
62256         (QNAN_VALUE_INIT): Rename macro to qnan_value.
62257         (MAX_VALUE_INIT): Rename macro to max_value.
62258         (MIN_VALUE_INIT): Rename macro to min_value.
62259         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
62260         (plus_zero): Remove variable.
62261         (minus_zero): Likewise.
62262         (plus_infty): Likewise.
62263         (minus_infty): Likewise.
62264         (qnan_value): Likewise.
62265         (max_value): Likewise.
62266         (min_value): Likewise.
62267         (min_subnorm_value): Likewise.
62269 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62271         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
62272         uint64_t or uint32_t usage.
62273         * crypt/sha256-block.c: Likewise.
62274         * crypt/sha256-crypt.c: Likewise.
62275         * crypt/sha256.c: Likewise.
62276         * crypt/sha512-block.c: Likewise.
62277         * crypt/sha512-crypt.c: Likewise.
62278         * crypt/sha512.c: Likewise.
62279         * debug/backtrace-tst.c: Likewise.
62280         * debug/pcprofiledump.c: Likewise.
62281         * elf/cache.c: Likewise.
62282         * elf/dl-cache.c: Likewise.
62283         * elf/dl-misc.c: Likewise.
62284         * elf/dl-profile.c: Likewise.
62285         * elf/dl-support.c: Likewise.
62286         * elf/ldconfig.c: Likewise.
62287         * elf/sprof.c: Likewise.
62288         * iconv/dummy-repertoire.c: Likewise.
62289         * iconv/iconv_charmap.c: Likewise.
62290         * iconv/skeleton.c: Likewise.
62291         * iconvdata/8bit-generic.c: Likewise.
62292         * iconvdata/cp737.h: Likewise.
62293         * iconvdata/cp775.h: Likewise.
62294         * iconvdata/ibm1008.h: Likewise.
62295         * iconvdata/ibm1025.h: Likewise.
62296         * iconvdata/ibm1046.h: Likewise.
62297         * iconvdata/ibm1097.h: Likewise.
62298         * iconvdata/ibm1112.h: Likewise.
62299         * iconvdata/ibm1122.h: Likewise.
62300         * iconvdata/ibm1123.h: Likewise.
62301         * iconvdata/ibm1124.h: Likewise.
62302         * iconvdata/ibm1129.h: Likewise.
62303         * iconvdata/ibm1130.h: Likewise.
62304         * iconvdata/ibm1132.h: Likewise.
62305         * iconvdata/ibm1133.h: Likewise.
62306         * iconvdata/ibm1137.h: Likewise.
62307         * iconvdata/ibm1140.h: Likewise.
62308         * iconvdata/ibm1141.h: Likewise.
62309         * iconvdata/ibm1142.h: Likewise.
62310         * iconvdata/ibm1143.h: Likewise.
62311         * iconvdata/ibm1144.h: Likewise.
62312         * iconvdata/ibm1145.h: Likewise.
62313         * iconvdata/ibm1146.h: Likewise.
62314         * iconvdata/ibm1147.h: Likewise.
62315         * iconvdata/ibm1148.h: Likewise.
62316         * iconvdata/ibm1149.h: Likewise.
62317         * iconvdata/ibm1153.h: Likewise.
62318         * iconvdata/ibm1154.h: Likewise.
62319         * iconvdata/ibm1155.h: Likewise.
62320         * iconvdata/ibm1156.h: Likewise.
62321         * iconvdata/ibm1157.h: Likewise.
62322         * iconvdata/ibm1158.h: Likewise.
62323         * iconvdata/ibm1160.h: Likewise.
62324         * iconvdata/ibm1161.h: Likewise.
62325         * iconvdata/ibm1162.h: Likewise.
62326         * iconvdata/ibm1163.h: Likewise.
62327         * iconvdata/ibm1164.h: Likewise.
62328         * iconvdata/ibm1166.h: Likewise.
62329         * iconvdata/ibm1167.h: Likewise.
62330         * iconvdata/ibm12712.h: Likewise.
62331         * iconvdata/ibm1390.h: Likewise.
62332         * iconvdata/ibm1399.h: Likewise.
62333         * iconvdata/ibm16804.h: Likewise.
62334         * iconvdata/ibm4517.h: Likewise.
62335         * iconvdata/ibm4899.h: Likewise.
62336         * iconvdata/ibm4909.h: Likewise.
62337         * iconvdata/ibm4971.h: Likewise.
62338         * iconvdata/ibm5347.h: Likewise.
62339         * iconvdata/ibm803.h: Likewise.
62340         * iconvdata/ibm856.h: Likewise.
62341         * iconvdata/ibm901.h: Likewise.
62342         * iconvdata/ibm902.h: Likewise.
62343         * iconvdata/ibm9030.h: Likewise.
62344         * iconvdata/ibm9066.h: Likewise.
62345         * iconvdata/ibm921.h: Likewise.
62346         * iconvdata/ibm922.h: Likewise.
62347         * iconvdata/ibm9448.h: Likewise.
62348         * iconvdata/isiri-3342.h: Likewise.
62349         * iconvdata/jis0201.h: Likewise.
62350         * include/link.h: Likewise.
62351         * include/netdb.h: Likewise.
62352         * inet/check_native.c: Likewise.
62353         * inet/check_pf.c: Likewise.
62354         * inet/getipv4sourcefilter.c: Likewise.
62355         * inet/getnameinfo.c: Likewise.
62356         * inet/getsourcefilter.c: Likewise.
62357         * inet/htonl.c: Likewise.
62358         * inet/setipv4sourcefilter.c: Likewise.
62359         * inet/setsourcefilter.c: Likewise.
62360         * inet/test-inet6_opt.c: Likewise.
62361         * inet/tst-network.c: Likewise.
62362         * locale/C-collate.c: Likewise.
62363         * locale/C-ctype.c: Likewise.
62364         * locale/C-time.c: Likewise.
62365         * locale/C-translit.h: Likewise.
62366         * locale/loadarchive.c: Likewise.
62367         * locale/programs/3level.h: Likewise.
62368         * locale/programs/charmap.c: Likewise.
62369         * locale/programs/charmap.h: Likewise.
62370         * locale/programs/ld-address.c: Likewise.
62371         * locale/programs/ld-collate.c: Likewise.
62372         * locale/programs/ld-ctype.c: Likewise.
62373         * locale/programs/ld-identification.c: Likewise.
62374         * locale/programs/ld-measurement.c: Likewise.
62375         * locale/programs/ld-messages.c: Likewise.
62376         * locale/programs/ld-monetary.c: Likewise.
62377         * locale/programs/ld-name.c: Likewise.
62378         * locale/programs/ld-numeric.c: Likewise.
62379         * locale/programs/ld-paper.c: Likewise.
62380         * locale/programs/ld-telephone.c: Likewise.
62381         * locale/programs/ld-time.c: Likewise.
62382         * locale/programs/linereader.c: Likewise.
62383         * locale/programs/locale.c: Likewise.
62384         * locale/programs/locarchive.c: Likewise.
62385         * locale/programs/locfile.h: Likewise.
62386         * locale/programs/repertoire.c: Likewise.
62387         * locale/programs/simple-hash.c: Likewise.
62388         * locale/programs/simple-hash.h: Likewise.
62389         * malloc/memusage.c: Likewise.
62390         * malloc/memusagestat.c: Likewise.
62391         * nis/nis_defaults.c: Likewise.
62392         * nis/nis_hash.c: Likewise.
62393         * nis/nis_print.c: Likewise.
62394         * nis/nis_xdr.c: Likewise.
62395         * nscd/connections.c: Likewise.
62396         * nscd/hstcache.c: Likewise.
62397         * nscd/nscd_gethst_r.c: Likewise.
62398         * nscd/nscd_getserv_r.c: Likewise.
62399         * nscd/nscd_helper.c: Likewise.
62400         * nscd/servicescache.c: Likewise.
62401         * nss/makedb.c: Likewise.
62402         * nss/nss_db/db-XXX.c: Likewise.
62403         * nss/nss_db/db-initgroups.c: Likewise.
62404         * nss/nss_db/db-netgrp.c: Likewise.
62405         * nss/nss_files/files-network.c: Likewise.
62406         * nss/nss_files/files-parse.c: Likewise.
62407         * posix/bug-regex5.c: Likewise.
62408         * posix/fnmatch_loop.c: Likewise.
62409         * posix/regcomp.c: Likewise.
62410         * posix/regexec.c: Likewise.
62411         * posix/tst-rfc3484-2.c: Likewise.
62412         * posix/tst-rfc3484-3.c: Likewise.
62413         * posix/tst-rfc3484.c: Likewise.
62414         * resolv/nss_dns/dns-canon.c: Likewise.
62415         * resolv/nss_dns/dns-network.c: Likewise.
62416         * resolv/res_init.c: Likewise.
62417         * resolv/res_mkquery.c: Likewise.
62418         * resolv/tst-aton.c: Likewise.
62419         * stdlib/cxa_atexit.c: Likewise.
62420         * stdlib/cxa_finalize.c: Likewise.
62421         * stdlib/gen-fpioconst.c: Likewise.
62422         * stdlib/strtol_l.c: Likewise.
62423         * string/tst-endian.c: Likewise.
62424         * sunrpc/auth_des.c: Likewise.
62425         * sunrpc/clnt_udp.c: Likewise.
62426         * sunrpc/rtime.c: Likewise.
62427         * sunrpc/svcauth_des.c: Likewise.
62428         * sunrpc/xdr.c: Likewise.
62429         * sunrpc/xdr_intXX_t.c: Likewise.
62430         * sunrpc/xdr_rec.c: Likewise.
62431         * sysdeps/generic/ldconfig.h: Likewise.
62432         * sysdeps/generic/ldsodefs.h: Likewise.
62433         * sysdeps/generic/memusage.h: Likewise.
62434         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62435         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
62436         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
62437         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62438         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62439         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62440         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62441         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62442         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62443         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62444         * sysdeps/posix/getaddrinfo.c: Likewise.
62445         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62446         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62447         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
62448         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62449         * sysdeps/powerpc/test-gettimebase.c: Likewise.
62450         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
62451         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
62452         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
62453         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
62454         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
62455         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
62456         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
62457         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
62458         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
62459         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
62460         * sysdeps/x86_64/dl-tls.h: Likewise.
62461         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
62462         * time/alt_digit.c: Likewise.
62463         * time/era.c: Likewise.
62464         * wcsmbs/tst-c16c32-1.c: Likewise.
62466 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62468         * math/libm-test.inc (struct test_sincos_data): New type.
62469         (RUN_TEST_LOOP_sincos): New macro.
62470         (sincos_test_data): New variable.
62471         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
62473 2013-05-16  Richard Henderson  <rth@redhat.com>
62475         * math/atest-exp2.c (LIMB64): New macro.
62476         (CONSTSZ): New macro.
62477         (mp_exp1, mp_exp_m1, mp_log2): New variables.
62478         (hexdig): Move ...
62479         (print_mpn_fp): ... to function scope.
62480         (read_mpn_hex): Remove.
62481         (get_log2): Remove.
62482         (exp2_mpn): Use mp_log2.
62483         (main): Use mp_exp1.
62485 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62487         * math/libm-test.inc: Remove comment about not testing "inexact"
62488         exceptions.
62489         (INEXACT_EXCEPTION): New macro.
62490         (NO_INEXACT_EXCEPTION): Likewise.
62491         (INVALID_EXCEPTION_OK): Update value.
62492         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62493         (OVERFLOW_EXCEPTION_OK): Likewise.
62494         (UNDERFLOW_EXCEPTION_OK): Likewise.
62495         (IGNORE_ZERO_INF_SIGN): Likewise.
62496         (ERRNO_UNCHANGED): Likewise.
62497         (ERRNO_EDOM): Likewise.
62498         (ERRNO_ERANGE): Likewise.
62499         (test_exceptions): Handle testing "inexact" exceptions.
62500         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
62501         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
62502         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
62503         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
62504         INEXACT_EXCEPTION.
62505         (rint_towardzero_test_data): Likewise.
62506         (rint_downward_test_data): Likewise.
62507         (rint_upward_test_data): Likewise.
62509         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
62510         with OVERFLOW_EXCEPTION.
62511         (exp10_test_data): Likewise.
62512         (exp2_test_data): Likewise.
62513         (expm1_test_data): Likewise.
62514         (lgamma_test_data): Likewise.
62515         (pow_test_data): Likewise.
62516         (tgamma_test_data): Likewise.
62517         (yn_test_data): Remove duplicate test of overflow.
62519         * math/libm-test.inc (struct test_cc_c_data): New type.
62520         (RUN_TEST_LOOP_cc_c): New macro.
62521         (cpow_test_data): New variable.
62522         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
62524         * math/libm-test.inc (struct test_f_L_data): New type.
62525         (RUN_TEST_LOOP_f_L): New macro.
62526         (llrint_test_data): New variable.
62527         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
62528         (llrint_tonearest_test_data): New variable.
62529         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
62530         (llrint_towardzero_test_data): New variable.
62531         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
62532         (llrint_downward_test_data): New variable.
62533         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
62534         (llrint_upward_test_data): New variable.
62535         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
62536         (llround_test_data): New variable.
62537         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
62539 2013-05-13  Peter Collingbourne  <pcc@google.com>
62541         * math/atest-exp2.c (get_log2): Remove const attribute.
62543 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
62545         * math/libm-test.inc (struct test_f_l_data): New type.
62546         (RUN_TEST_LOOP_f_l): New macro.
62547         (lrint_test_data): New variable.
62548         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
62549         (lrint_tonearest_test_data): New variable.
62550         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
62551         (lrint_towardzero_test_data): New variable.
62552         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
62553         (lrint_downward_test_data): New variable.
62554         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
62555         (lrint_upward_test_data): New variable.
62556         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
62557         (lround_test_data): New variable.
62558         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
62560 2013-05-15  Peter Collingbourne  <pcc@google.com>
62562         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
62563         (EXTRACT_WORDS64) Use where appropriate.
62564         (INSERT_WORDS64) Likewise.
62566         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
62567         constraints with x constraints.
62568         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
62570         * malloc/obstack.c (_obstack_compat): Add initializer.
62572 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
62574         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
62575         si_trapno and add si_addr_lsb to _sifields.sigfault.
62576         (si_trapno): Remove macro.
62577         (si_addr_lsb): Define new macro.
62578         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
62580 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
62582         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
62583         instead of TEST_f_l.
62584         (llrint_test_tonearest): Likewise.
62585         (llrint_test_towardzero): Likewise.
62586         (llrint_test_downward): Likewise.
62587         (llrint_test_upward): Likewise.
62588         (llround_test): Likewise.
62590         * math/libm-test.inc (struct test_f_i_data): Add comment.
62591         (RUN_TEST_LOOP_f_b): New macro.
62592         (RUN_TEST_LOOP_f_b_tg): Likewise.
62593         (finite_test_data): New variable.
62594         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
62595         (isfinite_test_data): New variable.
62596         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62597         (isinf_test_data): New variable.
62598         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62599         (isnan_test_data): New variable.
62600         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62601         (isnormal_test_data): New variable.
62602         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62603         (issignaling_test_data): New variable.
62604         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62605         (signbit_test_data): New variable.
62606         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62608         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
62609         with INVALID_EXCEPTION.
62610         (acosh_test_data): Likewise.
62611         (asin_test_data): Likewise.
62612         (atanh_test_data): Likewise.
62613         (fmod_test_data): Likewise.
62614         (log_test_data): Likewise.
62615         (log10_test_data): Likewise.
62616         (log2_test_data): Likewise.
62617         (pow_test_data): Likewise.
62618         (sqrt_test_data): Likewise.
62619         (y0_test_data): Likewise.
62620         (y1_test_data): Likewise.
62621         (yn_test_data): Likewise.
62623         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
62624         function contents.
62626         * math/libm-test.inc (struct test_ff_i_data): New type.
62627         (RUN_TEST_LOOP_ff_i_tg): New macro.
62628         (isgreater_test_data): New variable.
62629         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62630         (isgreaterequal_test_data): New variable.
62631         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62632         (isless_test_data): New variable.
62633         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62634         (islessequal_test_data): New variable.
62635         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62636         (islessgreater_test_data): New variable.
62637         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62638         (isunordered_test_data): New variable.
62639         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62641 2013-05-14  David S. Miller  <davem@davemloft.net>
62643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62645 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
62647         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
62649         * math/libm-test.inc (struct test_fF_f1_data): Change type of
62650         extra_test to int.
62651         (struct test_f_i_data): Change type of max_ulp to int.
62653         * math/libm-test.inc (test_ffI_f1_data): New type.
62654         (RUN_TEST_LOOP_ffI_f1): New macro.
62655         (remquo_test_data): New variable.
62656         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
62658         * setjmp/tst-setjmp-fp.c: New file.
62659         * setjmp/Makefile (tests): Add tst-setjmp-fp.
62660         (link-libm): New variable.
62661         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
62663         * math/libm-test.inc (struct test_f_i_data): New type.
62664         (RUN_TEST_LOOP_f_i): New macro.
62665         (RUN_TEST_LOOP_f_i_tg): Likewise.
62666         (fpclassify_test_data): New variable.
62667         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
62668         (ilogb_test_data): New variable.
62669         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
62671         * math/libm-test.inc (scalbln_test): Correct function name in END
62672         call.
62674         * math/libm-test.inc (struct test_f_f1_data): Add comment.
62675         (RUN_TEST_LOOP_fI_f1): New macro.
62676         (frexp_test_data): New variable.
62677         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
62679         * math/libm-test.inc (struct test_fF_f1_data): New type.
62680         (RUN_TEST_LOOP_fF_f1): New macro.
62681         (modf_test_data): New variable.
62682         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
62684         * math/libm-test.inc (struct test_f_f1_data): New type.
62685         (RUN_TEST_LOOP_f_f1): New macro.
62686         (gamma_test_data): New variable.
62687         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
62688         (lgamma_test_data): New variable.
62689         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
62691 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
62693         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
62694         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
62695         (main): Comment "tls" pseudo-hwcap.
62697 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
62699         * math/libm-test.inc (struct test_fl_f_data): New type.
62700         (RUN_TEST_LOOP_fl_f): New variable.
62701         (scalbln_test_data): New variable.
62702         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
62704         * math/libm-test.inc (struct test_fi_f_data): New type.
62705         (RUN_TEST_LOOP_fi_f): New macro.
62706         (ldexp_test_data): New variable.
62707         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
62708         (scalbn_test_data): New variable.
62709         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
62711         * math/libm-test.inc (struct test_c_f_data): New type.
62712         (RUN_TEST_LOOP_c_f): New macro.
62713         (cabs_test_data): New variable.
62714         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
62715         (carg_test_data): New variable.
62716         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
62717         (cimag_test_data): New variable.
62718         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
62719         (creal_test_data): New variable.
62720         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
62722         * math/libm-test.inc (struct test_if_f_data): New type.
62723         (RUN_TEST_LOOP_if_f): New macro.
62724         (jn_test_data): New variable.
62725         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
62726         (yn_test_data): New variable.
62727         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
62729         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
62731 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62733         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
62734         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
62736 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62738         * benchtests/Makefile (CPPFLAGS-nonlib): Add
62739         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
62740         (bench-deps): Add bench-timing.h.
62741         * benchtests-bench-skeleton.c: Include bench-timing.h.
62742         (main): Use TIMING_* macros instead of clock_gettime.
62743         * benchtests/bench-timing.h: New file.
62745         [BZ #14582]
62746         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
62747         Renamed from _LIB_VERSION.
62748         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
62750 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
62752         * math/libm-test.inc (struct test_fff_f_data): New type.
62753         (RUN_TEST_LOOP_fff_f): New macro.
62754         (fma_test_data): New variable.
62755         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
62756         (fma_towardzero_test_data): New variable.
62757         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
62758         (fma_downward_test_data): New variable.
62759         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
62760         (fma_upward_test_data): New variable.
62761         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
62763         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
62764         (struct test_c_c_data): New type.
62765         (RUN_TEST_LOOP_c_c): New macro.
62766         (cacos_test_data): New variable.
62767         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
62768         (cacosh_test_data): New variable.
62769         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
62770         (casin_test_data): New variable.
62771         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
62772         (casinh_test_data): New variable.
62773         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
62774         (catan_test_data): New variable.
62775         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
62776         (catanh_test_data): New variable.
62777         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
62778         (ccos_test_data): New variable.
62779         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
62780         (ccosh_test_data): New variable.
62781         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
62782         (cexp_test_data): New variable.
62783         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
62784         (clog_test_data): New variable.
62785         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
62786         (clog10_test_data): New variable.
62787         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
62788         (conj_test_data): New variable.
62789         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
62790         (cproj_test_data): New variable.
62791         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
62792         (csin_test_data): New variable.
62793         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
62794         (csinh_test_data): New variable.
62795         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
62796         (csqrt_test_data): New variable.
62797         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
62798         (ctan_test_data): New variable.
62799         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
62800         (ctan_tonearest_test_data): New variable.
62801         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
62802         (ctan_towardzero_test_data): New variable.
62803         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
62804         (ctan_downward_test_data): New variable.
62805         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
62806         (ctan_upward_test_data): New variable.
62807         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
62808         (ctanh_test_data): New variable.
62809         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
62810         (ctanh_tonearest_test_data): New variable.
62811         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
62812         (ctanh_towardzero_test_data): New variable.
62813         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
62814         (ctanh_downward_test_data): New variable.
62815         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
62816         (ctanh_upward_test_data): New variable.
62817         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
62818         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
62819         of BUILD_COMPLEX.
62821         * math/libm-test.inc (struct test_ff_f_data): New type.
62822         (struct test_ff_f_data_nexttoward): Likewise.
62823         (RUN_TEST_LOOP_2_f): New macro.
62824         (RUN_TEST_LOOP_ff_f): Likewise.
62825         (atan2_test_data): New variable.
62826         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
62827         (copysign_test_data): New variable.
62828         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
62829         (fdim_test_data): New variable.
62830         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
62831         (fmax_test_data): New variable.
62832         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
62833         (fmin_test_data): New variable.
62834         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
62835         (fmod_test_data): New variable.
62836         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
62837         (hypot_test_data): New variable.
62838         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
62839         (nextafter_test_data): New variable.
62840         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
62841         (nexttoward_test_data): New variable.
62842         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
62843         (pow_test_data): New variable.
62844         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
62845         (pow_tonearest_test_data): New variable.
62846         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
62847         (pow_towardzero_test_data): New variable.
62848         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
62849         (pow_downward_test_data): New variable.
62850         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
62851         (pow_upward_test_data): New variable.
62852         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
62853         (remainder_test_data): New variable.
62854         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
62855         (scalb_test_data): New variable.
62856         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
62857         * sysdeps/i386/fpu/libm-test-ulps: Update.
62859 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
62861         * math/libm-test.inc (fma_test): Use max_value instead of local
62862         variable fltmax.
62863         (nextafter_test): Likewise.
62865         * math/libm-test.inc (acos_towardzero_test_data): New variable.
62866         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62867         (acos_downward_test_data): New variable.
62868         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62869         (acos_upward_test_data): New variable.
62870         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62871         (acosh_test_data): New variable.
62872         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
62873         (asin_test_data): New variable.
62874         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
62875         (asin_tonearest_test_data): New variable.
62876         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62877         (asin_towardzero_test_data): New variable.
62878         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62879         (asin_downward_test_data): New variable.
62880         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62881         (asin_upward_test_data): New variable.
62882         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62883         (asinh_test_data): New variable.
62884         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
62885         (atan_test_data): New variable.
62886         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
62887         (atanh_test_data): New variable.
62888         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
62889         (cbrt_test_data): New variable.
62890         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
62891         (ceil_test_data): New variable.
62892         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
62893         (cos_test_data): New variable.
62894         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
62895         (cos_tonearest_test_data): New variable.
62896         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62897         (cos_towardzero_test_data): New variable.
62898         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62899         (cos_downward_test_data): New variable.
62900         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62901         (cos_upward_test_data): New variable.
62902         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62903         (cosh_test_data): New variable.
62904         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
62905         (cosh_tonearest_test_data): New variable.
62906         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62907         (cosh_towardzero_test_data): New variable.
62908         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62909         (cosh_downward_test_data): New variable.
62910         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62911         (cosh_upward_test_data): New variable.
62912         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62913         (erf_test_data): New variable.
62914         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
62915         (erfc_test_data): New variable.
62916         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
62917         (exp_test_data): New variable.
62918         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
62919         (exp_tonearest_test_data): New variable.
62920         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62921         (exp_towardzero_test_data): New variable.
62922         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62923         (exp_downward_test_data): New variable.
62924         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62925         (exp_upward_test_data): New variable.
62926         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62927         (exp10_test_data): New variable.
62928         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
62929         (exp2_test_data): New variable.
62930         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
62931         (expm1_test_data): New variable.
62932         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
62933         (fabs_test_data): New variable.
62934         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
62935         (floor_test_data): New variable.
62936         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
62937         (j0_test_data): New variable.
62938         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
62939         (j1_test_data): New variable.
62940         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
62941         (log_test_data): New variable.
62942         (log_test): Run tests with RUN_TEST_LOOP_f_f.
62943         (log10_test_data): New variable.
62944         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
62945         (log1p_test_data): New variable.
62946         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
62947         (log2_test_data): New variable.
62948         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
62949         (logb_test_data): New variable.
62950         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
62951         (logb_downward_test_data): New variable.
62952         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62953         (nearbyint_test_data): New variable.
62954         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
62955         (rint_test_data): New variable.
62956         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
62957         (rint_tonearest_test_data): New variable.
62958         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62959         (rint_towardzero_test_data): New variable.
62960         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62961         (rint_downward_test_data): New variable.
62962         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62963         (rint_upward_test_data): New variable.
62964         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62965         (round_test_data): New variable.
62966         (round_test): Run tests with RUN_TEST_LOOP_f_f.
62967         (sin_test_data): New variable.
62968         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
62969         (sin_tonearest_test_data): New variable.
62970         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62971         (sin_towardzero_test_data): New variable.
62972         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62973         (sin_downward_test_data): New variable.
62974         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62975         (sin_upward_test_data): New variable.
62976         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62977         (sinh_test_data): New variable.
62978         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
62979         (sinh_tonearest_test_data): New variable.
62980         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62981         (sinh_towardzero_test_data): New variable.
62982         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62983         (sinh_downward_test_data): New variable.
62984         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62985         (sinh_upward_test_data): New variable.
62986         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62987         (sqrt_test_data): New variable.
62988         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
62989         (tan_test_data): New variable.
62990         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
62991         (tan_tonearest_test_data): New variable.
62992         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62993         (tan_towardzero_test_data): New variable.
62994         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62995         (tan_downward_test_data): New variable.
62996         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62997         (tan_upward_test_data): New variable.
62998         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62999         (tanh_test_data): New variable.
63000         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
63001         (tgamma_test_data): New variable.
63002         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
63003         (trunc_test_data): New variable.
63004         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
63005         (y0_test_data): New variable.
63006         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
63007         (y1_test_data): New variable.
63008         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
63009         (significand_test_data): New variable.
63010         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
63012 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
63014         [BZ #12387]
63015         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
63017 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63019         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
63021 2013-05-10  Andreas Jaeger  <aj@suse.de>
63023         [BZ #15448]
63024         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
63025         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
63027 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
63029         * math/gen-libm-test.pl (adjust_arg): New function.
63030         (special_functions): Handle generating output in both functions
63031         and arrays.
63032         (parse_args): Likewise.
63033         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
63034         $in_func argument to parse_args.
63035         * math/libm-test.inc (struct test_f_f_data): New type.
63036         (IF_ROUND_INIT_): New macro.
63037         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
63038         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63039         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63040         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63041         (ROUND_RESTORE_): Likewise.
63042         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
63043         (ROUND_RESTORE_FE_TONEAREST): Likewise.
63044         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
63045         (ROUND_RESTORE_FE_UPWARD): Likewise.
63046         (RUN_TEST_LOOP_f_f): New macro.
63047         (acos_test_data): New variable.
63048         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
63049         (acos_tonearest_test_data): New variable.
63050         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63052 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63054         * benchtests/bench-skeleton.c (startup): Fix coding style.
63056 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
63058         [BZ #6809]
63059         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
63060         negative infinity argument.
63061         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
63062         negative infinity argument.
63063         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
63064         negative infinity argument.
63065         * math/libm-test.inc (tgamma_test): Expect errno to be set for
63066         domain errors.
63068 2013-05-10  Florian Weimer  <fweimer@redhat.com>
63070         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
63071         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
63072         * iconv/iconv_prog.c (main): Likewise.
63073         * locale/programs/charmap-dir.c (charmap_readdir)
63074         (fopen_uncompressed): Likewise.
63075         * locale/programs/locfile.c (siblings_uncached)
63076         (write_locale_data): Use lstat64 instead of lstat.
63077         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
63078         stat.
63080 2013-05-10  Andreas Jaeger  <aj@suse.de>
63082         [BZ #15395]
63083         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
63084         localization.
63085         Include <locale.h>.
63087 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
63089         * elf/dl-close.c (_dl_close_worker): Add comments.
63091 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
63093         [BZ #15359]
63094         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
63095         high part of pi/2.
63096         (__ieee754_rem_pio2l): Update comments.
63098         [BZ #15429]
63099         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
63100         high part of pi/2.
63101         (__ieee754_rem_pio2l): Update comments.
63103         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
63104         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
63106         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
63107         M_PI_4l.
63109         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
63110         (M_PI_34_LOG10El): Likewise.
63111         (M_PI2_LOG10El): Likewise.
63112         (M_PI4_LOG10El): Likewise.
63113         (M_PI_LOG10El): Likewise.
63115 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63119 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
63121         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
63122         (MINUS_ZERO_INIT): Likewise.
63123         (PLUS_INFTY_INIT): Likewise.
63124         (MINUS_INFTY_INIT): Likewise.
63125         (QNAN_VALUE_INIT): Likewise.
63126         (MAX_VALUE_INIT): Likewise.
63127         (MIN_VALUE_INIT): Likewise.
63128         (MIN_SUBNORM_VALUE_INIT): Likewise.
63129         (plus_zero): Initialize with PLUS_ZERO_INIT.
63130         (minus_zero): Initialize with MINUS_ZERO_INIT.
63131         (plus_infty): Initialize with PLUS_INFTY_INIT.
63132         (minus_infty): Initialize with MINUS_INFTY_INIT.
63133         (qnan_value): Initialize with QNAN_VALUE_INIT.
63134         (max_value): Initialize with MAX_VALUE_INIT.
63135         (min_value): Initialize with MIN_VALUE_INIT.
63136         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
63138         * math/libm-test.inc (RUN_TEST_if_f): New macro.
63139         (jn_test): Use TEST_if_f instead of TEST_ff_f.
63140         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
63141         (yn_test): Use TEST_if_f instead of TEST_ff_f.
63143         * math/libm-test.inc (RUN_TEST_f_f): New macro.
63144         (RUN_TEST_2_f): Likewise.
63145         (RUN_TEST_ff_f): Likewise.
63146         (RUN_TEST_fi_f): Likewise.
63147         (RUN_TEST_fl_f): Likewise.
63148         (RUN_TEST_fff_f): Likewise.
63149         (RUN_TEST_c_f): Likewise.
63150         (RUN_TEST_f_f1): Likewise.
63151         (RUN_TEST_fF_f1): Likewise.
63152         (RUN_TEST_fI_f1): Likewise.
63153         (RUN_TEST_ffI_f1): Likewise.
63154         (RUN_TEST_c_c): Likewise.
63155         (RUN_TEST_cc_c): Likewise.
63156         (RUN_TEST_f_i): Likewise.
63157         (RUN_TEST_f_i_tg): Likewise.
63158         (RUN_TEST_ff_i_tg): Likewise.
63159         (RUN_TEST_f_b): Likewise.
63160         (RUN_TEST_f_b_tg): Likewise.
63161         (RUN_TEST_f_l): Likewise.
63162         (RUN_TEST_f_L): Likewise.
63163         (RUN_TEST_sincos): Likewise.
63164         * math/gen-libm-test.pl (new_test): Take new argument to indicate
63165         whether to show exceptions.  Do not include ");\n" in return
63166         value.
63167         (special_functions): Output call to RUN_TEST_sincos instead of
63168         check_float calls.  Update calls to new_test.
63169         (parse_args): Output call to single RUN_TEST_* macro instead of
63170         check_* calls and other assignments.  Update calls to new_test.
63172         [BZ #2546]
63173         [BZ #2560]
63174         [BZ #5159]
63175         [BZ #15426]
63176         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
63177         input to result for tgamma overflow.
63178         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
63179         (gamma_coeff): New variable.
63180         (NCOEFF): New macro.
63181         (gamma_positive): New function.
63182         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
63183         underflow here.  Use gamma_positive instead of exp (lgamma) for
63184         other arguments.
63185         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
63186         (gamma_coeff): New variable.
63187         (NCOEFF): New macro.
63188         (gammaf_positive): New function.
63189         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
63190         underflow here.  Use gamma_positive instead of exp (lgamma) for
63191         other arguments.
63192         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
63193         (gamma_coeff): New variable.
63194         (NCOEFF): New macro.
63195         (gammal_positive): New function.
63196         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
63197         underflow here.  Use gamma_positive instead of exp (lgamma) for
63198         other arguments.
63199         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
63200         (gamma_coeff): New variable.
63201         (NCOEFF): New macro.
63202         (gammal_positive): New function.
63203         (__ieee754_gammal_r): Handle positive infinity, overflow and
63204         underflow here.  Handle NaN the same as positive infinity.  Remove
63205         check x < 0xffffffff for negative integers.  Use gamma_positive
63206         instead of exp (lgamma) for other arguments.
63207         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
63208         (gamma_coeff): New variable.
63209         (NCOEFF): New macro.
63210         (gammal_positive): New function.
63211         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
63212         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
63213         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
63214         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
63215         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
63216         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
63217         * sysdeps/generic/math_private.h (__gamma_productf): New
63218         prototype.
63219         (__gamma_product): Likewise.
63220         (__gamma_productl): Likewise.
63221         * math/Makefile (libm-calls): Add gamma_product.
63222         * math/libm-test.inc (tgamma_test): Add more tests.
63223         * sysdeps/i386/fpu/libm-test-ulps: Update.
63224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63226 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
63228         * benchtests/bench-skeleton.c (main): Preheat CPU.
63230 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
63232         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
63234 2013-05-07  Roland McGrath  <roland@hack.frob.com>
63236         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
63237         and _dl_skip_args_internal.
63239 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
63241         * manual/message.texi (Message Translation): Talk about users.
63242         Message to key mapping impacts design.
63244 2013-05-06  Roland McGrath  <roland@hack.frob.com>
63246         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
63248         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
63250         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
63251         * sysdeps/wordsize-64/glob64.c: ... here.
63253         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
63254         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
63255         New macros.
63257         * debug/getlogin_r_chk.c: Moved to ...
63258         * login/getlogin_r_chk.c: ... here.
63259         * debug/Makefile (routines): Move getlogin_r_chk to ...
63260         * login/Makefile (routines): ... here.
63261         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
63262         * login/Versions (libc: GLIBC_2.4): ... here.
63264         * io/poll.c (__poll): Renamed from poll.
63265         Add libc_hidden_def.
63266         (poll): Define as weak alias.
63268         * debug/ptsname_r_chk.c: Moved to ...
63269         * login/ptsname_r_chk.c: ... here.
63270         * debug/Makefile (routines): Move ptsname_r_chk to ...
63271         * login/Makefile (routines): ... here.
63272         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
63273         * login/Versions (libc: GLIBC_2.4): ... here.
63275         * posix/getlogin.c: Moved to ...
63276         * login/getlogin.c: ... here.
63277         * posix/getlogin_r.c: Moved to ...
63278         * login/getlogin_r.c: ... here.
63279         * posix/getlogin_r.c: Moved to ...
63280         * login/getlogin_r.c: ... here.
63281         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
63282         * login/Makefile (routines): ... here.
63283         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
63284         * login/Versions (libc: GLIBC_2.0): ... here.
63286         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
63287         (setrlimit): Define as weak alias.
63289         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
63290         Call __ names for open, ftruncate, and close.
63291         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
63292         (truncate): Define as weak alias.
63294 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
63296         * math/gen-libm-test.pl (parse_args): Initialize x before each
63297         test of frexp, modf and remquo.
63299         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
63300         test signgam value.
63302 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63304         [BZ #15418]
63305         [BZ #15419]
63306         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
63307         internal tests.
63308         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63310 2013-05-06  Roland McGrath  <roland@hack.frob.com>
63312         * elf/dl-writev.h: New file.
63313         * elf/dl-misc.c: Include it.
63314         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
63315         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
63317 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
63319         * math/libm-test.inc (noXFails): Remove variable.
63320         (noXPasses): Likewise.
63321         (BUILD_COMPLEX_INT): Remove macro.
63322         (print_screen): Remove xfail argument.
63323         (print_screen_max_error): Likewise.
63324         (update_stats): Likewise.
63325         (print_max_error): Likewise.  Update calls to other affected
63326         functions.
63327         (print_complex_max_error): Likewise.
63328         (test_single_exception): Update calls to print_screen.
63329         (test_single_errno): Likewise.
63330         (check_float_internal): Remove xfail argument.  Update calls to
63331         other affected functions.
63332         (check_float): Likewise.
63333         (check_complex): Likewise.
63334         (check_int): Likewise.
63335         (check_long): Likewise.
63336         (check_bool): Likewise.
63337         (check_longlong): Likewise.
63338         (main): Don't print noXFails and noXPasses.
63339         * math/gen-libm-test.pl (top level): Don't mention expected
63340         failure handling in comment.
63341         (new_test): Don't handle expected failures.
63342         (parse_args): Don't mention expected failure handling in comment.
63343         (generate_testfile): Don't handle expected failures.
63344         (parse_ulps): Likewise.
63345         (print_ulps_file): Likewise.
63346         (get_failure): Remove function.
63347         (output_test): Don't handle expected failures.
63348         * make/README.libm-test: Don't mention expected failure handling.
63350         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
63351         (minus_zero): Likewise.
63352         (plus_infty): Likewise.
63353         (minus_infty): Likewise.
63354         (qnan_value): Likewise.
63355         (max_value): Likewise.
63356         (min_value): Likewise.
63357         (min_subnorm_value): Likewise.
63358         (initialize): Do not initialize those variables dynamically.
63360 2013-05-03  Roland McGrath  <roland@hack.frob.com>
63362         * io/open.c (__open_2): Moved to ...
63363         * io/open_2.c: ... this new file.
63364         * io/open64.c (__open64_2): Moved to ...
63365         * io/open64_2.c: ... this new file.
63366         * io/openat.c (__openat_2): Moved to ...
63367         * io/openat_2.c: ... this new file.
63368         * io/openat64.c (__openat64_2): Moved to ...
63369         * io/openat64_2.c: ... this new file.
63370         * io/Makefile (routines): Add them.
63371         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
63372         * sysdeps/unix/sysv/linux/open_2.c: File removed.
63373         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
63374         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
63375         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
63376         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
63377         (__openat64): Add hidden_ver.
63378         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
63379         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
63381         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
63382         Separately conditionalize setting of GLRO(dl_sysinfo) so
63383         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
63384         as well, but the actual setting is only under [NEED_DL_SYSINFO].
63386 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63388         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
63389         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
63390         definition.
63391         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
63392         * sysdeps/unix/sysv/linux/powerpc/init-first.c
63393         (_libc_vdso_platform_setup): Add __vdso_time initialization.
63394         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
63395         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
63397 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
63399         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
63400         test signgam value.
63402         * math/libm-test.inc (hypot_test): Do not use
63403         IGNORE_ZERO_INF_SIGN.
63405 2013-05-03  Andreas Jaeger  <aj@suse.de>
63407         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
63408         Linux 3.9.
63409         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
63410         (PF_MAX): Adjust for VSOCK change.
63412 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63416 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
63418         [BZ #15264]
63419         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
63420         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
63421         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
63423 2013-05-02  David S. Miller  <davem@davemloft.net>
63425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63427 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
63429         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
63431 2013-05-01  Roland McGrath  <roland@hack.frob.com>
63433         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
63435 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
63437         [BZ #14952]
63438         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
63439         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
63440         Use __attribute__ ((__gnu_inline__)).
63441         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
63442         Don't use __attribute__ ((__gnu_inline__)).
63444 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
63446         [BZ #15423]
63447         * math/s_catan.c (__catan): Handle small real or imaginary part of
63448         input specially to avoid spurious underflow.
63449         * math/s_catanf.c (__catanf): Likewise.
63450         * math/s_catanh.c (__catanh): Likewise.
63451         * math/s_catanhf.c (__catanhf): Likewise.
63452         * math/s_catanhl.c (__catanhl): Likewise.
63453         * math/s_catanl.c (__catanl): Likewise.
63454         * math/libm-test.inc (catan_test): Add more tests.
63455         (catanh_test): Likewise.
63456         * sysdeps/i386/fpu/libm-test-ulps: Update.
63457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63459 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63463 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
63465         [BZ #15416]
63466         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
63467         accurately for denominator in atan2.
63468         * math/s_catanf.c (__catanf): Likewise.
63469         * math/s_catanh.c (__catanh): Likewise.
63470         * math/s_catanhf.c (__catanhf): Likewise.
63471         * math/s_catanhl.c (__catanhl): Likewise.
63472         * math/s_catanl.c (__catanl): Likewise.
63473         * math/libm-test.inc (catan_test): Add more tests.
63474         (catanh_test): Likewise.
63475         * sysdeps/i386/fpu/libm-test-ulps: Update.
63476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63478 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63480         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
63482         * benchtests/Makefile (bench): Remove slow benchmarks.
63483         * benchtests/atan-inputs: Add slow benchmark inputs.
63484         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
63485         (BENCH_FUNC): Accept variant offset.
63486         (VARIANT): Define.
63487         * benchtests/bench-skeleton.c (main): Run benchmark for each
63488         variant.
63489         * benchtests/cos-inputs: Add slow benchmark inputs.
63490         * benchtests/exp-inputs: Likewise.
63491         * benchtests/pow-inputs: Likewise.
63492         * benchtests/sin-inputs: Likewise.
63493         * benchtests/slowatan-inputs: Remove.
63494         * benchtests/slowatan.c: Remove.
63495         * benchtests/slowcos-inputs: Remove.
63496         * benchtests/slowcos.c: Remove.
63497         * benchtests/slowexp-inputs: Remove.
63498         * benchtests/slowexp.c: Remove.
63499         * benchtests/slowpow-inputs: Remove.
63500         * benchtests/slowpow.c: Remove.
63501         * benchtests/slowsin-inputs: Remove.
63502         * benchtests/slowsin.c: Remove.
63503         * benchtests/slowtan-inputs: Remove.
63504         * benchtests/slowtan.c: Remove.
63505         * benchtests/tan-inputs: Add slow benchmark inputs.
63506         * scripts/bench.pl: Parse comments and directives.
63508         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
63509         in CPPFLAGS.
63510         ($(objpfx)bench-%.c): Remove *-ITER.
63511         * benchtests/bench-modf.c: Remove definition of ITER.
63512         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
63513         (main): Loop for DURATION seconds instead of fixed number of
63514         iterations.
63515         * scripts/bench.pl: Don't expect iterations in parameters.
63517 2013-04-29  Roland McGrath  <roland@hack.frob.com>
63519         * io/fchdir.c (__fchdir): Renamed from fchdir.
63520         (fchdir): Define as weak alias.
63522 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
63524         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
63525         (ERRNO_EDOM): Likewise.
63526         (ERRNO_ERANGE): Likewise.
63527         (noErrnoTests): New variable.
63528         (init_max_error): Set errno to 0.
63529         (test_single_errno): New function.
63530         (test_errno): Likewise.
63531         (check_float_internal): Call test_errno.  Set errno to 0.
63532         (check_complex): Refer to errno tests in comment.
63533         (check_int): Call test_errno.  Set errno to 0.
63534         (check_long): Likewise.
63535         (check_bool): Likewise.
63536         (check_longlong): Likewise.
63537         (cos_test): Use ERRNO_* flags for errno tests instead of
63538         check_int.
63539         (expm1_test): Likewise.
63540         (fmod_test): Likewise.
63541         (ilogb_test): Likewise.
63542         (lgamma_test): Likewise.
63543         (pow_test): Likewise.
63544         (remainder_test): Likewise.
63545         (sin_test): Likewise.
63546         (tan_test): Likewise.
63547         (yn_test): Likewise.
63548         (initialize): Set errno to 0.
63549         (main): Print number of errno tests.
63550         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
63552 2013-04-29  Andreas Jaeger  <aj@suse.de>
63554         [BZ #15084]
63555         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
63556         and RES_USEVC.
63558         [BZ #15085]
63559         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
63560         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
63561         unimplemented.
63563         [BZ #15380]
63564         * stdlib/random.c (__initstate): Return NULL if
63565         __initstate fails.
63567         [BZ #15086]
63568         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
63569         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
63570         RES_SNGLKUPREOP.
63572 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63576 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
63578         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
63579         of individual tests.
63580         (casin_test): Likewise.
63581         (casinh_test): Likewise.
63583 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
63585         [BZ #15409]
63586         * math/s_catan.c (__catan): Handle arguments with large real or
63587         imaginary part separately without squaring.
63588         * math/s_catanf.c (__catanf): Likewise.
63589         * math/s_catanh.c (__catanh): Likewise.
63590         * math/s_catanhf.c (__catanhf): Likewise.
63591         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
63592         and redefine.
63593         (__catanhl): Handle arguments with large real or imaginary part
63594         separately without squaring.
63595         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
63596         and redefine.
63597         (__catanl): Handle arguments with large real or imaginary part
63598         separately without squaring.
63599         * math/libm-test.inc (catan_test): Add more tests.
63600         (catanh_test): Likewise.
63601         * sysdeps/i386/fpu/libm-test-ulps: Update.
63602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63604 2013-04-27  Andreas Jaeger  <aj@suse.de>
63606         [BZ #15007]
63607         * stdlib/stdlib.h: Update guards for qecvt.
63608         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
63609         <stdlib.h>.
63611 2013-04-27  Allan McRae  <allan@archlinux.org>
63613         * sysdeps/i386/fpu/libm-test-ulps: Update.
63615 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
63617         [BZ #15406]
63618         * math/s_catan.c: Include <float.h>.
63619         (__catan): Ensure underflow exception occurs for underflowed
63620         result.
63621         * math/s_catanf.c: Include <float.h>.
63622         (__catanf): Ensure underflow exception occurs for underflowed
63623         result.
63624         * math/s_catanh.c: Include <float.h>.
63625         (__catanh): Ensure underflow exception occurs for underflowed
63626         result.
63627         * math/s_catanhf.c: Include <float.h>.
63628         (__catanhf): Ensure underflow exception occurs for underflowed
63629         result.
63630         * math/s_catanhl.c: Include <float.h>.
63631         (__catanhl): Ensure underflow exception occurs for underflowed
63632         result.
63633         * math/s_catanl.c: Include <float.h>.
63634         (__catanl): Ensure underflow exception occurs for underflowed
63635         result.
63636         * math/libm-test.inc (catan_test): Add more tests.
63637         (catanh_test): Likewise.
63639         [BZ #15405]
63640         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
63641         underflowed result.
63642         * math/s_ccoshf.c (__ccoshf): Likewise.
63643         * math/s_ccoshl.c (__ccoshl): Likewise.
63644         * math/s_csin.c (__csin): Likewise.
63645         * math/s_csinf.c (__csinf): Likewise.
63646         * math/s_csinh.c (__csinh): Likewise.
63647         * math/s_csinhf.c (__csinhf): Likewise.
63648         * math/s_csinhl.c (__csinhl): Likewise.
63649         * math/s_csinl.c (__csinl): Likewise.
63650         * math/libm-test.inc (ccos_test): Add more tests.
63651         (ccosh_test): Likewise.
63652         (csin_test): Likewise.
63653         (csinh_test): Likewise.
63655 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63657         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
63658         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
63659         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
63660         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
63661         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
63662         powerpc/power5+/fpu folders.
63663         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
63666 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63668         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63670 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
63672         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
63673         additions to variable.
63674         [$(config-machine) = x86_64] (modules-names): Likewise.
63675         ($(objpfx)tst-audit3): Remove dependency.
63676         ($(objpfx)tst-audit3.out): Likewise.
63677         ($(objpfx)tst-audit4): Likewise.
63678         ($(objpfx)tst-audit4.out): Likewise.
63679         ($(objpfx)tst-audit5): Likewise.
63680         ($(objpfx)tst-audit5.out): Likewise.
63681         ($(objpfx)tst-audit6): Likewise.
63682         ($(objpfx)tst-audit6.out): Likewise.
63683         ($(objpfx)tst-audit7): Likewise.
63684         ($(objpfx)tst-audit7.out): Likewise.
63685         (tst-audit3-ENV): Remove variable.
63686         (tst-audit4-ENV): Likewise.
63687         (tst-audit5-ENV): Likewise.
63688         (tst-audit6-ENV): Likewise.
63689         (tst-audit7-ENV): Likewise.
63690         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
63691         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
63692         addition to variable.
63693         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
63694         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
63695         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
63696         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
63697         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
63698         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
63699         tst-audit3, tst-audit4 and tst-audit5.
63700         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
63701         tst-audit6 and tst-audit7.
63702         [$(subdir) = elf] (modules-names): Add audit modules for those
63703         tests.
63704         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
63705         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
63706         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
63707         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
63708         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
63709         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
63710         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
63711         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
63712         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
63713         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
63714         [$(subdir) = elf] (tst-audit3-ENV): New variable.
63715         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
63716         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
63717         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
63718         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
63719         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
63720         Likewise.
63721         [$(subdir) = elf && $(config-cflags-avx) = yes]
63722         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
63723         [$(subdir) = elf && $(config-cflags-avx) = yes]
63724         (CFLAGS-tst-auditmod4a.c): Likewise.
63725         [$(subdir) = elf && $(config-cflags-avx) = yes]
63726         (CFLAGS-tst-auditmod4b.c): Likewise.
63727         [$(subdir) = elf && $(config-cflags-avx) = yes]
63728         (CFLAGS-tst-auditmod6b.c): Likewise.
63729         [$(subdir) = elf && $(config-cflags-avx) = yes]
63730         (CFLAGS-tst-auditmod6c.c): Likewise.
63731         [$(subdir) = elf && $(config-cflags-avx) = yes]
63732         (CFLAGS-tst-auditmod7b.c): Likewise.
63733         * elf/tst-audit3.c: Move to ...
63734         * sysdeps/x86_64/tst-audit3.c: ... here.
63735         * elf/tst-audit4.c: Move to ...
63736         * sysdeps/x86_64/tst-audit4.c: ... here.
63737         * elf/tst-audit5.c: Move to ...
63738         * sysdeps/x86_64/tst-audit5.c: ... here.
63739         * elf/tst-audit6.c: Move to ...
63740         * sysdeps/x86_64/tst-audit6.c: ... here.
63741         * elf/tst-audit7.c: Move to ...
63742         * sysdeps/x86_64/tst-audit7.c: ... here.
63743         * elf/tst-auditmod3a.c: Move to ...
63744         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
63745         * elf/tst-auditmod3b.c: Move to ...
63746         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
63747         * elf/tst-auditmod4a.c: Move to ...
63748         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
63749         * elf/tst-auditmod4b.c: Move to ...
63750         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
63751         * elf/tst-auditmod5a.c: Move to ...
63752         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
63753         * elf/tst-auditmod5b.c: Move to ...
63754         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
63755         * elf/tst-auditmod6a.c: Move to ...
63756         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
63757         * elf/tst-auditmod6b.c: Move to ...
63758         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
63759         * elf/tst-auditmod6c.c: Move to ...
63760         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
63761         * elf/tst-auditmod7a.c: Move to ...
63762         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
63763         * elf/tst-auditmod7b.c: Move to ...
63764         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
63766 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
63768         [BZ #15366]
63769         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
63770         define unconditionally.
63771         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
63772         define unconditionally.
63773         (INT8_C, INT16_C, etc.): Likewise.
63775 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
63777         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
63778         __ehdr_start with hidden visibility.
63780         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
63782 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
63784         * math/libm-test.inc (cos_test): Use accurate hex constants.
63785         (sincost_test): Likewise.
63787 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
63789         * math/libm-test.inc (catan_test): Add more tests.
63790         (catanh_test): Likewise.
63792         * math/s_catanf.c (__catanf): Use suffixed floating-point
63793         constants.
63794         * math/s_catanhf.c (__catanhf): Likewise.
63795         * math/s_catanhl.c (__catanhl): Likewise.
63796         * math/s_catanl.c (__catanl): Likewise.
63798         [BZ #15394]
63799         * math/s_catan.c (__catan): Calculate imaginary part of result
63800         with log1p not log unless computing log of number close to 0.
63801         * math/s_catanf.c (__catanf): Likewise.
63802         * math/s_catanl.c (__catanl): Likewise.
63803         * math/s_catanh.c (__catanh): Calculate real part of result with
63804         log1p not log unless computing log of number close to 0.
63805         * math/s_catanhf.c (__catanhf): Likewise.
63806         * math/s_catanhl.c (__catanhl): Likewise.
63807         * math/libm-test.inc (catan_test): Add more tests.
63808         (catanh_test): Likewise.
63809         * sysdeps/i386/fpu/libm-test-ulps: Update.
63810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63812 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63814         * benchtests/Makefile: Mention files in which fast and slow
63815         paths of math functions are implemented.
63817 2013-04-23  Roland McGrath  <roland@hack.frob.com>
63819         * sysdeps/posix/timespec_get.c: New file.
63821 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63823         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
63824         POWER.
63825         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
63826         for POWER.
63827         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
63828         powerpc/power5/fpu folders.
63829         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
63830         * benchtests/Makefile: Add modf testcase.
63831         * benchtests/bench-modf.c: New file: Benchmark test for mo
63833 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63835         [BZ #14888]
63836         * time/Makefile (tests): Add tst-strptime-whitespace.
63837         * time/strptime_l.c (get_number): Use ISSPACE.
63838         (__strptime_internal): Likewise.
63839         * time/tst-strptime-whitespace.c: New test case.
63841 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
63843         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
63844         member.
63845         (_nss_files_init): Set it here.
63847 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
63849         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
63850         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
63851         unsigned.
63853 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
63855         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
63857 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63859         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
63860         size just once.
63862 2013-04-21  David S. Miller  <davem@davemloft.net>
63864         * po/ru.po: Update Russion translation from translation project.
63866 2013-04-17  Adam Conrad  <adconrad@0c3.net>
63868         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
63869         and setfsgid.
63871 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
63873         * configure.in: Remove i386 configure warning. Remove i386 case.
63874         * configure: Regenerate.
63875         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
63876         Add example to error message.
63877         * sysdeps/i386/configure: Regenerate.
63879 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63881         * benchtests/Makefile (bench): Add cos, tan, slowcos and
63882         slowtan.
63883         * benchtests/cos-inputs: New file.
63884         * benchtests/slowcos-inputs: New file.
63885         * benchtests/slowcos.c: New file.
63886         * benchtests/slowtan-inputs: New file.
63887         * benchtests/slowtan.c: New file.
63888         * benchtests/tan-inputs: New file.
63890 2013-04-16  Roland McGrath  <roland@hack.frob.com>
63892         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
63893         considered kosher.
63895 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63897         * benchtests/Makefile: Include cppflags-iterator.mk to add
63898         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
63900         * Makefile.in (bench-clean): New target.
63901         * benchtests/Makefile (bench-clean): Likewise.
63903 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
63905         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
63907 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
63909         * stdio-common/tstdiomisc.c: Fix coding-style violation.
63911 2013-04-15  Andreas Schwab  <schwab@suse.de>
63913         * nscd/grpcache.c (cache_addgr): Properly check for short write.
63914         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63915         * nscd/pwdcache.c (cache_addpw): Likewise.
63916         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
63917         more than recsize.
63919 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63921         * benchtests/Makefile (bench): Write all output to
63922         bench-out.tmp together.
63924 2013-04-15  Andreas Schwab  <schwab@suse.de>
63926         * nscd/nscd.c (main): Don't fork again after closing files.
63928 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63930         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
63932         * benchtests/Rules (bench-deps): Collect dependencies into a
63933         single variable.  Add Makefile to dependencies.
63934         ($(objpfx)bench-%.c): Depend on bench-deps.
63936 2013-04-12  Roland McGrath  <roland@hack.frob.com>
63937             Xavier Roche  <roche+kml2@exalead.com>
63939         [BZ #15361]
63940         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
63941         just that it's a file descriptor.
63942         * manual/llio.texi (Synchronizing AIO Operations): Update description
63943         for EBADF error from aio_fsync.
63945 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63947         * Rules (bench): Move target definition...
63948         * benchtests/Makefile: ... here.
63950 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
63952         * math/libm-test.inc (cos_test): Fix PI/2 test.
63953         (sincos_test): Likewise.
63954         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
63955         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
63957 2013-04-11  Andreas Schwab  <schwab@suse.de>
63959         [BZ #13988]
63960         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
63961         accept exponent character only when digits were seen.
63962         * stdio-common/Makefile (tests): Add bug26.
63963         * stdio-common/bug26.c: New file.
63965         [BZ #14293]
63966         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
63967         non-freeable.
63969 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63971         * Makeconfig (rtld-prefix): Define built linker prefix.
63972         * Rules (run-bench): Use it.
63973         * math/Makefile (run-regen-ulps): Likewise.
63975         * Rules (bench): Remove eval.
63977 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63978             Roland McGrath  <roland@hack.frob.com>
63979             Ondrej Bilka  <neleai@seznam.cz>
63981         [BZ #15346]
63982         * time/getdate.c: Include ctype.h and alloca.h.
63983         (__getdate_r): Trim leading and trailing spaces of input.
63984         * time/tst-getdate.c (tests): Add tests with leading and
63985         trailing spaces.
63987 2013-04-08  Roland McGrath  <roland@hack.frob.com>
63989         [BZ #14280]
63990         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
63991         when computing value.
63993 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63995         * math/README.libm-test (How can I generate "libm-test-ulps"?):
63996         Use testrun.sh to run libm tests.
63998         [BZ #15309]
63999         * elf/dl-open.c (dl_open_worker): memset all of seen array.
64001 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
64003         [BZ #15264]
64004         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
64006 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64008         * Makefile.in (regen-ulps): New target.
64009         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
64010         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
64011         [ifneq (no,$(PERL)] (regen-ulps): New target.
64012         [ifeq (no,$(PERL)] (regen-ulps): New target.
64013         * math/libm-test.inc (ulps_file_name): Define.
64014         (output_dir): New variable.
64015         (options): Add "output-dir" option.
64016         (parse_opt): Handle 'o' case.
64017         (main): If output_dir is non-NULL use it as a prefix
64018         otherwise use "".
64019         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
64021 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64023         [BZ #10060, #10062]
64024         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
64025         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
64026         fail configure if __sync_val_compare_and_swap is not inlined.
64027         * sysdeps/i386/configure: Regenerate.
64028         * configure.in: Build for i686 when configured for i386.
64029         * configure: Regenerate.
64030         * README: Remove i386 reference.
64032 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64034         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
64035         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64037 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64039         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
64040         (lmsnanval): New variables.
64041         (F): Add conversion tests.
64042         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
64043         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
64045         * stdio-common/tstdiomisc.c (F): Properly collect individual
64046         tests' results.
64048         [BZ #14686, #15336]
64049         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
64050         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
64051         Instead, use input NaN values or generate a qNaN by arithmetic
64052         operation.  Also fix bugs to comply with the standard.
64053         * math/libm-test.inc (remainder_test): Add more tests.
64055         [BZ #15335, #15342]
64056         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
64057         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
64058         input NaN values or generate a qNaN by arithmetic operation.
64060         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
64061         unreachable code.
64063         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
64064         definitions.
64066 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
64068         [BZ #14478]
64069         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
64070         underflowed result.
64071         * math/s_cexpf.c (__cexpf): Likewise.
64072         * math/s_cexpl.c (__cexpl): Likewise.
64073         * math/libm-test.inc (cexp_test): Add more tests.
64075 2013-04-03  Andreas Schwab  <schwab@suse.de>
64077         [BZ #15330]
64078         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
64079         order arrays from heap if bigger than alloca cutoff.
64081 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
64083         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
64084         (SNAN_TESTS_double): Refer to GCC PR56831.
64085         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
64086         GCC PR56828.
64088 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64090         * Rules (bench): Move bench.out after the run is complete.
64092         * Rules (bench): Echo currently running benchmark.
64094         * benchtests/Makefile (bench): Add atan and slowatan.
64095         * benchtests/atan-inputs: New file.
64096         * benchtests/slowatan-inputs: New file.
64097         * benchtests/slowatan.c: New file.
64099         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
64100         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
64101         its value.
64103         [BZ #15305]
64104         * sysdeps/unix/sysv/linux/kernel-features.h
64105         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
64106         __ASSUME_XFS_RESTRICTED_CHOWN.
64107         * sysdeps/unix/sysv/linux/pathconf.c
64108         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
64109         Save and restore errno.
64111 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
64113         [BZ #15327]
64114         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
64115         arguments using __kernel_casinh.
64116         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
64117         arguments using __kernel_casinhf.
64118         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
64119         arguments using __kernel_casinhl.
64120         * math/libm-test.inc (cacosh_test): Add more tests.
64121         * sysdeps/i386/fpu/libm-test-ulps: Update.
64122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64124 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64126         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
64127         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
64129         * bench/Makefile (bench): Add sin and slowsin.
64130         * benchtests/sin-inputs: New file.
64131         * benchtests/slowsin-inputs: New file.
64132         * benchtests/slowsin.c: New file.
64134         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
64135         (bench): Add slowexp and slowpow.
64136         (exp-ITER): Increase iterations.
64137         (pow-ITER): Likewise.
64138         * benchtests/exp-inputs: Change input.
64139         * benchtests/pow-inputs: Likewise.
64140         * benchtests/slowexp-inputs: New file.
64141         * benchtests/slowexp.c: New file.
64142         * benchtests/slowpow-inputs: New file.
64143         * benchtests/slowpow.c: New file.
64145 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64147         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
64148         instructions.
64149         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64150         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
64151         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
64152         * benchtests/Makefile: Add rint benchtest.
64153         * benchtests/rint-inputs: Input for rint benchtest.
64155 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64157         * Versions.def (libm): Add GLIBC_2.18.
64158         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
64159         hidden libm prototypes.
64160         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
64161         * math/Makefile (libm-calls): Add s_issignaling.
64162         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
64163         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
64164         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
64165         declaration.
64166         * math/math.h [__USE_GNU] (issignaling): New macro.
64167         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
64168         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
64169         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
64170         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
64171         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
64172         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
64173         * manual/arith.texi (issignaling): New section.
64174         * manual/libm-err-tab.pl (@all_functions): Update comment.
64175         * math/gen-libm-test.pl (parse_args): Apply special handling for
64176         issignaling.
64177         * math/libm-test.inc (print_float, issignaling_test): New
64178         functions.
64179         (check_float_internal): Add issignaling checks.
64180         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
64181         default definition.
64182         * sysdeps/powerpc/math-tests.h: New file.
64183         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
64184         tests.
64185         * math/test-snan.c (TEST_FUNC): Likewise.
64187 2013-03-30  David S. Miller  <davem@davemloft.net>
64189         * po/de.po: Update from translation team.
64191 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
64193         [BZ #10357]
64194         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64195         imaginary part less than 1.0 and real part less than 0.5
64196         specially.
64197         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64198         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64199         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
64200         (cacos_test): Add more tests.
64201         (casin_test): Likewise.
64202         (casinh_test): Likewise.
64203         * sysdeps/i386/fpu/libm-test-ulps: Update.
64204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64206 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64208         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
64209         ONE with its value.
64211         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
64212         (__pow_mp): Replace ONE and MONE with their values.
64213         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64214         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
64215         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64216         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
64217         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64218         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64220         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
64222         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
64223         (__pow_mp): Replace ZERO and MZERO with their values.
64224         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
64225         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64226         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64227         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64228         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64229         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
64230         (__sqr): Likewise.
64232         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
64234         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
64236 2013-03-28  Roland McGrath  <roland@hack.frob.com>
64238         * include/stdlib.h [!SHARED] (__call_tls_dtors):
64239         Declare with __attribute__ ((weak)).
64240         * stdlib/exit.c (__libc_atexit) [!SHARED]:
64241         Call __call_tls_dtors only if it's not NULL.
64243 2013-03-28  Roland McGrath  <roland@hack.frob.com>
64245         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
64246         didn't do it already, then set _dl_phdr and _dl_phnum based on the
64247         magic __ehdr_start linker symbol if it's defined.
64248         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
64249         them up here if it was already done.
64251         * elf/dl-support.c (_dl_phdr): Make pointer to const.
64252         (_dl_aux_init): Use const in cast when setting it.
64253         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
64254         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
64255         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
64257         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
64258         Declare them here.
64259         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
64260         * csu/libc-tls.c: Nor here.
64261         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
64263         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
64264         (__libc_message): Never call vsyslog.
64266 2013-03-28  Alan Modra  <amodra@gmail.com>
64268         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
64269         Define as empty.
64270         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
64271         Likewise.
64273 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64275         [BZ #15214]
64276         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
64277         underflow.
64278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64280 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64282         [BZ #15304]
64283         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
64284         Don't add gid passed as argument.
64286         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
64288 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
64290         [BZ #15307]
64291         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64292         imaginary part between 1.0 and 1.5 and real part less than 0.5
64293         specially.
64294         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64295         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64296         * math/libm-test.inc (cacos_test): Add more tests.
64297         (casin_test): Likewise.
64298         (casinh_test): Likewise.
64299         * sysdeps/i386/fpu/libm-test-ulps: Update.
64300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64302 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64304         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
64305         constants.
64306         (norm): Likewise.
64307         (denorm): Likewise.
64308         (__dbl_mp): Likewise.
64309         (add_magnitudes): Likewise.
64310         (sub_magnitudes): Likewise.
64311         (__add): Likewise.
64312         (__sub): Likewise.
64313         (__mul): Likewise.
64314         (__sqr): Likewise.
64315         (__inv): Likewise.
64316         (__dvd): Likewise.
64318         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
64319         commented code.
64320         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
64321         (__dubcos): Likewise.
64322         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
64323         (__ieee754_acos): Likewise.
64324         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
64325         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
64326         (__exp1): Likewise.
64327         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64328         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64329         (log1): Likewise.
64330         (my_log2): Likewise.
64331         (checkint): Likewise.
64332         * sysdeps/ieee754/dbl-64/e_remainder.c
64333         (__ieee754_remainder): Likewise.
64334         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64335         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
64336         (bsloww): Likewise.
64337         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64339         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
64340         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
64341         MANTISSA_STORE_T to store computations on mantissa.  Use
64342         macros for rounding and division.
64343         (denorm): Likewise.
64344         (__dbl_mp): Likewise.
64345         (add_magnitudes): Likewise.
64346         (sub_magnitudes): Likewise.
64347         (__mul): Likewise.
64348         (__sqr): Likewise.
64349         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
64350         powers of two in terms of TWOPOW macro.
64351         (mp_no): Make type of mantissa as MANTISSA_T.
64352         [!RADIXI]: Define RADIXI.
64353         [!TWO52]: Define TWO52.
64354         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
64356 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64358         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
64359         llroundl symbol when building for PPC32.
64361 2013-03-24  Mark H Weaver  <mhw@netris.org>
64363         * manual/arith.texi (Normalization Functions): Fix prototypes for
64364         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
64366 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64368         [BZ #13889]
64369         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
64370         high value to check if expl overflow.
64371         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
64372         to check for underflow and overflow.
64373         * math/libm-test.inc: Add exp test.
64375 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
64377         [BZ #11120]
64378         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
64379         with NOT_IN_libc.
64381 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64383         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
64384         symbol.
64386 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64388         * math/gen-libm-test.pl (parse_args, special_functions): Properly
64389         wrap blocks consisting of several statements.
64391         * sysdeps/generic/math-tests.h: New file.
64392         * sysdeps/i386/fpu/math-tests.h: Likewise.
64393         * math/test-snan.c: Include it.
64394         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
64396 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
64398         [BZ #15285]
64399         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
64400         (__ieee754_j0l): Do not improve calculations using cos of twice
64401         input for inputs above LDBL_MAX / 2.0L.
64402         (__ieee754_y0l): Likewise.
64403         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
64404         (__ieee754_j1l): Do not improve calculations using cos of twice
64405         input for inputs above LDBL_MAX / 2.0L.
64406         (__ieee754_y1l): Likewise.
64407         * math/libm-test.inc (j0_test): Add another test.
64408         (j1_test): Likewise.
64409         (y0_test): Likewise.
64410         (y1_test): Likewise.
64411         * sysdeps/i386/fpu/libm-test-ulps: Update.
64413 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64415         * Rules ($(objpfx)bench-%.c): Include code from a C source
64416         file.
64418 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
64420         [BZ #15287]
64421         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64422         imaginary part 1.0 and real part less than 0.5 specially.
64423         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64424         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64425         * math/libm-test.inc (cacos_test): Add more tests.
64426         (casin_test): Likewise.
64427         (casinh_test): Likewise.
64428         * sysdeps/i386/fpu/libm-test-ulps: Update.
64429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64431 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64433         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
64434         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
64436 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
64438         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
64439         * config.make.in (config-cflags-sse4): Remove variable.
64440         (config-cflags-avx): Likewise.
64441         (config-cflags-sse2avx): Likewise.
64442         (config-cflags-novzeroupper): Likewise.
64443         (config-asflags-i686): Likewise.
64444         (have-mfma4): Likewise.
64445         (have-as-vis3): Likewise.
64446         (MIG): Likewise.
64447         * configure.in (MIG): Do not AC_SUBST.
64448         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
64449         (libc_cv_cc_sse4): Do not AC_SUBST.
64450         (libc_cv_cc_avx): Likewise.
64451         (libc_cv_cc_sse2avx): Likewise.
64452         (libc_cv_cc_novzeroupper): Likewise.
64453         (libc_cv_cc_fma4): Likewise.
64454         (libc_cv_as_i686): Likewise.
64455         (libc_cv_sparc_as_vis3): Likewise.
64456         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
64457         LIBC_CONFIG_VAR.
64458         (config-asflags-i686): Likewise.
64459         (config-cflags-avx): Likewise.
64460         (config-cflags-sse2avx): Likewise.
64461         (have-mfma4): Likewise.
64462         (config-cflags-novzeroupper): Likewise.
64463         * sysdeps/mach/configure.in (MIG): Likewise.
64464         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
64465         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
64466         LIBC_CONFIG_VAR.
64467         (config-cflags-avx): Likewise.
64468         (config-cflags-sse2avx): Likewise.
64469         (have-mfma4): Likewise.
64470         (config-cflags-novzeroupper): Likewise.
64471         * configure: Regenerated.
64472         * sysdeps/i386/configure: Likewise.
64473         * sysdeps/mach/configure: Likewise.
64474         * sysdeps/sparc/configure: Likewise.
64475         * sysdeps/x86_64/configure: Likewise.
64477 2013-03-20  Roland McGrath  <roland@hack.frob.com>
64479         [BZ #14812]
64480         * locale/programs/localedef.c (options): Put N_ translation marker
64481         on argument names, not just descriptions.
64483 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64485         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
64487 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
64489         [BZ #14176]
64490         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
64492 2013-03-19  Roland McGrath  <roland@hack.frob.com>
64494         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
64495         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
64496         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
64497         [!BEFORE_ABORT] (before_abort): New function.
64498         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
64499         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
64500         (writev_for_fatal): New function.
64501         (WRITEV_FOR_FATAL): New macro; call that.
64502         (backtrace_and_maps): New function.
64503         (BEFORE_ABORT): New macro; call that.
64504         (struct str_list): Type removed.
64505         (__libc_message, __libc_fatal): Functions removed.
64506         Include <sysdeps/posix/libc_fatal.c> instead.
64508 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
64510         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
64511         constants.
64512         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
64513         double constants.
64515 2013-03-19  Andreas Schwab  <schwab@suse.de>
64517         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
64518         * sysdeps/gnu/configure: Regenerate.
64520         * configure.in: Substitute libc_cv_rtlddir.
64521         * configure: Regenerate.
64522         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
64523         * Makeconfig (rtlddir, inst_rtlddir): New variables.
64524         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
64525         * elf/Makefile (install-others, CFLAGS-interp.c)
64526         (ldso_install, common-ldd-rewrite): Likewise.
64527         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
64528         $(inst_slibdir)/$(rtld-installed-name).
64529         * scripts/rellns-sh: Add -p option.
64530         * Makerules (make-shlib-link): Use rellns-sh to get relative name
64531         for source.
64533 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64535         * manual/nptl.texi: Renamed to ...
64536         * manual/threads.texi: ... this.
64537         * manual/Makefile (chapters): Update.
64539 2013-03-18  Roland McGrath  <roland@hack.frob.com>
64541         [BZ #14812]
64542         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
64543         on argument names, not just descriptions.
64544         * malloc/memusagestat.c (options): Likewise.
64545         * nss/getent.c (options): Likewise.
64547 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
64549         [BZ #14812]
64550         * iconv/iconv_prog.c (options): Put N_ translation marker
64551         on argument names, not just descriptions.
64552         * iconv/iconvconfig.c (options): Likewise.
64554 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
64556         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
64557         implementation which is faster on all x86_64 architectures.
64558         Tested on AMD, Intel Nehalem, SNB, IVB.
64559         * sysdeps/x86_64/strnlen.S: Likewise.
64561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64562         Remove all multiarch strlen and strnlen versions.
64563         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
64564         Remove strlen and strnlen related parts.
64566         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
64567         Inline strlen part.
64568         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
64570         * sysdeps/x86_64/multiarch/strlen.S: Remove.
64571         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
64572         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
64573         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
64574         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
64575         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
64577 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
64579         * manual/memory.texi (Malloc Tunable Parameters):
64580         Sort parameters alphabetically. Add comments for missing entries.
64582 2013-03-17  David S. Miller  <davem@davemloft.net>
64584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64586 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
64588         [BZ #15283]
64589         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
64590         for arguments at most half maximum finite value.
64591         * math/libm-test.inc (j0_test): Add more tests.
64592         (j1_test): Likewise.
64593         (y0_test): Likewise.
64594         (y1_test): Likewise.
64595         * sysdeps/i386/fpu/libm-test-ulps: Update.
64596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64598         [BZ #14155]
64599         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
64600         1 / x and functions P and Q for arguments above 0x1p256L.
64601         (__ieee754_y0l): Likewise.
64602         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
64603         (__ieee754_y1l): Likewise.
64604         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
64605         (j1_test): Likewise.
64606         (y0_test): Likewise.
64607         (y1_test): Likewise.
64609 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
64611         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
64612         variable.
64614 2013-03-15  Roland McGrath  <roland@hack.frob.com>
64616         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
64617         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
64618         zero since it's initialized to EXEC_PAGESIZE.
64620         * sysdeps/unix/sysv/linux/ldsodefs.h
64621         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
64622         * sysdeps/generic/ldsodefs.h: ... here.
64624 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
64626         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
64628         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
64629         math/test-snan.c.
64630         * math/test-snan.c: Renamed from
64631         sysdeps/powerpc/fpu/test-powerpc-snan.c.
64632         * math/Makefile (tests): Add test-snan.
64633         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
64634         test-powerpc-snan.
64636         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
64637         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
64638         functions.
64639         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
64640         __builtin_nan family of functions.
64641         * math/libm-test.inc (initialize): Initialize qnan_value with
64642         __builtin_nan family of functions.
64643         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
64644         Remove variables.
64645         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
64646         Remove functions.
64647         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
64648         storage class.  Initialize qNaN_var and sNaN_var with
64649         __builtin_nan and __builtin_nans families of functions,
64650         respectively.
64652         * math/libm-test.inc (acosh_test): Also test with qNaN input.
64653         (sqrt_test): Remove duplicate test with qNaN input.
64654         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
64655         (round_test, signbit_test, significand_test): Note missing +/-Inf
64656         as well as qNaN tests.
64658         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
64659         qNaN_var.  Fix a few strings, too.
64660         * math/libm-test.inc (nan_value): Rename to qnan_value.
64661         * math/gen-libm-test.pl (%beautify): Adjust to that.
64662         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
64663         * math/test-misc.c (main): Likewise.
64664         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
64665         to __qnan_bytes, and __qnan_union, respectively.
64666         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
64667         Likewise.
64668         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
64669         and lqnanval, respectively.
64670         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
64671         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
64672         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
64673         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
64675         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
64676         * math/test-misc.c (main) [__x86_64__]: Enable test for long
64677         doubles.
64679         * math/test-misc.c (main): Fix copy'n'pastos.
64680         * misc/tst-efgcvt.c (special): Likewise.
64682         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
64683         Remove declarations.
64685 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64687         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
64688         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
64689         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
64690         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
64692 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64694         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
64695         macro to return vdso values correctly in IFUNC implementations.
64696         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
64697         Optimization by using IFUNC.
64699 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64700             Richard Henderson  <rth@redhat.com>
64701             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64703         * Makefile.in (bench): New target.
64704         * NEWS: Mention the benchmark framework.
64705         * Rules (bench): Likewise.
64706         (binaries-bench): Generate binaries for functions to
64707         benchmark.
64708         * benchtests/Makefile: New makefile for benchmark tests.
64709         * benchtests/bench-skeleton.c: New skeleton file for benchmark
64710         programs.
64711         * benchtests/exp-inputs: New input file for EXP function.
64712         * benchtests/pow-inputs: New input file for POW function.
64713         * scripts/bench.pl: New script to generate source files for
64714         benchmark programs.
64716 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64718         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
64719         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
64720         computations on mantissa.  Use macros for rounding and
64721         division.
64722         (denorm): Likewise.
64723         (__dbl_mp): Likewise.
64724         (add_magnitudes): Likewise.
64725         (sub_magnitudes): Likewise.
64726         (__mul): Likewise.
64727         (__sqr): Likewise.
64728         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
64729         powers of two in terms of TWOPOW macro.
64730         (mp_no): Make type of mantissa as MANTISSA_T.
64731         [!RADIXI]: Define RADIXI.
64732         [!TWO52]: Define TWO52.
64733         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
64735         * manual/nptl.texi (cindex): Modify threads to pthreads.
64737 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
64739         * sysdeps/x86_64/preconfigure: Regenerated.
64741 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
64743         [BZ #14155]
64744         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
64745         0x1p28 and above.
64746         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
64747         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
64748         0x1p28 and above.
64749         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
64750         * math/libm-test.inc (j0_test): Do not allow one spurious
64751         underflow exception.
64752         (y1_test): Likewise.
64754 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64756         * manual/Makefile (chapters): Add nptl.
64757         * manual/debug.texi (Debugging Support): Add link to Threads
64758         chapter.
64759         * manual/nptl.texi: New file.
64761         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
64763 2013-03-14  Petr Baudis  <pasky@ucw.cz>
64765         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
64766         for non-NULL pointer before the memory validity test. Pointed
64767         out by Holger Brunck <holger.brunck@keymile.com>.
64769 2013-03-13  Andreas Schwab  <schwab@suse.de>
64771         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
64772         instead of .os.
64774 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
64776         * timezone/zic.c: Update from tzcode 2013b.
64778 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
64780         * manual/install.texi (Configuring and compiling):
64781         Mention i686 and i586.
64782         * INSTALL: Regenerate.
64784 2013-03-12  Roland McGrath  <roland@hack.frob.com>
64786         * sysdeps/init_array/elf-init.c: New file.
64787         * csu/elf-init.c
64788         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
64789         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
64791         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
64792         __gmon_start__ as global, but as static with a .preinit_array pointer.
64793         * sysdeps/init_array/gmon-start.c: New file.  Use that.
64794         * sysdeps/init_array/crti.S: New file, empty except for comments.
64795         * sysdeps/init_array/crtn.S: Likewise.
64797 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
64799         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
64800         definining bcopy.
64801         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64802         Remove Prefer_SSE_for_memop.
64803         * sysdeps/x86_64/multiarch/init-arch.h: Remove
64804         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
64805         HAS_PREFER_SSE_FOR_MEMOP.
64806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
64807         memset-x86-64.
64808         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64809         Remove bzero, memset ifunc support.
64810         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
64811         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
64812         * sysdeps/x86_64/multiarch/memset.S: Likewise.
64813         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
64815 2013-03-11  Andreas Schwab  <schwab@suse.de>
64817         [BZ #15234]
64818         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
64819         by SHLIB_COMPAT.
64820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
64821         (GLIBC_2.16): Remove pthread_atfork.
64823 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
64825         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
64826         (ptestcases.h): Likewise.
64828 2013-03-08  Roland McGrath  <roland@hack.frob.com>
64830         * Makeconfig ($(common-objpfx)config.status): Depend on
64831         sysdeps/*/preconfigure{,.in} too.
64833 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
64835         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
64836         (__free_hook): Use void * instead of __malloc_ptr_t.
64837         (__malloc_hook): Likewise.
64838         (__realloc_hook): Likewise.
64839         (__memalign_hook): Likewise.
64840         (__after_morecore_hook): Likewise.
64841         * malloc/arena.c (save_malloc_hook): Likewise.
64842         (save_free_hook): Likewise.
64843         * malloc/hooks.c (malloc_hook_ini): Likewise.
64844         (realloc_hook_ini): Likewise.
64845         (memalign_hook_ini): Likewise.
64846         * malloc/malloc.c (malloc_hook_ini): Likewise.
64847         (realloc_hook_ini): Likewise.
64848         (memalign_hook_ini): Likewise.
64849         (__free_hook): Likewise.
64850         (__malloc_hook): Likewise.
64851         (__realloc_hook): Likewise.
64852         (__memalign_hook): Likewise.
64853         (__libc_malloc): Likewise.
64854         (__libc_free): Likewise.
64855         (__libc_realloc): Likewise.
64856         (__libc_memalign): Likewise.
64857         (__libc_valloc): Likewise.
64858         (__libc_pvalloc): Likewise.
64859         (__libc_calloc): Likewise.
64860         (__posix_memalign): Likewise.
64861         * malloc/morecore.c (__sbrk): Likewise.
64862         (__default_morecore): Likewise.
64864         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
64866         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
64867         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
64868         __malloc_ptrdiff_t.
64870         * malloc/malloc.h (__malloc_size_t): Remove macro.
64871         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
64872         __malloc_size_t.
64873         (old_memalign_hook): Likewise.
64874         (old_realloc_hook): Likewise.
64875         (struct hdr): Likewise.
64876         (flood): Likewise.
64877         (mallochook): Likewise.
64878         (memalignhook): Likewise.
64879         (reallochook): Likewise.
64880         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
64881         (tr_old_realloc_hook): Likewise.
64882         (tr_old_memalign_hook): Likewise.
64883         (tr_mallochook): Likewise.
64884         (tr_reallochook): Likewise.
64885         (tr_memalignhook): Likewise.
64887 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64889         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
64890         default_ldbl_pack and using as default implementation.
64891         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
64892         implementation.
64893         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
64894         redundant definition.
64895         (ldbl_insert_mantissa): Likewise.
64896         (ldbl_canonicalize): Likewise.
64897         (ldbl_nearbyint): Likewise.
64898         (ldbl_pack): Rename to ldbl_pack_ppc.
64899         (ldbl_unpack): Rename to ldbl_unpack_ppc.
64900         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
64901         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
64903 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
64906         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
64907         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
64908         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
64909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
64910         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
64911         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
64912         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
64914 2013-03-07  Andreas Jaeger  <aj@suse.de>
64916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64917         bits/mman-linux.h.
64919 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64921         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
64922         Include mpa.h and declare __MPEXP.
64923         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
64924         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64925         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64926         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
64927         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64928         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64929         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
64931         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
64932         (__slowpow): Use long double EXPL and LOGL functions to
64933         compute POW.
64934         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64935         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64936         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
64937         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64938         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64939         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
64941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
64942         intermediate variable to calculate exponent.
64943         (__sqr): Likewise.
64944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64945         Likewise.
64946         (__sqr): Likewise.
64948         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
64949         [!NO__SQR]: Define __sqr.
64950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
64951         and NO__SQR.  Remove all code except __mul and __sqr.  Include
64952         sysdeps/ieee754/dbl-64/mpa.c.
64953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64955         [BZ #12723]
64956         * posix/Makefile (tests): Add tst-pathconf.
64957         * posix/tst-pathconf.c: New test case.
64958         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
64959         _PC_PIPE_BUF.
64960         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
64962 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
64964         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
64966 2013-03-06  Andreas Jaeger  <aj@suse.de>
64968         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
64969         definition via __MAP_ANONYMOUS.
64971         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
64972         it's not part of Linux headers.
64974         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
64975         (MAP_HUGE_MASK): Define.
64977         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64978         Define.
64979         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64980         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64981         Define.
64982         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64983         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64984         Define.
64985         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64986         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
64987         Define.
64988         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64990         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
64991         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
64992         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
64993         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
64994         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
64995         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
64997         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64998         Handle f2fs.
65000         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65001         Handle f2fs and efivarfs.
65003         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
65004         f2fs.
65006         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
65007         (EFIVARFS_MAGIC): Add.
65008         (F2FS_LINK_MAX): Add.
65010 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65012         * stdio-common/vfprintf.c: Replace __builtin_expect with
65013         __glibc_unlikely.
65015 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
65017         [BZ #13550]
65018         * sysdeps/generic/bp-sym.h: Remove file.
65019         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
65020         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
65021         <bp-sym.h> and <bp-asm.h>.
65022         (__longjmp): Don't use BP_SYM.
65023         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
65024         and <bp-asm.h>.
65025         (memcpy): Don't use BP_SYM.
65026         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
65027         <bp-sym.h> and <bp-asm.h>.
65028         (memcpy): Don't use BP_SYM.
65029         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
65030         <bp-asm.h>.
65031         (memcpy): Don't use BP_SYM.
65032         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
65033         <bp-asm.h>.
65034         (memset): Don't use BP_SYM.
65035         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65036         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65037         (__bzero): Don't use BP_SYM.
65038         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65039         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65040         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
65041         <bp-sym.h> and <bp-asm.h>.
65042         (memcmp): Don't use BP_SYM.  Remove comment about bounded
65043         pointers.
65044         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
65045         <bp-sym.h> and <bp-asm.h>.
65046         (memcpy): Don't use BP_SYM.
65047         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
65048         <bp-sym.h> and <bp-asm.h>.
65049         (memset): Don't use BP_SYM.
65050         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65051         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65052         (__bzero): Don't use BP_SYM.
65053         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65054         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65055         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
65056         <bp-sym.h> and <bp-asm.h>.
65057         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65058         pointers.
65059         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
65060         <bp-sym.h> and <bp-asm.h>.
65061         (memcpy): Don't use BP_SYM.
65062         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
65063         <bp-sym.h> and <bp-asm.h>.
65064         (memset): Don't use BP_SYM.
65065         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65066         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65067         (__bzero): Don't use BP_SYM.
65068         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65069         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65070         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
65071         <bp-sym.h> and <bp-asm.h>.
65072         (__memchr): Don't use BP_SYM.
65073         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
65074         <bp-sym.h> and <bp-asm.h>.
65075         (memcmp): Don't use BP_SYM.  Remove comment about bounded
65076         pointers.
65077         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
65078         <bp-sym.h> and <bp-asm.h>.
65079         (memcpy): Don't use BP_SYM.
65080         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
65081         <bp-sym.h> and <bp-asm.h>.
65082         (__mempcpy): Don't use BP_SYM.
65083         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
65084         <bp-sym.h> and <bp-asm.h>.
65085         (__memrchr): Don't use BP_SYM.
65086         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
65087         <bp-sym.h> and <bp-asm.h>.
65088         (memset): Don't use BP_SYM.
65089         (__bzero): Likewise.
65090         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
65091         <bp-sym.h> and <bp-asm.h>.
65092         (__rawmemchr): Don't use BP_SYM.
65093         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
65094         <bp-sym.h> and <bp-asm.h>.
65095         (__STRCMP): Don't use BP_SYM.
65096         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
65097         <bp-sym.h> and <bp-asm.h>.
65098         (strchr): Don't use BP_SYM.
65099         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
65100         <bp-sym.h> and <bp-asm.h>.
65101         (__strchrnul): Don't use BP_SYM.
65102         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
65103         <bp-sym.h> and <bp-asm.h>.
65104         (strlen): Don't use BP_SYM.
65105         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
65106         <bp-sym.h> and <bp-asm.h>.
65107         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65108         pointers.
65109         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
65110         <bp-sym.h> and <bp-asm.h>.
65111         (__strnlen): Don't use BP_SYM.
65112         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
65113         <bp-sym.h> and <bp-asm.h>.
65114         (__GI__setjmp): Don't use BP_SYM.
65115         (_setjmp): Likewise.
65116         (__sigsetjmp): Likewise.
65117         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
65118         (L(start_addresses)): Don't use BP_SYM.
65119         (_start): Likewise.
65120         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
65121         <bp-asm.h>.
65122         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
65123         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
65124         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65125         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65126         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
65127         <bp-asm.h>.
65128         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
65129         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
65130         about bounded pointers.
65131         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65132         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65133         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
65134         <bp-asm.h>.
65135         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
65136         about bounded pointers.  Remove GKM FIXME comments.
65137         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65138         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
65139         <bp-asm.h>.
65140         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
65141         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
65142         Remove GKM FIXME comments.
65143         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65144         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65145         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
65146         <bp-asm.h>.
65147         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
65148         about bounded pointers.  Remove GKM FIXME comment.
65149         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
65150         and <bp-asm.h>.
65151         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65152         pointers.
65153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
65154         <bp-sym.h> and <bp-asm.h>.
65155         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
65156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
65157         <bp-sym.h> and <bp-asm.h>.
65158         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
65159         comment.
65161 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65163         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
65164         call free(NULL).
65166 2013-03-05  David S. Miller  <davem@davemloft.net>
65168         * po/es.po: Update from translation team.
65170 2013-03-05  Andreas Jaeger  <aj@suse.de>
65172         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
65173         <bits/mman-linux.h>.
65174         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65175         is fine.
65176         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
65177         <bits/mman-linux.h> to end of file.
65178         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65179         is fine.
65180         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
65181         <bits/mman-linux.h> to end of file.
65182         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65183         is fine.
65184         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
65185         <bits/mman-linux.h> to end of file.
65187         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
65188         (MCL_CURRENT, MCL_FUTURE): Define here.
65190 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65192         [BZ #15232]
65193         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
65194         attribute_hidden.
65195         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
65197 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65199         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
65200         fourth parameter needed for rt_sigprocmask syscall.
65201         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
65202         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65203         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
65204         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65205         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65206         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
65208 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
65210         [BZ #13550]
65211         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
65212         comment about bounded pointers.
65213         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
65214         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
65216 2013-03-04  Andreas Jaeger  <aj@suse.de>
65218         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
65219         common definitions.
65221         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
65222         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
65223         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
65224         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65225         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65226         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65228 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65230         [BZ #15055]
65231         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
65232         __ieee754_sqrl instead of __sqrl.
65234 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
65236         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
65237         * sysdeps/powerpc/fpu_control.h: ... here.
65238         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
65239         * sysdeps/powerpc/bits/fenvinline.h: ... here.
65240         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
65241         * sysdeps/powerpc/bits/mathinline.h: ... here.
65243 2013-03-01  Roland McGrath  <roland@hack.frob.com>
65245         * elf/dl-hwcaps.c (_dl_important_hwcaps):
65246         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
65247         to just [NEED_DL_SYSINFO_DSO].
65248         * elf/dl-support.c: Likewise.
65249         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
65250         * elf/rtld.c (dl_main): Likewise.
65251         * elf/setup-vdso.h (setup_vdso): Likewise.
65252         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
65253         * sysdeps/unix/sysv/linux/dl-sysdep.c
65254         (_dl_discover_osversion): Likewise.
65256 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
65258         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
65259         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
65261 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
65263         * NEWS: Mention libm performance improvements and non-x86 PI
65264         futex support.
65266         * csu/libc-start.c (__pthread_initialize_minimal): Change
65267         function arguments.
65268         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
65270 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
65272         [BZ #13550]
65273         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
65274         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
65275         <bp-sym.h> and <bp-asm.h>.
65276         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65277         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
65278         and <bp-asm.h>.
65279         (memcpy): Don't use BP_SYM.
65280         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
65281         <bp-asm.h>.
65282         (__mpn_add_n): Don't use BP_SYM.
65283         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
65284         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
65285         and <bp-asm.h>.
65286         (__mpn_addmul_1): Don't use BP_SYM.
65287         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65288         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
65289         <bp-sym.h>.
65290         (_setjmp): Don't use BP_SYM.
65291         (__novmx_setjmp): Likewise.
65292         (__GI__setjmp): Likewise.
65293         (__vmx_setjmp): Likewise.
65294         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
65295         <bp-sym.h>.
65296         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
65297         (__bzero): Don't use BP_SYM.
65298         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65299         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65300         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
65301         <bp-sym.h> and <bp-asm.h>.
65302         (memcpy): Don't use BP_SYM.
65303         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
65304         <bp-sym.h> and <bp-asm.h>.
65305         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65306         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
65307         <bp-sym.h> and <bp-asm.h>.
65308         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65309         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
65310         <bp-asm.h>.
65311         (__mpn_lshift): Don't use BP_SYM.
65312         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65313         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
65314         <bp-asm.h>.
65315         (memset): Don't use BP_SYM.
65316         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65317         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65318         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
65319         <bp-asm.h>.
65320         (__mpn_mul_1): Don't use BP_SYM.
65321         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65322         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
65323         <bp-sym.h> and <bp-asm.h>.
65324         (memcmp): Don't use BP_SYM.
65325         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
65326         <bp-sym.h> and <bp-asm.h>.
65327         (memcpy): Don't use BP_SYM.
65328         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
65329         <bp-sym.h> and <bp-asm.h>.
65330         (memset): Don't use BP_SYM.
65331         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
65332         <bp-sym.h> and <bp-asm.h>.
65333         (strncmp): Don't use BP_SYM.
65334         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
65335         <bp-sym.h> and <bp-asm.h>.
65336         (memcpy): Don't use BP_SYM.
65337         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
65338         <bp-sym.h> and <bp-asm.h>.
65339         (memset): Don't use BP_SYM.
65340         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
65341         <bp-sym.h> and <bp-asm.h>.
65342         (__memchr): Don't use BP_SYM.
65343         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
65344         <bp-sym.h> and <bp-asm.h>.
65345         (memcmp): Don't use BP_SYM.
65346         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
65347         <bp-sym.h> and <bp-asm.h>.
65348         (memcpy): Don't use BP_SYM.
65349         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
65350         <bp-sym.h> and <bp-asm.h>.
65351         (__mempcpy): Don't use BP_SYM.
65352         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
65353         <bp-sym.h> and <bp-asm.h>.
65354         (__memrchr): Don't use BP_SYM.
65355         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
65356         <bp-sym.h> and <bp-asm.h>.
65357         (memset): Don't use BP_SYM.
65358         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
65359         <bp-sym.h> and <bp-asm.h>.
65360         (__rawmemchr): Don't use BP_SYM.
65361         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
65362         <bp-sym.h> and <bp-asm.h>.
65363         (__STRCMP): Don't use BP_SYM.
65364         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
65365         <bp-sym.h> and <bp-asm.h>.
65366         (strchr): Don't use BP_SYM.
65367         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
65368         <bp-sym.h> and <bp-asm.h>.
65369         (__strchrnul): Don't use BP_SYM.
65370         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
65371         <bp-sym.h> and <bp-asm.h>.
65372         (strlen): Don't use BP_SYM.
65373         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
65374         <bp-sym.h> and <bp-asm.h>.
65375         (strncmp): Don't use BP_SYM.
65376         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
65377         <bp-sym.h> and <bp-asm.h>.
65378         (__strnlen): Don't use BP_SYM.
65379         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
65380         <bp-asm.h>.
65381         (__mpn_rshift): Don't use BP_SYM.
65382         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65383         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
65384         <bp-sym.h> and <bp-asm.h>.
65385         (__sigsetjmp): Don't use BP_SYM.
65386         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
65387         (L(start_addresses)): Don't use BP_SYM.
65388         (_start): Likewise.
65389         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
65390         <bp-asm.h>.
65391         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
65392         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65393         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65394         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
65395         <bp-asm.h>.
65396         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
65397         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65398         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65399         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
65400         <bp-asm.h>.
65401         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
65402         comments.
65403         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65404         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
65405         <bp-asm.h>.
65406         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
65407         FIXME comments.
65408         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65409         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65410         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
65411         <bp-asm.h>.
65412         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
65413         comment.
65414         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
65415         and <bp-asm.h>.
65416         (strncmp): Don't use BP_SYM,
65417         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
65418         <bp-asm.h>.
65419         (__mpn_sub_n): Don't use BP_SYM.
65420         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65421         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
65422         and <bp-asm.h>.
65423         (__mpn_submul_1): Don't use BP_SYM.
65424         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
65426         <bp-sym.h> and <bp-asm.h>.
65427         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
65428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
65429         <bp-sym.h> and <bp-asm.h>.
65430         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
65431         comment.
65433 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65435         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
65436         Use ZK to minimize writes to Z.
65437         (sub_magnitudes): Simplify code a bit.
65438         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
65439         Use ZK to minimize writes to Z.
65440         (sub_magnitudes): Simplify code a bit.
65442 2013-02-27  Roland McGrath  <roland@hack.frob.com>
65444         * csu/gmon-start.c: Add special exception to license text.
65446 2013-02-27  Richard Henderson  <rth@redhat.com>
65448         * scripts/config.guess: Update from config.git.
65449         * scripts/config.sub: Likewise.
65451 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65453         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
65455         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
65457         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
65459         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
65461         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
65463 2013-02-26  Roland McGrath  <roland@hack.frob.com>
65465         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
65466         [$(build-shared = yes].
65468 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65470         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
65471         (__mul): Reduce iterations for calculating mantissa.
65473         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
65474         MPTWO.
65475         (__mpranred): Likewise.
65477         [BZ #15160]
65478         * malloc/memusagestat.c (main): Draw graphs for heap and stack
65479         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
65481 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
65483         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
65484         Define __attribute__.
65486 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65488         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
65489         unused.
65490         * posix/regex_internal.h (__attribute): Remove.
65491         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
65492         (re_string_context_at): Likewise.
65493         (bitset_not): Use __attribute__ and mark function as possibly
65494         unused.
65495         (bitset_merge): Likewise.
65496         (bitset_mask): Likewise.
65497         (re_string_char_size_at): Likewise.
65498         (re_string_wchar_at): Likewise.
65499         (re_string_elem_size_at): Likewise.
65501 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65503         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
65504         code.
65505         (cc32): Likewise.
65507         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
65508         (__acr): Likewise.
65509         (__cpy): Likewise.
65510         (norm): Likewise.
65511         (denorm): Likewise.
65512         (__dbl_mp): Likewise.
65513         (add_magnitudes): Likewise.
65514         (sub_magnitudes): Likewise.
65515         (__mul): Likewise.
65516         (__inv): Likewise.
65518         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
65519         style.
65521         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
65522         style.
65524         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
65525         code.
65527         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
65528         up changes with default code.
65529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
65530         Likewise.
65532 2013-02-24  Allan McRae  <allan@archlinux.org>
65534         * manual/socket.texi (The Internet Namespace): Order menu items
65535         to match that in the file.
65537         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
65538         node listing of the info page menu.
65540 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
65542         [BZ #13550]
65543         * sysdeps/i386/bp-asm.h: Remove file.
65544         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
65545         (PARMS): Do not use macros from bp-asm.h.
65546         (S1): Likewise.
65547         (S2): Likewise.
65548         (SIZE): Likewise.
65549         (__mpn_add_n): Do not use BP_SYM
65550         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
65551         "bp-asm.h".
65552         (PARMS): Do not use macros from bp-asm.h.
65553         (S1): Likewise.
65554         (SIZE): Likewise.
65555         (__mpn_addmul_1): Do not use BP_SYM
65556         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
65557         "bp-asm.h".
65558         (PARMS): Do not use macros from bp-asm.h.
65559         (SIGMSK): Likewise.
65560         (_setjmp): Likewise.  Do not use BP_SYM.
65561         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
65562         "bp-asm.h".
65563         (PARMS): Do not use macros from bp-asm.h.
65564         (SIGMSK): Likewise.
65565         (setjmp): Likewise.  Do not use BP_SYM.
65566         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
65567         "bp-asm.h".
65568         (PARMS): Do not use macros from bp-asm.h.
65569         (__frexp): Do not use BP_SYM.
65570         (frexp): Likewise.
65571         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
65572         "bp-asm.h".
65573         (PARMS): Do not use macros from bp-asm.h.
65574         (__frexpf): Do not use BP_SYM.
65575         (frexpf): Likewise.
65576         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
65577         "bp-asm.h".
65578         (PARMS): Do not use macros from bp-asm.h.
65579         (__frexpl): Do not use BP_SYM.
65580         (frexpl): Likewise.
65581         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
65582         "bp-asm.h".
65583         (PARMS): Do not use macros from bp-asm.h.
65584         (__remquo): Do not use BP_SYM.
65585         (remquo): Likewise.
65586         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
65587         "bp-asm.h".
65588         (PARMS): Do not use macros from bp-asm.h.
65589         (__remquof): Do not use BP_SYM.
65590         (remquof): Likewise.
65591         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
65592         "bp-asm.h".
65593         (PARMS): Do not use macros from bp-asm.h.
65594         (__remquol): Do not use BP_SYM.
65595         (remquol): Likewise.
65596         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
65597         "bp-asm.h".
65598         (PARMS): Do not use macros from bp-asm.h.
65599         (DEST): Likewise.
65600         (SRC): Likewise.
65601         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
65602         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
65603         "bp-asm.h".
65604         (PARMS): Do not use macros from bp-asm.h.
65605         (strlen): Do not use BP_SYM.
65606         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
65607         "bp-asm.h".
65608         (PARMS): Do not use macros from bp-asm.h.
65609         (S1): Likewise.
65610         (S2): Likewise.
65611         (SIZE): Likewise.
65612         (__mpn_add_n): Do not use BP_SYM.
65613         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
65614         "bp-asm.h".
65615         (PARMS): Do not use macros from bp-asm.h.
65616         (S1): Likewise.
65617         (SIZE): Likewise.
65618         (__mpn_addmul_1): Do not use BP_SYM.
65619         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
65620         weak_alias.
65621         (bzero): Likewise.
65622         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
65623         "bp-asm.h".
65624         (PARMS): Do not use macros from bp-asm.h.
65625         (S): Likewise.
65626         (SIZE): Likewise.
65627         (__mpn_lshift): Do not use BP_SYM.
65628         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
65629         "bp-asm.h".
65630         (PARMS): Do not use macros from bp-asm.h.
65631         (DEST): Likewise.
65632         (SRC): Likewise.
65633         (LEN): Likewise.
65634         (memcpy): Likewise.  Do not use BP_SYM.
65635         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
65636         libc_hidden_def and weak_alias.
65637         (mempcpy): Do not use BP_SYM in weak_alias.
65638         * sysdeps/i386/i586/memset.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         (LEN): Likewise.
65643         [!BZERO_P] (CHR): Likewise.
65644         (memset): Likewise.  Do not use BP_SYM.
65645         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
65646         "bp-asm.h".
65647         (PARMS): Do not use macros from bp-asm.h.
65648         (S1): Likewise.
65649         (SIZE): Likewise.
65650         (__mpn_mul_1): Do not use BP_SYM.
65651         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
65652         "bp-asm.h".
65653         (PARMS): Do not use macros from bp-asm.h.
65654         (S): Likewise.
65655         (SIZE): Likewise.
65656         (__mpn_rshift): Do not use BP_SYM.
65657         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
65658         "bp-asm.h".
65659         (PARMS): Do not use macros from bp-asm.h.
65660         (STR): Likewise.
65661         (CHR): Likewise.
65662         (strchr): Likewise.  Do not use BP_SYM.
65663         (index): Do not use BP_SYM in weak_alias.
65664         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
65665         "bp-asm.h".
65666         (PARMS): Do not use macros from bp-asm.h.
65667         (DEST): Likewise.
65668         (SRC): Likewise.
65669         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
65670         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
65671         "bp-asm.h".
65672         (PARMS): Do not use macros from bp-asm.h.
65673         (strlen): Do not use BP_SYM.
65674         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
65675         "bp-asm.h".
65676         (PARMS): Do not use macros from bp-asm.h.
65677         (S1): Likewise.
65678         (S2): Likewise.
65679         (SIZE): Likewise.
65680         (__mpn_sub_n): Do not use BP_SYM.
65681         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
65682         "bp-asm.h".
65683         (PARMS): Do not use macros from bp-asm.h.
65684         (S1): Likewise.
65685         (SIZE): Likewise.
65686         (__mpn_submul_1): Do not use BP_SYM.
65687         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
65688         "bp-asm.h".
65689         (PARMS): Do not use macros from bp-asm.h.
65690         (S1): Likewise.
65691         (S2): Likewise.
65692         (SIZE): Likewise.
65693         (__mpn_add_n): Do not use BP_SYM.
65694         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
65695         weak_alias.
65696         (bzero): Likewise.
65697         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
65698         "bp-asm.h".
65699         (PARMS): Do not use macros from bp-asm.h.
65700         (BLK2): Likewise.
65701         (LEN): Likewise.
65702         (memcmp): Do not use BP_SYM.
65703         (bcmp): Do not use BP_SYM in weak_alias.
65704         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
65705         "bp-asm.h".
65706         (PARMS): Do not use macros from bp-asm.h.
65707         (DEST): Likewise.
65708         (SRC): Likewise.
65709         (LEN): Likewise.
65710         (memcpy): Likewise.  Do not use BP_SYM.
65711         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
65712         "bp-asm.h".
65713         (PARMS): Do not use macros from bp-asm.h.
65714         (DEST): Likewise.
65715         (SRC): Likewise.
65716         (LEN): Likewise.
65717         (memmove): Likewise.  Do not use BP_SYM.
65718         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
65719         "bp-asm.h".
65720         (PARMS): Do not use macros from bp-asm.h.
65721         (DEST): Likewise.
65722         (SRC): Likewise.
65723         (LEN): Likewise.
65724         (__mempcpy): Likewise.  Do not use BP_SYM.
65725         (mempcpy): Do not use BP_SYM in weak_alias.
65726         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
65727         "bp-asm.h".
65728         (PARMS): Do not use macros from bp-asm.h.
65729         (DEST): Likewise.
65730         (LEN): Likewise.
65731         [!BZERO_P] (CHR): Likewise.
65732         (memset): Likewise.  Do not use BP_SYM.
65733         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
65734         "bp-asm.h".
65735         (PARMS): Do not use macros from bp-asm.h.
65736         (STR2): Likewise.
65737         (strcmp): Do not use BP_SYM.
65738         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
65739         "bp-asm.h".
65740         (PARMS): Do not use macros from bp-asm.h.
65741         (STR): Likewise.
65742         (DELIM): Likewise.
65743         [USE_AS_STRTOK_R] (SAVE): Likewise.
65744         (FUNCTION): Likewise.  Do not use BP_SYM.
65745         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
65746         aliases.
65747         (strtok_r): Likewise.
65748         (__GI___strtok_r): Likewise.
65749         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
65750         (PARMS): Do not use macros from bp-asm.h.
65751         (S): Likewise.
65752         (SIZE): Likewise.
65753         (__mpn_lshift): Do not use BP_SYM.
65754         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
65755         (PARMS): Do not use macros from bp-asm.h.
65756         (STR): Likewise.
65757         (CHR): Likewise.
65758         (__memchr): Do not use BP_SYM.
65759         (memchr): Do not use BP_SYM in weak_alias.
65760         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
65761         (PARMS): Do not use macros from bp-asm.h.
65762         (BLK2): Likewise.
65763         (LEN): Likewise.
65764         (memcmp): Do not use BP_SYM.
65765         (bcmp): Do not use BP_SYM in weak_alias.
65766         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
65767         (PARMS): Do not use macros from bp-asm.h.
65768         (S1): Likewise.
65769         (SIZE): Likewise.
65770         (__mpn_mul_1): Do not use BP_SYM.
65771         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
65772         "bp-asm.h".
65773         (PARMS): Do not use macros from bp-asm.h.
65774         (STR): Likewise.
65775         (CHR): Likewise.
65776         (__rawmemchr): Do not use BP_SYM.
65777         (rawmemchr): Do not use BP_SYM in weak_alias.
65778         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
65779         (PARMS): Do not use macros from bp-asm.h.
65780         (S): Likewise.
65781         (SIZE): Likewise.
65782         (__mpn_rshift): Do not use BP_SYM.
65783         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
65784         (PARMS): Do not use macros from bp-asm.h.
65785         (SIGMSK): Likewise.
65786         (__sigsetjmp): Likewise.  Do not use BP_SYM.
65787         * sysdeps/i386/start.S: Do not include "bp-sym.h".
65788         (_start): Do not use BP_SYM.
65789         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
65790         (PARMS): Do not use macros from bp-asm.h.
65791         (DEST): Likewise.
65792         (SRC): Likewise.
65793         (__stpcpy): Likewise.  Do not use BP_SYM.
65794         (stpcpy): Do not use BP_SYM in weak_alias.
65795         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
65796         "bp-asm.h".
65797         (PARMS): Do not use macros from bp-asm.h.
65798         (DEST): Likewise.
65799         (SRC): Likewise.
65800         (LEN): Likewise.
65801         (__stpncpy): Likewise.  Do not use BP_SYM.
65802         (stpncpy): Do not use BP_SYM in weak_alias.
65803         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
65804         (PARMS): Do not use macros from bp-asm.h.
65805         (STR): Likewise.
65806         (CHR): Likewise.
65807         (strchr): Likewise.  Do not use BP_SYM.
65808         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
65809         "bp-asm.h".
65810         (PARMS): Do not use macros from bp-asm.h.
65811         (STR): Likewise.
65812         (CHR): Likewise.
65813         (__strchrnul): Likewise.  Do not use BP_SYM.
65814         (strchrnul): Do not use BP_SYM in weak_alias.
65815         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
65816         "bp-asm.h".
65817         (PARMS): Do not use macros from bp-asm.h.
65818         (STOP): Likewise.
65819         (strcspn): Do not use BP_SYM.
65820         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
65821         "bp-asm.h".
65822         (PARMS): Do not use macros from bp-asm.h.
65823         (STR): Likewise.
65824         (STOP): Likewise.
65825         (strpbrk): Likewise.  Do not use BP_SYM.
65826         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
65827         "bp-asm.h".
65828         (PARMS): Do not use macros from bp-asm.h.
65829         (STR): Likewise.
65830         (CHR): Likewise.
65831         (strrchr): Likewise.  Do not use BP_SYM.
65832         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
65833         (PARMS): Do not use macros from bp-asm.h.
65834         (SKIP): Likewise.
65835         (strspn): Do not use BP_SYM.
65836         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
65837         (PARMS): Do not use macros from bp-asm.h.
65838         (STR): Likewise.
65839         (DELIM): Likewise.
65840         (SAVE): Likewise.
65841         (FUNCTION): Likewise.  Do not use BP_SYM.
65842         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
65843         aliases.
65844         (strtok_r): Likewise.
65845         (__GI___strtok_r): Likewise.
65846         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
65847         (PARMS): Do not use macros from bp-asm.h.
65848         (S1): Likewise.
65849         (S2): Likewise.
65850         (SIZE): Likewise.
65851         (__mpn_sub_n): Do not use BP_SYM.
65852         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
65853         "bp-asm.h".
65854         (PARMS): Do not use macros from bp-asm.h.
65855         (S1): Likewise.
65856         (SIZE): Likewise.
65857         (__mpn_submul_1): Do not use BP_SYM.
65858         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
65859         <bp-sym.h>.
65860         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
65861         and <bp-asm.h>.
65862         (PARMS): Do not use macros from bp-asm.h.
65863         (FLAGS): Likewise.
65864         (PTID): Likewise.
65865         (TLS): Likewise.
65866         (CTID): Likewise.
65867         (__clone): Do not use BP_SYM.
65868         (clone): Do not use BP_SYM in weak_alias.
65869         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
65870         and <bp-asm.h>.
65871         (PARMS): Do not use macros from bp-asm.h.
65872         (LEN): Likewise.
65873         (__mmap64): Do not use BP_SYM.
65874         (mmap64): Do not use BP_SYM in weak_alias.
65875         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
65876         <bp-sym.h> and <bp-asm.h>.
65877         (PARMS): Do not use macros from bp-asm.h.
65878         (__posix_fadvise64_l64): Do not use BP_SYM.
65879         * sysdeps/unix/sysv/linux/i386/semtimedop.S
65880         (PARMS): Do not use macros from bp-asm.h.
65881         (NSOPS): Likewise.
65882         (semtimedop): Do not use BP_SYM.
65883         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
65884         and <bp-asm.h>.
65886 2013-02-21  Allan McRae  <allan@archlinux.org>
65888         * manual/message.texi (Charset conversion in gettext):
65889         Move @end statement to beginning of line.
65891 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
65894         static.
65895         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65896         Likewise.
65898         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
65899         (denorm): Likewise.
65900         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
65901         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
65903 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65905         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
65906         tail-call to the resolved function if pltexit isn't needed.
65908 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65910         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
65911         or Y being zero as being unlikely.
65912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65913         Likewise.
65915 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
65917         * manual/nss.texi (System Databases and Name Service Switch):
65918         Remove frobnicate @pxref.
65920 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65922         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65923         __attribute__ ((unused)) to __attribute__ ((__unused__)).
65925 2013-02-20  Petr Machata  <pmachata@redhat.com>
65927         * elf/elf.h (R_ARM_TARGET1): New macro.
65928         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
65929         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
65930         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
65931         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
65932         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
65933         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
65934         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
65935         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
65936         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
65937         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
65938         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
65939         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
65940         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
65941         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
65942         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
65943         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
65944         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
65945         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
65946         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
65947         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
65948         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
65949         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
65950         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
65951         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
65952         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
65953         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
65954         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
65955         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
65956         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
65957         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
65958         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
65959         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
65960         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
65961         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
65962         (R_ARM_THM_GOT_BREL12): Likewise.
65963         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
65964         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
65965         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
65966         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
65967         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
65968         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
65969         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
65970         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
65971         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
65973 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65975         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65976         __attribute_used__ to __attribute__ ((unused)).
65978 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65980         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
65981         powerpc mpa.c.
65982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
65983         comment formatting.
65984         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
65986 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
65988         [BZ #13550]
65989         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
65990         Remove macro.
65991         (ENTER): Remove both macro definitions.
65992         (LEAVE): Likewise.
65993         (CHECK_BOUNDS_LOW): Likewise.
65994         (CHECK_BOUNDS_HIGH): Likewise.
65995         (CHECK_BOUNDS_BOTH): Likewise.
65996         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
65997         (RETURN_BOUNDED_POINTER): Likewise.
65998         (RETURN_NULL_BOUNDED_POINTER): Likewise.
65999         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
66000         (POP_ERRNO_LOCATION_RETURN): Likewise.
66001         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
66002         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66003         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
66004         macros.
66005         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66006         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
66007         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
66008         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
66009         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
66010         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
66011         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
66012         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
66013         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
66014         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
66015         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
66016         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
66017         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66018         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
66019         removed macros.
66020         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66021         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
66022         macros.
66023         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66024         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
66025         * sysdeps/i386/i586/memset.S (memset): Likewise.
66026         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
66027         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66028         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
66029         macros.
66030         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66031         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
66032         Change uses of L(2) to L(out).
66033         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
66034         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
66035         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
66036         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66037         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
66038         removed macros.
66039         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66040         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
66041         macros.
66042         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66043         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
66044         (RETURN): Do not use macro LEAVE.
66045         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
66046         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
66047         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
66048         * sysdeps/i386/i686/memset.S (memset): Likewise.
66049         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
66050         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
66051         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66052         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
66053         Likewise.
66054         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66055         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
66056         L(1_2) and L(1_3) into L(1).
66057         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
66058         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
66059         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66060         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
66061         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66062         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
66063         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
66064         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66065         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
66066         macros.
66067         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
66068         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66069         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
66070         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
66071         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
66072         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66073         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
66074         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
66075         * sysdeps/i386/strcspn.S (strcspn): Likewise.
66076         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
66077         * sysdeps/i386/strrchr.S (strrchr): Likewise.
66078         * sysdeps/i386/strspn.S (strspn): Likewise.
66079         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
66080         conditional code.
66081         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66082         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
66083         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
66084         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
66085         L(1_3) into L(1_1).
66086         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
66087         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66088         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
66089         macros.
66090         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66092 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
66094         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
66095         macro.
66097 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66099         * math/atest-exp.c (exp_mpn): Remove ROUND.
66100         * math/atest-exp2.c (exp_mpn): Likewise.
66101         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
66103         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
66104         * stdlib/tst-tls-atexit-lib.c: Likewise.
66105         * stdlib/tst-tls-atexit.c: Likewise.
66107 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66109         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
66110         and __attribute_alloc_size__.
66112 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66114         * include/programs/xmalloc.h: Change __attribute_alloc_size to
66115         __attribute_alloc_size__.
66116         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
66117         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
66119 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66121         * include/programs/xmalloc.h: New file.
66122         * catgets/gencat.c: Include it.
66123         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
66124         * elf/pldd.c: Likewise.
66125         * iconv/iconv_charmap.c: Likewise.
66126         * iconv/iconvconfig.c: Likewise.
66127         * iconv/strtab.c: Likewise.
66128         * locale/programs/locale.c: Likewise.
66129         * locale/programs/localedef.h: Likewise.
66130         * locale/programs/simple-hash.c: Likewise.
66131         * nscd/nscd.h: Likewise.
66132         * nss/makedb.c: Likewise.
66133         * sysdeps/generic/ldconfig.h: Likewise.
66135 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66137         * Versions.def: Add GLIBC_2.18.
66138         * include/link.h (struct link_map): New member l_tls_dtor_count.
66139         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
66140         (__call_tls_dtors): Likewise.
66141         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
66142         __cxa_thread_atexit_impl.
66143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66144         Likewise.
66145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66146         Likewise.
66147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
66148         Likewise.
66149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
66150         Likewise.
66151         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
66153         Likewise.
66154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
66155         Likewise.
66156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66158         Likewise.
66159         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
66160         (tests): Add test case tst-tls-atexit.
66161         (modules-names): Add shared library for tst-tls-atexit.
66162         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
66163         (GLIBC_PRIVATE): Add __call_tls_dtors.
66164         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
66165         for libstdc++.
66166         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
66167         * stdlib/tst-tls-atexit.c: New test case.
66168         * stdlib/tst-tls-atexit-lib.c: New test case.
66170         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
66172         * elf/Versions (ld): Add _dl_find_dso_for_object.
66173         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
66174         * elf/dl-open.c (_dl_find_dso_for_object): New function.
66175         (dl_open_worker): Use _dl_find_dso_for_object.
66176         * elf/dl-sym.c (do_sym): Likewise.
66177         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
66179 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66181         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
66182         Syntactic changes only.
66183         (_dl_runtime_profile): Do a tail-call to the resolved function.
66185 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
66187         [BZ #13550]
66188         * sysdeps/x86_64/bp-asm.h: Remove file.
66189         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
66190         <bp-sym.h> and <bp-asm.h>.
66191         (__clone): Do not use BP_SYM.
66192         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
66193         <bp-sym.h> and <bp-asm.h>.
66194         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66195         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
66196         "bp-asm.h".
66197         (_setjmp): Do not use BP_SYM.
66198         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
66199         "bp-asm.h".
66200         (setjmp): Do not use BP_SYM.
66201         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
66202         libc_hidden_def.
66203         (mempcpy): Do not use BP_SYM in weak_alias.
66204         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
66205         "bp-asm.h".
66206         (strchr): Do not use BP_SYM.
66207         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
66208         "bp-asm.h".
66209         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
66210         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
66211         (_start): Do not use BP_SYM.
66212         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
66213         "bp-asm.h".
66214         (strcat): Do not use BP_SYM.
66215         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
66216         "bp-asm.h".
66217         (STRCMP): Do not use BP_SYM.
66218         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
66219         "bp-asm.h".
66220         (STRCPY): Do not use BP_SYM.
66221         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
66222         "bp-asm.h".
66223         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
66224         "bp-asm.h".
66225         (FUNCTION): Do not use BP_SYM.
66226         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
66227         weak_alias.
66228         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
66230 2013-02-17  Andreas Jaeger  <aj@suse.de>
66232         * time/Versions: Sort entries.
66233         * string/Versions: Likewise.
66234         * resolv/Versions: Likewise.
66235         * posix/Versions: Likewise.
66236         * iconv/Versions: Likewise.
66237         * elf/Versions: Likewise.
66238         * wcsmbs/Versions: Likewise.
66240 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66242         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
66243         loop termination condition.
66245         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
66246         variable to calculate EZ.
66247         (__sqr): Likewise.
66249         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
66250         the lower precision input.
66252 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
66254         [BZ #13550]
66255         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
66256         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
66257         (run-via-rtld-prefix): Do not handle %-bp tests.
66258         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
66259         (all-object-suffixes): Remove .ob.
66260         (bppfx): Remove variable.
66261         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
66262         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
66263         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
66264         [$(build-bounded) = yes] (libtype.ob): Likewise.
66265         * Makerules (elide-routines.ob): Remove variable.
66266         (do-tests-clean): Do not handle *-bp.out.
66267         (common-mostlyclean): Do not handle *-bp and *-bp.out.
66268         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
66269         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
66270         (tests): Do not include $(tests-bp.out).
66271         (xtests): Do not include $(xtests-bp.out).
66272         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
66273         [$(build-bounded) = yes] ($(addprefix
66274         $(objpfx),$(binaries-bounded))): Remove rule.
66275         ($(objpfx)%-bp.out): Remove rule.
66276         * config.make.in (build-bounded): Remove variable.
66277         * crypt/Makefile [$(build-bounded) = yes]
66278         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
66279         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
66280         append to variable.
66281         [$(build-bounded) = yes] (install-lib): Likewise.
66282         [$(build-bounded) = yes] (generated): Likewise.
66283         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
66284         Remove rule.
66285         * intl/Makefile [$(build-bounded) = yes]
66286         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
66287         * math/Makefile [$(build-bounded) = yes]
66288         ($(tests:%=$(objpfx)%-bp): Likewise.
66289         * misc/Makefile [$(build-bounded) = yes]
66290         ($(objpfx)tst-tsearch-bp): Likewise.
66291         * nptl/Makeconfig (bounded-thread-library): Remove variable.
66292         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
66293         Remove dependency.
66294         * string/Makefile (o-objects.ob): Remove variable.
66295         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
66296         (CFLAGS-.ob): Remove variable.
66297         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
66298         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
66299         both definitions of variable.
66300         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
66301         (ASFLAGS-.ob): Remove variable.
66303 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
66305         [BZ #13550]
66306         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
66307         Remove __BOUNDED_POINTERS__ from condition.
66308         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
66309         * string/bits/string2.h [!__NO_STRING_INLINES &&
66310         !__BOUNDED_POINTERS__]: Likewise.
66311         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
66312         Likewise.
66313         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
66314         Remove conditional code.
66315         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
66316         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
66317         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
66318         condition.
66320         [BZ #13550]
66321         * csu/libc-start.c: Do not include <bp-sym.h>.
66322         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
66323         * elf/dl-open.c: Do not include <bp-sym.h>.
66324         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
66325         * math/fegetenv.c: Do not include <bp-sym.h>.
66326         (fegetenv): Do not use BP_SYM in versioned symbols.
66327         * nptl/sysdeps/pthread/bits/libc-lockP.h
66328         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
66329         <bp-sym.h>.
66330         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66331         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
66332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66333         (__pthread_mutex_destroy): Likewise.
66334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66335         (__pthread_mutex_lock): Likewise.
66336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66337         (__pthread_mutex_trylock): Likewise.
66338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66339         (__pthread_mutex_unlock): Likewise.
66340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66341         (__pthread_mutexattr_init): Likewise.
66342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66343         (__pthread_mutexattr_destroy): Likewise.
66344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66345         (__pthread_mutexattr_settype): Likewise.
66346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66347         (__pthread_rwlock_init): Likewise.
66348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66349         (__pthread_rwlock_destroy): Likewise.
66350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66351         (__pthread_rwlock_rdlock): Likewise.
66352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66353         (__pthread_rwlock_tryrdlock): Likewise.
66354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66355         (__pthread_rwlock_wrlock): Likewise.
66356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66357         (__pthread_rwlock_trywrlock): Likewise.
66358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66359         (__pthread_rwlock_unlock): Likewise.
66360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66361         (__pthread_key_create): Likewise.
66362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66363         (__pthread_setspecific): Likewise.
66364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66365         (__pthread_getspecific): Likewise.
66366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
66367         Likewise.
66368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66369         (_pthread_cleanup_push_defer): Likewise.
66370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66371         (_pthread_cleanup_pop_restore): Likewise.
66372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66373         (pthread_setcancelstate): Likewise.
66374         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
66375         <bp-sym.h>.
66376         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
66377         (memchr): Do not use BP_SYM in weak_alias.
66378         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
66379         (fegetenv): Do not use BP_SYM in versioned symbols.
66380         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
66381         (fesetenv): Do not use BP_SYM in versioned symbols.
66382         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
66383         (feupdateenv): Do not use BP_SYM in versioned symbols.
66384         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
66385         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
66386         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
66387         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
66388         (open64): Do not use BP_SYM in weak_alias.
66389         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
66390         (fegetenv): Do not use BP_SYM in versioned symbols.
66391         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
66392         (fesetenv): Do not use BP_SYM in versioned symbols.
66393         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
66394         (feupdateenv): Do not use BP_SYM in versioned symbols.
66395         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
66396         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
66397         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
66398         (feraiseexcept): Do not use BP_SYM in versioned symbols.
66399         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
66400         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
66401         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
66402         <bp-sym.h>.
66403         (__libc_start_main): Do not use BP_SYM.
66405 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
66408         redundant return line.
66409         (norm): Likewise.
66410         (denorm): Likewise.
66411         (dbl_mp): Likewise.
66412         (sub_magnitudes): Likewise.
66413         (__add): Likewise.
66414         (__sub): Likewise.
66415         (__mul): Likewise.
66416         (__inv): Likewise.
66417         (__dvd): Likewise.
66418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
66419         (norm): Likewise.
66420         (denorm): Likewise.
66421         (dbl_mp): Likewise.
66422         (sub_magnitudes): Likewise.
66423         (__add): Likewise.
66424         (__sub): Likewise.
66425         (__mul): Likewise.
66426         (__inv): Likewise.
66427         (__dvd): Likewise.
66429         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
66430         instead of __mul.
66431         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66432         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
66433         (cc32): Likewise.
66435         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
66436         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
66437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
66438         of __mul for squares.
66439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
66440         function
66441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
66442         Likewise.
66443         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
66444         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66446 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
66448         [BZ #13550]
66449         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
66450         code.
66451         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
66452         prototype or function definition.  Rename ubp_* variables and
66453         parameters.  Remove argv definitions conditional on
66454         [__BOUNDED_POINTERS__].
66455         * debug/backtrace.c (__backtrace): Do not use __unbounded.
66456         * elf/dl-runtime.c (_dl_fixup): Likewise.
66457         * include/set-hooks.h (RUN_HOOK): Likewise.
66458         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
66459         definition.
66460         * string/strcpy.c (strcpy): Do not use __unbounded.
66461         * sysdeps/generic/frame.h (struct layout): Likewise.
66462         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
66463         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
66464         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
66465         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
66466         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
66467         (__backtrace): Likewise.
66468         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
66469         use __ptrvalue.
66470         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
66471         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
66472         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
66473         Likewise.
66474         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
66475         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
66476         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
66477         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
66478         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
66479         Do not use __unbounded.
66480         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
66481         Rename __unboundedrlimits parameter to rlimits in prototype.
66482         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
66483         Do not use __unbounded.
66484         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
66485         not use __ptrvalue.
66486         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
66487         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
66488         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
66489         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
66490         __ptrvalue or __unbounded.
66491         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
66492         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
66493         use __unbounded.
66494         (__new_msgctl): Do not use __ptrvalue.
66495         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
66496         __unbounded.
66497         (__libc_msgrcv): Do not use __ptrvalue.
66498         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
66499         startup_info): Do not use __unbounded.
66500         (__libc_start_main): Likewise.  Rename ubp_* variables and
66501         parameters.  Remove argv definitions conditional on
66502         [__BOUNDED_POINTERS__].
66503         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
66504         __ptrvalue.
66505         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
66506         use __unbounded.
66507         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
66508         or __ptrvalue.
66509         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
66510         use __unbounded.
66511         (__new_shmctl): Do not use __ptrvalue.
66512         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
66513         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
66514         Likewise.
66515         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
66516         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
66517         (__libc_sigaction): Likewise.
66518         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
66519         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
66520         Likewise.
66521         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
66523 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
66525         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
66527         * string/mempcpy.c: Implement by calling memcpy.
66529 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
66531         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
66533         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
66534         evaluation.
66536         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
66537         values in the mantissa.
66539         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
66540         minimize writes to Z.
66541         (sub_magnitudes): Simplify code a bit.
66543 2013-02-12  Roland McGrath  <roland@hack.frob.com>
66545         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
66546         from the message.  The linker prefixes all warnings with that already.
66548 2013-02-12  Andreas Schwab  <schwab@suse.de>
66550         [BZ #15078]
66551         * posix/regexec.c (extend_buffers): Add parameter min_len.
66552         (check_matching): Pass minimum needed length.
66553         (clean_state_log_if_needed): Likewise.
66554         (get_subexp): Likewise.
66555         * posix/Makefile (tests): Add bug-regex34.
66556         (bug-regex34-ENV): Define.
66557         * posix/bug-regex34.c: New file.
66559         [BZ #11561]
66560         * posix/regcomp.c (parse_bracket_exp): When looking up collating
66561         elements compare against the byte sequence of it, not its name.
66562         * posix/Makefile (tests): Add bug-regex35.
66563         (bug-regex35-ENV): Define.
66564         * posix/bug-regex35.c: New file.
66566 2013-02-11  Tom de Vries  <tom@codesourcery.com>
66568         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
66569         comment.
66570         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
66571         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
66572         (CHECK_EOL): Add undef.
66574 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
66576         * bits/stdlib-bsearch.h: New file.
66577         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
66578         * stdlib/stdlib.h: Likewise.
66580 2013-02-11  Roland McGrath  <roland@hack.frob.com>
66582         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
66583         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
66584         declaration.
66585         * manual/search.texi (Array Search Function): Add missing const in
66586         lfind prototype.
66587         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
66588         declaration to use rlim_t.
66589         (Basic Scheduling Functions): Remove erroneous const from
66590         sched_getparam prototype.  Remove erroneous * from
66591         sched_get_priority_max and sched_get_priority_min prototypes.
66592         (Resource Usage): Fix summary @comment on vtimes to refer to
66593         sys/vtimes.h rather than vtimes.h.
66594         Add missing *s in vtimes prototype.
66595         (Limits on Resources): Fix ulimit prototype to return long int.
66596         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
66597         prototypes to use long int rather than double.
66598         (BSD Random): Fix initstate and setstate to use char *, not void *.
66599         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
66600         prototype to make second argument 'struct aiocb64 *const[]'.
66601         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
66602         (Status of AIO Operations): Remove erroneous const in aio_return and
66603         aio_return64 prototypes.
66604         (Synchronizing I/O): Fix sync prototype to return void.
66605         * manual/startup.texi (Suboptions): Remove an erroneous const in
66606         getsubopt prototype.
66607         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
66608         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
66609         use size_t rather than int.
66610         (Scanning All Users): Likewise for getpwent_r.
66611         (Setting Groups): Add missing const to setgroups prototype.
66612         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
66613         * manual/socket.texi (Host Names): Fix gethostbyaddr and
66614         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
66615         'const void *' rather than 'const char *'.
66616         (Host Address Functions): Likewise for inet_ntop.
66617         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
66618         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
66619         ssize_t for return value.
66620         (Sending Data): Likewise for send, sendto, sendmsg.
66621         (Socket Option Functions): Add a missing const in setsockopt prototype.
66622         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
66623         use wchar_t for the argument.
66624         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
66625         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
66626         take no arguments.
66627         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
66628         double/float/long double for second argument.
66629         Fix return types of significand, significandf, significandl.
66630         * manual/filesys.texi (Setting Permissions): Use mode_t for second
66631         argument in fchmod prototype.
66632         (File Owner): Use uid_t and gid_t in fchown prototype.
66633         (File Times): Add const to utimes, futimes, and lutimes prototypes.
66634         (Making Special Files): Use mode_t and dev_t in mknod prototype.
66635         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
66636         use 'const struct dirent **' as argument types to CMP function pointer
66637         argument.
66638         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
66639         (File Times): Fix summary magic @comment for struct utimbuf and utime
66640         to refer to utime.h, not time.h.
66641         * manual/string.texi (Argz Functions): Add missing const in
66642         argz_extract and argz_next prototypes.
66643         (Finding Tokens in a String): Likewise for basename.
66644         (String/Array Comparison): Fix typo in wcscasecmp prototype.
66645         (Copying and Concatenation): Fix typo in wmemmove prototype.
66646         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
66647         (Signal Stack): Remove erroneous const in sigstack prototype.
66648         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
66649         prototype.
66650         (Simple Calendar Time): Likewise for stime.
66651         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
66652         prototype.
66653         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
66654         say sys/sysctl.h instead.
66655         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
66656         and vsyslog prototypes.
66658 2013-02-11  Tom de Vries  <tom@codesourcery.com>
66660         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
66661         Remove.
66663 2013-02-11  Roland McGrath  <roland@hack.frob.com>
66665         * misc/sys/mman.h: Fix typo in mremap comment.
66667 2013-02-08  Roland McGrath  <roland@hack.frob.com>
66669         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
66670         the '\0' terminator.
66672 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
66674         [BZ #13550]
66675         * debug/segfault.c: Don't include <bp-checks.h>.
66676         * sysdeps/generic/bp-checks.h: Remove file.
66677         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
66678         (__GETDENTS): Don't use CHECK_N.
66679         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
66680         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
66681         (__getgroups): Don't use CHECK_N.
66682         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
66683         (setgroups): Don't use CHECK_N.
66684         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
66685         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
66686         (__libc_msgrcv): Don't use CHECK_N.
66687         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
66688         (__libc_msgsnd): Don't use CHECK_N.
66689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
66690         <bp-checks.h>.
66691         (__libc_pread): Don't use CHECK_N.
66692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
66693         include <bp-checks.h>.
66694         (__libc_pread64): Don't use CHECK_N.
66695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
66696         include <bp-checks.h>.
66697         (__libc_pwrite): Don't use CHECK_N.
66698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
66699         include <bp-checks.h>.
66700         (__libc_pwrite64): Don't use CHECK_N.
66701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
66702         <bp-checks.h>.
66703         (__libc_pread): Don't use CHECK_N.
66704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
66705         include <bp-checks.h>.
66706         (__libc_pread64): Don't use CHECK_N.
66707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
66708         include <bp-checks.h>.
66709         (__libc_pwrite): Don't use CHECK_N.
66710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
66711         include <bp-checks.h>.
66712         (__libc_pwrite64): Don't use CHECK_N.
66713         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
66714         (do_pread): Don't use CHECK_N.
66715         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
66716         (do_pread64): Don't use CHECK_N.
66717         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
66718         (do_pwrite): Don't use CHECK_N.
66719         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
66720         (do_pwrite64): Don't use CHECK_N.
66721         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
66722         (__libc_readv): Don't use CHECK_N.
66723         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
66724         (semop): Don't use CHECK_N.
66725         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
66726         <bp-checks.h>.
66727         (semtimedop): Don't use CHECK_N.
66728         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
66729         (__libc_pread): Don't use CHECK_N.
66730         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
66731         <bp-checks.h>.
66732         (__libc_pread64): Don't use CHECK_N.
66733         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
66734         <bp-checks.h>.
66735         (__libc_pwrite): Don't use CHECK_N.
66736         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
66737         <bp-checks.h>.
66738         (__libc_pwrite64): Don't use CHECK_N.
66739         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
66740         <bp-checks.h>.
66741         (__libc_msgrcv): Don't use CHECK_N.
66742         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
66743         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
66744         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
66745         (__libc_writev): Don't use CHECK_N.
66747 2013-02-08  Roland McGrath  <roland@hack.frob.com>
66749         * string/strcpy.c: Removed unused variable.
66751         * Makeconfig (+sysdep-includes): Define with := rather than =.
66752         Use an existing include/ subdir of each sysdeps dir before it.
66754 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66756         * nscd/connection.c (register_traced_file): Comment function.
66757         [HAVE_INOTIFY] (union __inev): Define.
66758         [HAVE_INOTIFY] (inotify_check_files): New function.
66759         [HAVE_INOTIFY] (clear_db_cache): Likewise.
66760         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
66761         clear_db_cache.
66762         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
66764 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66766         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
66767         loaded if not already and that a failure is permanent.
66769 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66771         [BZ #15006]
66772         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
66773         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
66775 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
66777         [BZ #13550]
66778         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
66779         (CHECK_1_NULL_OK): Likewise.
66780         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
66781         (__fxstat): Do not use CHECK_1.
66782         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
66783         <bp-checks.h>.
66784         (___fxstat64): Do not use CHECK_1.
66785         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
66786         <bp-checks.h>.
66787         (__fxstatat): Do not use CHECK_1.
66788         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
66789         <bp-checks.h>.
66790         (__fxstatat64): Do not use CHECK_1.
66791         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
66792         <bp-checks.h>.
66793         (__fxstat): Do not use CHECK_1.
66794         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
66795         <bp-checks.h>.
66796         (__fxstatat): Do not use CHECK_1.
66797         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66798         <bp-checks.h>.
66799         (__getresgid): Do not use CHECK_1.
66800         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66801         <bp-checks.h>.
66802         (__getresuid): Do not use CHECK_1.
66803         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
66804         <bp-checks.h>.
66805         (__lxstat): Do not use CHECK_1.
66806         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66807         <bp-checks.h>.
66808         (__old_msgctl): Do not use CHECK_1.
66809         (__new_msgctl): Likewise.
66810         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
66811         <bp-checks.h>.
66812         (__new_setrlimit): Do not use CHECK_1.
66813         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66814         <bp-checks.h>.
66815         (__old_shmctl): Do not use CHECK_1.
66816         (__new_shmctl): Likewise.
66817         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
66818         <bp-checks.h>.
66819         (__xstat): Do not use CHECK_1.
66820         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
66821         (__lxstat): Do not use CHECK_1.
66822         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
66823         <bp-checks.h>.
66824         (___lxstat64): Do not use CHECK_1.
66825         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
66826         (__old_msgctl): Do not use CHECK_1.
66827         (__new_msgctl): Likewise.
66828         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
66829         <bp-checks.h>.
66830         (__gettimeofday): Do not use CHECK_1.
66831         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
66832         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
66833         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
66834         <bp-checks.h>.
66835         (__gettimeofday): Do not use CHECK_1.
66836         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
66837         (__old_shmctl): Do not use CHECK_1_NULL_OK.
66838         (__new_shmctl): Do not use CHECK_1.
66839         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
66840         <bp-checks.h>.
66841         (do_sigtimedwait): Do not use CHECK_1.
66842         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
66843         <bp-checks.h>.
66844         (do_sigwaitinfo): Do not use CHECK_1.
66845         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
66846         <bp-checks.h>.
66847         (msgctl): Do not use CHECK_1.
66848         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
66849         <bp-checks.h>.
66850         (shmctl): Do not use CHECK_1.
66851         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
66852         (ustat): Do not use CHECK_1.
66853         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
66854         <bp-checks.h>.
66855         (__fxstat): Do not use CHECK_1.
66856         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
66857         <bp-checks.h>.
66858         (__fxstatat): Do not use CHECK_1.
66859         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
66860         <bp-checks.h>.
66861         (__lxstat): Do not use CHECK_1.
66862         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
66863         <bp-checks.h>.
66864         (__xstat): Do not use CHECK_1.
66865         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
66866         (__xstat): Do not use CHECK_1.
66867         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
66868         (___xstat64): Do not use CHECK_1.
66870         [BZ #13550]
66871         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
66872         definitions.
66873         (CHECK_BOUNDS_HIGH): Likewise.
66874         * string/strcpy.c: Do not include <bp-checks.h>.
66875         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
66877 2013-02-07  Roland McGrath  <roland@hack.frob.com>
66879         * nscd/nscd-client.h (__nscd_drop_map_ref):
66880         Add __attribute__ ((unused)).
66881         * nis/nss-nisplus.h (niserr2nss): Likewise.
66883         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
66884         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
66886         * csu/libc-tls.c (init_static_tls, init_slotinfo):
66887         Remove inline keyword.
66888         * include/rounding-mode.h (round_away): Likewise.
66889         * libio/wfileops.c (adjust_wide_data): Likewise.
66890         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
66891         (__m128i_strloadu_tolower): Likewise.
66892         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
66893         (__m128i_strloadu_tolower): Likewise.
66894         * time/mktime.c (ydhms_diff): Likewise.
66895         * locale/elem-hash.h (elem_hash): Likewise.
66896         * locale/setlocale.c (setdata): Likewise.
66897         * posix/regex_internal.h (re_string_char_size_at): Likewise.
66898         (re_string_wchar_at): Likewise.
66899         (bitset_not, bitset_merge, bitset_mask): Likewise.
66900         [!(__GNUC__ > 3)] (inline): Remove macro.
66901         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
66902         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
66903         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
66904         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
66905         * string/memcmp.c (memcmp_bytes): Likewise.
66906         * locale/programs/locarchive.c (compute_hashval): Likewise.
66907         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
66908         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
66909         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
66910         * nss/getent.c (print_rpc, print_protocols): Likewise.
66911         (print_passwd, print_group, print_aliases): Likewise.
66912         * nis/nss-nisplus.h (niserr2nss): Likewise.
66913         * nscd/connections.c (restart_p): Likewise.
66914         Change return type to bool.
66916 2013-02-05  Roland McGrath  <roland@hack.frob.com>
66918         * Makeconfig (all-Depend-files): Add existing
66919         $(sorted-subdirs:=/Depend) files.
66920         (all-subdirs): Remove nss.
66921         * sysdeps/unix/inet/Subdirs: Add it here instead.
66922         * hesiod/Depend: New file.
66924         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
66925         instead of calling alloca.
66927         * io/lseek.c (__lseek): Rename to __libc_lseek.
66928         Define __lseek as an alias.
66930         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
66932 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
66934         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
66935         else clause and remove check for non-standard endianness.
66937 2013-02-04  David S. Miller  <davem@davemloft.net>
66939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66941 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
66943         [BZ #13550]
66944         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
66945         (__ubp_memchr): Remove prototype.
66946         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
66947         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66948         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
66949         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66950         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
66951         Remove alias.
66952         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
66953         (__ubp_memchr): Likewise.
66954         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
66955         (__ubp_memchr): Likewise.
66956         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
66957         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
66958         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
66959         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
66960         CHECK_STRING.
66961         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
66962         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
66963         (__getcwd): Do not use CHECK_STRING.
66964         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66965         <bp-checks.h>.
66966         (__real_chown): Do not use CHECK_STRING.
66967         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
66968         <bp-checks.h>.
66969         (fchownat): Do not use CHECK_STRING.
66970         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
66971         CHECK_STRING.
66972         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66973         <bp-checks.h>.
66974         (__lchown): Do not use CHECK_STRING.
66975         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
66976         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
66977         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
66978         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
66979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66980         include <bp-checks.h>.
66981         (truncate64): Do not use CHECK_STRING.
66982         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66983         <bp-checks.h>.
66984         (__real_chown): Do not use CHECK_STRING.
66985         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66986         <bp-checks.h>.
66987         (__lchown): Do not use CHECK_STRING.
66988         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66989         <bp-checks.h>.
66990         (__chown): Do not use CHECK_STRING.
66991         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
66992         <bp-checks.h>.
66993         (truncate64): Do not use CHECK_STRING.
66994         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
66995         Likewise.
66996         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
66997         (__xmknod): Do not use CHECK_STRING.
66998         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
66999         <bp-checks.h>.
67000         (__xmknodat): Do not use CHECK_STRING.
67001         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67002         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
67004 2013-02-04  Andreas Schwab  <schwab@suse.de>
67006         [BZ #14142]
67007         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
67008         * include/netdb.h: Likewise for h_errno.
67009         * elf/tst-stackguard1.c: Include <tls.h>.
67011 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
67013         * elf/link.h (struct link_map): Extend the l_addr comment.
67014         * include/link.h (struct link_map): Likewise.
67016 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
67018         [BZ #13550]
67019         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
67020         (BOUNDED_1): Remove macro.
67021         * debug/backtrace.c: Don't include <bp-checks.h>.
67022         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
67023         (__backtrace): Likewise.
67024         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
67025         <bp-checks.h>.
67026         (__backtrace): Don't use BOUNDED_1.
67027         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
67028         <bp-checks.h>.
67029         (__backtrace): Don't use BOUNDED_1.
67030         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
67031         (__backtrace): Don't use BOUNDED_1.
67032         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
67033         (shmat): Don't use BOUNDED_N.
67035 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
67037         [BZ #13550]
67038         * sysdeps/generic/bp-start.h: Remove file.
67039         * csu/libc-start.c: Don't include <bp-start.h>.
67040         (LIBC_START_MAIN): Set up __environ directly instead of using
67041         INIT_ARGV_and_ENVIRON.
67042         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
67043         <bp-start.h>.
67045         [BZ #13550]
67046         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
67047         definitions.
67048         (CHECK_FCNTL): Likewise.
67049         (CHECK_N_PAGES): Likewise.
67051         [BZ #13550]
67052         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
67053         definitions.
67054         (CHECK_SIGSET_NULL_OK): Likewise.
67055         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
67056         <bp-checks.h>.
67057         (sigpending): Don't use CHECK_SIGSET.
67058         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
67059         <bp-checks.h>.
67060         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67061         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
67062         <bp-checks.h>.
67063         (do_sigsuspend): Don't use CHECK_SIGSET.
67064         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
67065         use CHECK_SIGSET.
67066         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
67067         (do_sigwait): Don't use CHECK_SIGSET.
67068         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
67069         use CHECK_SIGSET.
67070         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
67071         include <bp-checks.h>.
67072         (sigpending): Don't use CHECK_SIGSET.
67073         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
67074         include <bp-checks.h>.
67075         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67076         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
67077         <bp-checks.h>.
67078         (sigpending): Don't use CHECK_SIGSET.
67079         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
67080         <bp-checks.h>.
67081         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67083         [BZ #13550]
67084         * sysdeps/generic/bp-semctl.h: Remove file.
67085         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
67086         <bp-checks.h> and <bp-semctl.h>.
67087         (__old_semctl): Don't use CHECK_SEMCTL.
67088         (__new_semctl): Likewise.
67089         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
67090         and <bp-semctl.h>.
67091         (__old_semctl): Don't use CHECK_SEMCTL.
67092         (__new_semctl): Likewise.
67093         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
67094         <bp-checks.h> and <bp-semctl.h>.
67095         (__old_semctl): Don't use CHECK_SEMCTL.
67096         (__new_semctl): Likewise.
67097         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
67098         <bp-checks.h> and <bp-semctl.h>.
67099         (semctl): Don't use CHECK_SEMCTL.
67101         [BZ #13550]
67102         * Makerules (elide-bp-thunks): Remove variable.
67103         (elide-routines.oS): Don't use $(elide-bp-thunks).
67104         (elide-routines.os): Likewise.
67105         (elide-routines.o): Likewise.
67106         (elide-routines.op): Likewise.
67107         (elide-routines.og): Likewise.
67108         (objects): Don't use $(bp-thunks).
67109         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
67110         include.
67111         (common-generated): Do not add s-proto-bp.d.
67112         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
67113         (int): Likewise.
67114         (typ): Likewise.
67115         Do not generate makefile rules for bounded-pointer thunks.
67116         * sysdeps/generic/bp-thunks.h: Remove file.
67117         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
67118         * sysdeps/unix/s-proto-bp.S: Likewise.
67120         [BZ #15062]
67121         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
67122         parts of result separately when argument is not close to line from
67123         -i to i and one part of argument is small.
67124         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67125         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67126         * math/libm-test.inc (cacos_test): Add more tests.
67127         (casin_test): Likewise.
67128         (casinh_test): Likewise.
67129         * sysdeps/i386/fpu/libm-test-ulps: Update.
67130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67132 2013-01-31  David S. Miller  <davem@davemloft.net>
67134         * po/de.po: Update from translation team.
67136 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
67138         * time/tzfile.c: Include stdint.h for SIZE_MAX.
67140 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
67142         * configure.in (_AC_PROG_CC_C89): New definition.
67143         * configure: Regenerate.
67145         * configure.in (AC_PROG_CPP): New definition.
67146         * configure: Regenerate.
67148 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
67150         * debug/tst-backtrace.h: New file.
67151         * debug/tst-backtrace2.c: Include tst-backtrace.h.
67152         (ret): Remove variable.
67153         (x): Likewise.
67154         (FAIL): Remove macro.
67155         (NO_INLINE): Likewise.
67156         (fn1): Use match function instead of strstr.
67157         * debug/tst-backtrace3.c: Include tst-backtrace.h.
67158         (ret): Remove variable.
67159         (x): Likewise.
67160         (FAIL): Remove macro.
67161         (NO_INLINE): Likewise.
67162         (fn): Use match function instead of strstr.
67163         * debug/tst-backtrace4.c: Include tst-backtrace.h.
67164         (ret): Remove variable.
67165         (x): Likewise.
67166         (FAIL): Remove macro.
67167         (NO_INLINE): Likewise.
67168         (handle_signal): Use match function instead of strstr.
67169         * debug/tst-backtrace5.c: Include tst-backtrace.h.
67170         (ret): Remove variable.
67171         (x): Likewise.
67172         (FAIL): Remove macro.
67173         (NO_INLINE): Likewise.
67174         (handle_signal): Use match function instead of strstr.
67176 2013-01-23  Roland McGrath  <roland@hack.frob.com>
67178         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
67180 2013-01-23  David S. Miller  <davem@davemloft.net>
67182         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
67183         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
67184         argument of CAS if possible.
67185         * sysdeps/sparc/sparc64/bits/atomic.h
67186         (__arch_compare_and_exchange_val_32_acq): Likewise.
67187         (__arch_compare_and_exchange_val_64_acq): Likewise.
67189 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
67191         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
67192         * sysdeps/posix/ulimit.c: ... this.
67193         Include <limits.h>.
67194         * sysdeps/unix/bsd/ulimit.c: Remove file.
67196 2013-01-23  Adam Conrad  <adconrad@0c3.net>
67198         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
67199         (LDFLAGS-tst-array5): Likewise.
67201 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
67203         [BZ #15036]
67204         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
67205         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
67206         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
67207         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
67209 2013-01-21  David S. Miller  <davem@davemloft.net>
67211         * sysdeps/sparc/backtrace.c: New file.
67212         * sysdeps/sparc/sparc32/backtrace.h: New file.
67213         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
67214         * sysdeps/sparc/sparc64/backtrace.h: New file.
67215         * sysdeps/sparc/sparc64/backtrace.c: Delete.
67216         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
67217         -funwind-tables.
67219 2013-01-21  Andreas Schwab  <schwab@suse.de>
67221         [BZ #15020]
67222         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
67223         closed its stdout.
67225 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
67227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
67228         "mpa2.h".
67229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67231 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
67232             Mark Mitchell  <mark@codesourcery.com>
67233             Tom de Vries  <tom@codesourcery.com>
67234             Paul Pluzhnikov  <ppluzhnikov@google.com>
67236         * debug/tst-backtrace2.c: New file.
67237         * debug/tst-backtrace3.c: Likewise.
67238         * debug/tst-backtrace4.c: Likewise.
67239         * debug/tst-backtrace5.c: Likewise.
67240         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
67241         (CFLAGS-tst-backtrace3.c): Likewise.
67242         (CFLAGS-tst-backtrace4.c): Likewise.
67243         (CFLAGS-tst-backtrace5.c): Likewise.
67244         (LDFLAGS-tst-backtrace2): Likewise.
67245         (LDFLAGS-tst-backtrace3): Likewise.
67246         (LDFLAGS-tst-backtrace4): Likewise.
67247         (LDFLAGS-tst-backtrace5): Likewise.
67248         (tests): Add new tests tst-backtrace2, tst-backtrace3,
67249         tst-backtrace4 and tst-backtrace5.
67251 2013-01-18  Anton Blanchard  <anton@samba.org>
67252             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67254         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
67255         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
67256         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
67257         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
67258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67259         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
67260         "+r" and remove output regs list as redundant.  Add explicit inline
67261         asm to specify register of return val to work around compiler codegen
67262         bug.  Remove (int) cast on return value.  Add return type parameter to
67263         use in macro so that this macro does not truncate return value for
67264         64-bit values.
67265         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
67266         pass to INTERNAL_VSYSCALL_NCS.
67267         (INLINE_VSYSCALL): Add 'long int' as return type to
67268         INTERNAL_VSYSCALL_NCS macro invocation.
67269         (INTERNAL_VSYSCALL): Add 'long int' as return type to
67270         INTERNAL_VSYSCALL_NCS macro invocation.
67271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67273 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67275         [BZ #14496]
67276         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
67277         Fix application of SIMD FP exception mask.
67279         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
67280         mp_no from a power of two.
67281         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
67282         __mpexp_twomm1.  Use __pow_mp.
67284         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
67285         multiplication.
67287 2013-01-17  David S. Miller  <davem@davemloft.net>
67289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67291 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
67293         [BZ #15023]
67294         * include/complex.h: Condition contents on [!_COMPLEX_H].
67295         (__kernel_casinhf): New prototype.
67296         (__kernel_casinh): Likewise.
67297         (__kernel_casinhl): Likewise.
67298         * math/Makefile (libm_calls): Add k_casinh.
67299         * math/k_casinh.c: New file.
67300         * math/k_casinhf.c: Likewise.
67301         * math/k_casinhl.c: Likewise.
67302         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
67303         finite nonzero arguments.
67304         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
67305         finite nonzero arguments.
67306         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
67307         finite nonzero arguments.
67308         * math/s_casinh.c: Do not include <float.h>.
67309         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
67310         * math/s_casinhf.c: Do not include <float.h>.
67311         (__casinhf): Move code for finite nonzero arguments to
67312         k_casinhf.c.
67313         * math/s_casinhl.c: Do not include <float.h>.
67314         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
67315         redefine.
67316         (__casinhl): Move code for finite nonzero arguments to
67317         k_casinhl.c.
67318         * math/libm-test.inc (cacos_test): Add more tests.
67319         * sysdeps/i386/fpu/libm-test-ulps: Update.
67320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67322 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
67324         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
67325         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
67326         [!HAVE_MREMAP]: Remove [defined linux] case.
67327         * malloc/arena.c: Do not include <malloc-sysdep.h>.
67329 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67331         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
67333 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
67335         * elf/elf.h (R_386_SIZE32): New relocation.
67336         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
67337         R_386_SIZE32.
67338         (elf_machine_rela): Likewise.
67339         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67340         R_X86_64_SIZE64 and R_X86_64_SIZE32.
67342 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
67344         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
67345         (FP_FAST_FMA): Do not define.
67346         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
67347         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
67348         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
67349         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
67350         !_SOFT_FLOAT]: Likewise.
67351         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
67352         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
67353         value.
67354         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
67355         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
67356         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
67357         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
67358         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
67359         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
67360         file.
67362 2013-01-16  Andreas Schwab  <schwab@suse.de>
67364         [BZ #14327]
67365         * include/stdlib.h (__mktemp): Add declaration.
67366         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
67367         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
67369 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67371         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
67372         definitions.
67373         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67374         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
67375         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
67376         definitions here.
67377         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
67378         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
67379         definitions.
67380         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
67381         and ONE.
67382         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
67383         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
67384         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
67385         definitions.
67386         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
67387         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
67388         definitions.
67389         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67391         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
67393 2013-01-15  David S. Miller  <davem@davemloft.net>
67395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67396         trunc{,f} to libm-sysdep_routes.
67397         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
67399         file.
67400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
67401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
67402         file.
67403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
67404         file.
67405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
67406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
67407         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
67408         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
67409         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
67410         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
67411         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
67412         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
67414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67415         nearbyint{,f} to libm-sysdep_routes.
67416         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
67418         New file.
67419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
67420         file.
67421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
67422         New file.
67423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
67424         file.
67425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
67426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
67427         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
67428         file.
67429         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
67430         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
67431         file.
67432         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
67433         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
67434         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
67436         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
67437         libc_feholdexcept and libc_fesetenv.
67439 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
67441         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
67443 2013-01-14  David S. Miller  <davem@davemloft.net>
67445         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
67446         (SPARC_ASM_VIS2_IFUNC): Likewise.
67447         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
67448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
67449         use of 'siam' instruction.
67450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
67451         Likewise.
67452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
67453         Likewise.
67454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
67455         Likewise.
67456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
67457         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
67458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
67459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
67460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
67461         file.
67462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
67463         file.
67464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
67465         file.
67466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
67467         file.
67468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
67469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
67470         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
67471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
67472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
67473         new VIS2 routines.
67474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67477         Likewise.
67478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67479         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67480         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
67483         routines to libm-sysdep_routines.
67484         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67487         fdim/fdimf to libm-sysdep_routines.
67488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
67489         file.
67490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
67491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
67492         file.
67493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
67494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
67495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
67496         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
67497         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
67498         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
67499         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
67501 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67503         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
67504         to optimize copies.
67506         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
67507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
67511         local variable MPTWO.
67512         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67513         Likewise.
67515 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
67517         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
67518         GLOB_NOESCAPE.
67520 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
67522         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
67524 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
67526         * manual/pattern.texi (glob_t): Document gl_flags.
67527         (glob64_t): Likewise.
67529 2013-01-11  David S. Miller  <davem@davemloft.net>
67531         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
67532         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
67533         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
67534         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
67535         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
67536         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
67537         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
67538         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
67539         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
67540         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
67541         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
67542         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
67543         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
67545         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
67546         sparc V9 rather than using V8 code.
67547         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
67548         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
67550         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67551         Move to...
67552         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
67553         Here.
67555 2013-01-11  Roland McGrath  <roland@hack.frob.com>
67557         [BZ #14941]
67558         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
67559         not in the main loop.
67560         * configure: Regenerated.
67562 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
67564         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
67565         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
67566         to just #else.
67567         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
67568         [!__GLIBC_HAVE_LONG_LONG] case.
67569         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
67570         condition to just #else.
67571         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
67572         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
67573         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
67574         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
67575         unconditional.
67576         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
67577         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
67578         #elif condition to just #else.
67579         * sysdeps/unix/sysv/linux/sys/sysmacros.h
67580         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
67581         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
67582         #elif condition to just #else.
67584 2013-01-11  Steve Ellcey  <sellcey@mips.com>
67586         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
67587         (EF_MIPS_ARCH_64): Fix value.
67588         (EF_MIPS_ARCH_32R2): New.
67589         (EF_MIPS_ARCH_64R2): New.
67591 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
67593         * Makeconfig (+link-pie-before-libc): New.
67594         (+link-pie-after-libc): Likewise.
67595         (+link-pie-tests): Likewise.
67596         (+link-pie): Rewritten.
67597         (link-before-libc): Remove $(config-LDFLAGS).
67598         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
67599         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
67600         (config-LDFLAGS): Renamed to ...
67601         (rtld-LDFLAGS): This.
67602         (rtld-tests-LDFLAGS): New macro.
67603         (link-libc-rpath-link): Likewise.
67604         (link-libc-tests-rpath-link): Likewise.
67605         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
67606         (link-libc): Prepand $(link-libc-rpath-link).
67607         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
67608         (test-program-prefix): New macro.
67609         (test-via-rtld-prefix): Likewise.
67610         (test-program-cmd): Likewise.
67611         (host-test-program-cmd): Likewise.
67612         * Makefile ($(common-objpfx)testrun.sh): Replace
67613         $(run-program-prefix) with $(test-program-prefix).
67614         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
67615         $(rtld-LDFLAGS).
67616         ($(common-objpfx)shlib.lds): Likewise.
67617         (build-module-helper): Likewise.
67618         ($(common-objpfx)format.lds): Likewise.
67619         * Rules (binaries-pie-tests): New.
67620         (binaries-pie-notests): Likewise.
67621         (binaries-pie): Rewritten.
67622         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
67623         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
67624         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
67625         (make-test-out): Replace $(host-built-program-cmd) with
67626         $(host-test-program-cmd).
67627         * config.make.in (build-hardcoded-path-in-tests): New variable.
67628         * configure.in (--enable-hardcoded-path-in-tests): New configure
67629         option.
67630         (hardcoded_path_in_tests): New AC_SUBST.
67631         * configure: Regenerated.
67632         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
67633         $(built-program-cmd) with $(test-program-cmd).
67634         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
67635         (test_program_cmd): This.
67636         * elf/Makefile ($(objpfx)order.out): Run test with
67637         $(test-program-prefix).
67638         ($(objpfx)order2.out): Likewise.
67639         ($(objpfx)tst-initorder.out): Likewise.
67640         ($(objpfx)tst-initorder2.out): Likewise.
67641         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
67642         $(test-program-cmd).
67643         ($(objpfx)tst-array1-static.out): Likewise.
67644         ($(objpfx)tst-array2.out): Likewise.
67645         ($(objpfx)tst-array3.out): Likewise.
67646         ($(objpfx)tst-array4.out): Likewise.
67647         ($(objpfx)tst-array5.out): Likewise.
67648         ($(objpfx)tst-array5-static.out): Likewise.
67649         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
67650         $(test-program-cmd).
67651         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
67652         $(run-program-prefix) with $(test-program-prefix).
67653         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
67654         (test_program_prefix): This.
67655         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
67656         $(run-program-prefix) with $(test-program-prefix).
67657         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
67658         (test_program_prefix): This.
67659         * iconvdata/tst-tables.sh: Likewise.
67660         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
67661         $(run-program-prefix) with $(test-program-prefix).
67662         ($(objpfx)tst-translit.out): Likewise.
67663         ($(objpfx)tst-gettext2.out): Likewise.
67664         ($(objpfx)tst-gettext4.out): Likewise.
67665         ($(objpfx)tst-gettext6.out): Likewise.
67666         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
67667         (test_program_prefix): This.
67668         * intl/tst-gettext2.sh: Likewise.
67669         * intl/tst-gettext4.sh  Likewise.
67670         * intl/tst-gettext6.sh: Likewise.
67671         * intl/tst-translit.sh: Likewise.
67672         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
67673         with $(test-program-cmd).
67674         * libio/Makefile ($(objpfx)test-freopen.out): Replace
67675         $(run-program-prefix) with $(test-program-prefix).
67676         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
67677         (test_program_prefix): This.
67678         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
67679         $(run-program-prefix) with $(test-program-prefix).
67680         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
67681         (test_program_prefix): This.
67682         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
67683         * posix/Makefile ($(objpfx)globtest.out): Replace
67684         $(run-via-rtld-prefix) and $(test-wrapper) with
67685         $(test-program-prefix) and $(test-via-rtld-prefix).
67686         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
67687         $(test-program-prefix).
67688         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
67689         $(host-test-program-cmd).
67690         (tst-spawn-ARGS): Likewise.
67691         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
67692         $(test-program-prefix).
67693         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
67694         (test_via_rtld_prefix): This.
67695         (test_wrapper): Renamed to ...
67696         (test_program_prefix): This.
67697         (run_program_prefix): Replaced by test_program_prefix.
67698         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
67699         (test_program_prefix): This.
67700         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
67701         with $(host-test-program-cmd).
67702         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
67703         $(run-program-prefix) with $(test-program-prefix).
67704         ($(objpfx)tst-printf.out): Likewise.
67705         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
67706         $(test-program-cmd).
67707         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
67708         (test_program_prefix): This.
67709         * stdio-common/tst-unbputc.sh: Likewise.
67710         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
67711         $(run-program-prefix) with $(test-program-prefix).
67712         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
67713         (test_program_prefix): This.
67714         * string/Makefile ($(objpfx)tst-svc.out):  Replace
67715         $(built-program-cmd) with $(test-program-cmd).
67717 2013-01-11  Andreas Jaeger  <aj@suse.de>
67719         [BZ #15003]
67720         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
67721         value. Sync with Linux 3.7.
67723 2013-01-10  David S. Miller  <davem@davemloft.net>
67725         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
67726         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
67727         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
67729 2013-01-10  Roland McGrath  <roland@hack.frob.com>
67731         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
67732         never set.
67733         * configure: Regenerated.
67735 2013-01-10  David S. Miller  <davem@davemloft.net>
67737         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
67738         sparc V9 rather than using V8 code.
67739         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
67740         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
67742 2013-01-10  Roland McGrath  <roland@hack.frob.com>
67744         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
67745         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
67746         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
67747         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
67748         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
67749         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
67750         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
67751         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
67752         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
67753         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
67754         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
67755         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
67756         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
67757         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
67758         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
67759         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
67760         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
67761         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
67762         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
67763         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
67764         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
67765         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
67766         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
67767         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
67768         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
67769         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
67770         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
67772 2013-01-10  David S. Miller  <davem@davemloft.net>
67774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67776 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
67778         * posix/Makefile (tests-static): New variable.
67779         (tests): Add $(tests-static).
67780         (tst-exec-static-ARGS): New variable.
67781         (tst-spawn-static-ARGS): Likewise.
67782         * posix/tst-exec-static.c: New file.
67783         * posix/tst-spawn-static.c: Likewise.
67784         * posix/tst-exec.c: Support run directly.
67785         * posix/tst-spawn.c: Likewise.
67787 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
67789         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
67790         long.
67791         * math/bits/mathcalls.h (llrint): Likewise.
67792         (llround): Likewise.
67793         * stdlib/stdlib.h (struct drand48_data): Likewise.
67794         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
67795         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
67796         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
67797         Likewise.
67798         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
67799         Likewise.
67800         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
67801         (elf_greg_t): Likewise.
67802         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
67803         (__jmp_buf): Likewise.
67804         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
67805         definitions.
67806         (llrint): Likewise, for all definitions.
67807         (llrintl): Likewise.
67809         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
67810         Remove [__GNUC__] condition.
67811         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
67812         condition to just [__USE_ISOC99].
67813         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
67815 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
67817         [BZ #14200]
67818         * sysdeps/unix/sysv/linux/x86/bits/environments.h
67819         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
67820         defined.
67821         (_POSIX_V6_ILP32_OFF32): Likewise.
67822         (_XBS5_ILP32_OFF32): Likewise.
67823         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
67824         (__ILP32_OFFBIG_LDFLAGS): Likewise.
67826 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67828         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
67830         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
67831         doubles __mpexp_twomm1.  Adjust usage.
67832         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
67833         Remove.
67835 2013-01-10  Andreas Schwab  <schwab@suse.de>
67837         [BZ #14964]
67838         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
67839         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
67841 2013-01-09  David S. Miller  <davem@davemloft.net>
67843         [BZ #15003]
67844         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
67845         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
67846         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
67847         (TCP_FASTOPEN): Define.
67848         (tcp_repair_opt): New structure.
67849         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
67850         enum values.
67851         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
67852         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
67853         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
67854         (tcp_cookie_transactions): New structure.
67856 2013-01-09  Anton Blanchard  <anton@samba.org>
67858         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
67859         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
67860         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
67861         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
67863 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
67865         * include/features.h (__USE_ANSI): Remove.
67867 2013-01-09  Roland McGrath  <roland@hack.frob.com>
67869         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
67871         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
67873 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
67875         * sysdeps/s390/fpu/libm-test-ulps: Update.
67877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67879         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
67880         (__acr): Likewise.
67881         (__cpy): Likewise.
67882         (norm): Likewise.
67883         (denorm): Likewise.
67884         (__mp_dbl): Likewise.
67885         (__dbl_mp): Likewise.
67886         (add_magnitudes): Likewise.
67887         (sub_magnitudes): Likewise.
67888         (__add): Likewise.
67889         (__sub): Likewise.
67890         (__mul): Likewise.
67891         (__inv): Likewise.
67892         (__dvd): Likewise.
67893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
67894         (__acr): Likewise.
67895         (__cpy): Likewise.
67896         (norm): Likewise.
67897         (denorm): Likewise.
67898         (__mp_dbl): Likewise.
67899         (__dbl_mp): Likewise.
67900         (add_magnitudes): Likewise.
67901         (sub_magnitudes): Likewise.
67902         (__add): Likewise.
67903         (__sub): Likewise.
67904         (__mul): Likewise.
67905         (__inv): Likewise.
67906         (__dvd): Likewise.
67907         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
67908         (__acr): Likewise.
67909         (__cpy): Likewise.
67910         (norm): Likewise.
67911         (denorm): Likewise.
67912         (__mp_dbl): Likewise.
67913         (__dbl_mp): Likewise.
67914         (add_magnitudes): Likewise.
67915         (sub_magnitudes): Likewise.
67916         (__add): Likewise.
67917         (__sub): Likewise.
67918         (__mul): Likewise.
67919         (__inv): Likewise.
67920         (__dvd): Likewise.
67922 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
67924         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
67925         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
67926         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
67927         2 && __USE_EXTERN_INLINES]: Likewise.
67929 2013-01-08  Andreas Jaeger  <aj@suse.de>
67931         [BZ #14985]
67932         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
67933         Remove.
67934         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67935         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67937 2013-01-07  Anton Blanchard  <anton@samba.org>
67939         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
67940         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
67941         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
67942         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
67943         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
67944         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67945         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
67946         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67948         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67949         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67950         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67951         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67952         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
67953         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
67954         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67955         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67956         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
67957         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
67958         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
67959         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
67960         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
67961         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67962         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
67963         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
67964         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
67965         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67966         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
67967         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
67968         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67969         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
67970         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67971         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67972         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
67973         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
67974         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67975         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
67976         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67977         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
67978         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
67979         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
67980         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67981         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
67983 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
67985         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
67986         (__MALLOC_PMT): Likewise.
67987         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
67988         [__GNUC__], only on [_LIBC].
67989         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67990         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
67991         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67992         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
67993         forward declaration.
67994         (realloc_hook_ini): Likewise.
67995         (memalign_hook_ini): Likewise.
67996         (__libc_memalign): Do not use __MALLOC_PMT in variable
67997         declaration.
67998         (__libc_valloc): Likewise.
67999         (__libc_pvalloc): Likewise.
68000         (__libc_calloc): Likewise.
68001         (__posix_memalign): Likewise.
68003         [BZ #14996]
68004         * math/s_casinh.c: Include <float.h>.
68005         (__casinh): Do not do computation with squaring and square root
68006         for large arguments.
68007         * math/s_casinhf.c: Include <float.h>.
68008         (__casinhf): Do not do computation with squaring and square root
68009         for large arguments.
68010         * math/s_casinhl.c: Include <float.h>.
68011         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
68012         (__casinhl): Do not do computation with squaring and square root
68013         for large arguments.
68014         * math/libm-test.inc (casin_test): Add more tests.
68015         (casinh_test): Likewise.
68016         * sysdeps/i386/fpu/libm-test-ulps: Update.
68017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68019 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
68021         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
68022         (__x86_64_raw_data_cache_size): Likewise.
68023         (__x86_64_data_cache_size_half): Likewise.
68024         (__x86_64_raw_data_cache_size_half): Likewise.
68025         (__x86_64_shared_cache_size): Likewise.
68026         (__x86_64_raw_shared_cache_size): Likewise.
68027         (__x86_64_shared_cache_size_half): Likewise.
68028         (__x86_64_raw_shared_cache_size_half): Likewise.
68029         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
68030         to ...
68031         (__x86_data_cache_size): This.
68032         (__x86_64_raw_data_cache_size): Renamed to ...
68033         (__x86_raw_data_cache_size): This.
68034         (__x86_64_data_cache_size_half): Renamed to ...
68035         (__x86_data_cache_size_half): This.
68036         (__x86_64_raw_data_cache_size_half): Renamed to ...
68037         (__x86_raw_data_cache_size_half): This.
68038         (__x86_64_shared_cache_size): Renamed to ...
68039         (__x86_shared_cache_size): This.
68040         (__x86_64_raw_shared_cache_size): Renamed to ...
68041         (__x86_raw_shared_cache_size): This.
68042         (__x86_64_shared_cache_size_half): Renamed to ...
68043         (__x86_shared_cache_size_half): This.
68044         (__x86_64_raw_shared_cache_size_half): Renamed to ...
68045         (__x86_raw_shared_cache_size_half): This.
68046         * sysdeps/x86_64/memcpy.S: Updated.
68047         * sysdeps/x86_64/memset.S: Likewise.
68048         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
68049         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68050         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68052 2013-01-04  David S. Miller  <davem@davemloft.net>
68054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68056 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
68058         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
68059         1 to avoid redefinition warning.
68060         (__USE_GNU): Don't define.
68061         (init_signaling_nan): Protoize.
68063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68065 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68067         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
68068         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
68069         (__cpymn): Likewise.
68070         (norm): Remove commented code.
68071         (denorm): Likewise.
68072         (__mp_dbl): Likewise.
68073         (__inv): Likewise.
68074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
68075         (__cpymn): Likewise.
68076         (norm): Remove commented code.
68077         (denorm): Likewise.
68078         (__mp_dbl): Likewise.
68079         (__inv): Likewise.
68081         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
68082         mp_no value for 1.0 and 2.0.
68083         (norm): Use RADIXI instead of radixi.d.
68084         (denorm): Likewise.
68085         (__mul): Use 0.0 instead of zero.d.
68086         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
68087         mp_no value for 1.0 and 2.0.
68088         (norm): Use RADIXI instead of radixi.d.
68089         (denorm): Likewise.
68090         (__mul): Use 0.0 instead of zero.d.
68092 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
68094         [BZ #14994]
68095         * math/s_casinh.c (__casinh): Reduce finite argument to first
68096         quadrant then set signs of results at the end.
68097         * math/s_casinhf.c (__casinhf): Likewise.
68098         * math/s_casinhl.c (__casinhl): Likewise.
68099         * math/libm-test.inc (casin_test): Add more tests.
68100         (casinh_test): Likewise.
68101         * sysdeps/i386/fpu/libm-test-ulps: Update.
68102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68104 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68106         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
68108         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
68110         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
68111         declarations.
68112         (denorm): Likewise.
68113         (__mp_dbl): Likewise.
68114         (__inv): Likewise.
68116         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
68117         and adjust the header comment.
68119         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
68120         variable name from declaration.
68122 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
68124         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68125         Initialize COMMON_CPUID_INDEX_7 element.
68126         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
68127         (CPUID_RTM): Likewise.
68128         (HAS_RTM): Likewise.
68129         (COMMON_CPUID_INDEX_7): New enum.
68131 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
68133         [BZ #14981]
68134         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
68135         size is zero, record memory as freed.
68137 2013-01-03  Andreas Jaeger  <aj@suse.de>
68139         * po/ia.po: Add new Interlingua translation.
68141 2012-01-03  Allan McRae  <allan@archlinux.org>
68143         * locale/programs/localedef.c: Fix description of '--posix' flag.
68145 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
68147         * NEWS: Update dates in second copyright notice.
68148         * README: Update copyright dates in example.
68149         * manual/libc.texinfo: Update copyright dates.
68150         * scripts/test-installation.pl: Update copyright date in --version
68151         output.
68153         * hurd/ctty-input.c: Fix copyright notice formatting.
68154         * hurd/ctty-output.c: Likewise.
68155         * hurd/dtable.c: Likewise.
68156         * hurd/hurd-raise.c: Likewise.
68157         * hurd/hurdprio.c: Likewise.
68158         * hurd/msgportdemux.c: Likewise.
68159         * misc/sys/file.h: Likewise.
68160         * misc/sys/ioctl.h: Likewise.
68161         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
68162         * sysdeps/mach/hurd/chdir.c: Likewise.
68163         * sysdeps/mach/hurd/fchdir.c: Likewise.
68164         * sysdeps/mach/hurd/rename.c: Likewise.
68165         * sysdeps/mach/hurd/rmdir.c: Likewise.
68166         * sysdeps/mach/hurd/seekdir.c: Likewise.
68167         * sysdeps/mach/hurd/setsid.c: Likewise.
68168         * sysdeps/posix/wait3.c: Likewise.
68170         * All files with FSF copyright notices: Update copyright dates
68171         using scripts/update-copyrights.
68172         * intl/plural.c: Regenerated.
68173         * locale/programs/charmap-kw.h: Likewise.
68174         * locale/programs/locfile-kw.h: Likewise.
68176 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68178         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
68179         four values.
68181         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
68182         calculation loop and add branch prediction.
68184         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
68185         check access beyond bounds of m1np.
68187         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
68188         MPTWO.
68189         (__inv): Remove local variable MPTWO to use the global
68190         constant.
68191         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
68192         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
68193         variable MPTWO.
68194         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
68195         MP3HALFS static const.
68197 2013-01-01  David S. Miller  <davem@davemloft.net>
68199         * po/ca.po: Update from translation team.
68201 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
68203         * scripts/update-copyrights: New file.
68204         * Makeconfig: Reformat copyright notice.
68205         * ctype/ctype.h: Likewise.
68206         * debug/swprintf_chk.c: Likewise.
68207         * elf/dl-cache.c: Likewise.
68208         * elf/dl-debug.c: Likewise.
68209         * elf/dl-object.c: Likewise.
68210         * grp/initgroups.c: Likewise.
68211         * hurd/Makefile: Likewise.
68212         * hurd/hurd/signal.h: Likewise.
68213         * hurd/hurdfault.c: Likewise.
68214         * hurd/hurdioctl.c: Likewise.
68215         * hurd/hurdlookup.c: Likewise.
68216         * hurd/intr-msg.c: Likewise.
68217         * iconv/gconv_open.c: Likewise.
68218         * libio/swprintf.c: Likewise.
68219         * locale/lc-ctype.c: Likewise.
68220         * locale/nl_langinfo.c: Likewise.
68221         * mach/Machrules: Likewise.
68222         * mach/Makefile: Likewise.
68223         * malloc/obstack.h: Likewise.
68224         * manual/Makefile: Likewise.
68225         * manual/tsort.awk: Likewise.
68226         * misc/bits/stab.def: Likewise.
68227         * nis/nis_print_group_entry.c: Likewise.
68228         * nis/nis_table.c: Likewise.
68229         * nis/nss_compat/compat-pwd.c: Likewise.
68230         * nis/nss_compat/compat-spwd.c: Likewise.
68231         * po/Makefile: Likewise.
68232         * posix/fnmatch.c: Likewise.
68233         * posix/regex.h: Likewise.
68234         * resolv/Makefile: Likewise.
68235         * resolv/nss_dns/dns-network.c: Likewise.
68236         * resolv/res_hconf.c: Likewise.
68237         * scripts/gen-sorted.awk: Likewise.
68238         * soft-fp/soft-fp.h: Likewise.
68239         * stdio-common/printf.h: Likewise.
68240         * stdlib/monetary.h: Likewise.
68241         * stdlib/random.c: Likewise.
68242         * stdlib/random_r.c: Likewise.
68243         * sysdeps/generic/Makefile: Likewise.
68244         * sysdeps/gnu/Makefile: Likewise.
68245         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68246         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68247         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68248         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68249         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68250         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68251         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68252         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68253         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68254         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68255         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
68256         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
68257         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
68258         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
68259         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
68260         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
68261         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
68262         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68263         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68264         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68265         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68266         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68267         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68268         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
68269         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
68270         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68271         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
68272         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
68273         * sysdeps/mach/hurd/errnos.awk: Likewise.
68274         * sysdeps/mach/hurd/fork.c: Likewise.
68275         * sysdeps/mach/hurd/getcwd.c: Likewise.
68276         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
68277         * sysdeps/mach/hurd/mmap.c: Likewise.
68278         * sysdeps/mach/hurd/utimes.c: Likewise.
68279         * sysdeps/mach/hurd/xmknod.c: Likewise.
68280         * sysdeps/posix/profil.c: Likewise.
68281         * sysdeps/posix/readdir_r.c: Likewise.
68282         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68283         * sysdeps/powerpc/bits/setjmp.h: Likewise.
68284         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
68285         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
68286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68287         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68288         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68289         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68291         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68292         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68293         * sysdeps/pthread/lio_listio.c: Likewise.
68294         * sysdeps/sparc/dl-procinfo.h: Likewise.
68295         * sysdeps/unix/i386/sysdep.S: Likewise.
68296         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
68297         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
68298         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
68299         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
68300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68301         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
68302         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
68303         * sysdeps/unix/sysv/linux/speed.c: Likewise.
68304         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
68305         * sysdeps/wordsize-32/divdi3.c: Likewise.
68306         * time/sys/time.h: Likewise.
68307         * wcsmbs/Makefile: Likewise.
68309 2013-01-01  David S. Miller  <davem@davemloft.net>
68311         * po/fr.po: Update from translation team.
68313         * catgets/gencat.c: Update copyright year.
68314         * csu/version.c: Likewise.
68315         * debug/catchsegv.sh: Likewise.
68316         * debug/pcprofiledump.c: Likewise.
68317         * debug/xtrace.sh: Likewise.
68318         * elf/ldconfig.c: Likewise.
68319         * elf/ldd.bash.in: Likewise.
68320         * elf/pldd.c: Likewise.
68321         * elf/sotruss.ksh: Likewise.
68322         * elf/sprof.c: Likewise.
68323         * iconv/iconv_prog.c: Likewise.
68324         * iconv/iconvconfig.c: Likewise.
68325         * locale/programs/locale.c: Likewise.
68326         * locale/programs/localedef.c: Likewise.
68327         * login/programs/pt_chown.c: Likewise.
68328         * malloc/memusage.sh: Likewise.
68329         * malloc/memusagestat.c: Likewise.
68330         * malloc/mtrace.pl: Likewise.
68331         * nscd/nscd.c: Likewise.
68332         * nss/getent.c: Likewise.
68333         * nss/makedb.c: Likewise.
68334         * posix/getconf.c: Likewise.
68336 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68338         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
68339         numbers.
68341 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
68343         * math/bits/mathcalls.h (modf): Use __nonnull.
68345 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68347         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
68348         (split): Use macro CN instead of the bare value.
68349         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
68350         could be used.
68351         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
68352         instead of the bare value.
68353         (power1): Likewise.
68355 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68357         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
68358         __ATAN_TWOM.
68359         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68361         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
68362         their values.
68363         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
68364         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68365         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
68366         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
68368 2012-12-28  Andreas Jaeger  <aj@suse.de>
68370         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
68371         values are from Linux 3.7.
68373         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
68374         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
68376 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68378         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
68379         TRUE case.
68381         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
68382         (norm): Likewise.
68383         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
68384         variables with preprocessor constants.
68385         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68386         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
68387         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
68389 2012-12-27  Bruno Haible  <bruno@clisp.org>
68391         [BZ #14317]
68392         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
68393         only if needed.
68395 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68397         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
68398         and use variable directly.
68399         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
68401         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
68402         MPONE.
68403         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
68404         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
68405         variable MPONE.
68406         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68407         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68408         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
68409         include directive.  Remove local variable MPONE.
68410         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
68411         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
68412         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68414 2012-12-25  David S. Miller  <davem@davemloft.net>
68416         * version.h (RELEASE): Set to "development".
68417         (VERSION): Set to "2.17.90".
68418         * NEWS: Add 2.18 section.
68420 2012-12-21  David S. Miller  <davem@davemloft.net>
68422         * po/hr.po: Update from translation team.
68424 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68426         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
68428 2012-12-19  Steve Ellcey  <sellcey@mips.com>
68430         * NEWS:  Mention new memcpy for MIPS.
68432 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68434         * manual/contrib.texi (Contributors): Spelling correction.
68436 2012-12-15  David S. Miller  <davem@davemloft.net>
68438         * po/ru.po: Update from translation team.
68440 2012-12-13  David S. Miller  <davem@davemloft.net>
68442         * NEWS: Mention IFUNC testsuite enhancements.
68444         * po/pl.po: Update from translation team.
68445         * po/bg.po: Likewise.
68447         * manual/contrib.texi (Contributors): Update entries for Hongjiu
68448         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
68450 2012-12-11  David S. Miller  <davem@davemloft.net>
68452         * po/sv.po: Update from translation team.
68454         * po/vi.po: Update from translation team.
68456         * po/cs.po: Update from translation team.
68458         * po/de.po: Update from translation team.
68459         * po/eo.po: Likewise.
68460         * po/nl.po: Likewise.
68462 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68464         [BZ #14246]
68465         * manual/argp.texi (Argp Helper Functions): Move node to follow
68466         Argp Parsing State.
68468         [BZ #14872]
68469         * manual/conf.texi (Limits on File System Capacity): Mention if
68470         terminating null is included in the max size.
68472 2012-12-10  Andreas Jaeger  <aj@suse.de>
68474         * po/cs.po: Update from translation team.
68476 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
68478         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
68479         void pointer and cast to uintptr_t.
68480         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
68481         path.
68482         * sysdeps/s390/s390-64/memcpy.S: Likewise.
68483         * sysdeps/s390/s390-64/memset.S: Likewise.
68485 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
68487         [BZ #14833]
68488         * menual/message.texi (Message Translation): Fix typos.
68489         (Helper programs for gettext): Likewise.
68491 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
68493         [BZ #14898]
68494         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
68495         Change to -1.
68497 2012-12-07  David S. Miller  <davem@davemloft.net>
68499         * po/libc.pot: Update.
68501 2012-12-07  Richard Henderson  <rth@redhat.com>
68503         [BZ #10114]
68504         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
68505         normal/normal case to before the switch.
68506         (_FP_DIV): Likewise.
68508 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
68509             Mike Frysinger  <vapier@gentoo.org>
68511         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
68512         check for __NR_fadvise64_64.
68514 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
68516         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
68517         0, not just to plain "0" as a statement.
68518         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
68519         with cw.
68521 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
68523         * NEWS: Use sourceware.org in Bugzilla URL.
68525 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
68527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
68528         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
68530         * stdio-common/tst-put-error.c (do_test): Add newline to the
68531         padded test to ensure flush.
68533 2012-12-05  Jeff Law  <law@redhat.com>
68535         * sunrpc/etc.rpc (fedfs_admin): Add entry.
68537 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
68539         * README: Don't refer to ports add-on as distributed separately.
68540         Mention AArch64 in list of systems supported in the ports add-on.
68542         * LICENSES: Add more non-FSF copyright and license notices.
68544         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
68545         ((unused)).
68547         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
68549         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
68550         10000 as width of padded output.
68552 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
68554         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
68556         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
68557         variable LX with __attribute__ ((unused)).
68558         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
68559         Likewise.
68560         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
68561         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68562         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
68563         with __attribute__ ((unused)).
68565 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
68567         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
68569 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
68571         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
68572         (CFLAGS-nldbl-acos.c): New variable.
68573         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
68574         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
68575         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
68576         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
68577         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
68578         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
68579         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
68580         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
68581         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
68582         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
68583         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
68584         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
68585         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
68586         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
68587         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
68588         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
68589         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
68590         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
68591         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
68592         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
68593         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
68594         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
68595         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
68596         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
68597         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
68598         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
68599         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
68600         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
68601         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
68602         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
68603         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
68604         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
68605         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
68606         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
68607         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
68608         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
68609         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
68610         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
68611         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
68612         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
68613         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
68614         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
68615         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
68616         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
68617         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
68618         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
68619         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
68620         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
68621         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
68622         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
68623         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
68624         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
68625         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
68626         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
68627         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
68628         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
68629         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
68630         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
68631         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
68632         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
68633         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
68634         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
68635         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
68636         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
68637         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
68638         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
68639         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
68640         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
68641         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
68642         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
68643         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
68644         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
68645         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
68646         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
68647         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
68648         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
68649         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
68650         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
68651         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
68652         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
68653         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
68654         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
68655         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
68656         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
68657         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
68658         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
68659         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
68660         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
68661         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
68662         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
68663         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
68664         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
68665         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
68666         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
68667         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
68668         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
68669         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
68671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
68672         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
68674         [BZ #14914]
68675         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
68676         whole low double instead of just low 47 bits when splitting values
68677         into two parts.
68679 2012-12-03  Allan McRae  <allan@archlinux.org>
68681         * manual/stdio.texi (Predefined Printf Handlers): Remove
68682         @hsep and @vsep usage.
68684 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
68686         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
68687         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
68689 2012-12-03  Jeff Law  <law@redhat.com>
68691         * time/sys/time.h (settimeofday): Do not mark TV argument
68692         as __nonnull.
68694 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
68696         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
68697         when currently writing and seek to current position when not.
68698         * libio/Makefile (tests): Remove bug-fclose1.
68699         * libio/bug-fclose1.c: Delete.
68701 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
68703         * manual/arith.texi (feenableexcept): Fix typo.
68704         (fedisableexcept): Likewise.
68706 2012-11-30  Roland McGrath  <roland@hack.frob.com>
68708         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
68709         second, differently-typed declaration, rather than a cast.
68711 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68713         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
68714         * include/rpc/svc.h: ... here.
68716 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
68718         [BZ #13013]
68719         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
68720         depending n and resplen2 to catch cases where answer
68721         equals answerp2.
68723 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
68725         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
68726         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
68728 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
68730         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
68732 2012-11-29  Roland McGrath  <roland@hack.frob.com>
68734         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
68736 2012-11-28  Jeff Law  <law@redhat.com>
68738         [BZ #13761]
68739         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
68740         dataset_temporary.  Track alloca usage into alloca_used.
68741         If dataset is large allocate and release it via malloc/free.
68743 2012-06-04  Florian Weimer  <fweimer@redhat.com>
68745         [BZ #14197]
68746         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
68748 2012-11-28  David S. Miller  <davem@davemloft.net>
68750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68752 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
68754         [BZ #14803]
68755         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
68756         of pi/2 rounded to nearest to 64 bits.
68757         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
68758         nearest to 64 bits.
68759         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
68760         bits.
68762 2012-11-28  Jeff Law <law@redhat.com>
68763             Martin Osvald <mosvald@redhat.com>
68765         [BZ #14889]
68766         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
68767         * sunrpc/svc.c: Include time.h.
68768         (__svc_accept_failed): New function.
68769         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
68770         any reason other than EINTR, call __svc_accept_failed.
68771         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
68772         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
68774 2012-11-28  Andreas Schwab  <schwab@suse.de>
68776         * scripts/abilist.awk: Also handle indirect functions in .opd
68777         section.
68779 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
68781         [BZ #13881]
68782         * sysdeps/x86/fpu/powl_helper.c: New file.
68783         * sysdeps/x86/fpu/Makefile: Likewise.
68784         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
68785         (p3): New object.
68786         (__ieee754_powl): Use __powl_helper for finite arguments except
68787         integer exponents below 8.
68788         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
68789         (p3): New object.
68790         (__ieee754_powl): Use __powl_helper for finite arguments except
68791         integer exponents below 8.
68792         * math/libm-test.inc (pow_test): Add more tests and enable some
68793         previously disabled tests.
68794         * sysdeps/i386/fpu/libm-test-ulps: Update.
68795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68797 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68798             Carlos O'Donell  <carlos_odonell@mentor.com>
68800         * nss/makedb.c (is_prime): Assert that input is odd and greater
68801         than 4.  Note that fact in a comment too.
68802         (next_prime): Add 4 to input.
68804 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68806         [BZ #11741]
68807         * libio/Makefile (tests): Add test case tst-fwrite-error.
68808         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
68809         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
68810         * libio/tst-fwrite-error.c: New test case.
68812 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
68814         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
68815         before casting to void *.
68816         * include/libc-internal.h (__pointer_type): New macro.
68817         (__integer_if_pointer_type_sub): Likewise.
68818         (__integer_if_pointer_type): Likewise.
68819         (cast_to_integer): Likewise.
68820         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
68821         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
68822         before casting to atomic64_t.
68823         (atomic_exchange_acq): Likewise.
68824         (__arch_exchange_and_add_body): Likewise.
68825         (__arch_add_body): Likewise.
68826         (atomic_add_negative): Likewise.
68827         (atomic_add_zero): Likewise.
68829 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
68831         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
68832         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
68833         (add_fdes): Likewise.
68834         (linear_search_fdes): Likewise.
68835         (binary_search_unencoded_fdes): Likewise.
68837 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
68839         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
68841 2012-11-24  Adam Conrad  <adconrad@0c3.net>
68843         * configure.in: Autodetect C++ header directories.
68844         * configure: Regenerated.
68846 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
68848         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
68850 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
68852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68854 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
68856         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
68857         LDBL_MANT_DIG == 106]: Disable some tests.
68858         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
68859         Likewise.
68860         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
68861         Likewise.
68863         [BZ #14871]
68864         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
68865         input for small inputs.  Return +/- pi/2 for large inputs.
68866         * math/libm-test.inc (atan_test): Add more tests.
68868         * sysdeps/generic/unwind-dw2-fde-glibc.c
68869         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
68870         __attribute__ ((unused)).
68872         [BZ #14645]
68873         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
68874         x * y if x and y are nonzero and z is zero.
68876         [BZ #14811]
68877         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
68878         nonzero exponents with absolute value below 0x1p-117 to +/-
68879         0x1p-117.
68881         [BZ #14869]
68882         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
68883         up arguments below 2**-450, not just those below 2**-500.
68884         * math/libm-test.inc (hypot_test): Add another test.
68886         [BZ #14868]
68887         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
68888         Return a+b for ratio over 2**120, not 2**60.
68889         * math/libm-test.inc (hypot_test): Add another test.
68891         * math/libm-test.inc (clog_test): Use
68892         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
68893         (clog10_test): Likewise.
68895         [BZ #6778]
68896         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
68898 2012-11-22  Andreas Schwab  <schwab@suse.de>
68900         * sysdeps/i386/fpu/libm-test-ulps: Update.
68902 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
68904         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
68905         printf output with newline.
68907 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
68909         [BZ #14865]
68910         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
68911         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
68912         -z nodlopen, -z initfirst and -z execstack support.
68913         * configure: Regenerated.
68915         * elf/elf.h (DF_1_NODIRECT): New macro.
68916         (DF_1_IGNMULDEF): Likewise.
68917         (DF_1_NOKSYMS): Likewise.
68918         (DF_1_NOHDR): Likewise.
68919         (DF_1_EDITED): Likewise.
68920         (DF_1_NORELOC): Likewise.
68921         (DF_1_SYMINTPOSE): Likewise.
68922         (DF_1_GLOBAUDIT): Likewise.
68923         (DF_1_SINGLETON): Likewise.
68924         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
68925         DT_1_SUPPORTED_MASK bits.
68926         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
68928 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
68930         * sysdeps/unix/make-syscalls.sh: Document prefixes.
68932 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
68934         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
68935         macro.
68937         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
68938         (sendmmsg): Move declarations...
68939         * socket/sys/socket.h: ... here.
68940         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
68941         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
68942         include it from...
68943         * socket/recvmmsg.c: ... this new file.
68944         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
68945         (sendmmsg): Rename to __sendmmsg, create weak alias and make
68946         definition of __sendmmsg hidden.
68947         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
68948         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
68949         Move ENOSYS stub into and include it from...
68950         * socket/sendmmsg.c: ... this new file.
68951         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
68952         (sysdep_routines): Move recvmmsg and sendmmsg...
68953         * socket/Makefile (routines): ... here.
68954         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
68955         (GLIBC_PRIVATE): Add __sendmmsg.
68956         * include/sys/socket.h (__sendmmsg): Add declarations.
68957         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
68958         sendmmsg.
68960 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
68962         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
68963         variable I1 with __attribute__ ((unused)).
68964         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68966 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68968         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
68969         DUMMY variables with __attribute__ ((unused)).
68971         * bits/byteswap.h: Include <bits/types.h>.
68972         (__bswap_64): Use __uint64_t instead of unsigned long long int.
68974 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68976         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
68977         string_t.  Do not manually set errno.
68978         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
68979         length with __strnlen.  Make sure to both set errno and return it on
68980         failure.
68982 2012-11-19  David S. Miller  <davem@davemloft.net>
68984         With help from Joseph Myers.
68985         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
68986         very large arguments properly.
68987         * math/libm-test.inc (atan_test): New tests.
68988         (atan2_test): New tests.
68989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68990         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68992 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68994         [BZ #14856]
68995         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
68996         Define to 3.
68998         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
68999         [POSIX] (EADDRNOTAVAIL): Likewise.
69000         [POSIX] (EAFNOSUPPORT): Likewise.
69001         [POSIX] (EALREADY): Likewise.
69002         [POSIX] (ECONNABORTED): Likewise.
69003         [POSIX] (ECONNREFUSED): Likewise.
69004         [POSIX] (ECONNRESET): Likewise.
69005         [POSIX] (EDESTADDRREQ): Likewise.
69006         [POSIX] (EDQUOT): Likewise.
69007         [POSIX] (EHOSTUNREACH): Likewise.
69008         [POSIX] (EIDRM): Likewise.
69009         [POSIX] (EISCONN): Likewise.
69010         [POSIX] (ELOOP): Likewise.
69011         [POSIX] (EMULTIHOP): Likewise.
69012         [POSIX] (ENETDOWN): Likewise.
69013         [POSIX] (ENETUNREACH): Likewise.
69014         [POSIX] (ENOBUFS): Likewise.
69015         [POSIX] (ENODATA): Likewise.
69016         [POSIX] (ENOLINK): Likewise.
69017         [POSIX] (ENOMSG): Likewise.
69018         [POSIX] (ENOPROTOOPT): Likewise.
69019         [POSIX] (ENOSR): Likewise.
69020         [POSIX] (ENOSTR): Likewise.
69021         [POSIX] (ENOTCONN): Likewise.
69022         [POSIX] (ENOTSOCK): Likewise.
69023         [POSIX] (EOPNOTSUPP): Likewise.
69024         [POSIX] (EOVERFLOW): Likewise.
69025         [POSIX] (EPROTO): Likewise.
69026         [POSIX] (EPROTONOSUPPORT): Likewise.
69027         [POSIX] (EPROTOTYPE): Likewise.
69028         [POSIX] (ESTALE): Likewise.
69029         [POSIX] (ETIME): Likewise.
69030         [POSIX] (ETXTBSY): Likewise.
69031         [POSIX] (EWOULDBLOCK): Likewise.
69032         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
69033         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
69034         [POSIX] (SEEK_CUR): Likewise.
69035         [POSIX] (SEEK_END): Likewise.
69036         [POSIX || UNIX98] (mode_t): Do not require.
69037         [POSIX] (off_t): Likewise.
69038         [POSIX] (pid_t): Likewise.
69039         [POSIX] (sys/stat.h): Do not allow header.
69040         [POSIX] (unistd.h): Likewise.
69041         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
69042         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
69043         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
69044         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
69045         require.
69046         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
69047         sigevent): Specify elements.
69048         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
69049         entry.
69050         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
69051         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
69053         * conform/data/cpio.h-data [POSIX]: Disable whole file.
69054         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
69055         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
69056         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
69057         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
69058         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
69059         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
69060         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
69061         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
69062         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
69063         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
69064         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
69065         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
69066         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
69067         Likewise.
69068         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
69069         Likewise.
69070         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
69071         Likewise.
69072         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
69073         Likewise.
69074         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
69075         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
69076         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
69077         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
69078         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
69079         Specify lower bound on value.
69080         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
69081         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
69082         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
69083         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
69084         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
69085         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
69086         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
69087         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
69088         value.
69089         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
69090         as optional.
69091         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
69092         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
69093         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
69094         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
69095         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
69096         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
69097         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
69098         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
69099         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
69100         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
69101         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
69102         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
69103         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
69104         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
69105         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
69106         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
69107         entry.
69108         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
69109         optional.
69110         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
69111         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
69112         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
69113         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
69114         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
69115         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
69116         Likewise.
69117         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
69118         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
69119         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
69120         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
69121         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
69122         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
69123         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
69124         as optional.
69125         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
69126         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
69127         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
69128         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
69129         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
69130         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
69131         specify as optional.
69132         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
69133         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
69134         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
69135         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
69136         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
69137         [XPG3] (NL_LANGMAX): Likewise.
69138         [POSIX || XPG3] (NL_MSGMAX): Likewise.
69139         [POSIX || XPG3] (NL_NMAX): Likewise.
69140         [POSIX || XPG3] (NL_SETMAX): Likewise.
69141         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
69142         [XPG3] (NZERO): Likewise.
69143         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
69144         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
69145         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
69146         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
69147         (REG_ERANGE): Expect.
69148         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
69149         optional-constant.
69150         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
69151         Use (void) in prototype.
69152         [POSIX] (*_t): Allow.
69153         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
69154         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
69155         (WRDE_BADVAL): Expect.
69157         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
69158         expect.
69159         [XPG3 || XPG4] (O_RSYNC): Likewise.
69160         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
69161         Likewise.
69162         [XPG3 || XPG4] (pthread_sigmask): Likewise.
69163         [XPG3 || XPG4] (sigqueue): Likewise.
69164         [XPG3 || XPG4] (sigtimedwait): Likewise.
69165         [XPG3 || XPG4] (sigwaitinfo): Likewise.
69166         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
69167         [XPG3 || XPG4] (vsnprintf): Likewise.
69168         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
69169         Likewise.
69170         [XPG3 || XPG4] (blksize_t): Likewise.
69171         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
69172         Likewise.
69173         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
69174         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
69175         [XPG3 || XPG4] (struct itimerspec): Likewise.
69176         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
69177         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
69178         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
69179         [XPG3 || XPG4] (clockid_t): Likewise.
69180         [XPG3 || XPG4] (timer_t): Likewise.
69181         [XPG3 || XPG4] (clock_getres): Likewise.
69182         [XPG3 || XPG4] (clock_gettime): Likewise.
69183         [XPG3 || XPG4] (clock_settime): Likewise.
69184         [XPG3 || XPG4] (nanosleep): Likewise.
69185         [XPG3 || XPG4] (timer_create): Likewise.
69186         [XPG3 || XPG4] (timer_delete): Likewise.
69187         [XPG3 || XPG4] (timer_gettime): Likewise.
69188         [XPG3 || XPG4] (timer_getoverrun): Likewise.
69189         [XPG3 || XPG4] (timer_settime): Likewise.
69190         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
69191         [XPG3 || XPG4] (getlogin_r): Likewise.
69192         [XPG3 || XPG4] (pread): Likewise.
69193         [XPG3 || XPG4] (pthread_atfork): Likewise.
69194         [XPG3 || XPG4] (pwrite): Likewise.
69196         [BZ #14835]
69197         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
69198         <bits/siginfo.h>.
69200 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
69202         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
69203         finalizing MALLSTREAM.
69205         * sysdeps/mach/hurd/syncfs.c: New file.
69207 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69209         [BZ #14719]
69210         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
69211         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
69212         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
69213         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
69214         (_nss_dns_gethostbyname4_r): Likewise.
69215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
69216         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
69218 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
69220         [BZ #13763]
69221         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
69223 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
69225         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
69226         * elf/cache.c (print_entry): Print ",AArch64" for
69227         FLAG_AARCH64_LIB64
69229         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
69230         * elf/cache.c (print_entry): Print ",hard-float" for
69231         FLAG_ARM_LIBHF.
69233 2012-11-18  David S. Miller  <davem@davemloft.net>
69235         With help from Joseph Myers.
69236         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
69237         cutoff to 2**-13.
69238         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
69239         cutoff to 2**-25.
69240         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
69241         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
69242         small.
69243         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
69244         * math/libm-test.inc (y0_test): New tests.
69245         (y1_test): New tests.
69246         * sysdeps/i386/fpu/libm-test-ulps: Update.
69247         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69250 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
69252         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
69253         64-bit targets.
69254         * configure: Regenerated.
69256 2012-11-17  David S. Miller  <davem@davemloft.net>
69258         [BZ #14811]
69259         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
69260         nonzero exponents with absolute value below 0x1p-128 to +/-
69261         0x1p-128.
69263 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
69265         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
69267         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
69269         * posix/getconf-speclist.c: New file.
69270         * posix/posix-envs.def: Likewise.
69271         * posix/confstr.c (START_ENV_GROUP): New macro.
69272         (END_ENV_GROUP): Likewise.
69273         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
69274         (KNOWN_PRESENT_ENV_STRING): Likewise.
69275         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
69276         (UNKNOWN_ENVIRONMENT): Likewise.
69277         (confstr): Include posix-envs.def instead of handling
69278         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
69279         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
69280         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
69281         (END_ENV_GROUP): Likewise.
69282         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
69283         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
69284         (UNKNOWN_ENVIRONMENT): Likewise.
69285         (__sysconf): Include posix-envs.def instead of handling associated
69286         cases directly here.
69287         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
69288         preprocessing getconf-speclist.c rather than running getconf or
69289         generating empty file.
69291 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
69293         * scripts/check-local-headers.sh: Ignore 'mach' headers.
69295 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
69297         [BZ #14672]
69298         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
69300 2012-11-16  David S. Miller  <davem@davemloft.net>
69302         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
69303         smaller than LDBL_EPSILON/2.0L, just return xm1.
69305 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
69307         * elf/tst-array1.c (init): Set constructor priority to 1000.
69308         (fini): Set destructor priority to 1000.
69309         * elf/tst-array2dep.c: Likewise.
69311 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69313         [BZ #11741]
69314         * libio/fileops.c (_IO_new_file_write): Correctly return error.
69315         (_IO_new_file_xsputn): Also return EOF if none of the input
69316         data was written when overflow failed.
69317         * libio/iopadn.c (_IO_padn): Likewise.
69318         * libio/iowpadn.c (_IO_wpadn): Likewise.
69319         * stdio-common/tst-put-error.c: Add copyright notice.
69320         (do_test): Add case for printing padded string.
69321         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
69322         _IO_padn returned error.
69323         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
69324         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
69325         return EOF.
69327 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69329         * libio/libioP.h: Add comment note that the references to C++
69330         bits are now obsolete.
69332 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69334         * math/libm-test.inc (check_complex): Use asprintf.
69336 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
69338         * debug/pcprofiledump.c (print_version): Update copyright year.
69339         * malloc/memusagestat.c (print_version): Likewise.
69341 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
69343         [BZ #14831]
69344         * elf/Makefile (tests): Add tst-audit8.
69345         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
69346         ($(objpfx)tst-audit8.out): New target.
69347         (tst-audit8-ENV): New variable.
69348         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
69349         audit if l_reloc_result is NULL.
69350         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
69351         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
69352         * elf/tst-audit8.c: New file.
69354 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69356         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
69357         * misc/Makefile (CFLAGS-select.c): Define.
69358         * posix/Makefile (CFLAGS-pause.c): Define.
69360 2012-11-13  David S. Miller  <davem@davemloft.net>
69362         * crypt/Makefile: Move test targets after toplevel Rules
69363         inclusion.  Grab any necessary sysdep routines when linking.
69364         * crypt/md5.c (md5_process_block): Remove define, we will always
69365         name it __md5_process_block.
69366         (md5_finish_ctx): Update md5_process_block call.
69367         (md5_stream): Likewise.
69368         (md5_process_bytes): Likewise.
69369         (md5_process_block): Rename to __md5_process_block and move to ...
69370         * crypt/md5-block.c: ... here.
69371         * crypt/sha256.c (sha256_process_block): Move to ...
69372         * crypt/sha256-block.c: ... here.
69373         * crypt/sha512.c (sha512_process_block): Move to ...
69374         * crypt/sha512-block.c: ... here.
69375         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
69376         path.
69377         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
69378         * sysdeps/sparc/sparc64/multiarch/Makefile
69379         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
69380         crypt subdir.
69381         (localedef-aux): Add md5 crypto assembler when in locale subdir.
69382         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
69383         multiarch changes.
69384         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
69385         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
69386         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
69387         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
69388         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
69389         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
69390         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
69391         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
69392         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
69393         file.
69394         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
69395         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
69396         file.
69397         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
69399 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
69401         * timezone/tzselect.ksh: Update from tzcode git revision
69402         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
69403         * timezone/zdump.c: Likewise.
69404         * timezone/zic.c: Likewise.
69405         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
69406         in TZVERSION setting, not $(PKGVERSION).
69407         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
69408         REPORT_BUGS_TO settings.
69410         [BZ #14838]
69411         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
69412         macro.
69414 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69416         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
69417         detection to immediately after _FP_ROUND().
69418         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
69419         bits are 0.
69421 2012-11-11  David S. Miller  <davem@davemloft.net>
69423         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
69424         inttypes.h
69425         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
69426         __close rather than their public counterparts.
69428 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
69430         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
69431         file.
69432         [UNIX98] (sem_timedwait): Do not expect.
69433         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
69434         [XPG4 || UNIX98] (sockatmark): Do not expect.
69435         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
69436         (clock_getcpuclockid): Do not expect.
69437         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
69438         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
69439         Do not expect.
69440         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
69441         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
69442         [UNIX98] (vwscanf): Likewise.
69443         [UNIX98] (vswscanf): Likewise.
69445 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
69447         * timezone/version.h: Remove file.
69448         * timezone/README: Do not refer to version.h.
69449         * timezone/Makefile ($(objpfx)zic.o): New dependency on
69450         $(objpfx)version.h.
69451         ($(objpfx)zdump.o): Likewise.
69452         ($(objpfx)version.h): New target.
69454         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
69455         2012i.
69456         * timezone/README: Don't mention modification to tzselect.ksh.
69457         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
69458         work on unmodified tzselect.ksh.  Substitute version numbers in
69459         tzselect.ksh.
69461         * Makefile (format-me): Remove.
69462         (INSTALL): Adjust indentation.  Use commands directly instead of
69463         using $(format-me).
69465         * aclocal.m4 (ACX_PKGVERSION): New macro.
69466         (ACX_BUGURL): Likewise.
69467         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
69468         (PKGVERSION): New AC_DEFINE_UNQUOTED.
69469         (REPORT_BUGS_TO): Likewise.
69470         * configure: Regenerated.
69471         * config.h.in (PKGVERSION): New macro.
69472         (REPORT_BUGS_TO): Likewise.
69473         * config.make.in (PKGVERSION): New variable.
69474         (PKGVERSION_TEXI): Likewise.
69475         (REPORT_BUGS_TO): Likewise.
69476         (REPORT_BUGS_TEXI): Likewise.
69477         * Makefile (format-me): Use -I$(common-objpfx)manual.
69478         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
69479         ($(common-objpfx)manual/%): New target.
69480         (manual/%): Remove target.
69481         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
69482         (print_version): Use PKGVERSION.
69483         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
69484         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
69485         and REPORT_BUGS_TO.
69486         ($(objpfx)xtrace): Likewise.
69487         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
69488         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
69489         (print_version): Use PKGVERSION.
69490         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
69491         (do_version): Use PKGVERSION.
69492         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
69493         REPORT_BUGS_TO.
69494         (common-ldd-rewrite): Likewise.
69495         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
69496         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
69497         (print_version): Use PKGVERSION.
69498         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
69499         * elf/pldd.c (argp_program_bug_address): Remove variable.
69500         (more_help): New function.
69501         (argp): Use more_help.
69502         (print_version): Use PKGVERSION.
69503         * elf/sln.c (main): Use PKGVERSION.
69504         (usage): Use REPORT_BUGS_TO.
69505         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
69506         (top level): Use PKGVERSION.
69507         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
69508         (print_version): Use PKGVERSION.
69509         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
69510         (print_version): Use PKGVERSION.
69511         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
69512         (print_version): Use PKGVERSION.
69513         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
69514         (print_version): Use PKGVERSION.
69515         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
69516         (print_version): Use PKGVERSION.
69517         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
69518         (print_version): Use PKGVERSION.
69519         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
69520         and BUGURL.
69521         ($(objpfx)memusage): Likewise.
69522         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
69523         (do_version): Use PKGVERSION.
69524         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
69525         (print_version): Use PKGVERSION.
69526         * malloc/mtrace.pl ($PACKAGE): Remove variable.
69527         ($PKGVERSION): New variable.
69528         ($REPORT_BUGS_TO): Likewise.
69529         (usage): Use $REPORT_BUGS_TO.
69530         (top level): Use $PKGVERSION.
69531         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
69532         ($(objpfx)pkgvers.texi): New rule.
69533         ($(objpfx)stamp-pkgvers): Likewise.
69534         * manual/install.texi: Include pkgvers.texi.
69535         (--with-pkgversion): Document new configure option.
69536         (--with-bugurl): Likewise.
69537         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
69538         than necessarily for this particular distribution.  Use
69539         REPORT_BUGS_TO for where to report bugs.
69540         * INSTALL: Regenerated.
69541         * manual/libc.texinfo: Include pkgvers.texi.
69542         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
69543         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
69544         (print_version): Use PKGVERSION.
69545         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
69546         (print_version): Use PKGVERSION.
69547         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
69548         (print_version): Use PKGVERSION.
69549         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
69550         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
69551         macro.
69552         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
69553         (print_version): Use PKGVERSION.
69554         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
69555         (print_version): Use PKGVERSION.
69556         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
69557         and PKGVERSION.
69559         * timezone/checktab.awk: Update from tzcode 2012i.
69560         * timezone/ialloc.c: Likewise.
69561         * timezone/private.h: Likewise.
69562         * timezone/scheck.c: Likewise.
69563         * timezone/tzfile.h: Likewise.
69564         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
69565         (TZVERSION): Hardcode tzcode version number.
69566         * timezone/zdump.c: Update from tzcode 2012i.
69567         * timezone/zic.c: Likewise.
69568         * timezone/version.h: New file.
69569         * timezone/README: Describe version.h.  Update upstream location.
69571         [BZ #14824]
69572         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
69573         (mktemp): Enable declaration.
69574         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
69575         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
69576         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
69577         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
69578         Likewise.
69579         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
69580         Likewise.
69581         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
69582         Likewise.
69583         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
69584         Likewise.
69585         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
69586         Likewise.
69587         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
69588         Likewise.
69590         [BZ #14821]
69591         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
69592         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
69593         for copies of such integer values.
69594         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
69595         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
69597 2012-11-09  Andreas Jaeger  <aj@suse.de>
69599         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
69600         definitions and declarations that are provided by
69601         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69603 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69605         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
69606         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
69607         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
69608         definition.
69610 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69612         * elf/elf.h: Update comment before AArch64 relocations.
69614 2012-11-07  David S. Miller  <davem@davemloft.net>
69616         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
69617         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69618         (__start_context): Declare.
69619         (__makecontext_ret): Delete.
69620         (__makecontext): Hook up __start_context instead of
69621         __makecontext_ret.
69622         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
69623         (sysdep_routines): Add __start_context when in stdlib.
69625 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69627         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
69628         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
69629         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
69630         hardcoded "nm".
69631         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
69632         (READELF): New variable.  Use it instead of hardcoded "readelf".
69634 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69636         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
69637         * sysdeps/x86/Makefile: Here.
69638         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
69639         * sysdeps/x86/tst-xmmymm.sh: This.
69641 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69643         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
69644         expectations.
69645         [UNIX98] (pthread_barrier_t): Do not expect.
69646         [UNIX98] (pthread_barrierattr_t): Likewise.
69647         [UNIX98] (pthread_spinlock_t): Likewise.
69648         [UNIX98] (pthread_barrier_destroy): Likewise.
69649         [UNIX98] (pthread_barrier_init): Likewise.
69650         [UNIX98] (pthread_barrier_wait): Likewise.
69651         [UNIX98] (pthread_barrierattr_destroy): Likewise.
69652         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
69653         [UNIX98] (pthread_barrierattr_init): Likewise.
69654         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
69655         [UNIX98] (pthread_getcpuclockid): Likewise.
69656         [UNIX98] (pthread_mutex_timedlock): Likewise.
69657         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
69658         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
69659         [UNIX98] (pthread_sigmask): Likewise.
69660         [UNIX98] (pthread_spin_destroy): Likewise.
69661         [UNIX98] (pthread_spin_init): Likewise.
69662         [UNIX98] (pthread_spin_lock): Likewise.
69663         [UNIX98] (pthread_spin_trylock): Likewise.
69664         [UNIX98] (pthread_spin_unlock): Likewise.
69665         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
69666         Do not expect.
69667         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
69668         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
69669         [XPG3 || XPG4] (pthread_cond_t): Likewise.
69670         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
69671         [XPG3 || XPG4] (pthread_key_t): Likewise.
69672         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
69673         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
69674         [XPG3 || XPG4] (pthread_once_t): Likewise.
69675         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
69676         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
69677         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
69678         [XPG3 || XPG4] (pthread_t): Likewise.
69680         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
69681         not expect.
69682         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
69684         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
69685         Change function return type to int.
69687         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
69688         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
69689         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
69690         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
69691         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
69692         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
69693         [!POSIX] (posix_madvise): Likewise.
69694         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
69695         && !UNIX98].
69696         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
69697         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
69698         (mode_t): Likewise.
69699         (posix_mem_offset): Likewise.
69700         (posix_typed_mem_get_info): Likewise.
69701         (posix_typed_mem_open): Likewise.
69703         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
69704         Change condition to [XOPEN2K8].
69706         * conform/conformtest.pl: Preprocess allow-header data with -x c
69707         instead of from stdin.
69708         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
69709         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
69710         [C99-based standards] (cerfc): Likewise.
69711         [C99-based standards] (cexp2): Likewise.
69712         [C99-based standards] (cexpm1): Likewise.
69713         [C99-based standards] (clog10): Likewise.
69714         [C99-based standards] (clog1p): Likewise.
69715         [C99-based standards] (clog2): Likewise.
69716         [C99-based standards] (clgamma): Likewise.
69717         [C99-based standards] (ctgamma): Likewise.
69718         [C99-based standards] (cerff): Likewise.
69719         [C99-based standards] (cerfcf): Likewise.
69720         [C99-based standards] (cexp2f): Likewise.
69721         [C99-based standards] (cexpm1f): Likewise.
69722         [C99-based standards] (clog10f): Likewise.
69723         [C99-based standards] (clog1pf): Likewise.
69724         [C99-based standards] (clog2f): Likewise.
69725         [C99-based standards] (clgammaf): Likewise.
69726         [C99-based standards] (ctgammaf): Likewise.
69727         [C99-based standards] (cerfl): Likewise.
69728         [C99-based standards] (cerfcl): Likewise.
69729         [C99-based standards] (cexp2l): Likewise.
69730         [C99-based standards] (cexpm1l): Likewise.
69731         [C99-based standards] (clog10l): Likewise.
69732         [C99-based standards] (clog1pl): Likewise.
69733         [C99-based standards] (clog2l): Likewise.
69734         [C99-based standards] (clgammal): Likewise.
69735         [C99-based standards] (ctgammal): Likewise.
69736         * conform/data/inttypes.h-data [C99-based standards]: Include
69737         stdint.h-data.  Remove all expectations for stdint.h contents.
69738         [C99-based standards] (PRI*): Do not allow.
69739         [C99-based standards] (SCN*): Likewise.
69740         [C99-based standards] (*_t): Likewise.
69741         [C99-based-standards] (PRId8): Expect macro.
69742         [C99-based-standards] (PRIi8): Likewise.
69743         [C99-based-standards] (PRIo8): Likewise.
69744         [C99-based-standards] (PRIu8): Likewise.
69745         [C99-based-standards] (PRIx8): Likewise.
69746         [C99-based-standards] (PRIX8): Likewise.
69747         [C99-based-standards] (SCNd8): Likewise.
69748         [C99-based-standards] (SCNi8): Likewise.
69749         [C99-based-standards] (SCNo8): Likewise.
69750         [C99-based-standards] (SCNu8): Likewise.
69751         [C99-based-standards] (SCNx8): Likewise.
69752         [C99-based-standards] (PRIdLEAST8): Likewise.
69753         [C99-based-standards] (PRIiLEAST8): Likewise.
69754         [C99-based-standards] (PRIoLEAST8): Likewise.
69755         [C99-based-standards] (PRIuLEAST8): Likewise.
69756         [C99-based-standards] (PRIxLEAST8): Likewise.
69757         [C99-based-standards] (PRIXLEAST8): Likewise.
69758         [C99-based-standards] (SCNdLEAST8): Likewise.
69759         [C99-based-standards] (SCNiLEAST8): Likewise.
69760         [C99-based-standards] (SCNoLEAST8): Likewise.
69761         [C99-based-standards] (SCNuLEAST8): Likewise.
69762         [C99-based-standards] (SCNxLEAST8): Likewise.
69763         [C99-based-standards] (PRIdFAST8): Likewise.
69764         [C99-based-standards] (PRIiFAST8): Likewise.
69765         [C99-based-standards] (PRIoFAST8): Likewise.
69766         [C99-based-standards] (PRIuFAST8): Likewise.
69767         [C99-based-standards] (PRIxFAST8): Likewise.
69768         [C99-based-standards] (PRIXFAST8): Likewise.
69769         [C99-based-standards] (SCNdFAST8): Likewise.
69770         [C99-based-standards] (SCNiFAST8): Likewise.
69771         [C99-based-standards] (SCNoFAST8): Likewise.
69772         [C99-based-standards] (SCNuFAST8): Likewise.
69773         [C99-based-standards] (SCNxFAST8): Likewise.
69774         [C99-based-standards] (PRId16): Likewise.
69775         [C99-based-standards] (PRIi16): Likewise.
69776         [C99-based-standards] (PRIo16): Likewise.
69777         [C99-based-standards] (PRIu16): Likewise.
69778         [C99-based-standards] (PRIx16): Likewise.
69779         [C99-based-standards] (PRIX16): Likewise.
69780         [C99-based-standards] (SCNd16): Likewise.
69781         [C99-based-standards] (SCNi16): Likewise.
69782         [C99-based-standards] (SCNo16): Likewise.
69783         [C99-based-standards] (SCNu16): Likewise.
69784         [C99-based-standards] (SCNx16): Likewise.
69785         [C99-based-standards] (PRIdLEAST16): Likewise.
69786         [C99-based-standards] (PRIiLEAST16): Likewise.
69787         [C99-based-standards] (PRIoLEAST16): Likewise.
69788         [C99-based-standards] (PRIuLEAST16): Likewise.
69789         [C99-based-standards] (PRIxLEAST16): Likewise.
69790         [C99-based-standards] (PRIXLEAST16): Likewise.
69791         [C99-based-standards] (SCNdLEAST16): Likewise.
69792         [C99-based-standards] (SCNiLEAST16): Likewise.
69793         [C99-based-standards] (SCNoLEAST16): Likewise.
69794         [C99-based-standards] (SCNuLEAST16): Likewise.
69795         [C99-based-standards] (SCNxLEAST16): Likewise.
69796         [C99-based-standards] (PRIdFAST16): Likewise.
69797         [C99-based-standards] (PRIiFAST16): Likewise.
69798         [C99-based-standards] (PRIoFAST16): Likewise.
69799         [C99-based-standards] (PRIuFAST16): Likewise.
69800         [C99-based-standards] (PRIxFAST16): Likewise.
69801         [C99-based-standards] (PRIXFAST16): Likewise.
69802         [C99-based-standards] (SCNdFAST16): Likewise.
69803         [C99-based-standards] (SCNiFAST16): Likewise.
69804         [C99-based-standards] (SCNoFAST16): Likewise.
69805         [C99-based-standards] (SCNuFAST16): Likewise.
69806         [C99-based-standards] (SCNxFAST16): Likewise.
69807         [C99-based-standards] (PRId32): Likewise.
69808         [C99-based-standards] (PRIi32): Likewise.
69809         [C99-based-standards] (PRIo32): Likewise.
69810         [C99-based-standards] (PRIu32): Likewise.
69811         [C99-based-standards] (PRIx32): Likewise.
69812         [C99-based-standards] (PRIX32): Likewise.
69813         [C99-based-standards] (SCNd32): Likewise.
69814         [C99-based-standards] (SCNi32): Likewise.
69815         [C99-based-standards] (SCNo32): Likewise.
69816         [C99-based-standards] (SCNu32): Likewise.
69817         [C99-based-standards] (SCNx32): Likewise.
69818         [C99-based-standards] (PRIdLEAST32): Likewise.
69819         [C99-based-standards] (PRIiLEAST32): Likewise.
69820         [C99-based-standards] (PRIoLEAST32): Likewise.
69821         [C99-based-standards] (PRIuLEAST32): Likewise.
69822         [C99-based-standards] (PRIxLEAST32): Likewise.
69823         [C99-based-standards] (PRIXLEAST32): Likewise.
69824         [C99-based-standards] (SCNdLEAST32): Likewise.
69825         [C99-based-standards] (SCNiLEAST32): Likewise.
69826         [C99-based-standards] (SCNoLEAST32): Likewise.
69827         [C99-based-standards] (SCNuLEAST32): Likewise.
69828         [C99-based-standards] (SCNxLEAST32): Likewise.
69829         [C99-based-standards] (PRIdFAST32): Likewise.
69830         [C99-based-standards] (PRIiFAST32): Likewise.
69831         [C99-based-standards] (PRIoFAST32): Likewise.
69832         [C99-based-standards] (PRIuFAST32): Likewise.
69833         [C99-based-standards] (PRIxFAST32): Likewise.
69834         [C99-based-standards] (PRIXFAST32): Likewise.
69835         [C99-based-standards] (SCNdFAST32): Likewise.
69836         [C99-based-standards] (SCNiFAST32): Likewise.
69837         [C99-based-standards] (SCNoFAST32): Likewise.
69838         [C99-based-standards] (SCNuFAST32): Likewise.
69839         [C99-based-standards] (SCNxFAST32): Likewise.
69840         [C99-based-standards] (PRId64): Likewise.
69841         [C99-based-standards] (PRIi64): Likewise.
69842         [C99-based-standards] (PRIo64): Likewise.
69843         [C99-based-standards] (PRIu64): Likewise.
69844         [C99-based-standards] (PRIx64): Likewise.
69845         [C99-based-standards] (PRIX64): Likewise.
69846         [C99-based-standards] (SCNd64): Likewise.
69847         [C99-based-standards] (SCNi64): Likewise.
69848         [C99-based-standards] (SCNo64): Likewise.
69849         [C99-based-standards] (SCNu64): Likewise.
69850         [C99-based-standards] (SCNx64): Likewise.
69851         [C99-based-standards] (PRIdLEAST64): Likewise.
69852         [C99-based-standards] (PRIiLEAST64): Likewise.
69853         [C99-based-standards] (PRIoLEAST64): Likewise.
69854         [C99-based-standards] (PRIuLEAST64): Likewise.
69855         [C99-based-standards] (PRIxLEAST64): Likewise.
69856         [C99-based-standards] (PRIXLEAST64): Likewise.
69857         [C99-based-standards] (SCNdLEAST64): Likewise.
69858         [C99-based-standards] (SCNiLEAST64): Likewise.
69859         [C99-based-standards] (SCNoLEAST64): Likewise.
69860         [C99-based-standards] (SCNuLEAST64): Likewise.
69861         [C99-based-standards] (SCNxLEAST64): Likewise.
69862         [C99-based-standards] (PRIdFAST64): Likewise.
69863         [C99-based-standards] (PRIiFAST64): Likewise.
69864         [C99-based-standards] (PRIoFAST64): Likewise.
69865         [C99-based-standards] (PRIuFAST64): Likewise.
69866         [C99-based-standards] (PRIxFAST64): Likewise.
69867         [C99-based-standards] (PRIXFAST64): Likewise.
69868         [C99-based-standards] (SCNdFAST64): Likewise.
69869         [C99-based-standards] (SCNiFAST64): Likewise.
69870         [C99-based-standards] (SCNoFAST64): Likewise.
69871         [C99-based-standards] (SCNuFAST64): Likewise.
69872         [C99-based-standards] (SCNxFAST64): Likewise.
69873         [C99-based-standards] (PRIdMAX): Likewise.
69874         [C99-based-standards] (PRIiMAX): Likewise.
69875         [C99-based-standards] (PRIoMAX): Likewise.
69876         [C99-based-standards] (PRIuMAX): Likewise.
69877         [C99-based-standards] (PRIxMAX): Likewise.
69878         [C99-based-standards] (PRIXMAX): Likewise.
69879         [C99-based-standards] (SCNdMAX): Likewise.
69880         [C99-based-standards] (SCNiMAX): Likewise.
69881         [C99-based-standards] (SCNoMAX): Likewise.
69882         [C99-based-standards] (SCNuMAX): Likewise.
69883         [C99-based-standards] (SCNxMAX): Likewise.
69884         [C99-based-standards] (PRIdPTR): Likewise.
69885         [C99-based-standards] (PRIiPTR): Likewise.
69886         [C99-based-standards] (PRIoPTR): Likewise.
69887         [C99-based-standards] (PRIuPTR): Likewise.
69888         [C99-based-standards] (PRIxPTR): Likewise.
69889         [C99-based-standards] (PRIXPTR): Likewise.
69890         [C99-based-standards] (SCNdPTR): Likewise.
69891         [C99-based-standards] (SCNiPTR): Likewise.
69892         [C99-based-standards] (SCNoPTR): Likewise.
69893         [C99-based-standards] (SCNuPTR): Likewise.
69894         [C99-based-standards] (SCNxPTR): Likewise.
69895         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
69896         allow.
69897         * conform/data/stdint.h-data: Update comments to clarify
69898         requirements.
69899         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
69900         type.
69901         [C99-based standards] (INT8_MAX): Likewise.
69902         [C99-based standards] (INT16_MIN): Likewise.
69903         [C99-based standards] (INT16_MAX): Likewise.
69904         [C99-based standards] (INT32_MIN): Likewise.
69905         [C99-based standards] (INT32_MAX): Likewise.
69906         [C99-based standards] (INT64_MIN): Likewise.
69907         [C99-based standards] (INT64_MAX): Likewise.
69908         [C99-based standards] (UINT8_MAX): Likewise.
69909         [C99-based standards] (UINT16_MAX): Likewise.
69910         [C99-based standards] (UINT32_MAX): Likewise.
69911         [C99-based standards] (UINT64_MAX): Likewise.
69912         [C99-based standards] (INT_LEAST8_MIN): Likewise.
69913         [C99-based standards] (INT_LEAST8_MAX): Likewise.
69914         [C99-based standards] (INT_LEAST16_MIN): Likewise.
69915         [C99-based standards] (INT_LEAST16_MAX): Likewise.
69916         [C99-based standards] (INT_LEAST32_MIN): Likewise.
69917         [C99-based standards] (INT_LEAST32_MAX): Likewise.
69918         [C99-based standards] (INT_LEAST64_MIN): Likewise.
69919         [C99-based standards] (INT_LEAST64_MAX): Likewise.
69920         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
69921         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
69922         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
69923         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
69924         [C99-based standards] (INT_FAST8_MIN): Likewise.
69925         [C99-based standards] (INT_FAST8_MAX): Likewise.
69926         [C99-based standards] (INT_FAST16_MIN): Likewise.
69927         [C99-based standards] (INT_FAST16_MAX): Likewise.
69928         [C99-based standards] (INT_FAST32_MIN): Likewise.
69929         [C99-based standards] (INT_FAST32_MAX): Likewise.
69930         [C99-based standards] (INT_FAST64_MIN): Likewise.
69931         [C99-based standards] (INT_FAST64_MAX): Likewise.
69932         [C99-based standards] (UINT_FAST8_MAX): Likewise.
69933         [C99-based standards] (UINT_FAST16_MAX): Likewise.
69934         [C99-based standards] (UINT_FAST32_MAX): Likewise.
69935         [C99-based standards] (UINT_FAST64_MAX): Likewise.
69936         [C99-based standards] (INTPTR_MIN): Likewise.
69937         [C99-based standards] (INTPTR_MAX): Likewise.
69938         [C99-based standards] (UINTPTR_MAX): Likewise.
69939         [C99-based standards] (INTMAX_MIN): Likewise.
69940         [C99-based standards] (INTMAX_MAX): Likewise.
69941         [C99-based standards] (UINTMAX_MAX): Likewise.
69942         [C99-based standards] (PTRDIFF_MIN): Likewise.
69943         [C99-based standards] (PTRDIFF_MAX): Likewise.
69944         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
69945         [C99-based standards] (SIZE_MAX): Likewise.
69946         [C99-based standards] (WCHAR_MAX): Likewise.
69947         [C99-based standards] (WINT_MAX): Likewise.
69948         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
69949         constraint on value.
69950         [C99-based standards] (WCHAR_MIN): Likewise.
69951         [C99-based standards] (WINT_MIN): Likewise.
69952         [C99-based standards] (*_t): Allow.
69953         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
69954         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
69955         Include math.h-data and complex.h-data.  Remove all expectations
69956         of math.h and complex.h contents.
69957         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
69958         at end of line.
69959         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
69960         (struct tm): Expect tag.
69961         [C99-based-standards] (wcstof): Expect function.
69962         [C99-based-standards] (wcstold): Likewise.
69963         [C99-based-standards] (wcstoll): Likewise.
69964         [C99-based-standards] (wcstoull): Likewise.
69965         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
69966         macro-int-constant.  Specify type.
69967         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
69968         constraint on value.
69969         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69970         Specify type.
69971         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
69972         Specify value.
69973         [ISO C standards]: Do not allow headers.
69974         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
69975         wcs[abcdefghijklmnopqrstuvwxyz]*.
69976         [ISO C standards] (*_t): Do not allow.
69977         * conform/data/wctype.h-data [C99-based standards] (iswblank):
69978         Expect function.
69979         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
69980         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69981         Specify type.
69982         [ISO C standards]: Do not allow headers.
69983         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
69984         is[abcdefghijklmnopqrstuvwxyz]*.
69985         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
69986         to[abcdefghijklmnopqrstuvwxyz]*.
69987         [ISO C standards] (*_t): Do not allow.
69988         * conform/data/stdalign.h-data: New file.
69989         * conform/data/stdbool.h-data: Likewise.
69990         * conform/data/stdnoreturn.h-data: Likewise.
69992 2012-11-07  Roland McGrath  <roland@hack.frob.com>
69994         [BZ #14815]
69995         * manual/filesys.texi (Directory Entries): Typo fix.
69996         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
69998 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70000         * elf/elf.h (EM_AARCH64): New macro.
70001         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
70002         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
70003         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
70004         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
70005         (R_AARCH64_TLSDESC): Likewise.
70006         (NT_ARM_TLS): Likewise.
70007         (NT_ARM_HW_BREAK): Likewise.
70008         (NT_ARM_HW_WATCH): Likewise.
70010 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70012         [BZ #14811]
70013         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
70014         (__ieee754_powl): Saturate nonzero exponents with absolute value
70015         below 0x1p-79 to +/- 0x1p-79.
70016         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
70017         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
70018         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
70019         nonzero exponents with absolute value below 0x1p-32 to +/-
70020         0x1p-32.
70021         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
70022         (__ieee754_powl): Saturate nonzero exponents with absolute value
70023         below 0x1p-79 to +/- 0x1p-79.
70024         * math/libm-test.inc (pow_test): Add more tests.
70026 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70028         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
70029         _dl_s390_cap_flags with kernel. Increase string length.
70030         (_dl_s390_platforms): Add z196 and zEC12.
70032 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70034         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
70035         Change XOPEN21K to XOPEN2K.
70037 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
70039         * string/memmove.c: Use memcpy when possible.
70041 2012-11-06  Andreas Jaeger  <aj@suse.de>
70043         * po/eo.po: Update from translation team.
70045 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
70047         [BZ #14793]
70048         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
70049         exponent and small x and y exponents, scale x or y up.  Increase
70050         by 2 the exponent used in scaling up.
70051         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70052         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70053         * math/libm-test.inc (fma_test): Add more tests.
70054         (fma_test_towardzero): Likewise.
70055         (fma_test_downward): Likewise.
70056         (fma_test_upward): Likewise.
70058 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
70060         [BZ #14805]
70061         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
70062         fenv_t *.
70064         [BZ #14801]
70065         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
70066         namespace for names of struct fields.
70067         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
70068         fenv_t fields.
70069         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
70070         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
70072 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70074         [BZ #3665]
70075         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
70077 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
70079         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
70080         PTR_DEMANGLE.
70082         [BZ #5246]
70083         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
70084         PTR_DEMANGLE.
70086 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
70088         [BZ #14797]
70089         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
70090         definitely overflow as x * y not x * y + z.
70091         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70092         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70093         * math/libm-test.inc (fma_test): Add more tests.
70094         (fma_test_towardzero): Likewise.
70095         (fma_test_downward): Likewise.
70096         (fma_test_upward): Likewise.
70098 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
70100         [BZ #157]
70102         * include/stub-tag.h: Remove file.
70103         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
70104         '#include' of it.
70105         * manual/maint.texi (Porting): Don't reference it.
70106         * Makerules ($(objpfx)stubs): Likewise.
70107         * dirent/closedir.c: Don't include <stub-tag.h>.
70108         * dirent/dirfd.c: Likewise.
70109         * dirent/fdopendir.c: Likewise.
70110         * dirent/getdents.c: Likewise.
70111         * dirent/getdents64.c: Likewise.
70112         * dirent/opendir.c: Likewise.
70113         * dirent/readdir.c: Likewise.
70114         * dirent/readdir64.c: Likewise.
70115         * dirent/readdir64_r.c: Likewise.
70116         * dirent/readdir_r.c: Likewise.
70117         * dirent/rewinddir.c: Likewise.
70118         * dirent/seekdir.c: Likewise.
70119         * dirent/telldir.c: Likewise.
70120         * gmon/profil.c: Likewise.
70121         * grp/setgroups.c: Likewise.
70122         * inet/if_index.c: Likewise.
70123         * io/access.c: Likewise.
70124         * io/chdir.c: Likewise.
70125         * io/chmod.c: Likewise.
70126         * io/chown.c: Likewise.
70127         * io/close.c: Likewise.
70128         * io/dup.c: Likewise.
70129         * io/dup2.c: Likewise.
70130         * io/dup3.c: Likewise.
70131         * io/euidaccess.c: Likewise.
70132         * io/faccessat.c: Likewise.
70133         * io/fchdir.c: Likewise.
70134         * io/fchmod.c: Likewise.
70135         * io/fchmodat.c: Likewise.
70136         * io/fchown.c: Likewise.
70137         * io/fchownat.c: Likewise.
70138         * io/fcntl.c: Likewise.
70139         * io/flock.c: Likewise.
70140         * io/fstatfs.c: Likewise.
70141         * io/fstatfs64.c: Likewise.
70142         * io/fstatvfs.c: Likewise.
70143         * io/fstatvfs64.c: Likewise.
70144         * io/futimens.c: Likewise.
70145         * io/fxstat.c: Likewise.
70146         * io/fxstat64.c: Likewise.
70147         * io/fxstatat.c: Likewise.
70148         * io/fxstatat64.c: Likewise.
70149         * io/getcwd.c: Likewise.
70150         * io/isatty.c: Likewise.
70151         * io/lchmod.c: Likewise.
70152         * io/lchown.c: Likewise.
70153         * io/link.c: Likewise.
70154         * io/linkat.c: Likewise.
70155         * io/lseek.c: Likewise.
70156         * io/lseek64.c: Likewise.
70157         * io/lxstat64.c: Likewise.
70158         * io/mkdir.c: Likewise.
70159         * io/mkdirat.c: Likewise.
70160         * io/mkfifo.c: Likewise.
70161         * io/mkfifoat.c: Likewise.
70162         * io/open.c: Likewise.
70163         * io/open64.c: Likewise.
70164         * io/openat.c: Likewise.
70165         * io/openat64.c: Likewise.
70166         * io/pipe.c: Likewise.
70167         * io/pipe2.c: Likewise.
70168         * io/poll.c: Likewise.
70169         * io/posix_fadvise.c: Likewise.
70170         * io/posix_fadvise64.c: Likewise.
70171         * io/posix_fallocate.c: Likewise.
70172         * io/posix_fallocate64.c: Likewise.
70173         * io/read.c: Likewise.
70174         * io/readlink.c: Likewise.
70175         * io/readlinkat.c: Likewise.
70176         * io/rmdir.c: Likewise.
70177         * io/sendfile.c: Likewise.
70178         * io/sendfile64.c: Likewise.
70179         * io/statfs.c: Likewise.
70180         * io/statfs64.c: Likewise.
70181         * io/statvfs.c: Likewise.
70182         * io/statvfs64.c: Likewise.
70183         * io/symlink.c: Likewise.
70184         * io/symlinkat.c: Likewise.
70185         * io/ttyname.c: Likewise.
70186         * io/ttyname_r.c: Likewise.
70187         * io/umask.c: Likewise.
70188         * io/unlink.c: Likewise.
70189         * io/unlinkat.c: Likewise.
70190         * io/utime.c: Likewise.
70191         * io/utimensat.c: Likewise.
70192         * io/write.c: Likewise.
70193         * io/xmknod.c: Likewise.
70194         * io/xmknodat.c: Likewise.
70195         * io/xstat.c: Likewise.
70196         * io/xstat64.c: Likewise.
70197         * login/getpt.c: Likewise.
70198         * login/grantpt.c: Likewise.
70199         * login/unlockpt.c: Likewise.
70200         * math/e_acoshl.c: Likewise.
70201         * math/e_acosl.c: Likewise.
70202         * math/e_asinl.c: Likewise.
70203         * math/e_atan2l.c: Likewise.
70204         * math/e_atanhl.c: Likewise.
70205         * math/e_coshl.c: Likewise.
70206         * math/e_expl.c: Likewise.
70207         * math/e_fmodl.c: Likewise.
70208         * math/e_gammal_r.c: Likewise.
70209         * math/e_hypotl.c: Likewise.
70210         * math/e_j0l.c: Likewise.
70211         * math/e_j1l.c: Likewise.
70212         * math/e_jnl.c: Likewise.
70213         * math/e_lgammal_r.c: Likewise.
70214         * math/e_log10l.c: Likewise.
70215         * math/e_log2l.c: Likewise.
70216         * math/e_logl.c: Likewise.
70217         * math/e_powl.c: Likewise.
70218         * math/e_rem_pio2l.c: Likewise.
70219         * math/e_sinhl.c: Likewise.
70220         * math/e_sqrtl.c: Likewise.
70221         * math/fclrexcpt.c: Likewise.
70222         * math/fedisblxcpt.c: Likewise.
70223         * math/feenablxcpt.c: Likewise.
70224         * math/fegetenv.c: Likewise.
70225         * math/fegetexcept.c: Likewise.
70226         * math/fegetround.c: Likewise.
70227         * math/feholdexcpt.c: Likewise.
70228         * math/fesetenv.c: Likewise.
70229         * math/fesetround.c: Likewise.
70230         * math/feupdateenv.c: Likewise.
70231         * math/fgetexcptflg.c: Likewise.
70232         * math/fraiseexcpt.c: Likewise.
70233         * math/fsetexcptflg.c: Likewise.
70234         * math/ftestexcept.c: Likewise.
70235         * math/k_cosl.c: Likewise.
70236         * math/k_rem_pio2l.c: Likewise.
70237         * math/k_sinl.c: Likewise.
70238         * math/k_tanl.c: Likewise.
70239         * math/s_asinhl.c: Likewise.
70240         * math/s_atanl.c: Likewise.
70241         * math/s_cbrtl.c: Likewise.
70242         * math/s_erfl.c: Likewise.
70243         * math/s_expm1l.c: Likewise.
70244         * math/s_log1pl.c: Likewise.
70245         * math/s_tanhl.c: Likewise.
70246         * misc/acct.c: Likewise.
70247         * misc/brk.c: Likewise.
70248         * misc/chflags.c: Likewise.
70249         * misc/chroot.c: Likewise.
70250         * misc/fchflags.c: Likewise.
70251         * misc/fgetxattr.c: Likewise.
70252         * misc/flistxattr.c: Likewise.
70253         * misc/fremovexattr.c: Likewise.
70254         * misc/fsetxattr.c: Likewise.
70255         * misc/fsync.c: Likewise.
70256         * misc/ftruncate.c: Likewise.
70257         * misc/futimes.c: Likewise.
70258         * misc/futimesat.c: Likewise.
70259         * misc/getdomain.c: Likewise.
70260         * misc/getdtsz.c: Likewise.
70261         * misc/gethostid.c: Likewise.
70262         * misc/gethostname.c: Likewise.
70263         * misc/getloadavg.c: Likewise.
70264         * misc/getpagesize.c: Likewise.
70265         * misc/getsysstats.c: Likewise.
70266         * misc/getxattr.c: Likewise.
70267         * misc/gtty.c: Likewise.
70268         * misc/ioctl.c: Likewise.
70269         * misc/lgetxattr.c: Likewise.
70270         * misc/listxattr.c: Likewise.
70271         * misc/llistxattr.c: Likewise.
70272         * misc/lremovexattr.c: Likewise.
70273         * misc/lsetxattr.c: Likewise.
70274         * misc/lutimes.c: Likewise.
70275         * misc/madvise.c: Likewise.
70276         * misc/mincore.c: Likewise.
70277         * misc/mlock.c: Likewise.
70278         * misc/mlockall.c: Likewise.
70279         * misc/mmap.c: Likewise.
70280         * misc/mprotect.c: Likewise.
70281         * misc/msync.c: Likewise.
70282         * misc/munlock.c: Likewise.
70283         * misc/munlockall.c: Likewise.
70284         * misc/munmap.c: Likewise.
70285         * misc/preadv.c: Likewise.
70286         * misc/preadv64.c: Likewise.
70287         * misc/ptrace.c: Likewise.
70288         * misc/pwritev.c: Likewise.
70289         * misc/pwritev64.c: Likewise.
70290         * misc/readv.c: Likewise.
70291         * misc/reboot.c: Likewise.
70292         * misc/remap_file_pages.c: Likewise.
70293         * misc/removexattr.c: Likewise.
70294         * misc/revoke.c: Likewise.
70295         * misc/select.c: Likewise.
70296         * misc/setdomain.c: Likewise.
70297         * misc/setegid.c: Likewise.
70298         * misc/seteuid.c: Likewise.
70299         * misc/sethostid.c: Likewise.
70300         * misc/sethostname.c: Likewise.
70301         * misc/setregid.c: Likewise.
70302         * misc/setreuid.c: Likewise.
70303         * misc/setxattr.c: Likewise.
70304         * misc/sstk.c: Likewise.
70305         * misc/stty.c: Likewise.
70306         * misc/swapoff.c: Likewise.
70307         * misc/swapon.c: Likewise.
70308         * misc/sync.c: Likewise.
70309         * misc/syncfs.c: Likewise.
70310         * misc/syscall.c: Likewise.
70311         * misc/truncate.c: Likewise.
70312         * misc/ualarm.c: Likewise.
70313         * misc/usleep.c: Likewise.
70314         * misc/ustat.c: Likewise.
70315         * misc/utimes.c: Likewise.
70316         * misc/vhangup.c: Likewise.
70317         * misc/writev.c: Likewise.
70318         * posix/_exit.c: Likewise.
70319         * posix/alarm.c: Likewise.
70320         * posix/execve.c: Likewise.
70321         * posix/fexecve.c: Likewise.
70322         * posix/fork.c: Likewise.
70323         * posix/fpathconf.c: Likewise.
70324         * posix/getaddrinfo.c: Likewise.
70325         * posix/getegid.c: Likewise.
70326         * posix/geteuid.c: Likewise.
70327         * posix/getgid.c: Likewise.
70328         * posix/getgroups.c: Likewise.
70329         * posix/getlogin.c: Likewise.
70330         * posix/getlogin_r.c: Likewise.
70331         * posix/getpgid.c: Likewise.
70332         * posix/getpid.c: Likewise.
70333         * posix/getppid.c: Likewise.
70334         * posix/getresgid.c: Likewise.
70335         * posix/getresuid.c: Likewise.
70336         * posix/getsid.c: Likewise.
70337         * posix/getuid.c: Likewise.
70338         * posix/glob64.c: Likewise.
70339         * posix/nanosleep.c: Likewise.
70340         * posix/pathconf.c: Likewise.
70341         * posix/pause.c: Likewise.
70342         * posix/posix_madvise.c: Likewise.
70343         * posix/pread.c: Likewise.
70344         * posix/pread64.c: Likewise.
70345         * posix/pwrite.c: Likewise.
70346         * posix/pwrite64.c: Likewise.
70347         * posix/sched_getaffinity.c: Likewise.
70348         * posix/sched_getp.c: Likewise.
70349         * posix/sched_gets.c: Likewise.
70350         * posix/sched_primax.c: Likewise.
70351         * posix/sched_primin.c: Likewise.
70352         * posix/sched_rr_gi.c: Likewise.
70353         * posix/sched_setaffinity.c: Likewise.
70354         * posix/sched_setp.c: Likewise.
70355         * posix/sched_sets.c: Likewise.
70356         * posix/sched_yield.c: Likewise.
70357         * posix/setgid.c: Likewise.
70358         * posix/setlogin.c: Likewise.
70359         * posix/setpgid.c: Likewise.
70360         * posix/setresgid.c: Likewise.
70361         * posix/setresuid.c: Likewise.
70362         * posix/setsid.c: Likewise.
70363         * posix/setuid.c: Likewise.
70364         * posix/sleep.c: Likewise.
70365         * posix/spawni.c: Likewise.
70366         * posix/sysconf.c: Likewise.
70367         * posix/times.c: Likewise.
70368         * posix/wait.c: Likewise.
70369         * posix/wait3.c: Likewise.
70370         * posix/wait4.c: Likewise.
70371         * posix/waitpid.c: Likewise.
70372         * resolv/gai_sigqueue.c: Likewise.
70373         * resource/getpriority.c: Likewise.
70374         * resource/getrlimit.c: Likewise.
70375         * resource/getrusage.c: Likewise.
70376         * resource/nice.c: Likewise.
70377         * resource/setpriority.c: Likewise.
70378         * resource/setrlimit.c: Likewise.
70379         * resource/ulimit.c: Likewise.
70380         * rt/aio_cancel.c: Likewise.
70381         * rt/aio_fsync.c: Likewise.
70382         * rt/aio_read.c: Likewise.
70383         * rt/aio_sigqueue.c: Likewise.
70384         * rt/aio_suspend.c: Likewise.
70385         * rt/aio_write.c: Likewise.
70386         * rt/clock_getres.c: Likewise.
70387         * rt/clock_gettime.c: Likewise.
70388         * rt/clock_nanosleep.c: Likewise.
70389         * rt/clock_settime.c: Likewise.
70390         * rt/lio_listio.c: Likewise.
70391         * rt/mq_close.c: Likewise.
70392         * rt/mq_getattr.c: Likewise.
70393         * rt/mq_notify.c: Likewise.
70394         * rt/mq_open.c: Likewise.
70395         * rt/mq_receive.c: Likewise.
70396         * rt/mq_send.c: Likewise.
70397         * rt/mq_setattr.c: Likewise.
70398         * rt/mq_timedreceive.c: Likewise.
70399         * rt/mq_timedsend.c: Likewise.
70400         * rt/mq_unlink.c: Likewise.
70401         * rt/shm_open.c: Likewise.
70402         * rt/shm_unlink.c: Likewise.
70403         * rt/timer_create.c: Likewise.
70404         * rt/timer_delete.c: Likewise.
70405         * rt/timer_getoverr.c: Likewise.
70406         * rt/timer_gettime.c: Likewise.
70407         * rt/timer_settime.c: Likewise.
70408         * setjmp/__longjmp.c: Likewise.
70409         * setjmp/setjmp.c: Likewise.
70410         * signal/kill.c: Likewise.
70411         * signal/killpg.c: Likewise.
70412         * signal/raise.c: Likewise.
70413         * signal/sigaction.c: Likewise.
70414         * signal/sigaltstack.c: Likewise.
70415         * signal/sigblock.c: Likewise.
70416         * signal/sigignore.c: Likewise.
70417         * signal/sigintr.c: Likewise.
70418         * signal/signal.c: Likewise.
70419         * signal/sigpause.c: Likewise.
70420         * signal/sigpending.c: Likewise.
70421         * signal/sigqueue.c: Likewise.
70422         * signal/sigreturn.c: Likewise.
70423         * signal/sigset.c: Likewise.
70424         * signal/sigsetmask.c: Likewise.
70425         * signal/sigstack.c: Likewise.
70426         * signal/sigsuspend.c: Likewise.
70427         * signal/sigtimedwait.c: Likewise.
70428         * signal/sigvec.c: Likewise.
70429         * signal/sigwait.c: Likewise.
70430         * signal/sigwaitinfo.c: Likewise.
70431         * signal/sysv_signal.c: Likewise.
70432         * socket/accept.c: Likewise.
70433         * socket/accept4.c: Likewise.
70434         * socket/bind.c: Likewise.
70435         * socket/connect.c: Likewise.
70436         * socket/getpeername.c: Likewise.
70437         * socket/getsockname.c: Likewise.
70438         * socket/getsockopt.c: Likewise.
70439         * socket/isfdtype.c: Likewise.
70440         * socket/listen.c: Likewise.
70441         * socket/recv.c: Likewise.
70442         * socket/recvfrom.c: Likewise.
70443         * socket/recvmsg.c: Likewise.
70444         * socket/send.c: Likewise.
70445         * socket/sendmsg.c: Likewise.
70446         * socket/sendto.c: Likewise.
70447         * socket/setsockopt.c: Likewise.
70448         * socket/shutdown.c: Likewise.
70449         * socket/sockatmark.c: Likewise.
70450         * socket/socket.c: Likewise.
70451         * socket/socketpair.c: Likewise.
70452         * stdio-common/ctermid.c: Likewise.
70453         * stdio-common/cuserid.c: Likewise.
70454         * stdio-common/remove.c: Likewise.
70455         * stdio-common/rename.c: Likewise.
70456         * stdio-common/renameat.c: Likewise.
70457         * stdio-common/tempname.c: Likewise.
70458         * stdlib/getcontext.c: Likewise.
70459         * stdlib/makecontext.c: Likewise.
70460         * stdlib/setcontext.c: Likewise.
70461         * stdlib/swapcontext.c: Likewise.
70462         * stdlib/system.c: Likewise.
70463         * streams/fattach.c: Likewise.
70464         * streams/fdetach.c: Likewise.
70465         * streams/getmsg.c: Likewise.
70466         * streams/getpmsg.c: Likewise.
70467         * streams/putmsg.c: Likewise.
70468         * streams/putpmsg.c: Likewise.
70469         * sysdeps/unix/bsd/getpt.c: Likewise.
70470         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
70471         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
70472         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
70473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70474         Likewise.
70475         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
70476         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70477         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
70478         * sysvipc/msgctl.c: Likewise.
70479         * sysvipc/msgget.c: Likewise.
70480         * sysvipc/msgrcv.c: Likewise.
70481         * sysvipc/msgsnd.c: Likewise.
70482         * sysvipc/semctl.c: Likewise.
70483         * sysvipc/semget.c: Likewise.
70484         * sysvipc/semop.c: Likewise.
70485         * sysvipc/semtimedop.c: Likewise.
70486         * sysvipc/shmat.c: Likewise.
70487         * sysvipc/shmctl.c: Likewise.
70488         * sysvipc/shmdt.c: Likewise.
70489         * sysvipc/shmget.c: Likewise.
70490         * termios/tcdrain.c: Likewise.
70491         * termios/tcflow.c: Likewise.
70492         * termios/tcflush.c: Likewise.
70493         * termios/tcgetattr.c: Likewise.
70494         * termios/tcgetpgrp.c: Likewise.
70495         * termios/tcsendbrk.c: Likewise.
70496         * termios/tcsetattr.c: Likewise.
70497         * termios/tcsetpgrp.c: Likewise.
70498         * time/adjtime.c: Likewise.
70499         * time/clock.c: Likewise.
70500         * time/getitimer.c: Likewise.
70501         * time/gettimeofday.c: Likewise.
70502         * time/setitimer.c: Likewise.
70503         * time/settimeofday.c: Likewise.
70504         * time/stime.c: Likewise.
70505         * time/time.c: Likewise.
70507 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
70509         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
70510         /usr/old/bin.
70512         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
70513         instead of spaces.
70514         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
70516 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
70518         [BZ #14796]
70519         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
70520         FE_TONEAREST before applying Dekker multiplication and Knuth
70521         addition.  Clear inexact exceptions and check for exact zero
70522         results afterwards.
70523         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70524         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70525         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70526         * math/libm-test.inc (fma_test): Add more tests.
70527         (fma_test_towardzero): Likewise.
70528         (fma_test_downward): Likewise.
70529         (fma_test_upward): Likewise.
70530         * sysdeps/generic/math_private.h (default_libc_fesetround): New
70531         function.
70532         (libc_fesetround): New macro.
70533         (libc_fesetroundf): Likewise.
70534         (libc_fesetroundl): Likewise.
70535         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
70536         function.
70537         (libc_fesetround_387): Likewise.
70538         (libc_fesetroundf): New macro.
70539         (libc_fesetround): Likewise.
70540         (libc_fesetroundl): Likewise.
70541         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
70542         function.
70543         (libc_fesetroundf): New macro.
70544         (libc_fesetround): Likewise.
70545         (libc_fesetroundl): Likewise.
70546         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
70547         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
70548         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
70549         libm_hidden_ver.
70550         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
70551         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
70552         libm_hidden_def.
70553         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
70554         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
70555         libm_hidden_ver.
70556         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
70557         libm_hidden_def.
70559         [BZ #3439]
70560         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
70561         integer constant usable in #if and use that to give value to enum
70562         constant.
70563         (FE_DIVBYZERO): Likewise.
70564         (FE_UNDERFLOW): Likewise.
70565         (FE_OVERFLOW): Likewise.
70566         (FE_INVALID): Likewise.
70567         (FE_INVALID_SNAN): Likewise.
70568         (FE_INVALID_ISI): Likewise.
70569         (FE_INVALID_IDI): Likewise.
70570         (FE_INVALID_ZDZ): Likewise.
70571         (FE_INVALID_IMZ): Likewise.
70572         (FE_INVALID_COMPARE): Likewise.
70573         (FE_INVALID_SOFTWARE): Likewise.
70574         (FE_INVALID_SQRT): Likewise.
70575         (FE_INVALID_INTEGER_CONVERSION): Likewise.
70576         (FE_TONEAREST): Likewise.
70577         (FE_TOWARDZERO): Likewise.
70578         (FE_UPWARD): Likewise.
70579         (FE_DOWNWARD): Likewise.
70580         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
70581         (FE_DIVBYZERO): Likewise.
70582         (FE_OVERFLOW): Likewise.
70583         (FE_UNDERFLOW): Likewise.
70584         (FE_INEXACT): Likewise.
70585         (FE_TONEAREST): Likewise.
70586         (FE_DOWNWARD): Likewise.
70587         (FE_UPWARD): Likewise.
70588         (FE_TOWARDZERO): Likewise.
70589         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
70590         (FE_UNDERFLOW): Likewise.
70591         (FE_OVERFLOW): Likewise.
70592         (FE_DIVBYZERO): Likewise.
70593         (FE_INVALID): Likewise.
70594         (FE_TONEAREST): Likewise.
70595         (FE_TOWARDZERO): Likewise.
70596         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
70597         (FE_OVERFLOW): Likewise.
70598         (FE_UNDERFLOW): Likewise.
70599         (FE_DIVBYZERO): Likewise.
70600         (FE_INEXACT): Likewise.
70601         (FE_TONEAREST): Likewise.
70602         (FE_TOWARDZERO): Likewise.
70603         (FE_UPWARD): Likewise.
70604         (FE_DOWNWARD): Likewise.
70605         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
70606         (FE_DIVBYZERO): Likewise.
70607         (FE_OVERFLOW): Likewise.
70608         (FE_UNDERFLOW): Likewise.
70609         (FE_INEXACT): Likewise.
70610         (FE_TONEAREST): Likewise.
70611         (FE_DOWNWARD): Likewise.
70612         (FE_UPWARD): Likewise.
70613         (FE_TOWARDZERO): Likewise.
70615 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
70617         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
70619 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
70621         * scripts/cross-test-ssh.sh (command): Use newlines to separate
70622         commands.  Quote $PWD.
70623         (blacklist_exports): Don't use remove_newlines.  Replace "declare
70624         -x" by "export".
70625         (remove_newlines): Remove.
70627 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
70629         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
70630         * stdlib/stdlib.h (atof): Moved to ...
70631         * include/bits/stdlib-float.h: Here.  New file.
70632         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
70633         * stdlib/bits/stdlib-float.h: New file.
70634         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
70635         -mno-sse -mno-mmx.
70636         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
70637         <xmmintrin.h>.
70639 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
70641         * conform/conformtest.pl (@headers): Add fenv.h.
70642         * conform/data/fenv.h-data: New file.
70643         * include/fenv.h [_ISOMAC]: Disable all contents of file except
70644         include of <math/fenv.h>.
70646         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
70647         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
70648         && !UNIX98].  Enables tests for XOPEN2K8.
70649         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
70650         POSIX2008]: Likewise.
70652         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
70653         (struct rusage): Do not expect type or its members.
70655         [BZ #3439]
70656         * math/math.h (FP_NAN): Define macro to integer constant usable in
70657         #if and use that to give value to enum constant.
70658         (FP_INFINITE): Likewise.
70659         (FP_ZERO): Likewise.
70660         (FP_SUBNORMAL): Likewise.
70661         (FP_NORMAL): Likewise.
70663 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
70665         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
70666         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
70667         arguments.
70669 2012-11-02  Roland McGrath  <roland@hack.frob.com>
70671         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
70672         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
70673         autoconf-time if not.
70674         * configure.in: Remove AC_PREREQ.
70676 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70678         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
70679         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
70680         of the internal implementation.
70682 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
70684         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
70685         except include of <misc/sys/syslog.h>.
70687 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
70690         function returns with a NULL context exit with zero.
70692 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70694         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
70696 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
70698         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
70699         (run_program_cmd): This.
70700         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
70701         (tst_langinfo): New variable.  Use it.
70703 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
70705         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
70706         floating point opcodes.
70708 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70710         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
70711         variable.
70713         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
70715         * sysdeps/mach/hurd/powerpc: Remove directory.
70716         * sysdeps/mach/powerpc: Likewise.
70718 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70720         * scripts/check-local-headers.sh: Ignore c++ headers.
70722 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70724         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
70725         __libc_cleanup_region_start argument.
70727 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
70729         [BZ #14784]
70730         [BZ #14785]
70731         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
70732         x * y using scaling, not as x * y + z.
70733         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70734         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70735         * math/libm-test.inc (fma_test): Add more tests.
70736         (fma_test_towardzero): Likewise.
70737         (fma_test_downward): Likewise.
70738         (fma_test_upward): Likewise.
70740 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70742         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
70744 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
70746         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
70747         New variable.
70749 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
70751         * rt/tst-shm.c (worker): Correct checking for mmap failure.
70753 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
70755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70756         Fix sort order.
70757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70758         Likewise.
70760 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70763         Fix the order of the list for glibc 2.17.
70764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70765         Likewise.
70767 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
70769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70771 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
70773         [BZ #14610]
70774         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
70775         for low part of x being zero before using __atanl (y).
70776         * math/libm-test.inc (atan2_test): Add another test.
70778         * manual/install.texi (Configuring and compiling): Document
70779         general use of test-wrapper and test-wrapper-env.
70780         * INSTALL: Regenerated.
70782         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
70783         (__fma): Do not extract and scale down low bits on after-rounding
70784         systems when result rounded to normal precision would have normal
70785         exponent.
70786         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
70787         (__fmal): Do not extract and scale down low bits on after-rounding
70788         systems when result rounded to normal precision would have normal
70789         exponent.
70790         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
70791         (__fmal): Do not extract and scale down low bits on after-rounding
70792         systems when result rounded to normal precision would have normal
70793         exponent.
70794         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
70795         macro.
70796         (fma_test): Add more tests.
70797         (fma_test_towardzero): Likewise.
70798         (fma_test_downward): Likewise.
70799         (fma_test_upward): Likewise.
70801 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
70803         * sysdeps/i386/tininess.h: Renamed to ...
70804         * sysdeps/x86/tininess.h: This.
70805         * sysdeps/x86_64/tininess.h: Removed.
70807 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
70809         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
70810         input.  Use $(build-program-cmd).
70811         ($(objpfx)tst-array1-static.out): Likewise.
70812         ($(objpfx)tst-array2.out): Likewise.
70813         ($(objpfx)tst-array3.out): Likewise.
70814         ($(objpfx)tst-array4.out): Likewise.
70815         ($(objpfx)tst-array5.out): Likewise.
70816         ($(objpfx)tst-array5-static.out): Likewise.
70818 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
70820         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
70821         if defined.
70823         * nss/nsswitch.h (nss_interface_function): Provide new
70824         macro for use with NSS functions.
70825         * grp/initgroups.c: Use new macro.
70826         * nss/getXXbyYY.c: Likewise.
70827         * nss/getXXbyYY_r.c: Likewise.
70828         * nss/getXXent.c: Likewise.
70829         * nss/getXXent_r.c: Likewise.
70830         * sysdeps/posix/getaddrinfo.c: Likewise.
70832 2012-10-30  Andreas Jaeger  <aj@suse.de>
70834         * po/ru.po: Update Russion translation from translation project.
70836 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
70838         [BZ #14152]
70839         [BZ #14783]
70840         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
70841         result and shift together with sticky bit instead of replicating
70842         round-to-nearest rounding.
70843         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70844         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70845         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
70846         missing underflow exceptions.
70847         (fma_test_towardzero): Add more tests.
70848         (fma_test_downward): Likewise.
70849         (fma_test_upward): Likewise.
70851         [BZ #14047]
70852         * sysdeps/generic/tininess.h: New file.
70853         * sysdeps/i386/tininess.h: Likewise.
70854         * sysdeps/sh/tininess.h: Likewise.
70855         * sysdeps/x86_64/tininess.h: Likewise.
70856         * stdlib/tst-strtod-underflow.c: Likewise.
70857         * stdlib/tst-tininess.c: Likewise.
70858         * stdlib/strtod_l.c: Include <tininess.h>.
70859         (round_and_return): Do not set errno for exact underflow cases.
70860         Force an underflow exception when setting errno for underflow.
70861         Determine underflow based on rounding to normal precision if
70862         TININESS_AFTER_ROUNDING.
70863         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
70864         ERANGE for exact underflow cases.
70865         * stdlib/Makefile (tests): Add tst-tininess and
70866         tst-strtod-underflow.
70867         ($(objpfx)tst-tininess): Use $(link-libm).
70868         ($(objpfx)tst-strtod-underflow): Likewise.
70870 2012-10-30  Andreas Jaeger  <aj@suse.de>
70872         [BZ #14767]
70873         * elf/Makefile (tests): Remove conditional for have-initfini-array
70874         since this is now always required and the variable does not exist
70875         anymore.
70876         (tests-static): Likewise.
70877         (modules-names): Likewise.
70879         * po/eo.po: Add Esperanto translation from translation project.
70881         * elf/tst-array1.c (fini_array): Make writeable so that it can be
70882         merged with constructor/destructor.
70883         (init_array): Likewise.
70884         * elf/tst-array2dep.c (fini_array): Likewise.
70885         (init_array): Likewise.
70887 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
70889         * manual/message.texi: Delete @cartouche tags.
70891 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
70893         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
70894         EOPNOTSUPP.
70895         * sysdeps/mach/hurd/fsync.c: Likewise.
70897         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
70898         [_POSIX_REALTIME_SIGNALS]: Change condition to
70899         [_POSIX_REALTIME_SIGNALS > 0].
70901 2012-10-27  Andreas Jaeger  <aj@suse.de>
70903         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
70904         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
70905         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
70906         [__WORDSIZE != 64]: Likewise.
70908 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
70910         *  iconvdata/tst-table.sh: Remove ${SHELL}.
70911         *  iconvdata/tst-tables.sh: Likewise.
70913 2012-10-25  David S. Miller  <davem@davemloft.net>
70915         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70916         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
70917         of strtoull.
70919         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
70920         ifunc-impl-list.c
70921         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70922         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
70923         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
70924         file.
70926 2012-10-25  Roland McGrath  <roland@hack.frob.com>
70928         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70929         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
70930         __getdirentries.
70932 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70933             Jim Blandy  <jimb@codesourcery.com>
70935         * scripts/cross-test-ssh.sh: New file.
70936         * manual/install.texi (Configuring and compiling): Document use of
70937         cross-test-ssh.sh.
70938         * INSTALL: Regenerated.
70940 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
70942         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
70943         EOPNOTSUPP.
70945 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70947         * Makeconfig (run-program-prefix): Fix comment.
70949 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70950             Jim Blandy  <jimb@codesourcery.com>
70952         * Makeconfig (test-wrapper): New variable,
70953         (test-wrapper-env): Likewise.
70954         [$(cross-compiling) = yes && $(test-wrapper) != ""]
70955         (run-built-tests): Define to yes.
70956         (run-program-prefix): Use $(test-wrapper).
70957         (built-program-cmd): Likewise.
70958         * Rules (make-test-out): Use $(test-wrapper-env) and
70959         $(host-built-program-cmd).
70960         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
70961         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
70962         tst-pathopt.sh.
70963         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
70964         $(test-wrapper-env) to tst-rtld-load-self.sh.
70965         ($(objpfx)order2.out): Use $(test-wrapper).
70966         ($(objpfx)tst-initorder.out): Likewise.
70967         ($(objpfx)tst-initorder2.out): Likewise.
70968         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
70969         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
70970         (test_wrapper_env): New variable.  Use it to run ld.so.
70971         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
70972         Use it to run ld.so.
70973         (test_wrapper_env): Likewise.
70974         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
70975         $(test-wrapper) to run-iconv-test.sh.
70976         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
70977         (ICONV): Use $test_wrapper.
70978         * posix/Makefile ($(objpfx)globtest.out): Pass
70979         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
70980         globtest.sh, not $(run-program-prefix).
70981         * posix/globtest.sh (run_via_rtld_prefix): New variable.
70982         (test_wrapper): Likewise.
70983         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
70984         set together with run_via_rtld_prefix.
70985         (run_program_prefix): Define in terms of test_wrapper and
70986         run_via_rtld_prefix.
70988 2012-10-24  Roland McGrath  <roland@hack.frob.com>
70990         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
70991         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
70992         Targets removed.
70994         [BZ #14743]
70995         * include/time.h: Remove librt_hidden_proto (clock_gettime).
70996         Declare __clock_getres, __clock_gettime, __clock_settime,
70997         __clock_nanosleep, and __clock_getcpuclockid.
70998         * rt/clock_gettime.c: Define __clock_gettime as an alias.
70999         Remove librt_hidden_def (clock_gettime).
71000         * sysdeps/unix/clock_gettime.c: Likewise.
71001         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
71002         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
71003         * rt/clock_getres.c: Define __clock_getres as an alias.
71004         * sysdeps/posix/clock_getres.c: Likewise.
71005         * rt/clock_settime.c: Define __clock_settime as an alias.
71006         * sysdeps/unix/clock_settime.c: Likewise.
71007         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
71008         * sysdeps/unix/clock_nanosleep.c: Likewise.
71009         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
71010         * rt/clock-compat.c: New file.
71011         * rt/Makefile (librt-routines): Add clock-compat and move
71012         $(clock-routines) to ...
71013         (routines): ... here, new variable.
71014         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
71015         Don't add get_clockfreq here.
71016         * rt/Versions (libc: GLIBC_2.17): New version set.
71017         Add clock_* symbols here.
71018         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
71019         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
71020         (GLIBC_2.17): Add clock_* symbols.
71021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71023         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71025         Likewise.
71026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71027         Likewise.
71028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71032         * NEWS: Mention the move.
71034         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
71035         Use __open, __read, __close rather than their public counterparts.
71036         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71037         (__get_clockfreq_via_cpuinfo): Likewise.
71038         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
71039         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
71041         * config.h.in (HAVE_IFUNC): New #undef.
71042         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
71043         was successful.
71044         * configure: Regenerated.
71046 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
71048         * configure.in: Move READELF check to start of file.
71049         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
71050         libc_cv_asm_gnu_indirect_function in the process.
71051         * configure: Regenerated.
71053 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
71055         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
71056         send the output to /dev/null.
71057         (libc_cv_cc_with_libunwind): Likewise.
71058         (libc_cv_as_noexecstack): Likewise.
71059         * configure: Regenerate.
71061 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
71063         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
71065         * posix/globtest.sh (TMPDIR): Do not set.
71066         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
71067         (testout): Likewise.
71069 2012-10-24  Andreas Jaeger  <aj@suse.de>
71071         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
71072         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
71073         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
71074         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
71075         posix_fadvise64, posix_fallocate64.
71077         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
71078         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
71079         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
71080         Likewise.
71081         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
71082         Likewise.
71083         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
71085         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
71086         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
71087         <bits/fcntl-linux.h>.
71088         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
71090         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
71091         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
71092         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
71093         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
71094         [__WORDSIZE != 64]: Likewise.
71096 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
71098         * Makeconfig (run-built-tests): New variable.
71099         * Rules [$(cross-compiling) = yes]: Change condition to
71100         [$(run-built-tests) = no].
71101         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
71102         to [$(run-built-tests) = yes].
71103         * elf/Makefile [$(cross-compiling) = no]: Likewise.
71104         * grp/Makefile [$(cross-compiling) = no]: Likewise.
71105         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
71106         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
71107         * intl/Makefile [$(cross-compiling) = no]: Likewise.
71108         * io/Makefile [$(cross-compiling) = no]: Likewise.
71109         * libio/Makefile [$(cross-compiling) = no]: Likewise.
71110         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
71111         * misc/Makefile [$(cross-compiling) = no]: Likewise.
71112         * posix/Makefile [$(cross-compiling) = no]: Likewise.
71113         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
71114         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
71115         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
71116         * string/Makefile [$(cross-compiling) = no]: Likewise.
71118         * posix/Makefile ($(objpfx)globtest.out): Pass
71119         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
71120         $(rtld-installed-name).
71121         * posix/globtest.sh (elf_objpfx): Remove variable.
71122         (rtld_installed_name): Likewise.
71123         (library_path): Likewise.
71124         (run_program_prefix): New variable.  Use for running globtest
71125         binary.
71127 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
71128             Joseph Myers  <joseph@codesourcery.com>
71130         * Makeconfig (host-built-program-cmd): New variable.
71131         * elf/Makefile (tst-stackguard1-ARGS): Use
71132         $(host-built-program-cmd).
71133         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
71134         (tst-spawn-ARGS): Likewise.
71135         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
71137 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
71138             Jim Blandy  <jimb@codesourcery.com>
71140         * Makeconfig (run-via-rtld-prefix): New variable.
71141         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
71142         (built-program-cmd): Likewise.
71144 2012-10-22  Andreas Jaeger  <aj@suse.de>
71146         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
71147         __O_RSYNC if it exists, otherwise to O_SYNC.
71149 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
71150             Joseph Myers  <joseph@codesourcery.com>
71152         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
71153         /dev/null.
71154         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
71155         from /dev/null
71156         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
71157         /dev/null.
71159 2012-10-22  Andreas Jaeger  <aj@suse.de>
71161         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
71162         Define always.
71163         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
71165         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71166         bits/fcntl-linux.h.
71168         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
71169         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
71171         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
71172         to __O_LARGEFILE.
71173         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
71174         to __O_LARGEFILE.
71176 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
71177             Joseph Myers  <joseph@codesourcery.com>
71179         * config.make.in (NM): New variable.
71181 2012-10-21  Andreas Jaeger  <aj@suse.de>
71183         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
71184         definitions and declarations that are provided by
71185         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71187 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
71189         [BZ #14683]
71190         * elf/Makefile (tests-static): Add tst-leaks1-static.
71191         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
71192         ($(objpfx)tst-leaks1-static): New rule.
71193         ($(objpfx)tst-leaks1-static-mem): Likewise.
71194         (tst-leaks1-static-ENV): New macro.
71195         * elf/dl-open.c (dl_open_worker): Check the main application
71196         only if SHARED is defined.
71197         * elf/tst-leaks1-static.c: New file.
71199 2012-10-20  Andreas Jaeger  <aj@suse.de>
71201         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
71202         generic values for Linux.
71203         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
71204         and declarations that are provided by <bits/fcntl-linux.h> and
71205         include <bits/fcntl-linux.h>.
71206         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71207         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71209 2012-10-20  Roland McGrath  <roland@hack.frob.com>
71211         * io/fcntl.h: Move include of <bits/types.h> to the top and
71212         include it unconditionally.
71214 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
71216         * wcsmbs/Makefile (tests-ifunc): New variable.
71217         (tests): Add $(tests-ifunc).
71218         * wcsmbs/test-wcschr-ifunc.c: New file.
71219         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
71220         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
71221         * wcsmbs/test-wcslen-ifunc.c: Likewise.
71222         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
71223         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
71225         * string/Makefile (tests-ifunc): New variable.
71226         (tests): Add $(tests-ifunc).
71227         * string/test-memccpy.c (TEST_NAME): New macro.
71228         * string/test-memchr.c (TEST_NAME): Likewise.
71229         * string/test-memcmp.c (TEST_NAME): Likewise.
71230         * string/test-memcpy.c (TEST_NAME): Likewise.
71231         * string/test-memmem.c (TEST_NAME): Likewise.
71232         * string/test-memmove.c (TEST_NAME): Likewise.
71233         * string/test-memset.c (TEST_NAME): Likewise.
71234         * string/test-rawmemchr.c (TEST_NAME): Likewise.
71235         * string/test-stpcpy.c (TEST_NAME): Likewise.
71236         * string/test-stpncpy.c (TEST_NAME): Likewise.
71237         * string/test-strcasecmp.c (TEST_NAME): Likewise.
71238         * string/test-strcasestr.c (TEST_NAME): Likewise.
71239         * string/test-strcat.c (TEST_NAME): Likewise.
71240         * string/test-strchr.c (TEST_NAME): Likewise.
71241         * string/test-strcmp.c(TEST_NAME): Likewise.
71242         * string/test-strcpy.c (TEST_NAME): Likewise.
71243         * string/test-strcspn.c (TEST_NAME): Likewise.
71244         * string/test-strlen.c (TEST_NAME): Likewise.
71245         * string/test-strncasecmp.c (TEST_NAME): Likewise.
71246         * string/test-strncmp.c (TEST_NAME): Likewise.
71247         * string/test-strncpy.c (TEST_NAME): Likewise.
71248         * string/test-strnlen.c (TEST_NAME): Likewise.
71249         * string/test-strpbrk.c (TEST_NAME): Likewise.
71250         * string/test-strrchr.c (TEST_NAME): Likewise.
71251         * string/test-strspn.c (TEST_NAME): Likewise.
71252         * string/test-strstr.c (TEST_NAME): Likewise.
71253         * string/test-bcopy-ifunc.c: New file.
71254         * string/test-bzero-ifunc.c: Likewise.
71255         * string/test-memccpy-ifunc.c: Likewise.
71256         * string/test-memchr-ifunc.c: Likewise.
71257         * string/test-memcmp-ifunc.c: Likewise.
71258         * string/test-memcpy-ifunc.c: Likewise.
71259         * string/test-memmem-ifunc.c: Likewise.
71260         * string/test-memmove-ifunc.c: Likewise.
71261         * string/test-mempcpy-ifunc.c: Likewise.
71262         * string/test-memset-ifunc.c: Likewise.
71263         * string/test-rawmemchr-ifunc.c: Likewise.
71264         * string/test-stpcpy-ifunc.c: Likewise.
71265         * string/test-stpncpy-ifunc.c: Likewise.
71266         * string/test-strcasecmp-ifunc.c: Likewise.
71267         * string/test-strcasestr-ifunc.c: Likewise.
71268         * string/test-strcat-ifunc.c: Likewise.
71269         * string/test-strchr-ifunc.c: Likewise.
71270         * string/test-strchrnul-ifunc.c: Likewise.
71271         * string/test-strcmp-ifunc.c: Likewise.
71272         * string/test-strcpy-ifunc.c: Likewise.
71273         * string/test-strcspn-ifunc.c: Likewise.
71274         * string/test-strlen-ifunc.c: Likewise.
71275         * string/test-strncasecmp-ifunc.c: Likewise.
71276         * string/test-strncat-ifunc.c: Likewise.
71277         * string/test-strncmp-ifunc.c: Likewise.
71278         * string/test-strncpy-ifunc.c: Likewise.
71279         * string/test-strnlen-ifunc.c: Likewise.
71280         * string/test-strpbrk-ifunc.c: Likewise.
71281         * string/test-strrchr-ifunc.c: Likewise.
71282         * string/test-strspn-ifunc.c: Likewise.
71283         * string/test-strstr-ifunc.c: Likewise.
71285         * debug/Makefile (tests-ifunc): New variable.
71286         (tests): Add $(tests-ifunc).
71287         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
71288         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
71289         * debug/test-stpcpy_chk-ifunc.c: New file.
71290         * debug/test-strcpy_chk-ifunc.c: Likewise.
71292 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
71294         [BZ #13601]
71295         * elf/dl-load.c (open_verify): Retry read if the entire ELF
71296         header is not read in.
71298 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
71300         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
71301         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
71302         directly.  Pass built executable to script as
71303         $(built-program-cmd).
71304         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
71305         $testprogram without using LD_LIBRARY_PATH and $ldso.
71307         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
71308         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
71309         $(rtld-installed-name).
71310         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
71311         (rtld_installed_name): Likewise.
71312         (library_path): Likewise.
71313         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
71314         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
71315         $(run-program-prefix) to tst-tables.sh.
71316         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
71317         it to run tst-table-from and tst-table-to.
71318         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
71319         Pass it to tst-table.sh.
71320         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
71321         $(run-program-prefix) to tst-gettext.sh.
71322         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
71323         tst-translit.sh.
71324         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
71325         tst-gettext2.sh.
71326         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
71327         to run tst-gettext.
71328         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
71329         to run tst-gettext2.
71330         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
71331         to run tst-translit.
71332         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
71333         $(run-program-prefix) to tst-mtrace.sh.
71334         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
71335         to run tst-mtrace.
71336         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
71337         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
71338         $(rtld-installed-name).
71339         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
71340         (rtld_installed_name): Likewise.
71341         (run_program_prefix): New variable.  Use it to run wordexp-test.
71343         * Makeconfig (ARCH): Remove all definitions.
71344         (machine): Likewise.
71345         [ARCH]: Remove conditional code.
71346         [!objdir]: Give error.
71347         [!objdir] (objpfx): Remove.
71348         [!objdir] (common-objpfx): Likewise.
71349         [!objdir] (common-objdir): Likewise.
71350         * configure.in (config_makefile): Remove.  Hardcode Makefile in
71351         AC_CONFIG_FILES call.
71352         * configure: Regenerated.
71354         [BZ #13888]
71355         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
71356         or TMPDIR.
71357         (testout): Likewise.
71359         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
71360         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
71361         $(rtld-installed-name).
71362         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
71363         (rtld_installed_name): Likewise.
71364         (runit): Remove function.
71365         (run_getconf): New variable,  Use it for running getconf binary.
71367 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
71369         [BZ #14716]
71370         * string/test-memmem.c (check_result): New function.
71371         (do_one_test): Use it.
71372         (check1): New function.
71373         (test_main): Use it.
71375 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
71377         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
71379 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
71381         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
71382         (_G_LSEEK64): Likewise.
71383         (_G_MMAP64): Likewise.
71384         (_G_FSTAT64): Likewise.
71385         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
71386         (_G_LSEEK64): Likewise.
71387         (_G_MMAP64): Likewise.
71388         (_G_FSTAT64): Likewise.
71389         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
71390         unconditional.  Call __mmap64 directly.
71391         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
71392         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
71393         __lseek64 directly.
71394         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
71395         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
71396         __mmap64 directly.
71397         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
71398         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
71399         __lseek64 directly.
71400         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
71401         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
71402         __lseek64 directly.
71403         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
71404         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
71405         __lseek64 directly.
71406         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
71407         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
71408         __fxstat64 directly.
71409         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
71410         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
71411         unconditional.
71412         (freopen64) [!_G_OPEN64]: Remove conditional code.
71413         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
71414         unconditional.
71415         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
71416         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
71417         unconditional.
71418         (ftello64) [!_G_LSEEK64]: Remove conditional code.
71419         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
71420         unconditional.
71421         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
71422         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
71423         unconditional.
71424         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
71425         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
71426         unconditional.
71427         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
71428         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
71429         unconditional.
71430         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
71431         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
71432         unconditional.
71433         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
71435 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
71437         [BZ #12140]
71438         * manual/memory.texi (Malloc Tunable Parameters): Add note
71439         about free list pointers overwriting some perturb bytes.
71440         Wording suggested by Roland McGrath.
71442 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
71444         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
71445         (lgamma_test): Likewise.
71446         (tgamma_test): Likewise.
71448 2012-10-16  Florian Weimer  <fweimer@redhat.com>
71450         [BZ #14700]
71451         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
71452         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
71454 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
71456         * NEWS: Mention BZ #14716.
71457         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
71458         when removing AVAILABLE1_USES_J macro.
71460 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
71462         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
71463         (__bswap_64): __uint64_t for unsigned 64-bit int.
71465 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
71467         * include/string.h (memmem): Declare libc hidden alias.
71468         * string/memmem.c (memmem): Define libc hidden alias.
71469         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
71470         __read, __close instead of open, read, close.
71472 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
71474         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
71475         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
71476         global and hidden.
71477         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
71478         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
71479         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
71480         Likewise.
71481         (__rawmemchr_sse2): Likewise.
71482         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
71483         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
71484         (__strchr_sse2): Likewise.
71485         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
71486         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
71487         (__strcasecmp_sse2): Likewise.
71488         (__strncasecmp_sse2): Likewise.
71489         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
71490         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
71491         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
71492         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
71493         (__strrchr_sse2): Likewise.
71494         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
71495         ifunc-impl-list.c.
71496         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
71497         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
71498         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
71499         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71500         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
71501         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
71502         * sysdeps/x86_64/multiarch/memset.S: Likewise.
71503         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
71504         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
71505         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
71506         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
71507         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
71508         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
71509         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
71510         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
71511         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
71512         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
71513         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
71514         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
71515         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
71516         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
71517         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
71518         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
71519         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
71520         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
71521         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71522         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
71523         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
71524         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
71525         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
71527         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
71528         global and hidden.
71529         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
71530         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
71531         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
71532         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
71533         Likewise.
71534         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
71535         Likewise.
71536         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
71537         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
71538         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
71539         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
71540         ifunc-impl-list.c.
71541         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71542         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71543         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71544         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71545         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71546         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71547         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71548         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71549         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71550         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71551         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71552         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71553         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71554         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
71555         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
71556         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71557         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
71558         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
71559         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71560         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71561         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71562         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71563         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71564         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71565         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71566         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
71567         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
71568         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
71569         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
71570         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71571         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
71572         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71573         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71574         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
71575         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71576         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71577         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71578         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71579         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71580         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71581         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
71583         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
71584         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
71585         * include/ifunc-impl-list.h: New file.
71586         * misc/ifunc-impl-list.c: Likewise.
71587         * misc/Makefile (routines): Add ifunc-impl-list.
71588         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
71589         * string/test-string.h: Include <ifunc-impl-list.h>.
71590         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
71591         TEST_NAME]: New variables.
71592         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
71593         are defined.
71594         (test_init): Call __libc_ifunc_impl_list to initialize
71595         func_list if TEST_IFUNC and TEST_NAME are defined.
71597         * string/Makefile (strop-tests): Add bcopy and bzero.
71598         * string/test-bcopy.c: New file.
71599         * string/test-bzero.c: Likewise.
71600         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
71601         defined.
71602         * string/test-memset.c: Support bzero test if TEST_BZERO is
71603         defined.
71604         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
71605         __libc_memmove.
71606         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
71607         __libc_memset.
71608         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
71609         of memset.
71611 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
71613         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
71614         * configure: Regenerated.
71616         * Makeconfig (+link-static-before-libc): Don't include
71617         $(link-static-libc).
71619         * libio/libio.h (_IO_pos_t): Remove.
71621 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
71623         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
71624         McGrath.
71626 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
71628         * crypt/crypt-entry.c: Include fips-private.h.
71629         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
71630         * crypt/md5c-test.c (main): Tolerate disabled MD5.
71631         * sysdeps/unix/sysv/linux/fips-private.h: New file.
71632         * sysdeps/generic/fips-private.h: New file, dummy fallback.
71634 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
71636         * crypt/crypt-private.h: Include stdbool.h.
71637         (_ufc_setup_salt_r): Return bool.
71638         * crypt/crypt-entry.c: Include errno.h.
71639         (__crypt_r): Return NULL with EINVAL for bad salt.
71640         * crypt/crypt_util.c (bad_for_salt): New.
71641         (_ufc_setup_salt_r): Check that salt is long enough and within
71642         the specified alphabet.
71643         * crypt/badsalttest.c: New file.
71644         * crypt/Makefile (tests): Add it.
71645         ($(objpfx)badsalttest): New.
71647 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
71649         * NEWS: Add entry for BZ #14602.
71651 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
71653         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
71654         type-generic.
71655         * math/libm-test.inc: Update comment listing what functions and
71656         macros are tested.
71657         (isgreater_test): New function.
71658         (isgreaterequal_test): Likewise.
71659         (isless_test): Likewise.
71660         (islessequal_test): Likewise.
71661         (islessgreater_test): Likewise.
71662         (isunordered_test): Likewise.
71663         (main): Call the new functions.
71665 2012-10-09  Roland McGrath  <roland@hack.frob.com>
71667         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
71668         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
71669         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
71670         * sysdeps/i386/configure: Regenerated.
71671         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
71672         * sysdeps/mach/configure: Regenerated.
71673         * sysdeps/mach/hurd/configure: Regenerated.
71674         * sysdeps/powerpc/configure: Regenerated.
71675         * sysdeps/powerpc/powerpc32/configure: Regenerated.
71676         * sysdeps/powerpc/powerpc64/configure: Regenerated.
71677         * sysdeps/s390/s390-32/configure: Regenerated.
71678         * sysdeps/s390/s390-64/configure: Regenerated.
71679         * sysdeps/sh/configure: Regenerated.
71680         * sysdeps/sparc/configure: Regenerated.
71681         * sysdeps/unix/sysv/linux/configure: Regenerated.
71682         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
71683         * sysdeps/x86_64/configure: Regenerated.
71685         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
71686         defined.  Don't check if MAP is NULL.
71688 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
71690         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
71691         (_G_stat64): Likewise.
71692         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
71693         (_G_stat64): Likewise.
71694         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
71695         instead of struct _G_stat64.
71696         * libio/fileops.c (mmap_remap_check): Likewise.
71697         (decide_maybe_mmap): Likewise.
71698         (_IO_new_file_seekoff): Likewise.
71699         (_IO_file_stat): Likewise.
71700         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
71701         _G_off64_t.
71702         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
71703         instead of struct _G_stat64.
71704         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
71706 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
71708         [BZ #14602]
71709         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71710         Replace with ...
71711         (CHECK_EOL): New macro.
71712         (two_way_short_needle): Check beginning of haystack for EOL.  Use
71713         CHECK_EOL.
71714         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71715         Replace with CHECK_EOL.
71716         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71717         Replace with CHECK_EOL.
71719 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
71721         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
71722         type-generic.
71723         * math/libm-test.inc: Update comment listing what functions and
71724         macros are tested.
71725         (finite_test): New function.
71726         (isinf_test): Likewise.
71727         (isnan_test): Likewise.
71728         (fpclassify_test): Test subnormal input.
71729         (isfinite_test): Likewise.
71730         (isnormal_test): Likewise.
71731         (main): Call the new functions.
71733 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
71735         [BZ #14660]
71736         * Makerules (%.dynsym): Force C locale when running
71737         $(OBJDUMP) --dynamic-syms.
71739 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
71741         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
71742         <stdint.h>.
71744 2012-10-06  David S. Miller  <davem@davemloft.net>
71746         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
71747         upper 32-bits of the length value in %o2 since we use branch-on-register
71748         tests which consider the entire 64-bit register.
71750 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
71752         * string/test-strstr.c (check2): Add a test for page boundary.
71754 2012-10-05  David S. Miller  <davem@davemloft.net>
71756         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
71757         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
71758         file.
71759         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
71760         sysdep_routines.
71761         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
71762         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
71763         and bzero when HWCAP_SPARC_CRYPTO is present.
71765 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
71767         [BZ #14602]
71768         * string/test-strstr.c (check2): New function.
71769         (test_main): Call check2.
71771         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
71772         and bug-strchr1.
71773         * string/bug-strcasestr1.c (do_test): Moved to ...
71774         * string/test-strcasestr.c (check1): Here.  New function.
71775         (do_one_test): Break out result checking code into ...
71776         (check_result): This.  New function.
71777         (do_one_test): Call check_result.
71778         (test_main): Call check1.
71779         * string/bug-strchr1.c (do_test): Moved to ...
71780         * string/test-strchr.c (check1): Here.  New function.
71781         (do_one_test): Break out result checking code into ...
71782         (check_result): This.  New function.
71783         (do_one_test): Call check_result.
71784         (test_main): Call check1.
71785         * string/bug-strstr1.c (main): Moved to ...
71786         * string/test-strstr.c (check1): Here.  New function.
71787         (do_one_test): Break out result checking code into ...
71788         (check_result): This.  New function.
71789         (do_one_test): Call check_result.
71790         (test_main): Call check1.
71791         * string/bug-strcasestr1.c: Removed.
71792         * string/bug-strchr1.c: Likewise.
71793         * string/bug-strstr1.c: Likewise.
71795         * elf/Makefile (dl-routines): Add hwcaps.
71796         * elf/dl-support.c (_dl_important_hwcaps): Removed.
71797         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
71798         (_dl_important_hwcaps): Moved to ...
71799         * elf/dl-hwcaps.c: Here.  New file.
71800         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
71802         [BZ #14557]
71803         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
71804         if IS_IN_rtld isn't defined.
71806         * elf/dl-support.c (_dl_sysinfo_map): New.
71807         Include "get-dynamic-info.h" and "setup-vdso.h".
71808         (_dl_non_dynamic_init): Call setup_vdso.
71809         * elf/dynamic-link.h: Don't include <assert.h>.
71810         (elf_get_dynamic_info): Moved to ...
71811         * elf/get-dynamic-info.h: Here.  New file.
71812         * elf/dynamic-link.h: Include "get-dynamic-info.h".
71813         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
71814         * elf/setup-vdso.h: Here.  New file.
71815         * elf/rtld.c: Include "setup-vdso.h".
71816         (dl_main): Call setup_vdso.
71818 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
71820         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
71821         creal in comment listing functions tested.  List finite, isinf,
71822         isnan, isless, islessequal, isgreater, isgreaterequal,
71823         islessgreater, isunordered, lgamma_r and pow10 as functions and
71824         macros not tested.  Mention which functions not tested are aliases
71825         for other functions.  Fix typo.  Note that signs of NaNs are not
71826         tested.
71828         * scripts/config.guess: Update from config.git.
71829         * scripts/config.sub: Likewise.
71831 2012-10-04  Roland McGrath  <roland@hack.frob.com>
71833         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
71834         * misc/madvise.c (madvise): Renamed to __madvise.
71835         Make madvise a weak alias.
71836         * include/sys/mman.h: Declare __madvise.
71837         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
71838         * sysdeps/unix/syscalls.list
71839         (madvise): Make __madvise the strong name, and madvise a weak alias.
71840         * sysdeps/unix/sysv/linux/syscalls.list
71841         (madvise, mmap): Remove redundant entries.
71842         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
71843         * malloc/malloc.c (mtrim): Likewise.
71844         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
71846 2012-10-03  Roland McGrath  <roland@hack.frob.com>
71848         * sysdeps/mach/hurd/dl-cache.c: File removed.
71849         * config.h.in (USE_LDCONFIG): New #undef.
71850         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
71851         * configure: Regenerated.
71852         * elf/Makefile (dl-routines): Add dl-cache only under
71853         [$(use-ldconfig) = yes].
71854         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
71855         cache on [USE_LDCONFIG].
71856         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
71857         [USE_LDCONFIG].
71858         * elf/rtld.c (dl_main): Likewise.
71860 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
71862         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
71863         _SC_LEVEL4_CACHE_LINESIZE.
71865 2012-10-03  Roland McGrath  <roland@hack.frob.com>
71867         * sysdeps/unix/bsd/confstr.h: File removed.
71869 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
71871         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
71872         sys/sdt-config.h.
71874 2012-10-02  Roland McGrath  <roland@hack.frob.com>
71876         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
71877         Make 'mapoff' field ElfW(Off) rather than off_t.
71879 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
71881         * nscd/Makefile: Remove nscd-cflags and all its users.
71882         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
71883         (CFLAGS-nonlib): Add compiler flags for nscd modules.
71885         [BZ #10631]
71886         * malloc.c (malloc_printerr): Clarify error message.
71888 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
71890         [BZ #14648]
71891         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71892         Set bit_FMA_Usable if FMA is supported.
71893         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
71894         macro.
71895         (bit_FMA4_Usable): Updated.
71896         (index_FMA_Usable): New macro.
71897         (CPUID_FMA): Likewise.
71898         (HAS_FMA): Defined with bit_FMA_Usable.
71900 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71902         * bits/types.h (__swblk_t): Type removed.
71903         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
71904         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
71905         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71906         (__SWBLK_T_TYPE): Likewise.
71907         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71908         (__SWBLK_T_TYPE): Likewise.
71909         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71910         (__SWBLK_T_TYPE): Likewise.
71911         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71912         (__SWBLK_T_TYPE): Likewise.
71914 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
71915             Honza Horak <hhorak@redhat.com>
71917         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
71918         (xdr_mapname): Use YPMAXMAP as maxsize.
71919         (xdr_peername): Use YPMAXPEER as maxsize.
71920         (xdr_keydat): Use YPAXRECORD as maxsize.
71921         (xdr_valdat): Use YPMAXRECORD as maxsize.
71923 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71925         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
71927         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
71928         * csu/init-first.c: ... here.
71929         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
71930         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
71931         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
71932         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
71933         * sysdeps/i386/init-first.c: File removed.
71934         * sysdeps/sh/init-first.c: File removed.
71936 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
71938         [BZ #14645]
71939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
71940         if x * y might underflow to zero and z is zero.
71941         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71942         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71943         * math/libm-test.inc (min_subnorm_value): New variable.
71944         (fma_test): Add more tests.
71945         (fma_test_towardzero): Likewise.
71946         (fma_test_downward): Likewise.
71947         (fma_test_upward): Likewise.
71948         (initialize): Set min_subnorm_value.
71950 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
71952         [BZ #14638]
71953         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
71954         0 + 0.
71955         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
71956         mode for addition resulting in exact zero.
71957         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
71958         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
71959         exact 0 + 0.
71960         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71961         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71962         * math/libm-test.inc (fma_test): Add more tests.
71963         (fma_test_towardzero): New function.
71964         (fma_test_downward): Likewise.
71965         (fma_test_upward): Likewise.
71966         (main): Call the new functions.
71968 2012-09-28  David S. Miller  <davem@davemloft.net>
71970         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
71972 2012-09-28  Roland McGrath  <roland@hack.frob.com>
71974         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
71975         instead of SIGALRM.
71977         * sysdeps/gnu/_G_config.h: Moved to ...
71978         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
71979         * sysdeps/mach/hurd/_G_config.h: Moved to ...
71980         * sysdeps/generic/_G_config.h: ... here.
71982         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
71984         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
71986         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
71987         Conditionalize target on [libnss_test1.so-version].
71989         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
71991         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
71992         (elfobjdir): Move out of conditionals.
71994         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
71995         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
71996         (__nss_lookup_function): Conditionalize label remove_from_tree on
71997         [!DO_STATIC_NSS || SHARED], matching its only use.
71999 2012-09-28  David S. Miller  <davem@davemloft.net>
72001         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
72002         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
72003         file.
72004         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72005         sysdep_routines.
72006         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72007         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
72008         when HWCAP_SPARC_CRYPTO is present.
72010 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72012         * io/tst-mknodat.c: Create a FIFO instead of a socket.
72014 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
72016         [BZ #6530]
72017         * stdio-common/vfprintf.c (process_string_arg): Revert
72018         2000-07-22 change.
72020 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
72022         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
72023         for testcase.
72024         * stdio-common/tst-sprintf.c: Include <locale.h>
72025         (main): Test sprintf's handling of incomplete multibyte
72026         characters.
72028 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
72030         * elf/dl-runtime.c (VERSYMIDX): Removed.
72031         * elf/dl-version.c (VERSYMIDX): Likewise.
72032         * elf/do-rel.h (VERSYMIDX): Likewise.
72033         (VALIDX): Likewise.
72034         * elf/dynamic-link.h (VERSYMIDX): Likewise.
72035         * elf/rtld.c (VALIDX): Likewise.
72036         (ADDRIDX): Likewise.
72037         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
72038         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
72039         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
72040         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
72041         (VALIDX): Likewise.
72042         (ADDRIDX): Likewise.
72044 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72046         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
72048 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
72050         [BZ #11438]
72051         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
72052         to global scope.
72053         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
72054         addresses are in the same scope as 192.0.2/24.
72055         * posix/gai.conf: Document new scope table defaults.
72057 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72059         [BZ #5298]
72060         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
72061         for ftell.  Compute offsets from write pointers instead.
72062         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72064 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72066         [BZ #14543]
72067         * libio/Makefile (tests): New test case tst-fseek.
72068         * libio/tst-fseek.c: New test case to verify that fseek/ftell
72069         combination works in wide mode.
72070         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
72071         state when the external buffer state changes.
72073 2012-09-27  David S. Miller  <davem@davemloft.net>
72075         [BZ #14376]
72076         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
72077         pass reloc->r_addend in as the 'high' argument to
72078         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
72080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72082 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72084         * rt/tst-aio2.c: Include <pthread.h>.
72085         * rt/tst-aio3.c: Likewise.
72087 2012-09-27  Steve Ellcey  <sellcey@mips.com>
72089         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
72091 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
72093         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
72094         contents on [SHARED].
72096 2012-09-26  Marek Polacek  <polacek@redhat.com>
72098         [BZ #14530]
72099         [BZ #13741]
72100         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
72101         for C++ and GCC <4.3 as well as for non GCC compilers.
72103 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
72105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72107 2012-09-25  Roland McGrath  <roland@hack.frob.com>
72109         * Makefile.in (all, install): Declare with .PHONY.
72110         Reported by Michael Hope <michael.hope@linaro.org>.
72112 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72114         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
72115         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
72116         system header.
72117         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
72118         Likewise.
72119         (sydep_routines): Add the new and the internal functions.
72120         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
72121         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
72122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
72123         (GLIBC_2.17): Add the new function.
72124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72125         (GLIBC_2.17): Likewise.
72126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
72127         (GLIBC_2.17): Likewise.
72128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
72129         (GLIBC_2.17): Likewise.
72130         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
72132 2012-09-25  Alan Modra  <amodra@gmail.com>
72134         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
72135         Add release barrier before setting once_control to say
72136         initialisation is done.  Add hints on lwarx.  Use macro in
72137         place of isync.
72138         (clear_once_control): Add release barrier.
72140 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
72142         [BZ #13629]
72143         * math/s_clog.c (__clog): Handle more values close to |z| = 1
72144         specially.
72145         * math/s_clog10.c (__clog10): Likewise.
72146         * math/s_clog10f.c (__clog10f): Likewise.
72147         * math/s_clog10l.c (__clog10l): Likewise.
72148         * math/s_clogf.c (__clogf): Likewise.
72149         * math/s_clogl.c (__clogl): Likewise.
72150         * math/Makefile (libm-calls): Add x2y2m1.
72151         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
72152         (__x2y2m1): Likewise.
72153         (__x2y2m1l): Likewise.
72154         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
72155         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
72156         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
72157         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
72158         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
72159         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
72160         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
72161         * sysdeps/i386/fpu/libm-test-ulps: Update.
72162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72164         [BZ #14621]
72165         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
72166         int as type of variable DEPTH.
72167         (glob): Use size_t instead of int as type of variables NEWCOUNT
72168         and OLD_PATHC.
72170 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72172         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
72173         Add s_sincosf-sse2.
72174         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
72175         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
72176         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
72177         macros for using routine as __sincosf_ia32.
72178         Use macro for function declaration and weak_alias.
72179         * sysdeps/i386/fpu/libm-test-ulps: Update.
72181         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
72182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72184         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
72185         subnormal argument.
72186         * math/s_cexpf.c (__cexpf): Likewise.
72187         * math/s_csinf.c (__csinf): Likewise.
72188         * math/s_csinhf.c (__csinhf): Likewise.
72189         * math/s_ctanf.c (__ctanf): Likewise.
72190         * math/s_ctanhf.c (__ctanhf): Likewise.
72191         * math/s_ccosh.c (__ccoshf): Likewise.
72192         * math/s_cexp.c (__cexpl): Likewise.
72193         * math/s_csin.c (__csin): Likewise.
72194         * math/s_csinh.c (__csinh): Likewise.
72195         * math/s_ctan.c (__ctan): Likewise.
72196         * math/s_ctanh.c (ctanh): Likewise.
72197         * math/s_ccoshl.c (__ccoshl): Likewise.
72198         * math/s_cexpl.c (__cexpl): Likewise.
72199         * math/s_csinl.c (__csinl): Likewise.
72200         * math/s_csinhl.c (__csinhl): Likewise.
72201         * math/s_ctanl.c (__ctanl): Likewise.
72202         * math/s_ctanhl.c (__ctanhl): Likewise.
72204 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
72206         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
72207         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
72208         (_IO_off_t): Define to __off_t, not _G_off_t.
72209         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
72210         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
72211         (_IO_wint_t): Define to wint_t, not _G_wint_t.
72212         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
72213         type of __dummy and __dummy2 fields.
72214         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
72215         (_G_ssize_t): Likewise.
72216         (_G_off_t): Likewise.
72217         (_G_pid_t): Likewise.
72218         (_G_uid_t): Likewise.
72219         (_G_wchar_t): Likewise.
72220         (_G_wint_t): Likewise.
72221         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
72222         (_G_ssize_t): Likewise.
72223         (_G_off_t): Likewise.
72224         (_G_pid_t): Likewise.
72225         (_G_uid_t): Likewise.
72226         (_G_wchar_t): Likewise.
72227         (_G_wint_t): Likewise.
72228         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
72229         (_G_ssize_t): Likewise.
72230         (_G_off_t): Likewise.
72231         (_G_pid_t): Likewise.
72232         (_G_uid_t): Likewise.
72233         (_G_wchar_t): Likewise.
72234         (_G_wint_t): Likewise.
72236 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72238         * malloc/arena.c: Include malloc-sysdep.h.
72239         (shrink_heap): Use check_may_shrink_heap to decide if madvise
72240         is sufficient to shrink the heap or an unmap is needed.
72241         * sysdeps/generic/malloc-sysdep.h: New file.  Define
72242         new function check_may_shrink_heap.
72243         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
72244         new function check_may_shrink_heap.
72246 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72248         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
72249         comments.
72251 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
72253         * catgets/test-gencat.sh: Add "set -e".
72254         * elf/tst-pathopt.sh: Likewise.
72255         * grp/tst_fgetgrent.sh: Likewise.
72256         * iconvdata/run-iconv-test.sh: Likewise.
72257         * intl/tst-gettext.sh: Likewise.
72258         * intl/tst-gettext2.sh: Likewise.
72259         * intl/tst-gettext4.sh: Likewise.
72260         * intl/tst-gettext6.sh: Likewise.
72261         * intl/tst-translit.sh: Likewise.
72262         * io/ftwtest-sh: Likewise.
72263         * libio/test-freopen.sh: Likewise.
72264         * malloc/tst-mtrace.sh: Likewise.
72265         * posix/globtest.sh: Likewise.
72266         * posix/tst-getconf.sh: Likewise.
72267         * posix/wordexp-tst.sh: Likewise.
72268         * stdio-common/tst-printf.sh: Likewise.
72269         * stdio-common/tst-unbputc.sh: Likewise.
72270         * stdlib/tst-fmtmsg.sh: Likewise.
72271         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
72272         * catgets/Makefile: Do not specify -e option when running
72273         testsuite shell scripts.
72274         * elf/Makefile: Likewise.
72275         * grp/Makefile: Likewise.
72276         * iconvdata/Makefile: Likewise.
72277         * intl/Makefile: Likewise.
72278         * io/Makefile: Likewise.
72279         * libio/Makefile: Likewise.
72280         * malloc/Makefile: Likewise.
72281         * posix/Makefile: Likewise.
72282         * stdio-common/Makefile: Likewise.
72283         * stdlib/Makefile: Likewise.
72284         * sysdeps/x86_64/Makefile: Likewise.
72286         * io/ftwtest-sh: Add copyright header.
72287         * posix/globtest.sh: Likewise.
72288         * posix/tst-getconf.sh: Likewise.
72289         * posix/wordexp-tst.sh: Likewise.
72290         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
72292 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
72294         [BZ #13679]
72295         * Makeconfig (+link): Defined as $(+link-static) if
72296         $(build-shared) isn't yes.
72297         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
72298         isn't yes.
72299         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
72301         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
72303         [BZ #14562]
72304         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
72305         new chunk size with MALLOC_ALIGN_MASK.
72307 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
72309         [BZ #5044]
72310         * stdio-common/printf_fphex.c: Include <stdbool.h> and
72311         <rounding-mode.h>.
72312         (__printf_fphex): Determine rounding using get_rounding_mode and
72313         round_away.
72314         * stdio-common/tst-printf-round.c (struct hex_test): New
72315         structure.
72316         (hex_tests): New variable.
72317         (test_hex_in_one_mode): New function.
72318         (do_test): Also run tests for hex float output.
72320 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
72322         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
72323         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
72324         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
72325         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
72326         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
72327         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
72328         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
72329         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
72331 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
72333         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
72334         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
72335         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
72336         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
72338 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
72340         [BZ #14579]
72341         * elf/rtld.c (dl_main): Limit the check for self loading to normal
72342         mode only.
72343         * elf/tst-rtld-load-self.sh: New test.
72344         * elf/Makefile: Run it.
72346 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
72348         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
72349         (tst-writev-ENV): Remove.
72350         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
72352 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
72354         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
72356 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
72358         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
72359         unconditional.
72360         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
72361         Likewise.
72362         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
72363         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
72364         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
72365         Likewise.
72367 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
72369         [BZ #14587]
72370         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
72371         * config.make.in (have-cpp-asm-debuginfo): Removed.
72372         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
72373         * configure: Regenerated.
72375 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
72377         [BZ #5044]
72378         * stdio-common/printf_fp.c: Include <stdbool.h> and
72379         <rounding-mode.h>.
72380         (___printf_fp): Determine rounding using get_rounding_mode and
72381         round_away.
72382         * stdio-common/tst-printf-round.c: New file.
72383         * stdio-common/Makefile (tests): Add tst-printf-round.
72384         (link-libm): New variable.
72385         ($(objpfx)tst-printf-round): Depend in $(link-libm).
72387 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
72389         [BZ #14576]
72390         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
72391         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
72392         Likewise.
72393         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
72394         Likewise.
72396 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
72398         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
72399         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72400         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72401         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72403 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
72405         [BZ #14518]
72406         * include/rounding-mode.h: New file.
72407         * sysdeps/generic/get-rounding-mode.h: Likewise.
72408         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
72409         * stdlib/strtod_l.c: Include <rounding-mode.h>.
72410         (MAX_VALUE): New macro.
72411         (MIN_VALUE): Likewise.
72412         (overflow_value): New function.
72413         (underflow_value): Likewise.
72414         (round_and_return): Use overflow_value and underflow_value to
72415         determine return values in overflow and underflow cases.  Use
72416         round_away to determine rounding depending on rounding mode.
72417         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
72418         determine return values in overflow and underflow cases.
72419         * stdlib/tst-strtod-round.c: Include <fenv.h>.
72420         (struct test_results): New structure.
72421         (struct test): Use struct test_results to store expected results
72422         for all rounding modes.
72423         (TEST): Include expected results for all rounding modes.
72424         (test_in_one_mode): New function.
72425         (do_test): Use test_in_one_mode to compute and check results.
72426         Check results for all rounding modes.
72427         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
72428         $(link-libm).
72430 2012-12-09  Allan McRae  <allan@archlinux.org>
72432         * sysdeps/i386/fpu/libm-test-ulps: Update
72434 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
72436         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
72437         (_G_int32_t): Likewise.
72438         (_G_uint16_t): Likewise.
72439         (_G_uint32_t): Likewise.
72440         (_G_HAVE_BOOL): Likewise.
72441         (_G_HAVE_ATEXIT): Likewise.
72442         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72443         (_G_HAVE_IO_FILE_OPEN): Likewise.
72444         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
72445         (_G_int32_t): Likewise.
72446         (_G_uint16_t): Likewise.
72447         (_G_uint32_t): Likewise.
72448         (_G_HAVE_BOOL): Likewise.
72449         (_G_HAVE_ATEXIT): Likewise.
72450         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72451         (_G_HAVE_IO_FILE_OPEN): Likewise.
72452         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
72453         (_G_int32_t): Likewise.
72454         (_G_uint16_t): Likewise.
72455         (_G_uint32_t): Likewise.
72456         (_G_HAVE_BOOL): Likewise.
72457         (_G_HAVE_ATEXIT): Likewise.
72458         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72459         (_G_HAVE_IO_FILE_OPEN): Likewise.
72461 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
72463         * csu/libc-tls.c: Update copyright years.
72465 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
72467         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
72468         [!_G_USING_THUNKS]: Remove conditional code.
72469         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
72470         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
72472         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
72473         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
72474         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72475         (_G_VTABLE_LABEL_PREFIX): Likewise.
72476         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72477         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72478         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72479         (_G_VTABLE_LABEL_PREFIX): Likewise.
72480         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
72481         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72482         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72483         (_G_VTABLE_LABEL_PREFIX): Likewise.
72484         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
72486 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
72488         * libio/Makefile: Include ../Makeconfig before tests.
72489         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
72490         only if $(build-shared) is yes.
72492         * iconv/gconv_db.c: Update copyright years.
72494 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72496         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
72497         unwind info if defined PIC. Fix special cases description.
72498         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
72500         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
72501         DP_HI_MASK entry.
72502         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
72504 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
72506         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
72508         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
72509         is NULL.
72511         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
72512         (LDLIBS-tst-chk4): This.
72513         (LDFLAGS-tst-chk5): Renamed to ...
72514         (LDLIBS-tst-chk5): This.
72515         (LDFLAGS-tst-chk6): Renamed to ...
72516         (LDLIBS-tst-chk6): This.
72517         (LDFLAGS-tst-lfschk4): Renamed to ...
72518         (LDLIBS-tst-lfschk4): This.
72519         (LDFLAGS-tst-lfschk5): Renamed to ...
72520         (LDLIBS-tst-lfschk5): This.
72521         (LDFLAGS-tst-lfschk6): Renamed to ...
72522         (LDLIBS-tst-lfschk6): This.
72524         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
72525         on $(common-objpfx)soversions.mk.
72527 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
72529         [BZ #10014]
72530         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
72531         example host name.
72533 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
72535         * malloc/arena.c (arena_get_retry): New function that gets
72536         another arena for the caller to try its request on.
72537         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
72538         current arena cannot fulfill the request.
72539         (__libc_memalign): Likewise.
72540         (__libc_memalign): Likewise.
72541         (__libc_pvalloc): Likewise.
72542         (__libc_calloc): Likewise.
72544 2012-09-05  John Tobey  <john.tobey@gmail.com>
72546         [BZ #13542]
72547         * manual/arith.texi (Operations on Complex): Fix description
72548         of carg branch cut.
72550 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
72552         [BZ #10014]
72553         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
72554         host name.
72556         [BZ #10038]
72557         * manual/memory.texi (Memory): Make order of menu items match
72558         order of sections.
72560 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
72562         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
72563         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
72564         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
72566 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
72568         * csu/libc-tls.c (static_dtv): Renamed to ...
72569         (_dl_static_dtv): This.  Make it global.
72570         (_dl_initial_dtv): Removed.
72571         (__libc_setup_tls): Updated.
72572         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
72573         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
72574         DL_INITIAL_DTV.
72576 2012-09-06  Petr Machata  <pmachata@redhat.com>
72578         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
72579         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
72580         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
72581         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
72583 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
72585         [BZ #14545]
72586         * csu/libc-tls.c (_dl_initial_dtv): New variable.
72587         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
72588         freeing dtv[-1].
72590 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
72592         [BZ #14544]
72593         * Makeconfig (link-static-before-libc): Replace $(+prector)
72594         with $(+prectorT).
72595         (link-static-after-libc): Replace $(+postctor) with
72596         $(+postctorT).
72597         (link-bounded): Replace $(+prector)/$(+postctor) with
72598         $(+prectorT)/$(+postctorT).
72599         (+prectorT): New macro.
72600         (+postctorT): Likewise.
72602 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
72604         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
72605         (round_str): Handle values above the maximum for IBM long double
72606         as inexact.
72607         * stdlib/tst-strtod-round.c (tests): Regenerated.
72609 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72611         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
72612         assembler flag.
72613         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
72614         zarch_nohighgprs around the zarch optimized routines.
72615         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
72616         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
72617         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
72618         for zarch.
72620 2012-09-05  David S. Miller  <davem@davemloft.net>
72622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72624         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
72625         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
72626         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
72627         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
72628         entries.
72630 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72632         * malloc/arena.c: Fold copyright years.
72633         * malloc/mcheck.c, malloc/memusage.c: Likewise.
72635 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72637         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
72639 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72641         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
72643 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72645         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
72646         change internal state upon failure.
72648 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72650         * malloc/mcheck.c (mcheck_check_all): Fix typo.
72651         * malloc/memusage.c (mmap): Likewise.
72652         (mmap64, mremap): Likewise.  Adjust name in comment.
72654 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
72656         * libio/fileops.c: Fix typos in comments.
72657         * libio/oldfileops.c: Likewise.
72658         * libio/wfileops.c: Likewise.
72660 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
72662         [BZ #1349]
72663         * malloc/Makefile (tests): Add tst-malloc-usable test case.
72664         (tst-malloc-usable-ENV): Set environment for test case.
72665         * malloc/hooks.c (malloc_check_get_size): New function to get
72666         requested size.
72667         * malloc/malloc.c (musable): Use malloc_check_get_size.
72668         * malloc/tst-malloc-usable.c: New test case.
72670 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72672         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
72674 2012-09-05  Allan McRae  <allan@archlinux.org>
72676         [BZ #13966]
72677         * configure.in (CXX_SYSINCLUDES): Use compiler output to
72678         determine header location.
72679         * configure: Regenerated.
72681 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72683         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
72684         float format.
72685         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
72686         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
72687         format.
72688         (test): Regenerate.
72690 2012-09-04  David S. Miller  <davem@davemloft.net>
72692         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
72693         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
72694         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
72696 2012-09-04  Florian Weimer  <fweimer@redhat.com>
72698         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
72699         failures.
72701         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
72703 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
72705         [BZ #9914]
72706         * libio/iogetdelim.c: Include <limits.h>.
72707         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
72708         + len + 1 would overflow.
72710 2012-09-03  Andreas Jaeger  <aj@suse.de>
72712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72713         * sysdeps/i386/fpu/libm-test-ulps: Update.
72715 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72717         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
72718         Add s_sinf-sse2, s_conf-sse2.
72720         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
72721         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
72722         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
72723         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
72725         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
72726         for using routine as __sinf_ia32.
72727         Use macro for function declaration and weak_alias.
72728         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
72729         for using routine as __cosf_ia32.
72730         Use macro for function declaration and weak_alias.
72732         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
72733         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
72735         * sysdeps/x86_64/fpu/s_sinf.S: New file.
72736         * sysdeps/x86_64/fpu/s_cosf.S: New file.
72737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72739         * math/libm-test.inc (cos_test): Add more test cases.
72740         (sin_test): Likewise.
72741         (sincos_test): Likewise.
72743 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72745         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
72746         (IFUNC_RESOLVE): Make pointers to the specialized implementations
72747         hidden.
72748         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
72750 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
72752         [BZ #14538]
72753         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
72754         first element of the GOT.
72755         (elf_machine_load_address): Return the difference between
72756         the runtime address of _DYNAMIC and elf_machine_dynamic ().
72758 2012-09-01  Allan McRae  <allan@archlinux.org>
72760         [BZ #13412]
72761         * configure.in (AWK): Require gawk version 3.0 or later.
72762         * configure: Regenerated.
72764 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
72766         * sysdeps/unix/sysv/linux/kernel-features.h
72767         (__ASSUME_POSIX_CPU_TIMERS): Remove.
72768         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72769         [__NR_clock_getres]: Make code unconditional.
72770         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
72771         (clock_getcpuclockid): Remove code left unreachable by removal of
72772         conditionals.
72773         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
72774         code unconditional.
72775         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
72776         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72777         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
72778         Make code unconditional.
72779         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
72780         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72781         * sysdeps/unix/sysv/linux/clock_settime.c
72782         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
72783         conditional code.
72784         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
72785         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72787 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
72789         [BZ #14476]
72790         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
72791         scripts/test-installation.pl.
72793         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
72794         and $ld_so_version if it is set.
72796 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
72798         [BZ #14516]
72799         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
72800         failure if reading from procfs failed.
72801         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
72803 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
72805         * sysdeps/unix/sysv/linux/kernel-features.h
72806         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
72807         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
72808         Remove conditional code.
72809         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72810         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
72811         Remove conditional code.
72812         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72813         * sysdeps/unix/sysv/linux/i386/fxstat.c
72814         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72815         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72816         * sysdeps/unix/sysv/linux/i386/fxstatat.c
72817         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72818         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72819         * sysdeps/unix/sysv/linux/i386/lxstat.c
72820         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72821         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72822         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
72823         Remove conditional code.
72824         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72825         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
72826         Remove conditional code.
72827         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72828         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
72829         <kernel-features.h>.
72830         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
72831         Remove.
72832         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
72833         Remove conditional code.
72834         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72835         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
72836         Remove conditional.
72838 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
72840         [BZ #5400]
72841         * NEWS: Add fixed bug number.
72843 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
72845         [BZ #14519]
72846         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
72847         underflowing exponent in case of negative sign.
72848         * stdlib/tst-strtod-round-data: Add more tests.
72849         * stdlib/tst-strtod-round.c (tests): Regenerated.
72851         [BZ #3479]
72852         * stdlib/strtod_l.c (NDIG): Remove.
72853         (HEXNDIG): Likewise.
72854         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
72855         smallest representable value.
72856         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
72857         lie within an exact representation of 1/2 ulp of the result.
72858         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
72859         unconditionally.
72860         (TENS_P9_IDX): Define unconditionally.
72861         (TENS_P9_SIZE): Likewise.
72862         (TENS_P10_IDX): Likewise.
72863         (TENS_P10_SIZE): Likewise.
72864         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
72865         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
72866         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
72867         entries for 10^2^13 and 10^2^14.
72868         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
72869         (TENS_P13_IDX): Define.
72870         (TENS_P13_SIZE): Likewise.
72871         (TENS_P14_IDX): Likewise.
72872         (TENS_P14_SIZE): Likewise.
72873         (_fpioconst_pow10): Change array size to
72874         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
72875         unconditional.
72876         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
72877         1024]: Add entries for 10^2^13 and 10^2^14.
72878         [LAST_POW10 > _LAST_POW10]: Remove #error.
72879         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
72880         (_fpioconst_pow10): Change array size to
72881         FPIOCONST_POW10_ARRAY_SIZE.
72882         * stdlib/gen-fpioconst.c: New file.
72883         * stdlib/gen-tst-strtod-round.c: Likewise.
72884         * stdlib/tst-strtod-round-data: Likewise.
72885         * stdlib/tst-strtod-round.c: Likewise.
72886         * stdlib/Makefile (tests): Add tst-strtod-round.
72888         [BZ #14459]
72889         * stdlib/strtod_l.c: Include <stdint.h>.
72890         (NDEBUG): Do not define.
72891         (round_and_return): Change EXPONENT parameter to type intmax_t.
72892         Rearrange calculations to avoid internal overflow possibilities.
72893         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
72894         Rearrange calculations to avoid internal overflow possibilities.
72895         Assert that number fits inside MPNSIZE limbs.
72896         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
72897         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
72898         calculations and add assertions to avoid internal overflow
72899         possibilities.  Add casts to avoid signed/unsigned operations.
72900         * stdlib/tst-strtod-overflow.c: New file.
72901         * stdlib/Makefile (tests): Add tst-strtod-overflow.
72903 2012-08-25  Marek Polacek  <polacek@redhat.com>
72905         * time/time.h: Fix some typos in comments.
72907 2012-08-23  Roland McGrath  <roland@hack.frob.com>
72909         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
72910         * posix/tst-rfc3484-2.c: Likewise.
72911         * posix/tst-rfc3484-3.c: Likewise.
72913 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
72915         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
72916         (EF_ARM_ABI_FLOAT_HARD): Likewise.
72918 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
72920         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
72921         #include of fxstatat64.c.
72923 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72925         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
72926         * shadow/getspent_r.c: Likewise.
72927         * shadow/getspnam.c: Likewise.
72928         * shadow/getspnam_r.c: Likewise.
72929         * gshadow/getsgent.c: Likewise.
72930         * gshadow/getsgent_r.c: Likewise.
72931         * gshadow/getsgnam.c: Likewise.
72932         * gshadow/getsgnam_r.c: Likewise.
72933         * inet/getnetbyad.c: Likewise.
72934         * inet/getnetbyad_r.c: Likewise.
72935         * inet/getnetbynm.c: Likewise.
72936         * inet/getnetbynm_r.c: Likewise.
72937         * inet/getnetent.c: Likewise.
72938         * inet/getnetent_r.c: Likewise.
72939         * inet/getproto.c: Likewise.
72940         * inet/getproto_r.c: Likewise.
72941         * inet/getprtent.c: Likewise.
72942         * inet/getprtent_r.c: Likewise.
72943         * inet/getprtname.c: Likewise.
72944         * inet/getprtname_r.c: Likewise.
72945         * inet/getrpcbyname.c: Likewise.
72946         * inet/getrpcbyname_r.c: Likewise.
72947         * inet/getrpcbynumber.c: Likewise.
72948         * inet/getrpcbynumber_r.c: Likewise.
72949         * inet/getrpcent.c: Likewise.
72950         * inet/getrpcent_r.c: Likewise.
72951         * inet/getaliasent.c: Likewise.
72952         * inet/getaliasent_r.c: Likewise.
72953         * inet/getaliasname.c: Likewise.
72954         * inet/getaliasname_r.c: Likewise.
72955         * nscd/getgrgid_r.c: Likewise.
72956         * nscd/getgrnam_r.c: Likewise.
72957         * nscd/gethstbyad_r.c: Likewise.
72958         * nscd/gethstbynm3_r.c: Likewise.
72959         * nscd/getpwnam_r.c: Likewise.
72960         * nscd/getpwuid_r.c: Likewise.
72961         * nscd/getsrvbynm_r.c: Likewise.
72962         * nscd/getsrvbypt_r.c: Likewise.
72963         * nscd/gai.c: Likewise.
72965         * configure.in (build_nscd): New substituted variable, set
72966         by --disable-build-nscd and defaults to $use_nscd.
72967         * configure: Regenerated.
72968         * config.make.in (build-nscd): New substituted variable.
72969         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
72970         Change conditional to require [$(build-nscd) = yes] as well.
72971         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
72973         [BZ #13696]
72974         * configure.in (use_nscd): New substituted variable, set by
72975         --disable-nscd.  If enabled, define USE_NSCD.
72976         * configure: Regenerated.
72977         * config.h.in: Add USE_NSCD.
72978         * config.make.in (use-nscd): New substituted variable.
72979         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
72980         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
72981         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
72982         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
72983         (CFLAGS-getgrnam_r.c): Likewise.
72984         (CFLAGS-initgroups.c): Likewise.
72985         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
72986         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
72987         Variables removed.
72988         * inet/getnetgrent_r.c
72989         (nscd_setnetgrent): New function, broken out of ...
72990         (setnetgrent): ... here.  Call it.
72991         (innetgr): Conditionalize nscd bits on [USE_NSCD].
72992         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
72993         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
72994         * nscd/Makefile (routines, aux): Move definitions after include of
72995         Makeconfig.  Conditionalize on [$(use-nscd) != no].
72996         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
72997         Conditionalize on [USE_NSCD].
72998         (is_nscd, nscd_init_cb): Likewise.
72999         (nss_load_library): Conditionalize init callback on [USE_NSCD].
73000         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
73001         * nss/nss_db/db-init.c: Likewise.
73002         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
73003         [USE_NSCD].
73004         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
73005         (make_request): Use it.
73006         (cache_valid_p): New function.
73007         (__check_pf): Use it.
73008         * NEWS: Add item for --disable-nscd.
73010 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
73012         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
73013         to support sed >= 4.2.1-20-ga9bf076.
73014         * configure: Regenerated.
73016 2012-08-22  Roland McGrath  <roland@hack.frob.com>
73018         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
73019         Conditionalize whole body on [IREL].
73021 2012-08-22  Jeff Law <law@redhat.com>
73023         [BZ #14505]
73024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
73025         if the family is PF_UNSPEC.
73027 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
73029         * Makerules (lib-version): Rename from V.
73030         (install-lib-nosubdir): Change V to lib-version.
73032 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
73034         [BZ #14252]
73035         * powerpc32/power6/wcschr.c: New file.
73036         * powerpc32/power6/wcscpy.c: New file.
73037         * powerpc32/power6/wcsrchr.c: New file.
73038         * powerpc64/power6/wcschr.c: New file.
73039         * powerpc64/power6/wcscpy.c: New file.
73040         * powerpc64/power6/wcsrchr.c: New file.
73042 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
73044         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
73045         (two_way_short_needle): Use it.
73046         * string/strstr.c (AVAILABLE1_USES_J): Define.
73047         * string/strcasestr.c: Likewise.
73049         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
73050         array references.
73051         * string/strcasestr.c (TOLOWER): Make side-effect safe.
73053         [BZ #11607]
73054         * NEWS: Add an entry.
73055         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
73056         define their defaults.
73057         (two_way_short_needle): Detect end-of-string on-the-fly.
73058         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
73059         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
73060         * string/bug-strcasestr1.c: New test.
73061         * string/Makefile: Run it.
73063 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
73065         [BZ #11607]
73066         * string/str-two-way.h (two_way_short_needle): Optimize matching of
73067         the first character.
73069 2012-08-21  Roland McGrath  <roland@hack.frob.com>
73071         * csu/elf-init.c (__libc_csu_irel): Function removed.
73072         * csu/libc-start.c (apply_irel): New function.
73073         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
73075 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
73077         * sysdeps/unix/sysv/linux/kernel-features.h
73078         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
73079         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
73080         <kernel-features.h>.
73081         [__NR_fadvise64_64]: Make code unconditional.
73082         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
73083         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
73084         !__NR_fadvise64_64)]: Likewise.
73085         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
73086         !__NR_fadvise64_64))]: Likewise.
73087         [__NR_fadvise64]: Make code unconditional.
73088         [!__NR_fadvise64]: Remove conditional code.
73089         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
73090         <kernel-features.h>.
73091         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73092         unconditional.
73093         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73094         conditional code.
73095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
73096         not include <kernel-features.h>.
73097         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73098         unconditional.
73099         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73100         conditional code.
73101         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
73102         include <kernel-features.h>.
73103         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73104         unconditional.
73105         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73106         conditional code.
73108 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73110         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
73111         slight instruction rearrangements per scrollpipe analysis.
73112         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
73114 2012-08-20  Roland McGrath  <roland@hack.frob.com>
73116         * manual/syslog.texi (syslog; vsyslog, closelog):
73117         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
73118         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
73120         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
73121         DSOCAPS to match condition on defining it.
73123 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
73125         * sysdeps/unix/sysv/linux/kernel-features.h
73126         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
73127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
73128         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73129         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
73131         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73132         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
73134         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73135         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73137         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
73138         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
73140         * sysdeps/unix/sysv/linux/kernel-features.h
73141         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
73142         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
73143         unconditional.
73144         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73145         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
73146         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73147         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73148         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
73149         Make code unconditional.
73150         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73151         (__mmap64) [!__NR_mmap2]: Likewise.
73152         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
73153         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73154         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73155         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
73156         [__NR_mmap2]: Make code unconditional.
73157         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73158         (__mmap64) [!__NR_mmap2]: Likewise.
73160 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73162         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
73164 2012-08-18  Andreas Jaeger  <aj@suse.de>
73166         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
73168 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
73170         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
73171         * include/unistd.h (__have_sock_cloexec): Likewise.
73172         (__have_pipe2): Likewise.
73173         (__have_dup3): Likewise.
73175 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
73177         [BZ #9685]
73178         * include/unistd.h (__have_pipe2): Change define into an extern int.
73179         (__have_dup3): Likewise.
73180         * socket/have_sock_cloexec.c: Include fcntl.h.
73181         (__have_pipe2): New variable.
73182         (__have_dup3): Likewise.
73184 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
73186         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
73188 2012-08-17  Marek Polacek  <polacek@redhat.com>
73190         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
73191         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
73193 2012-08-17  Roland McGrath  <roland@hack.frob.com>
73195         * configure.in: Add AC_SUBST for sysheaders.
73196         * configure: Regenerated.
73197         * config.make.in (sysheaders): New substituted variable.
73199         * sysdeps/unix/mkfifo.c: Moved ...
73200         * sysdeps/posix/mkfifo.c: ... here.
73201         * sysdeps/unix/mkfifoat.c: Moved ...
73202         * sysdeps/posix/mkfifoat.c: ... here.
73204         * sysdeps/unix/utime.c: Moved ...
73205         * sysdeps/posix/utime.c: ... here.
73207         * sysdeps/unix/time.c: Moved ...
73208         * sysdeps/posix/time.c: ... here.
73209         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
73210         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
73212         * sysdeps/unix/nice.c: Moved ...
73213         * sysdeps/posix/nice.c: ... here.
73215         * sysdeps/unix/alarm.c: Moved ...
73216         * sysdeps/posix/alarm.c: ... here.
73218         * intl/Makefile ($(codeset_mo)): Depend on the input file.
73220 2012-08-17  Jeff Law <law@redhat.com>
73222         * intl/Makefile (codeset_mo): New variable.
73223         ($(codeset_mo)): New target.
73224         (tst-codeset.out): Depend on that.  Remove explicit rule.
73225         (tst-gettext3.out, tst-gettext5.out): Likewise.
73226         (LOCPATH-ENV, tst-codeset-ENV): New variables.
73227         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
73228         * intl/tst-codeset.sh: Remove.
73229         * intl/tst-gettext3.sh: Likewise.
73230         * intl/tst-gettext5.sh: Likewise.
73232 2012-08-17  Roland McGrath  <roland@hack.frob.com>
73234         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
73235         * sysdeps/unix/syscalls.list: ... here.
73237         * sysdeps/posix/getaddrinfo.c
73238         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
73239         (gaiconf_init, gaiconf_reload): Use them.
73240         [!_STATBUF_ST_NSEC]
73241         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
73242         Define using time_t rather than struct timespec.
73244         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
73245         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
73246         Macros removed.
73247         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
73248         [!NO_THREADS].
73249         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
73250         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
73251         Likewise.
73253         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
73254         __libc_cleanup_push argument.
73256         * bits/param.h: New file.
73257         * misc/sys/param.h: New file.
73258         * include/sys/param.h: New file.
73259         * misc/Makefile (headers): Add bits/param.h.
73260         * sysdeps/generic/sys/param.h: File removed.
73261         * sysdeps/unix/sysv/linux/bits/param.h: New file.
73262         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
73263         * sysdeps/mach/hurd/bits/param.h: New file.
73264         * sysdeps/mach/hurd/sys/param.h: File removed.
73266         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
73267         last change.
73269         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
73270         [_IO_MTSAFE_IO].
73271         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
73272         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
73273         New macros.
73275         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
73276         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
73277         rather than -D_IO_MTSAFE_IO conditionally.
73278         * stdio-common/Makefile (CPPFLAGS): Likewise.
73279         * wcsmbs/Makefile (CPPFLAGS): Likewise.
73280         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
73281         Use $(libio-mtsafe).
73282         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
73283         of -D_IO_MTSAFE_IO.
73284         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
73285         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
73286         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
73287         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
73288         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
73289         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
73290         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
73291         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
73292         (CFLAGS-fread_u_chk.c): Likewise.
73293         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
73294         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
73295         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
73296         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
73297         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
73298         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
73299         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
73300         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
73301         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
73303         * libio/Makefile: Test [$(libc-reentrant) = yes]
73304         instead of [$(filter %REENTRANT, $(defines)) nonempty].
73306         * Makeconfig
73307         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
73308         * sysdeps/pthread/configure: File removed.
73309         * sysdeps/pthread/Makeconfig: New file.
73310         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
73311         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
73313 2012-08-16  Gary Benson  <gbenson@redhat.com>
73315         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
73316         unmapping the first object in a namespace.
73318 2012-08-16  Roland McGrath  <roland@hack.frob.com>
73320         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
73321         (__internal_setnetgrent): ... this.  Add internal_function to
73322         definition.  Add libc_hidden_def.
73323         (setnetgrent): Update caller.
73324         (internal_endnetgrent): Renamed to ...
73325         (__internal_endnetgrent): ... this.  Add internal_function to
73326         definition.  Add libc_hidden_def.
73327         (endnetgrent): Update caller.
73328         (internal_getnetgrent_r): Renamed to ...
73329         (__internal_getnetgrent_r): ... this.  Add internal_function to
73330         definition.  Add libc_hidden_def.
73331         (__getnetgrent_r): Update caller.
73332         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
73334 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
73336         * stdlib/longlong.h: Update from GCC.
73338 2012-08-16  Roland McGrath  <roland@hack.frob.com>
73340         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
73341         on _QL, which is set by umul_ppmm but never used.
73342         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
73343         variables, which are set by GMP macros but never used.
73344         * stdio-common/_itowa.c (_itowa): Likewise.
73345         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
73346         * stdlib/mod_1.c (mpn_mod_1): Likewise.
73348 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
73350         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
73351         struct La_sh_regs is not constant.
73352         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
73353         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
73354         and struct La_sparc64_regs are not constant.
73356 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
73358         * sysdeps/unix/sysv/linux/kernel-features.h
73359         (__ASSUME_POSIX_TIMERS): Remove.
73360         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73361         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73362         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
73363         Make code unconditional.
73364         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73365         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
73366         Make code unconditional.
73367         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73368         * sysdeps/unix/sysv/linux/clock_nanosleep.c
73369         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
73370         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73371         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
73372         Make code unconditional.
73373         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73374         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
73375         (__libc_missing_posix_timers): Remove.
73377 2012-08-15  Roland McGrath  <roland@hack.frob.com>
73379         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
73380         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
73382         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
73384         * elf/dl-sym.c: Include <stdlib.h>.
73386         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
73387         constants, which avoids warnings in 32-bit builds.
73389         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
73390         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
73392         * misc/lseek.c: File moved to ...
73393         * io/lseek.c: ... here.
73395         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
73397         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
73398         shifting LEN more than 31 bits at once.
73400 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73402         [BZ #14195]
73403         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
73404         segmentation fault for a case of two empty input strings.
73405         * string/test-strncasecmp.c (check1): Renamed to...
73406         (bz12205): ...this.
73407         (bz14195): Add new testcase for two empty input strings and N > 0.
73408         (test_main): Call new testcase, adapt for renamed function.
73410 2012-08-15  Andreas Jaeger  <aj@suse.de>
73412         [BZ #14090]
73413         * crypt/md5test2.c: New test, based on test supplied by Serge
73414         Belyshev <belyshev@depni.sinp.msu.ru>.
73415         * crypt/Makefile (xtests): Add md5test-giant..
73416         * crypt/Makefile ($(objpfx)md5test-giant): Add.
73418 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
73420         [BZ #14090]
73421         * crypt/md5.c (md5_process_block): Don't assume the buffer
73422         length is less than 2**32.
73423         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
73424         length is less than 2**64.
73426 2012-08-15  Roland McGrath  <roland@hack.frob.com>
73428         * string/str-two-way.h: Include <sys/param.h>.
73429         (MAX): Macro removed.
73431         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
73432         Move #define and #undef of memmove to just before and after
73433         including <string.h>.
73435         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
73436         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
73437         and after including <string.h>.  Move declarations of
73438         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
73439         to before #include "string/memmove.c".
73441         * include/dirent.h: Declare __getdirentries.
73443         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
73444         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
73446 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
73448         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
73449         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
73450         * sysdeps/i386/configure: Regenerated.
73451         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
73452         STABS_CURRENT_FILE, and STABS_FUN.
73453         (END): Remove call to STABS_FUN_END.
73454         (STABS_CURRENT_FILE1): Delete.
73455         (STABS_CURRENT_FILE): Likewise.
73456         (STABS_FUN): Likewise.
73457         (STABS_FUN_END): Likewise.
73458         (STABS_FUN2): Likewise.
73459         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
73460         * sysdeps/x86_64/configure: Regenerated.
73462 2012-08-14  Roland McGrath  <roland@hack.frob.com>
73464         * elf/dl-open.c: Include <atomic.h>.
73465         * elf/dl-lookup.c: Likewise.
73467 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
73469         * sysdeps/unix/sysv/linux/kernel-features.h
73470         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
73471         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
73472         unconditionally.
73473         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
73474         unconditionally.
73475         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
73476         condition on __ASSUME_CLONE_THREAD_FLAGS.
73478 2012-08-14  Andreas Jaeger  <aj@suse.de>
73480         * sysdeps/i386/fpu/libm-test-ulps: Update.
73482 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
73484         * include/atomic.h (atomic_exchange_and_add): Split into ...
73485         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
73486         New atomic macros.
73488 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
73490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73492 2012-08-13  Jeff Law <law@redhat.com>
73494         * manual/stdio.texi (snprintf): Clarify handling of the trailing
73495         null byte in the output string.
73497 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
73499         * sysdeps/unix/sysv/linux/kernel-features.h
73500         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
73501         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
73502         (__ASSUME_ARG_MAX_STACK_BASED): Define.
73503         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
73504         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
73505         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
73506         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
73508 2012-08-09  Jeff Law <law@redhat.com>
73510         [BZ #13939]
73511         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
73512         When avoid_arena is set, don't retry in the that arena.  Pick the
73513         next one, whatever it might be.
73514         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
73515         (arena_lock): Pass in new parameter to arena_get2.
73516         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
73517         arena_get2.
73518         (__libc_malloc): Unify retrying after main arena failure with
73519         __libc_memalign version.
73520         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
73522 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
73524         [BZ #14166]
73525         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
73526         to __redirect_strstr.
73527         (__strstr_sse42): Use typeof __redirect_strstr.
73528         (__strstr_ia32): Likewise.
73529         (__libc_strstr): New prototype.
73530         (strstr): Renamed to ...
73531         (__libc_strstr): This.
73532         (strstr): New strong alias of __libc_strstr.
73533         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
73534         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
73535         __redirect_time.
73536         Include <time.h>.
73537         (__libc_time): New prototype.
73538         (time_ifunc): Replace time with __libc_time.
73539         (time): New strong alias and hidden definition of __libc_time.
73540         (__GI_time): Remove strong alias.
73541         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
73542         Include <stddef.h>.
73543         (memmove): Redefined to __redirect_memmove.
73544         (__memmove_sse2): Use typeof __redirect_memmove.
73545         (__memmove_ssse3): Likewise.
73546         (__memmove_ssse3_back): Likewise.
73547         (__libc_memmove): New prototype.
73548         (memmove): Renamed to ...
73549         (__libc_memmove): This.
73550         (memmove): New strong alias of __libc_memmove.
73552 2012-08-08  Mark Salter  <msalter@redhat.com>
73554         * elf/elf.h
73555         (R_MN10300_TLS_GD): Define.
73556         (R_MN10300_TLS_LD): Likewise.
73557         (R_MN10300_TLS_LDO): Likewise.
73558         (R_MN10300_TLS_GOTIE): Likewise.
73559         (R_MN10300_TLS_IE): Likewise.
73560         (R_MN10300_TLS_LE): Likewise.
73561         (R_MN10300_TLS_DTPMOD): Likewise.
73562         (R_MN10300_TLS_DTPOFF): Likewise.
73563         (R_MN10300_TLS_TPOFF): Likewise.
73564         (R_MN10300_SYM_DIFF): Likewise.
73565         (R_MN10300_ALIGN): Likewise.
73566         (R_MN10300_NUM): Update.
73568 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
73570         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
73571         Remove.
73573 2012-08-08  Roland McGrath  <roland@hack.frob.com>
73575         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
73577         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
73578         sysdeps/unix -> sysdeps/posix move.
73579         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
73581 2012-08-07      Allan McRae     <allan@archlinux.org>
73583         [BZ #14303]
73584         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
73585         (SUNOS_CPP): Likewise.
73586         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
73587         not found.
73588         (open_input): Call CPP using execvp.
73590 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
73592         * sysdeps/unix/sysv/linux/kernel-features.h
73593         (__ASSUME_PROT_GROWSUPDOWN): Remove.
73594         (__ASSUME_NO_CLONE_DETACHED): Likewise.
73595         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
73596         (__ASSUME_WAITID_SYSCALL): Likewise.
73597         * sysdeps/unix/sysv/linux/dl-execstack.c
73598         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
73599         code unconditional.
73600         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
73601         conditional code.
73602         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
73603         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
73604         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
73605         code.
73606         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
73607         unconditional.
73608         [__ASSUME_WAITID_SYSCALL]: Likewise.
73609         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
73611 2012-08-07  Roland McGrath  <roland@hack.frob.com>
73613         * sysdeps/unix/closedir.c: Renamed to ...
73614         * sysdeps/posix/closedir.c: ... here.
73615         * sysdeps/unix/dirfd.c: Renamed to ...
73616         * sysdeps/posix/dirfd.c: ... here.
73617         * sysdeps/unix/dirstream.h: Renamed to ...
73618         * sysdeps/posix/dirstream.h: ... here.
73619         * sysdeps/unix/fdopendir.c: Renamed to ...
73620         * sysdeps/posix/fdopendir.c: ... here.
73621         * sysdeps/unix/opendir.c: Renamed to ...
73622         * sysdeps/posix/opendir.c: ... here.
73623         * sysdeps/unix/readdir.c: Renamed to ...
73624         * sysdeps/posix/readdir.c: ... here.
73625         * sysdeps/unix/readdir_r.c: Renamed to ...
73626         * sysdeps/posix/readdir_r.c: ... here.
73627         * sysdeps/unix/rewinddir.c: Renamed to ...
73628         * sysdeps/posix/rewinddir.c: ... here.
73629         * sysdeps/unix/seekdir.c: Renamed to ...
73630         * sysdeps/posix/seekdir.c: ... here.
73631         * sysdeps/unix/telldir.c: Renamed to ...
73632         * sysdeps/posix/telldir.c: ... here.
73633         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
73634         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
73635         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
73636         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
73638         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
73639         * bits/fcntl.h: ... here.
73641         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
73642         not 0.
73643         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
73644         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
73645         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
73646         (struct flock): Move l_start, l_len to the beginning.
73647         Use __pid_t for l_pid.
73648         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
73649         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
73650         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
73651         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
73652         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
73653         [__USE_LARGEFILE64] (struct flock64): New type.
73654         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
73656         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
73657         * bits/dirent.h: ... here.
73659         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
73660         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
73662 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
73664         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73665         Change from 2.6.0 to 2.6.16.
73666         * sysdeps/unix/sysv/linux/configure: Regenerated.
73667         * sysdeps/unix/sysv/linux/kernel-features.h
73668         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
73669         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
73670         version.
73671         (__ASSUME_UTIMES): Likewise.
73672         (__ASSUME_CLONE_STOPPED): Remove.
73673         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
73674         architectures, not kernel version.
73675         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
73676         (__ASSUME_NO_CLONE_DETACHED): Likewise.
73677         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
73678         (__ASSUME_WAITID_SYSCALL): Likewise.
73679         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
73680         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
73681         * README: State 2.6.16 as minimum Linux kernel version.  Do not
73682         refer to older versions.
73684 2012-08-06  Roland McGrath  <roland@hack.frob.com>
73686         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
73687         Define alphasort64 as an alias.
73688         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
73689         Define versionsort64 as an alias.
73690         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
73691         Define scandir64 as an alias.
73692         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
73693         Define scandirat64 as an alias.
73694         * dirent/alphasort64.c (alphasort64):
73695         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
73696         * dirent/versionsort64.c: Likewise.
73697         * dirent/scandir64.c: Likewise.
73698         * dirent/scandirat64.c: Likewise.
73699         * sysdeps/wordsize-64/alphasort.c: File removed.
73700         * sysdeps/wordsize-64/alphasort64.c: File removed.
73701         * sysdeps/wordsize-64/scandir.c: File removed.
73702         * sysdeps/wordsize-64/scandir64.c: File removed.
73703         * sysdeps/wordsize-64/scandirat.c: File removed.
73704         * sysdeps/wordsize-64/scandirat64.c: File removed.
73705         * sysdeps/wordsize-64/versionsort.c: File removed.
73706         * sysdeps/wordsize-64/versionsort64.c: File removed.
73707         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
73708         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
73709         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
73710         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
73711         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
73712         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
73713         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
73714         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
73716         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
73717         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
73718         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
73719         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73720         [defined __arch64__ || defined __sparcv9]
73721         (__INO_T_MATCHES_INO64_T): New macro.
73722         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73723         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
73724         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
73725         * sysdeps/unix/sysv/linux/bits/dirent.h
73726         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
73727         (_DIRENT_MATCHES_DIRENT64): New macro.
73729         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
73730         Define lockf64 as an alias.
73731         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
73732         Define fseeko64 as an alias.
73733         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
73734         Define ftello64 as an alias.
73735         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
73736         Define _IO_fgetpos64 and fgetpos64 as aliases.
73737         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
73738         Define _IO_fsetpos64 and fsetpos64 as aliases.
73739         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
73740         Conditionalize body on this.
73741         * libio/fseeko64.c: Likewise.
73742         * libio/ftello64.c: Likewise.
73743         * libio/iofgetpos64.c: Likewise.
73744         * libio/iofsetpos64.c: Likewise.
73745         * sysdeps/wordsize-64/lockf.c: File removed.
73746         * sysdeps/wordsize-64/lockf64.c: File removed.
73747         * sysdeps/wordsize-64/fseeko.c: File removed.
73748         * sysdeps/wordsize-64/fseeko64.c: File removed.
73749         * sysdeps/wordsize-64/ftello.c: File removed.
73750         * sysdeps/wordsize-64/ftello64.c: File removed.
73751         * sysdeps/wordsize-64/iofgetpos.c: File removed.
73752         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
73753         * sysdeps/wordsize-64/iofsetpos.c: File removed.
73754         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
73755         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
73756         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
73757         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
73758         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
73759         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
73760         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
73761         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
73762         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
73763         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
73764         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
73766         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
73767         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
73768         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
73769         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73770         [defined __arch64__ || defined __sparcv9]
73771         (__OFF_T_MATCHES_OFF64_T): New macro.
73772         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73773         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
73774         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73775         (__OFF_T_MATCHES_OFF64_T): New macro.
73777 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
73779         * stdlib/secure-getenv.c (__secure_getenv): Replace
73780         GLIBC_2_16 with GLIBC_2_17.
73782 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
73784         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
73785         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
73787 2012-08-03  David S. Miller  <davem@davemloft.net>
73789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73791 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
73793         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
73794         Remove.
73795         (__ASSUME_CORRECT_SI_PID): Likewise.
73796         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
73797         (__ASSUME_TMPFS_NAME): Likewise.
73798         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
73799         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
73800         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
73801         (HAVE_AUX_SECURE): Make definition unconditional.
73802         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
73803         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
73805 2012-08-03  Roland McGrath  <roland@hack.frob.com>
73807         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
73808         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
73809         * sysdeps/mach/hurd/eloop-threshold.h: New file.
73810         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
73811         __eloop_threshold instead of SYMLOOP_MAX.
73813         * sysdeps/generic/eloop-threshold.h: New file.
73814         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
73815         of MAXSYMLINKS.
73816         * elf/chroot_canon.c (chroot_canon): Likewise.
73818 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
73820         [BZ #13717]
73821         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73822         Change to 2.6.0 everywhere.
73823         * sysdeps/unix/sysv/linux/configure: Regenerated.
73824         * sysdeps/unix/sysv/linux/kernel-features.h
73825         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
73826         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
73827         kernel versions.
73828         (__ASSUME_POSIX_TIMERS): Define unconditionally.
73829         (__ASSUME_FUTEX_REQUEUE): Remove.
73830         (__ASSUME_STATFS64): Define unconditionally.
73831         (__ASSUME_AT_SECURE): Likewise.
73832         (__ASSUME_CORRECT_SI_PID): Likewise.
73833         (__ASSUME_TGKILL): Define without depending on kernel version for
73834         i386.
73835         (__ASSUME_UTIMES): Likewise.
73836         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
73837         kernel version.
73838         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
73839         (__ASSUME_TMPFS_NAME): Likewise.
73840         * README: Update reference to Linux kernel versions.
73842 2012-08-02  Marek Polacek  <polacek@redhat.com>
73844         [BZ #14150]
73845         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
73846         libc_cv_asm_type_prefix with %.
73847         * configure: Regenerated.
73848         * include/libc-symbols.h: Remove comment about
73849         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
73850         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
73851         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
73852         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
73853         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
73854         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
73855         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
73856         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
73857         * elf/tst-unique2mod1.c: Likewise.
73858         * elf/tst-unique1mod2.c: Likewise.
73859         * elf/tst-unique1mod1.c: Likewise.
73860         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
73861         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
73862         Replace ASM_TYPE_DIRECTIVE with .type.
73863         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73864         * sysdeps/i386/sysdep.h: Likewise.
73865         * sysdeps/x86_64/sysdep.h: Likewise.
73866         * sysdeps/sh/sysdep.h: Likewise.
73867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73868         Do not define ASM_TYPE_DIRECTIVE.
73869         * sysdeps/powerpc/sysdep.h: Likewise.
73870         * sysdeps/powerpc/powerpc32/sysdep.h:
73871         Replace ASM_TYPE_DIRECTIVE with .type.
73872         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73873         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73874         * sysdeps/i386/fpu/e_powf.S: Likewise.
73875         * sysdeps/i386/fpu/e_expl.S: Likewise.
73876         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73877         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73878         * sysdeps/i386/fpu/e_pow.S: Likewise.
73879         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73880         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73881         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73882         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73883         * sysdeps/i386/fpu/e_log2.S: Likewise.
73884         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73885         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73886         * sysdeps/i386/fpu/e_powl.S: Likewise.
73887         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73888         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73889         * sysdeps/i386/fpu/e_logl.S: Likewise.
73890         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73891         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73892         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73893         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73894         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73895         * sysdeps/i386/fpu/e_log.S: Likewise.
73896         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73897         * sysdeps/i386/fpu/e_logf.S: Likewise.
73898         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73899         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73900         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73901         * sysdeps/i386/fpu/e_log10.S: Likewise.
73902         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73903         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73904         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73905         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73906         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73907         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
73908         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73909         * sysdeps/i386/i686/strtok.S: Likewise.
73910         * sysdeps/i386/i386-mcount.S: Likewise.
73911         * sysdeps/i386/strtok.S: Likewise.
73912         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
73913         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73914         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73915         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73916         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73917         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73918         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73919         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73920         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73921         * sysdeps/x86_64/_mcount.S: Likewise.
73922         * sysdeps/x86_64/strtok.S: Likewise.
73923         * sysdeps/sh/_mcount.S: Likewise.
73925 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73927         * libio/iofopen.c: Include <fcntl.h>.
73928         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
73929         (_IO_fopen64, fopen64): Define as aliases.
73930         * libio/iofopen64.c: Include <fcntl.h>.
73931         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
73932         Conditionalize body on this.
73933         * sysdeps/wordsize-64/iofopen.c: File removed.
73934         * sysdeps/wordsize-64/iofopen64.c: File removed.
73936 2012-08-01  Marek Polacek  <polacek@redhat.com>
73938         * libc/Makeconfig: Use elf in place of binfmt-subdir.
73939         Use dlfcn directly instead of a variable.
73940         (binfmt-subdir): Do not define.
73941         (dlfcn): Likewise.
73943 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
73945         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
73946         Remove all definitions.
73947         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
73948         <kernel-features.h>.
73949         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73950         (miss_F_GETOWN_EX): Remove all definitions.
73951         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
73952         macro definition.
73953         [!__ASSUME_FCNTL64]: Remove conditional code.
73954         [__ASSUME_FCNTL64]: Make code unconditional.
73955         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
73956         <kernel-features.h>.
73957         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73958         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
73959         (lockf64) [__NR_fcntl64]: Make code unconditional.
73960         (lockf64) [__ASSUME_FCNTL64]: Likewise.
73962         * sysdeps/unix/sysv/linux/kernel-features.h
73963         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
73964         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
73965         Make code unconditional.
73966         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73967         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
73969         [__NR_vfork]: Make code unconditional.
73970         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73971         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
73973         [__NR_vfork]: Make code unconditional.
73974         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73975         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73977 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73979         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
73980         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
73982         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73983         Define mkstemp64 as an alias.
73984         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73985         Define mkstemps64 as an alias.
73986         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73987         Define mkostemp64 as an alias.
73988         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73989         Define mkostemps64 as an alias.
73990         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
73991         Conditionalize body on this.
73992         * misc/mkostemp64.c: Likewise.
73993         * misc/mkostemps64.c: Likewise.
73994         * misc/mkstemps64.c: Likewise.
73995         * sysdeps/wordsize-64/mkstemp64.c: File removed.
73996         * sysdeps/wordsize-64/mkostemp64.c: File removed.
73997         * sysdeps/wordsize-64/mkostemp.c: File removed.
73998         * sysdeps/wordsize-64/mkstemp.c: File removed.
73999         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
74000         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
74001         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
74002         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
74004         [BZ #14138]
74005         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
74006         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
74007         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
74008         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
74010         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
74011         compat_symbol macros from <shlib-compat.h> rather than the underlying
74012         default_symbol_version and symbol_version macros, so that DEFAULT
74013         lines in shlib-versions are respected.
74014         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
74016 2012-08-01  Florian Weimer  <fweimer@redhat.com>
74018         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
74019         Declare with warn_unused_result.
74020         (setgid, setregid, setegid, setresgid): Likewise.
74021         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
74022         Likewise.
74023         * WUR-REPORT: Remove set*id functions.
74025 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
74027         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
74029 2012-07-31  Roland McGrath  <roland@hack.frob.com>
74031         [BZ #10191]
74032         * include/sys/socket.h (__libc_accept, __libc_accept4):
74033         Add attribute_hidden.
74034         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
74036         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
74037         use of PTR_MANGLE.
74038         * inet/getnetgrent_r.c (setup): Likewise.
74040         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
74042 2012-07-31  David S. Miller  <davem@davemloft.net>
74044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74046 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
74048         [BZ #13629]
74049         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
74050         value between 1.0 and 2.0 and smaller part has absolute value less
74051         than 1.0.
74052         * math/s_clog10.c (__clog10): Likewise.
74053         * math/s_clog10f.c (__clog10f): Likewise.
74054         * math/s_clog10l.c (__clog10l): Likewise.
74055         * math/s_clogf.c (__clogf): Likewise.
74056         * math/s_clogl.c (__clogl): Likewise.
74057         * math/libm-test.inc (clog_test): Add more tests.
74058         (clog10_test): Likewise.
74059         * sysdeps/i386/fpu/libm-test-ulps: Update.
74060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74062 2012-07-31  Florian Weimer  <fweimer@redhat.com>
74064         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
74065         Exit with zero in case no suitable GID is found, and write a
74066         message to standard error.
74068 2012-07-30  Roland McGrath  <roland@hack.frob.com>
74070         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
74071         rather than to 1.
74072         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
74073         (MAXPATHLEN): Removed.
74074         (NOGROUP, NODEV): New macros.
74075         (setbit, clrbit, isset, isclr): New macros.
74076         (howmany, roundup, powerof2): New macros.
74077         (DEV_BSIZE): New macro.
74079         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
74080         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
74082         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
74083         definition on [!__NO_LONG_DOUBLE_MATH].
74085         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
74086         PTR_MANGLE and PTR_DEMANGLE.
74088         * socket/accept4.c (accept4): Rename to __libc_accept4.
74089         Define accept4 as a weak alias.
74091         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
74092         on [_DIRENT_HAVE_D_TYPE].
74093         * io/ftw.c (ftw_dir): Likewise.
74095         * io/xmknod.c (__xmknod): Don't check PATH for being null.
74097         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
74099         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
74100         Use the BSD numbers rather than the arbitrary ones we had.
74101         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
74102         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
74103         (SIGXCPU, SIGXFSZ): New macros.
74104         (_NSIG): Now 32.
74106         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
74107         initializer on [_LIBC_REENTRANT].
74109         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
74110         definitions inside [_POSIX_MAPPED_FILES].
74112         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
74114         * dirent/opendir.c: Include <fcntl.h>.
74116         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
74117         (__libc_getspecific): Likewise.
74118         (__libc_key_create): Likewise.
74120         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
74121         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
74122         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
74123         (tmpfile64): Define as alias.
74124         * sysdeps/wordsize-64/tmpfile.c: File removed.
74125         * sysdeps/wordsize-64/tmpfile64.c: File removed.
74126         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
74127         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
74129         * stdio-common/vfscanf.c: Include <stdbool.h>.
74130         * nss/makedb.c: Likewise.
74131         * stdio-common/_i18n_number.h: Likewise.
74132         * argp/argp-help.c: Likewise.
74133         * posix/wordexp.c: Likewise.
74134         * sysdeps/posix/spawni.c: Likewise.
74135         * nss/nss_files/files-initgroups.c: Likewise.
74136         * stdio-common/reg-modifier.c: Include <stdlib.h>.
74137         * nss/nss_files/files-initgroups.c: Likewise.
74138         * nss/nss_db/db-netgrp.c: Likewise.
74139         * nss/nss_db/db-initgroups.c: Likewise.
74140         * io/fchmodat.c: Include <sys/stat.h>.
74142         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
74143         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
74145         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
74146         [HAVE_MMAP].
74148         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
74149         Add multiple inclusion protection.
74151 2012-07-27  David S. Miller  <davem@davemloft.net>
74153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74155 2012-07-27  Gary Benson  <gbenson@redhat.com>
74157         [BZ #14298]
74158         * elf/rtld.c: Include <stap-probe.h>.
74159         (dl_main): Added static probes "init_start" and "init_complete".
74160         * elf/dl-load.c: Include <stap-probe.h>.
74161         (lose): Take new parameter "nsid".
74162         Added static probe "map_failed".
74163         (_dl_map_object_from_fd): Pass namespace id to lose.
74164         Added static probe "map_start".
74165         (open_verify): Pass namespace id to lose.
74166         * elf/dl-open.c: Include <stap-probe.h>.
74167         (dl_open_worker) Added static probes "map_complete", "reloc_start"
74168         and "reloc_complete".
74169         * elf/dl-close.c: Include <stap-probe.h>.
74170         (_dl_close_worker): Added static probes "unmap_start" and
74171         "unmap_complete".
74172         * elf/rtld-debugger-interface.txt: New file documenting the above.
74174 2012-07-26  Roland McGrath  <roland@hack.frob.com>
74176         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
74177         rather than a string variable.
74178         * sunrpc/rpc_main.c (h_output): Likewise.
74179         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
74181 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
74183         * inet/check_native.c: New file.
74185 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
74187         [BZ #13629]
74188         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
74189         if larger part has absolute value 1.0.
74190         * math/s_clog10.c (__clog10): Likewise.
74191         * math/s_clog10f.c (__clog10f): Likewise.
74192         * math/s_clog10l.c (__clog10l): Likewise.
74193         * math/s_clogf.c (__clogf): Likewise.
74194         * math/s_clogl.c (__clogl): Likewise.
74195         * math/libm-test.inc (clog_test): Add more tests.
74196         (clog10_test): Likewise.
74197         * sysdeps/i386/fpu/libm-test-ulps: Update.
74198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74200         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
74201         (pltexit): Likewise.
74202         (La_regs): Likewise.
74203         (La_retval): Likewise.
74204         (int_retval): Likewise.
74205         Update #error for removed macros to refer only to definitions in
74206         tst-audit.h.
74207         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
74208         macro.
74209         (pltexit): Likewise.
74210         (La_regs): Likewise.
74211         (La_retval): Likewise.
74212         (int_retval): Likewise.
74213         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
74214         macro.
74215         (pltexit): Likewise.
74216         (La_regs): Likewise.
74217         (La_retval): Likewise.
74218         (int_retval): Likewise.
74219         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
74220         macro.
74221         (pltexit): Likewise.
74222         (La_regs): Likewise.
74223         (La_retval): Likewise.
74224         (int_retval): Likewise.
74225         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
74226         macro.
74227         (pltexit): Likewise.
74228         (La_regs): Likewise.
74229         (La_retval): Likewise.
74230         (int_retval): Likewise.
74231         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
74232         macro.
74233         (pltexit): Likewise.
74234         (La_regs): Likewise.
74235         (La_retval): Likewise.
74236         (int_retval): Likewise.
74237         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
74238         macro.
74239         (pltexit): Likewise.
74240         (La_regs): Likewise.
74241         (La_retval): Likewise.
74242         (int_retval): Likewise.
74243         * sysdeps/generic/tst-audit.h: Update comment to refer only to
74244         macro definitions in tst-audit.h.
74245         * sysdeps/i386/tst-audit.h: New file.
74246         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
74247         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
74248         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
74249         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
74250         * sysdeps/sh/tst-audit.h: Likewise.
74251         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
74252         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
74253         * sysdeps/x86_64/tst-audit.h: Likewise.
74255 2012-07-26  Andreas Jaeger  <aj@suse.de>
74257         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
74258         ptrace.
74260         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
74261         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
74262         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
74263         PTRACE_O_MASK.
74264         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
74265         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
74266         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
74268         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
74269         value.
74271         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
74272         _sigsys.
74273         (si_call_addr, si_syscall, si_arch): Define new macro.
74274         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
74275         _sigsys.
74276         (si_call_addr, si_syscall, si_arch): Define new marcro.
74277         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
74278         _sigsys.
74279         (si_call_addr, si_syscall, si_arch): Define new macro.
74280         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
74281         _sigsys.
74282         (si_call_addr, si_syscall, si_arch): Define new macro.
74284 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
74286         [BZ #13717]
74287         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74288         Change to 2.4.21 where previously 2.4.1.
74289         * sysdeps/unix/sysv/linux/configure: Regenerated.
74290         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
74291         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
74292         Linux kernel version.
74293         (__ASSUME_STD_AUXV): Remove.
74294         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
74295         kernel version.
74296         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
74297         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
74298         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
74299         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
74300         (__ASSUME_NETLINK_SUPPORT): Likewise.
74301         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
74302         (__no_netlink_support): Remove conditional definition.
74303         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
74304         Remove.
74305         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
74306         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
74307         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
74308         (if_nameindex_ioctl): Remove.
74309         (if_nameindex_netlink): Do not handle __no_netlink_support.
74310         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
74311         code.
74312         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
74313         Remove conditional code.
74314         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
74315         code.
74316         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
74317         unconditional.
74318         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
74319         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
74320         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
74321         Remove.
74322         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
74323         [!__ASSUME_STD_AUXV]: Remove conditional code.
74324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
74325         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
74326         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
74327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
74328         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
74329         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
74330         code.
74331         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
74332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
74333         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
74334         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
74335         conditional code.
74336         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
74337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
74338         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
74339         code.
74340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
74341         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
74342         conditional code.
74343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
74344         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74345         code unconditional.
74346         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74347         conditional code.
74348         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74349         unconditional.
74350         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74351         conditional code.
74352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74353         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74354         unconditional.
74355         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74356         conditional code.
74357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
74358         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74359         code unconditional.
74360         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74361         conditional code.
74362         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74363         unconditional.
74364         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74365         conditional code.
74366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
74367         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74368         code unconditional.
74369         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74370         conditional code.
74371         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74372         unconditional.
74373         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74374         conditional code.
74376 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
74378         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
74379         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
74380         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
74381         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
74382         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
74383         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
74384         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
74385         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
74386         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
74387         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
74388         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
74389         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
74390         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
74391         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
74392         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
74393         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
74394         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
74395         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
74396         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
74397         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
74398         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
74399         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
74400         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74402 2012-07-25  Florian Weimer  <fweimer@redhat.com>
74404         * Versions.def: Add GLIBC_2.17.
74405         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
74406         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
74407         Introduce __libc_secure_getenv.
74408         * stdlib/Versions (2.17): Add secure_getenv
74409         (GLIBC_PRIVATE): Add __libc_secure_getenv.
74410         * stdlib/secure-getenv.c: Rename __secure_getenv to
74411         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
74412         symbol __secure_getenv for GLIBC_2.0.
74413         * stdlib/tst-secure-getenv.c: New.
74414         * stdlib/Makefile (tests): Add testcase.
74415         * manual/startup.texi (Environment Access): Document
74416         secure_getenv.
74417         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
74418         __libc_secure_getenv.
74419         * inet/ruserpass.c (ruserpass): Likewise.
74420         * malloc/mtrace.c (mtrace): Likewise.
74421         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
74422         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
74423         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
74424         * sysdeps/posix/tempname.c: Likewise.  Evaluate
74425         HAVE_SECURE_GETENV.
74426         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
74427         __secure_getenv to __libc_secure_getenv.
74428         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
74429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74430         Likewise.
74431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74432         Likewise.
74433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74435         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
74437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74441 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
74443         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
74444         (struct La_i86_retval): Likewise.
74445         (struct La_x86_64_regs): Likewise.
74446         (struct La_x86_64_retval): Likewise.
74447         (struct La_x32_regs): Likewise.
74448         (struct La_x32_retval): Likewise.
74449         (struct La_ppc32_regs): Likewise.
74450         (struct La_ppc32_retval): Likewise.
74451         (struct La_ppc64_regs): Likewise.
74452         (struct La_ppc64_retval): Likewise.
74453         (struct La_sh_regs): Likewise.
74454         (struct La_sh_retval): Likewise.
74455         (struct La_s390_32_regs): Likewise.
74456         (struct La_s390_32_retval): Likewise.
74457         (struct La_s390_64_regs): Likewise.
74458         (struct La_s390_64_retval): Likewise.
74459         (struct La_sparc32_regs): Likewise.
74460         (struct La_sparc32_retval): Likewise.
74461         (struct La_sparc64_regs): Likewise.
74462         (struct La_sparc64_retval): Likewise.
74463         (struct audit_ifaces): Remove architecture-specific pltenter and
74464         pltexit members.
74465         * sysdeps/i386/ldsodefs.h: New file.
74466         * sysdeps/powerpc/ldsodefs.h: Likewise.
74467         * sysdeps/s390/ldsodefs.h: Likewise.
74468         * sysdeps/sh/ldsodefs.h: Likewise.
74469         * sysdeps/sparc/ldsodefs.h: Likewise.
74470         * sysdeps/x86_64/ldsodefs.h: Likewise.
74472 2012-07-25  Marek Polacek  <polacek@redhat.com>
74474         [BZ #6808]
74475         * math/libm-test.inc (yn_test): Add another test.
74476         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
74477         to ERANGE when the result is +-Inf.
74478         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
74479         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
74480         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
74481         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
74483 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
74485         * conform/data/time.h-data (NULL): Use macro-constant.  Require
74486         equal to 0.
74487         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
74488         clock_t.
74489         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
74491 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
74493         * configure.in <sysdeps resolving>: Correct printing
74494         Implies_before.
74495         * configure: Regenerate.
74497 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
74499         * math/w_ilogb.c: Include <limits.h>.
74500         * math/w_ilogbl.c: Likewise.
74502 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
74504         * manual/lang.texi (__va_copy): Document primarily as ISO C99
74505         va_copy.  Document allowing for unavailable va_copy only as
74506         pre-C99 compatibility.
74507         * manual/string.texi (Copying and Concatenation): Use va_copy
74508         instead of __va_copy in concat example.
74510 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
74512         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
74513         (__sendto): Use create_address_port.  Initialize APORT and deallocate
74514         it if not null.
74516         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
74517         with O_NOLINK passed to __file_name_lookup.
74519         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
74520         with O_NOLINK passed to __file_name_lookup.
74522         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
74523         negative N or less than NGIDS.
74525         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
74526         type to string_t.  Set ERANGE as errno and return it if NAME is not big
74527         enough.  Use memcpy instead of strncpy.
74529 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
74531         * elf/Makefile (check-data): Remove.
74532         (localplt.data): New vpath directive.
74533         ($(objpfx)check-localplt.out): Use localplt.data from vpath
74534         instead of $(check-data).
74535         * scripts/data/localplt-generic.data: Move to ...
74536         * sysdeps/generic/localplt.data: ... here.
74537         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
74538         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
74539         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
74540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
74541         ... here.
74542         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
74543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
74544         ... here.
74545         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
74546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
74547         ... here.
74548         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
74549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
74550         ... here.
74551         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
74552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
74553         ... here.
74554         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
74555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
74556         ... here.
74558 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74560         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
74561         PPC32 and PPC64 files.
74562         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
74563         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
74565 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74567         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
74568         __makecontext_ret to ...
74569         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
74570         ... here and call exit if uc_link is NULL.  New file.
74571         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
74572         __makecontext_ret.S.
74573         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
74574         __makecontext_ret to ...
74575         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
74576         ... here and call exit if uc_link is NULL.  New file.
74577         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
74578         __makecontext_ret.S.
74580 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74582         * elf/elf.h (R_390_IRELATIVE): New definition.
74583         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
74584         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
74585         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
74586         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
74587         (elf_machine_lazy_rel): Likewise.
74588         * sysdeps/s390/dl-irel.h: New file.
74589         * sysdeps/s390/s390-64/memcpy.S: New asm code.
74590         * sysdeps/s390/s390-64/memset.S: New asm code.
74591         * sysdeps/s390/s390-64/memcmp.S: New asm code.
74592         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
74593         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
74594         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
74595         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
74596         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
74597         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
74598         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
74599         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
74600         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
74601         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
74602         * sysdeps/s390/s390-32/memcpy.S: New asm code.
74603         * sysdeps/s390/s390-32/memset.S: New asm code.
74604         * sysdeps/s390/s390-32/memcmp.S: New asm code.
74606 2012-07-17  Marek Polacek  <polacek@redhat.com>
74608         [BZ #14349]
74609         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
74610         * sysdeps/s390/s390-64/configure.in: Likewise.
74611         * sysdeps/sparc/configure.in: Likewise.
74612         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
74613         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
74614         * sysdeps/i386/configure.in: Likewise.
74615         * sysdeps/x86_64/configure.in: Likewise.
74616         * sysdeps/sh/configure.in: Likewise.
74617         * sysdeps/s390/s390-32/configure: Regenerated.
74618         * sysdeps/s390/s390-64/configure: Likewise.
74619         * sysdeps/x86_64/configure: Likewise.
74620         * sysdeps/sh/configure: Likewise.
74621         * sysdeps/powerpc/powerpc64/configure: Likewise.
74622         * sysdeps/powerpc/powerpc32/configure: Likewise.
74623         * sysdeps/sparc/configure: Likewise.
74624         * sysdeps/i386/configure: Likewise.
74626         * elf/dl-open.c: Comment fixes.
74628 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
74630         * Makefile [CXX] (check-data): Remove.
74631         [CXX] (c++-types.data): New vpath directive.
74632         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
74633         vpath.  Do not allow for C++ type data being missing.
74634         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
74635         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
74636         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
74637         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
74638         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
74639         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
74640         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
74641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
74642         ... here.
74643         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
74644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
74645         ... here.
74646         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
74647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
74648         ... here.
74649         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
74650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
74651         ... here.
74652         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
74653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
74654         ... here.
74655         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
74656         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
74657         ... here.
74658         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
74659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
74660         ... here.
74661         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
74662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
74664         * elf/tls-macros.h (TLS_LE): Move architecture-specific
74665         definitions to architecture-specific files.
74666         (TLS_IE): Likewise.
74667         (TLS_LD): Likewise.
74668         (TLS_GD): Likewise.
74669         * sysdeps/i386/tls-macros.h: New file.
74670         * sysdeps/powerpc/tls-macros.h: Likewise.
74671         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
74672         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
74673         * sysdeps/sh/tls-macros.h: Likewise.
74674         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
74675         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
74676         * sysdeps/x86_64/tls-macros.h: Likewise.
74678 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
74680         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
74681         zero value for regular exit case.
74683         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
74684         (__start_context): Preserve zero value for regular exit case.
74686 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
74687             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74689         * manual/setjmp.texi (setcontext): Clarify normal process
74690         termination when uc_link is the null pointer.
74691         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
74692         exit call.
74694 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
74696         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
74697         preprocessor.  Test for each exception mask separately.
74699 2012-07-16  Andreas Jaeger  <aj@suse.de>
74701         * po/ru.po: Update from translation team.
74703 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
74705         * conform/data/string.h-data (NULL): Use macro-constant.  Require
74706         equal to 0.
74707         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74708         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74709         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
74710         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
74711         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74713 2012-07-13  Andreas Jaeger  <aj@suse.de>
74715         * po/fr.po: Update from translation team.
74717 2012-07-12  Marek Polacek  <polacek@redhat.com>
74719         [BZ #14173]
74720         * math/libm-test.inc (yn_test): Add test for BZ #14173.
74721         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
74722         loop condition.
74724 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
74726         [BZ #13717]
74727         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74728         Change to 2.4.1 where previously 2.4.0.
74729         * sysdeps/unix/sysv/linux/configure: Regenerated.
74730         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
74731         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
74732         version.
74733         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
74734         (__ASSUME_AT_CLKTCK): Remove.
74735         (__ASSUME_AT_PAGESIZE): Likewise.
74736         (__ASSUME_AT_XID): Likewise.
74737         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
74738         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
74739         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
74740         unconditionally.
74741         (HAVE_AUX_PAGESIZE): Likewise.
74742         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
74743         [__ASSUME_AT_CLKTCK]: Make code unconditional.
74744         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
74746 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
74748         [BZ #14307]
74749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
74750         the temporary buffer used to invoke __gethostbyname2_r,
74751         __gethostbyaddr_r and gethostbyname4_r to make room for struct
74752         host_data / struct gaih_addrtuple.
74753         * resolv/nss_dns/dns-host.c (global scope): Move definition of
74754         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
74755         header file nss/nsswitch.h.
74756         * nss/nsswitch.h (global scope): Add definition of implementation
74757         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
74758         resolv/nss_dns/dns-host.c).
74760 2012-07-11  Andreas Jaeger  <aj@suse.de>
74762         * po/fr.po: Update from translation team.
74764         * po/sv.po: Update from translation team
74765         * po/fr.po: Another update from translation team.
74767 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74769         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
74770         for subnormals or multiply small sinh result by itself.
74771         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74774 2012-07-11  David S. Miller  <davem@davemloft.net>
74776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74778 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
74780         [BZ #14347]
74781         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
74782         (INTERNAL_MARK): Shift it here.
74784 2012-07-10  Marek Polacek  <polacek@redhat.com>
74786         [BZ #14151]
74787         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
74788         libc_cv_asm_global_directive with .globl.
74789         * configure: Regenerated.
74790         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
74791         with .globl.
74792         * sysdeps/i386/configure: Regenerated.
74793         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
74794         with .globl.
74795         * sysdeps/x86_64/configure: Regenerated.
74796         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
74797         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
74798         * elf/tst-unique2mod2.c: Likewise.
74799         * elf/tst-unique2mod1.c: Likewise.
74800         * elf/tst-unique1mod2.c: Likewise.
74801         * elf/tst-unique1mod1.c: Likewise.
74802         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74803         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
74804         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74805         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
74806         * sysdeps/mach/sysdep.h: Likewise.
74807         * sysdeps/i386/sysdep.h: Likewise.
74808         * sysdeps/i386/i386-mcount.S: Likewise.
74809         * sysdeps/x86_64/_mcount.S: Likewise.
74810         * sysdeps/x86_64/sysdep.h: Likewise.
74811         * sysdeps/sh/_mcount.S: Likewise.
74812         * sysdeps/sh/sysdep.h: Likewise.
74813         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
74814         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
74815         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
74816         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74817         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
74818         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
74819         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
74820         * locale/localeinfo.h: Likewise.
74821         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
74822         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
74824 2012-07-09  Roland McGrath  <roland@hack.frob.com>
74826         [BZ #14336]
74827         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
74828         system".
74829         * manual/message.texi (The Uniforum approach): Likewise.
74830         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
74831         (glibc iconv Implementation): Likewise.
74833 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
74835         [BZ #14337]
74836         * math/s_clog.c (__clog): Avoid scaling a value down where that
74837         could result in underflow.
74838         * math/s_clog10.c (__clog10): Likewise.
74839         * math/s_clog10f.c (__clog10f): Likewise.
74840         * math/s_clog10l.c (__clog10l): Likewise.
74841         * math/s_clogf.c (__clogf): Likewise.
74842         * math/s_clogl.c (__clogl): Likewise.
74843         * math/libm-test.inc (clog_test): Add more tests.
74844         (clog10_test): Likewise.
74845         * sysdeps/i386/fpu/libm-test-ulps: Update.
74846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74848 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
74850         [BZ #14283]
74851         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
74852         by 7 not 8 to examine high bit of fractional part.
74854         [BZ #14042]
74855         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
74856         for call to __mcount_internal.
74857         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
74858         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
74859         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
74861 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
74863         [BZ #14154]
74864         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
74865         approximation for values within 0x1p-13f of an odd multiple of
74866         pi/4.
74867         * math/libm-test.inc (tan_test): Do not allow spurious underflow
74868         exception.  Add more tests.
74869         * sysdeps/i386/fpu/libm-test-ulps: Update.
74871         [BZ #6778]
74872         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
74873         inputs and return -1 for them.  Do not check for +Inf in case not
74874         reachable for +Inf.
74875         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
74876         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
74877         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
74878         and return -1 for them.  Do not check for +Inf in case not
74879         reachable for +Inf.
74880         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
74881         define.
74882         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
74883         and return -1 for them.  Do not check for +Inf in case not
74884         reachable for +Inf.
74885         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
74886         spurious underflow.
74887         * sysdeps/i386/fpu/libm-test-ulps: Update.
74888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74890 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
74892         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
74894 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
74896         [BZ #14157]
74897         [BZ #14331]
74898         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
74899         could result in spurious underflow.  Scale down values above
74900         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
74901         * math/s_csqrtf.c (__csqrtf): Likewise.
74902         * math/s_csqrtl.c (__csqrtl): Likewise.
74903         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
74904         spurious underflow.
74905         * sysdeps/i386/fpu/libm-test-ulps: Update.
74906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74908 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
74910         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
74911         xopen-msg.sed.
74912         * catgets/xopen-msg.awk: New file.
74913         * catgets/xopen-msg.sed: Removed.
74915         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
74916         po2text.sed.
74917         * intl/po2test.awk: New file.
74918         * intl/po2test.sed: Removed.
74920 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
74922         [BZ #14328]
74923         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
74924         or multiply small sinh result by itself.
74925         * math/s_ctanf.c (__ctanf): Likewise.
74926         * math/s_ctanh.c (__ctanh): Likewise.
74927         * math/s_ctanhf.c (__ctanhf): Likewise.
74928         * math/s_ctanhl.c (__ctanhl): Likewise.
74929         * math/s_ctanl.c (__ctanl): Likewise.
74930         * math/libm-test.inc (ctan_test_tonearest): New function.
74931         (ctan_test_towardzero): Likewise.
74932         (ctan_test_downward): Likewise.
74933         (ctan_test_upward): Likewise.
74934         (ctanh_test_tonearest): Likewise.
74935         (ctanh_test_towardzero): Likewise.
74936         (ctanh_test_downward): Likewise.
74937         (ctanh_test_upward): Likewise.
74938         (main): Call these new functions.
74939         * sysdeps/i386/fpu/libm-test-ulps: Update.
74940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74942 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
74944         * .gitignore: Delete /ports entry.
74946 2012-07-03  Andreas Jaeger  <aj@suse.de>
74948         * po/bg.po: Update from translation team.
74949         * po/cs.po: Likewise.
74950         * po/de.po: Likewise.
74951         * po/hr.po: Likewise.
74952         * po/nl.pl: Likewise.
74953         * po/pl.po: Likewise.
74954         * po/vi.po: Likewise.
74956 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
74958         * Makeconfig [!+link] (+link-before-libc): New variable.
74959         [!+link] (+link-after-libc): Likewise.
74960         [!+link] (+link-tests): Likewise.
74961         [!+link] (+link): Define in terms of $(+link-before-libc) and
74962         $(+link-after-libc).
74963         [!+link-static] (+link-static-before-libc): New variable.
74964         [!+link-static] (+link-static-after-libc): Likewise.
74965         [!+link-static] (+link-static-tests): Likewise.
74966         [!+link-static] (+link-static): Define in terms of
74967         $(+link-static-before-libc) and $(+link-static-after-libc).
74968         [build-shared] (link-libc-before-gnulib): New variable.
74969         [build-shared] (link-libc-tests): Likewise.
74970         [build-shared] (link-libc): Define in terms of
74971         $(link-libc-before-gnulib).
74972         [!build-shared] (link-libc-tests): New variable.
74973         (link-libc-static-tests): New variable.
74974         [!gnulib] (gnulib-arch): New variable.
74975         [!gnulib] (gnulib-tests): Likewise.
74976         [!gnulib] (static-gnulib-arch): Likewise.
74977         [!gnulib] (static-gnulib-tests): Likewise.
74978         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
74979         Define with "=" instead of ":=".
74980         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
74981         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
74982         * Rules (binaries-all-notests): New variable.
74983         (binaries-all-tests): Likewise.
74984         (binaries-static-notests): Likewise.
74985         (binaries-static-tests): Likewise.
74986         (binaries-all): Define using $(binaries-all-notests) and
74987         $(binaries-all-tests).
74988         (binaries-static): Define using $(binaries-static-notests) and
74989         $(binaries-static-tests).
74990         (binaries-shared-tests): New variable.
74991         (binaries-shared-notests): Likewise.
74992         (binaries-shared): Remove variable.
74993         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
74994         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
74995         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
74996         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
74997         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
74998         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
74999         * elf/Makefile (sln-modules): New variable.
75000         (extra-objs): Add $(sln-modules:=.o).
75001         (ldconfig-modules): Add static-stubs.
75002         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
75003         * elf/static-stubs.c: New file.
75005         [BZ #14283]
75006         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
75007         by 7 not 8 to examine high bit of fractional part.  Use volatile
75008         variables when splitting into final array of floats if
75009         __FLT_EVAL_METHOD__ != 0.
75010         * math/libm-test.inc (cos_test): Add another test.
75011         (sin_test): Likewise.
75012         * sysdeps/i386/fpu/libm-test-ulps: Update.
75014         [BZ #14273]
75015         * math/libm-test.inc (cosh_test): Add more tests.
75017         * version.h (RELEASE): Set to "development".
75018         (VERSION): Set to "2.16.90".
75020 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
75022         * NEWS: Update copyright. Remove last-updated date.
75023         Mention math library bug fixes and timezone data changes.
75024         * README: Mention GNU/Hurd, x32, and HPPA support status.
75026 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
75028         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
75030 2012-06-27  Andreas Jaeger  <aj@suse.de>
75032         * manual/contrib.texi (Contributors): Add Samuel Thibault.
75034 2012-06-25  Andreas Jaeger  <aj@suse.de>
75036         * sysdeps/s390/fpu/libm-test-ulps: Update.
75038 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
75039             Thomas Schwinge  <thomas@codesourcery.com>
75041         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
75042         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
75043         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
75044         fanotify_mark.
75046 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
75048         * sysdeps/mach/start.c: Remove file.
75049         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
75050         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
75051         * sysdeps/sh/init-first.c: Likewise.
75053         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
75054         registers for frame unwinding purposes, add CFI directives.
75055         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
75056         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
75057         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
75058         Likewise.
75060         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
75061         __fortify_fail returning.
75062         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
75064         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
75065         sysdeps/sh/____longjmp_chk.S.
75066         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
75067         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
75068         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
75069         (gen-as-const-headers): Append sigaltstack-offsets.sym.
75071         * sysdeps/sh/abort-instr.h: New file.
75072         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
75073         process in case exit returns.
75075         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
75076         initialize the GOT register before use.
75078         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
75079         calculation of ARGC > 4.
75081         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
75082         meaningful names to some local labels.
75084 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75085             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75087         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
75088         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
75089         (__arch_compare_and_exchange_val_16_acq): Likewise.
75090         (__arch_compare_and_exchange_val_32_acq): Likewise.
75091         (atomic_exchange_and_add): Fix gUSA sequence.
75092         (atomic_add): Likewise.
75093         (atomic_add_negative): Likewise.
75094         (atomic_add_zero): Likewise.
75095         (atomic_bit_test_set): Likewise.
75097 2012-06-22  Andreas Schwab  <schwab@redhat.com>
75099         [BZ #13579]
75100         * include/link.h (struct link_map): Add l_free_initfini.
75101         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
75102         l_initfini.
75103         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
75104         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
75105         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
75106         set.
75108 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
75110         * configure.in: Use AC_LANG_SOURCE.
75111         * configure: Regenerate.
75113 2012-06-22  Roland McGrath  <roland@hack.frob.com>
75115         * configure.in (libc_cv_localstatedir): New substituted variable.
75116         * configure: Regenerated.
75117         * config.make.in (localstatedir): New variable, substituted from
75118         libc_cv_localstatedir.
75119         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
75120         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
75121         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
75122         * sysdeps/gnu/configure: Regenerated.
75124 2012-06-21  Jeff Law  <law@redhat.com>
75126         [BZ #14277]
75127         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
75128         free.  Simplify list management for _LIBC case.
75130 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
75132         [BZ #14273]
75133         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
75134         Clear sign bit of 64-bit integer value before comparing against
75135         overflow value.
75137         * sysdeps/mach/configure: Regenerated.
75139 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
75141         [BZ #14278]
75142         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
75144 2012-06-21  Jeff Law  <law@redhat.com>
75146         [BZ #13882]
75147         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
75148         uint16_t for elements in the "seen" array to avoid char overflows.
75149         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75150         * elf/dl-open.c (dl_open_worker): Likewise.
75152 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
75154         * scripts/list-sources.sh: Scan PORTS for translations.
75155         * po/libc.pot: Regenerated.
75157 2012-06-21  Andreas Jaeger  <aj@suse.de>
75159         [BZ #12194]
75160         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
75161         warning.
75162         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
75163         * bits/byteswap-16.h (__bswap_16): Likewise.
75164         * bits/byteswap.h (__bswap_constant_16): Likewise.
75166 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
75168         [BZ #14117]
75169         * sysdeps/i386/fpu_control.h: Removed.
75170         * sysdeps/x86_64/fpu_control.h: Moved to ...
75171         * sysdeps/x86/fpu_control.h: Here.
75173         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
75174         (_FPU_SETCW): Likewise.
75176 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
75178         [BZ #14117]
75179         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
75180         * sysdeps/x86/fpu/bits/mathinline.h: This.
75181         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
75183         [BZ #14050]
75184         [BZ #14117]
75185         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
75186         functions if __x86_64__ is defined.
75188 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
75190         * string/endian.h: Add !__ASSEMBLER__ condition for including
75191         conversion interfaces.
75193 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
75195         [BZ #14241]
75196         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
75197         of ABS(x) in calculating zero to negative powers other than odd
75198         integers.
75199         * math/libm-test.inc (pow_test): Add more tests.
75201 2012-06-15  Andreas Jaeger  <aj@suse.de>
75203         * manual/contrib.texi (Contributors): Update entry of Liubov
75204         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
75205         Machado Filho.
75207 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
75209         * string/string.h: Add __wur to GNU version of strerror_r.
75211 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
75213         [BZ #14229]
75214         * string/Makefile (tests): Add tst-strtok_r.
75215         * string/tst-strtok_r.c: New file.
75216         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
75217         RAX_LP/RDX_LP on SAVE_PTR.
75219 2012-06-14  Roland McGrath  <roland@hack.frob.com>
75221         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
75223 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
75225         * libm_test.inc (csqrt_test): Allow more spurious underflow
75226         exceptions.
75227         (j0_test): Likewise.
75228         (j1_test): Likewise.
75229         (y0_test): Likewise.
75230         (y1_test): Likewise.
75232 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
75234         * po/Makefile (libc.pot): Use UTF-8 charset.
75236 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
75238         [BZ #14210]
75239         Suppress sign-conversion warning from FD_SET.
75240         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
75241         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
75242         not unsigned long int.
75243         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
75245 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
75247         [BZ #14050]
75248         [BZ #14117]
75249         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
75250         __extern_always_inline instead of __extern_inline.
75251         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
75252         (__signbit): Likewise.
75253         (__signbitl): Support C++ namespace.
75254         (lrintf): New inline function.
75255         (lrint): Likewise.
75256         (llrintf): Likewise.
75257         (llrint): Likewise.
75258         (fmaxf): Likewise.
75259         (fmax): Likewise.
75260         (fminf): Likewise.
75261         (fmin): Likewise.
75262         (rint): Likewise.
75263         (rintf): Likewise.
75264         (ceil): Likewise.
75265         (ceilf): Likewise.
75266         (floor): Likewise.
75267         (floorf): Likewise.
75268         (nearbyint): Likewise.
75269         (nearbyintf): Likewise.
75271 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
75273         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
75274         non-default versions.
75276 2012-06-11  Roland McGrath  <roland@hack.frob.com>
75278         [BZ #14218]
75279         * manual/argp.texi (Argp): Reword argp_parse description slightly.
75281 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
75283         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
75284         (FE_UPWARD, FE_DOWNWARD): Don't define.
75285         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
75286         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
75288         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
75289         reading it.
75290         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
75291         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75293 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75295         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75296         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
75297         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
75298         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
75300 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
75302         [BZ #14117]
75303         * sysdeps/i386/fpu/bits/fenv.h: Removed.
75304         * sysdeps/i386/fpu/Implies: New file.
75305         * sysdeps/x86_64/fpu/Implies: Likewise.
75306         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
75307         * sysdeps/x86/fpu/bits/fenv.h: This.
75309         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
75310         __SSE_MATH__.
75312 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
75314         [BZ #14134]
75315         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
75316         character 0xffff that matches the last element of the
75317         conversion table.
75319 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75321         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
75322         fmodl commit.
75324 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75326         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
75327         values higher than 25.6283.
75329 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75331         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
75332         subnormal exponent extraction and add some __builtin_expect.
75333         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
75334         Fix for subnormal mantissa calculation.
75336 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
75338         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
75339         cpu2 is -1 and errno is not ENOSYS.
75341 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
75343         [BZ #14117]
75344         * sysdeps/i386/i486/bits/string.h: Renamed to ...
75345         * sysdeps/x86/bits/string.h: This.
75346         * sysdeps/x86_64/bits/string.h: Removed.
75348         * sysdeps/i386/i486/bits/string.h: Define inline functions only
75349         if not compiling for x86-64, but compiling for >= i486.
75351         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
75352         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
75354         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
75355         New macro from Linux kernel 3.4.0.
75356         (FP_XSTATE_MAGIC2): Likewise.
75357         (FP_XSTATE_MAGIC2_SIZE): Likewise.
75358         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
75359         (struct _fpx_sw_bytes): New struct.
75360         (struct _xsave_hdr): Likewise.
75361         (struct _ymmh_state): Likewise.
75362         (struct _xstate): Likewise.
75364         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
75365         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
75366         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
75367         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
75368         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
75369         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
75371         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
75372         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
75373         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
75374         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
75375         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
75376         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
75378 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75380         [BZ #13743]
75381         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
75382         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
75383         (sysdep_headers): Include sys/platform/ppc.h.
75384         * sysdeps/powerpc/test-gettimebase.c: Test for
75385         __ppc_get_timebase() to catch future ISA opcode/insn changes.
75386         * manual/Makefile (appendices): Include platform.texi.
75387         * manual/contrib.texi (Contributors): Update @node pointers.
75388         * manual/maint.texi (Maintenance): Likewise.
75389         (Platform): New node.
75390         * manual/platform.texi: New file.  Document the new features.
75392 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
75393             Jakub Jelinek  <jakub@redhat.com>
75395         [BZ #14188]
75396         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
75397         where __builtin_expect is unavailable.
75399 2012-06-03  David S. Miller  <davem@davemloft.net>
75401         * stdlib/longlong.h: Updated from GCC.
75403 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
75405         [BZ #14042]
75406         * sysdeps/powerpc/powerpc32/mcount.c: New file.
75407         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
75408         __mcount_internal.
75409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75410         (GLIBC_2.16): Likewise.
75412 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75414         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
75416 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
75418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
75419         (default-abi): New variable.
75420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
75421         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
75422         variable.
75423         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
75424         Likewise.
75425         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
75426         Likewise.
75427         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
75428         Likewise.
75430         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
75431         definition.  Document in comment.
75433 2012-06-01  David S. Miller  <davem@davemloft.net>
75435         * stdlib/longlong.h: Updated from GCC.
75437 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75439         [BZ #14117]
75440         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
75441         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
75442         sys/debugreg.h sys/io.h here.
75443         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
75444         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
75445         sys/io.h.
75446         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
75447         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
75448         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
75449         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
75450         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
75451         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
75453         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
75454         Define only if __x86_64__ is defined.
75456 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
75458         [BZ #14048]
75459         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
75460         Use int64_t for variable i.
75461         * math/libm-test.inc (fmod_test): Add more tests.
75463         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
75464         z computation is not scheduled after fetestexcept.
75465         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
75466         Use math_force_eval instead of asm to ensure calculation scheduled
75467         before exception test.
75468         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
75469         Ensure a1 + u.d computation is not scheduled after fetestexcept.
75471 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
75473         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
75474         computation is not scheduled after fetestexcept.
75476 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75478         [BZ #14117]
75479         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
75480         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
75482 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75484         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
75485         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75487 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
75489         [BZ #14117]
75490         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
75491         <bits/wordsize.h>.
75492         (__WCHAR_MIN): Support __WORDSIZE == 64.
75493         (__WCHAR_MAX): Likewise.
75495         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
75496         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
75498         [BZ #14183]
75499         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
75500         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
75502         [BZ #14117]
75503         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
75504         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
75506         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
75507         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
75509         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
75510         Defined to 1 if __x86_64__ isn't defined.
75511         (_STAT_VER_LINUX_OLD): New.
75512         (st_atime): Remove duplicate.
75513         (st_mtime): Likewise.
75514         (st_ctime): Likewise.
75516 2012-05-31  David S. Miller  <davem@davemloft.net>
75518         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
75519         entries.
75521 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
75523         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
75524         gen-libm-test.pl.
75526         [BZ #14132]
75527         * elf/dl-reloc.c: Include <_itoa.h>.
75528         (_dl_reloc_bad_type): Remove use of INTUSE.
75529         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
75530         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
75531         * stdio-common/psiginfo.c (psiginfo): Likewise.
75532         * stdio-common/psignal.c (psignal): Likewise.
75533         * string/strsignal.c (strsignal): Likewise.
75534         * include/signal.h (_sys_siglist): Declare hidden proto.
75535         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
75536         INTVARDEF with libc_hidden_data_def.
75537         * stdio-common/itoa-udigits.c: Likewise.
75538         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
75539         (_itoa_lower_digits_internal): Remove declaration.
75540         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
75541         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
75542         (_sys_sigabbrev_internal): Remove aliases.
75543         (_sys_siglist): Define hidden alias.
75545 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
75547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75548         bits/sysctl.h.
75550 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
75552         [BZ #14117]
75553         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
75554         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
75556         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
75557         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
75558         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
75559         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
75560         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
75561         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
75563         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
75564         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
75565         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
75567         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
75568         with __addr.
75569         (insw): Likewise.
75570         (insl): Likewise.
75571         (outsb): Likewise.
75572         (outsw): Likewise.
75573         (outsl): Likewise.
75575         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
75576         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
75577         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
75579         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
75580         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
75581         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
75582         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
75583         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
75584         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
75586         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
75587         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
75589         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
75590         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
75592         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
75593         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
75594         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
75596         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
75597         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
75598         to ...
75599         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
75601         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
75602         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
75603         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
75605         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
75606         for x86-64.
75607         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
75609 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
75611         * math/math.h (M_El): Use two more decimal places.
75612         (M_LOG2El): Likewise.
75613         (M_LOG10El): Likewise.
75614         (M_LN2l): Likewise.
75615         (M_LN10l): Likewise.
75616         (M_PIl): Likewise.
75617         (M_PI_2l): Likewise.
75618         (M_PI_4l): Likewise.
75619         (M_1_PIl): Likewise.
75620         (M_2_PIl): Likewise.
75621         (M_2_SQRTPIl): Likewise.
75622         (M_SQRT2l): Likewise.
75623         (M_SQRT1_2l): Likewise.
75625 2012-05-31  David S. Miller  <davem@davemloft.net>
75627         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
75628         values between float registers.
75629         * sysdeps/sparc/sparc64/memset.S: Likewise.
75630         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
75632 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
75634         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
75635         -D_FORTIFY_SOURCE=1.
75636         (CPPFLAGS-tst-longjmp_chk.c): Define.
75637         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
75638         (CPPFLAGS-tst-longjmp_chk2.c): Define.
75639         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
75640         CFLAGS-tst-wchar-h.c.
75642 2012-05-31  Marek Polacek  <polacek@redhat.com>
75644         [BZ #14132]
75645         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
75646         __endmntent_internal): Remove declaration.
75647         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
75648         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
75649         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
75651 2012-05-30  David S. Miller  <davem@davemloft.net>
75653         * sysdeps/sparc/sparc32/soft-fp/q_util.c
75654         (___Q_simulate_exceptions): Use real FP ops rather than writing
75655         into the %fsr.
75656         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
75657         Likewise.
75659 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75661         [BZ #14117]
75662         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
75663         * sysdeps/x86/bits/xtitypes.h: This.
75665         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
75666         * sysdeps/x86/bits/wordsize.h: This.
75668         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
75669         * sysdeps/x86/bits/huge_vall.h: This.
75671         * sysdeps/i386/bits/select.h: Removed.
75672         * sysdeps/x86_64/bits/select.h: Renamed to ...
75673         * sysdeps/x86/bits/select.h: This.
75675         * sysdeps/i386/bits/setjmp.h: Removed.
75676         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
75677         * sysdeps/x86/bits/setjmp.h: This.
75679         * sysdeps/i386/bits/mathdef.h: Removed.
75680         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
75681         * sysdeps/x86/bits/mathdef.h: This.
75683 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
75685         [BZ #14132]
75686         * include/sys/socket.h (__connect_internal)
75687         (__libc_sa_len_internal): Remove declaration.
75688         (__connect, __libc_sa_len): Declare hidden_proto.
75689         (SA_LEN): Remove use of INTUSE.
75690         * socket/connect.c: Add libc_hidden_def.
75691         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
75692         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
75693         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
75694         alias.
75695         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
75696         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
75697         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
75698         of adding _internal alias.
75700 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75702         [BZ #14117]
75703         * sysdeps/i386/bits/link.h: Removed.
75704         * sysdeps/i386/bits/linkmap.h: Likewise.
75705         * sysdeps/x86_64/bits/link.h: Renamed to ...
75706         * sysdeps/x86/bits/link.h: This.
75707         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
75708         * sysdeps/x86/bits/linkmap.h: This.
75710         * sysdeps/i386/bits/endian.h: Removed.
75711         * sysdeps/x86_64/bits/endian.h: Renamed to ...
75712         * sysdeps/x86/bits/endian.h: This.
75714         * sysdeps/i386/bits/byteswap.h: Removed.
75715         * sysdeps/i386/bits/byteswap-16.h: Likewise.
75716         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
75717         * sysdeps/x86/bits/byteswap.h: This.
75718         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
75719         * sysdeps/x86/bits/byteswap-16.h: This.
75720         * sysdeps/i386/Implies: Add x86.
75721         * sysdeps/x86_64/Implies: Likewise.
75723 2012-05-30  David S. Miller  <davem@davemloft.net>
75725         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
75726         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
75727         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
75728         (FP_TRAPPING_EXCEPTIONS): Define.
75729         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
75730         (FP_TRAPPING_EXCEPTIONS): Define.
75731         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
75732         subnormals only when inexact has been signalled or underflow
75733         exceptions are enabled.
75734         (_FP_PACK_CANONICAL): Likewise.
75736 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75738         [BZ #14183]
75739         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
75740         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
75742 2012-05-30  Richard Henderson  <rth@twiddle.net>
75744         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
75745         with #ifndef NOT_IN_libc.
75747         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
75748         marked to avoid plt entry.
75750 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75752         [BZ #14112]
75753         * Makeconfig (default-abi): New macro.
75754         (abi-includes): Likewise.
75755         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
75756         $(abi-$(default-abi)-lib-soname) for soname if defined.
75757         ($(common-objpfx)gnu/lib-names.stmp): Generate from
75758         abi-variants.
75759         * Makefile (installed-stubs): Likewise.
75760         * include/stubs-biarch.h: Removed.
75761         * scripts/lib-names.awk: Only handle one library at a time.
75762         * scripts/soversions.awk: Remove WORDSIZE support.
75763         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
75764         entries.
75765         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
75766         Removed.
75767         (syscall-list-default-condition): Likewise.
75768         (syscall-list-default-condition): Likewise.
75769         (syscall-list-includes): Likewise.
75770         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
75771         syscall-list-* with abi-*.  Handle undefined abi-variants.
75772         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
75773         * sysdeps/unix/sysv/linux/i386/Implies: New file.
75774         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
75775         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
75776         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
75777         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
75778         Removed.
75779         (syscall-list-32-options): Likewise.
75780         (syscall-list-32-condition): Likewise.
75781         (syscall-list-64-options): Likewise.
75782         (syscall-list-64-condition): Likewise.
75783         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
75784         macro.
75785         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
75786         Renamed to ...
75787         (abi-*): This.
75788         (abi-64-ld-soname): New macro.
75789         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
75790         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
75791         Renamed to ...
75792         (abi-*): This.
75793         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
75794         * sysdeps/x86_64/x32/shlib-versions: Likewise.
75796 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
75798         * sysdeps/unix/sysv/linux/kernel-features.h
75799         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
75800         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
75801         include <kernel-features.h>.
75802         [!__NR_ftruncate64]: Remove conditional code.
75803         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75804         [__NR_ftruncate64]: Make code unconditional.
75805         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75806         * sysdeps/unix/sysv/linux/truncate64.c: Do not
75807         include <kernel-features.h>.
75808         [!__NR_ftruncate64]: Remove conditional code.
75809         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75810         [__NR_ftruncate64]: Make code unconditional.
75811         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
75813         include <kernel-features.h>.
75814         [!__NR_ftruncate64]: Remove conditional code.
75815         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75816         [__NR_ftruncate64]: Make code unconditional.
75817         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
75819         include <kernel-features.h>.
75820         [!__NR_ftruncate64]: Remove conditional code.
75821         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75822         [__NR_ftruncate64]: Make code unconditional.
75823         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75825         * configure.in (libc_cv_fpie): Weaken to a compile test using
75826         LIBC_TRY_CC_OPTION.
75827         * configure: Regenerated.
75829 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
75832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
75833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
75834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75835         Refreshed.
75836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
75837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
75838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
75839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
75840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
75841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75842         Refreshed.
75844 2012-05-27  David S. Miller  <davem@davemloft.net>
75846         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
75847         (___Q_zero): New.
75848         (__Q_simulate_exceptions): Return void.  Change to simulate
75849         exceptions by writing into the %fsr.
75850         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
75851         (__Qp_handle_exceptions): Likewise.
75852         (numbers): Delete.
75853         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
75854         __Qp_handle_exceptions.
75855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
75856         __Qp_handle_exceptions.
75857         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
75858         as unused and give dummy FP_RND_NEAREST initializer.
75859         (FP_INHIBIT_RESULTS): Define.
75860         (___Q_simulate_exceptions): Update declaration.
75861         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
75862         formatting.
75863         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
75864         as unused and give dummy FP_RND_NEAREST initializer.
75865         (__Qp_handle_exceptions): Update declaration.
75866         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
75867         formatting.
75869 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
75871         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
75872         the temporary FPU control word.
75873         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
75874         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
75875         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
75876         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
75877         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
75878         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
75879         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
75880         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
75881         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
75882         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
75883         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75885 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75887         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
75888         fields.
75890 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
75892         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
75893         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
75894         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
75895         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
75896         Likewise.
75897         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
75898         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
75899         Likewise.
75901 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
75903         * po/h.po: Update from translation team.
75905 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
75907         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
75909         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
75910         handling of denormals.
75911         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75912         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
75913         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75914         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75915         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75916         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
75917         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
75918         Likewise.
75920 2012-05-26  Marek Polacek  <polacek@redhat.com>
75922         [BZ #14152]
75923         * math/libm-test.inc (fma_test): Don't always expect underflow
75924         exception.
75926 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75928         [BZ #12416]
75929         * elf/tst-execstack.c: Include stackinfo.h.
75930         (do_test): Adjust test case to ensure that pthread_getattr_np
75931         behaviour remains the same after marking stack executable.
75933 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75935         * sysdeps/unix/sysv/linux/kernel-features.h
75936         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
75937         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
75938         kernel-features.h.
75939         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75940         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75941         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
75942         kernel-features.h.
75943         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75944         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75946 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
75948         * configure.in: Define the default includes to being none.
75949         * configure: Regenerated.
75951 2012-05-25  Roland McGrath  <roland@hack.frob.com>
75953         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
75954         * sysdeps/x86_64/setjmp.S: Likewise.
75955         * sysdeps/i386/bsd-setjmp.S: Likewise.
75956         * sysdeps/i386/bsd-_setjmp.S: Likewise.
75957         * sysdeps/i386/setjmp.S: Likewise.
75958         * sysdeps/i386/__longjmp.S: Likewise.
75959         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75960         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
75962         * include/stap-probe.h: New file.
75963         * configure.in: Handle --enable-systemtap.
75964         * configure: Regenerated.
75965         * config.h.in (USE_STAP_PROBE): New #undef.
75966         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
75967         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
75968         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
75970 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75972         [BZ #13717]
75973         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75974         to 2.4.0 where earlier.
75975         * sysdeps/unix/sysv/linux/configure: Regenerated.
75976         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
75977         <kernel-features.h>.
75978         [__ASSUME_32BITUIDS]: Make code unconditional.
75979         [!__ASSUME_32BITUIDS]: Remove conditional code.
75980         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
75981         <kernel-features.h>.
75982         [__ASSUME_32BITUIDS]: Make code unconditional.
75983         [!__ASSUME_32BITUIDS]: Remove conditional code.
75984         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
75985         [__ASSUME_32BITUIDS]: Make code unconditional.
75986         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
75987         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/i386/getuid.c: Do not include
76012         <kernel-features.h>.
76013         [__ASSUME_32BITUIDS]: Make code unconditional.
76014         [!__ASSUME_32BITUIDS]: Remove conditional code.
76015         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
76016         <kernel-features.h>.
76017         [__ASSUME_32BITUIDS]: Make code unconditional.
76018         [!__ASSUME_32BITUIDS]: Remove conditional code.
76019         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
76020         <kernel-features.h>.
76021         [__ASSUME_32BITUIDS]: Make code unconditional.
76022         [!__ASSUME_32BITUIDS]: Remove conditional code.
76023         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
76024         <kernel-features.h>.
76025         [__ASSUME_32BITUIDS]: Make code unconditional.
76026         [!__ASSUME_32BITUIDS]: Remove conditional code.
76027         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
76028         <kernel-features.h>.
76029         [__NR_setresgid] (__setresgid): Do not declare.
76030         [__ASSUME_32BITUIDS]: Make code unconditional.
76031         [!__ASSUME_32BITUIDS]: Remove conditional code.
76032         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
76033         <kernel-features.h>.
76034         [__NR_setresuid] (__setresuid): Do not declare.
76035         [__ASSUME_32BITUIDS]: Make code unconditional.
76036         [!__ASSUME_32BITUIDS]: Remove conditional code.
76037         * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
76042         <kernel-features.h>.
76043         [__ASSUME_32BITUIDS]: Make code unconditional.
76044         [!__ASSUME_32BITUIDS]: Remove conditional code.
76045         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
76046         <kernel-features.h>.
76047         [__ASSUME_32BITUIDS]: Make code unconditional.
76048         [!__ASSUME_32BITUIDS]: Remove conditional code.
76049         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
76050         <kernel-features.h>.
76051         [__ASSUME_32BITUIDS]: Make code unconditional.
76052         [!__ASSUME_32BITUIDS]: Remove conditional code.
76053         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
76054         <kernel-features.h>.
76055         [__ASSUME_32BITUIDS]: Make code unconditional.
76056         [!__ASSUME_32BITUIDS]: Remove conditional code.
76057         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
76058         <kernel-features.h>.
76059         [__ASSUME_32BITUIDS]: Make code unconditional.
76060         [!__ASSUME_32BITUIDS]: Remove conditional code.
76061         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
76062         <kernel-features.h>.
76063         [__ASSUME_32BITUIDS]: Make code unconditional.
76064         [!__ASSUME_32BITUIDS]: Remove conditional code.
76065         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
76066         <kernel-features.h>.
76067         [__ASSUME_32BITUIDS]: Make code unconditional.
76068         [!__ASSUME_32BITUIDS]: Remove conditional code.
76069         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
76070         <kernel-features.h>.
76071         [__ASSUME_32BITUIDS]: Make code unconditional.
76072         [!__ASSUME_32BITUIDS]: Remove conditional code.
76073         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
76074         <kernel-features.h>.
76075         [__ASSUME_32BITUIDS]: Make code unconditional.
76076         [!__ASSUME_32BITUIDS]: Remove conditional code.
76077         * sysdeps/unix/sysv/linux/kernel-features.h
76078         (__ASSUME_SETRESUID_SYSCALL): Remove.
76079         (__ASSUME_SETRESGID_SYSCALL): Likewise.
76080         (__ASSUME_32BITUIDS): Likewise.
76081         (__ASSUME_LDT_WORKS): Likewise.
76082         (__ASSUME_O_DIRECTORY): Likewise.
76083         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
76084         architecture but not kernel version.
76085         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
76086         (__ASSUME_MMAP2_SYSCALL): Likewise.
76087         (__ASSUME_STAT64_SYSCALL): Likewise.
76088         (__ASSUME_IPC64): Likewise.
76089         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
76090         <kernel-features.h>.
76091         [__ASSUME_32BITUIDS]: Make code unconditional.
76092         [!__ASSUME_32BITUIDS]: Remove conditional code.
76093         * sysdeps/unix/sysv/linux/opendir.c: Do not include
76094         <kernel-features.h>.
76095         [__ASSUME_O_DIRECTORY]: Make code unconditional.
76096         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
76097         132096]: Remove conditional code.
76098         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
76099         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
76100         <kernel-features.h>.
76101         [__ASSUME_32BITUIDS]: Make code unconditional.
76102         [!__ASSUME_32BITUIDS]: Remove conditional code.
76103         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
76104         <kernel-features.h>.
76105         [__ASSUME_32BITUIDS]: Make code unconditional.
76106         [!__ASSUME_32BITUIDS]: Remove conditional code.
76107         * sysdeps/unix/sysv/linux/setegid.c: Do not include
76108         <kernel-features.h>.
76109         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
76110         unconditional.
76111         (__setresgid): Do not declare.
76112         [__ASSUME_32BITUIDS]: Make code unconditional.
76113         [!__ASSUME_32BITUIDS]: Remove conditional code.
76114         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
76115         <kernel-features.h>.
76116         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
76117         unconditional.
76118         (__setresuid): Do not declare.
76119         [__ASSUME_32BITUIDS]: Make code unconditional.
76120         [!__ASSUME_32BITUIDS]: Remove conditional code.
76121         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
76122         <kernel-features.h>.
76123         [__ASSUME_32BITUIDS]: Make code unconditional.
76124         [!__ASSUME_32BITUIDS]: Remove conditional code.
76125         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
76126         <kernel-features.h>.
76127         [__ASSUME_32BITUIDS]: Make code unconditional.
76128         [!__ASSUME_32BITUIDS]: Remove conditional code.
76130 2012-05-25  Richard Henderson  <rth@twiddle.net>
76132         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
76133         dl_hwcap to ifunc resolver.
76134         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
76135         elf_ifunc_invoke.
76136         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
76137         dl_hwcap to ifunc resolver.
76138         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
76140 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76142         [BZ #14153]
76143         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
76144         for |x| <= 2**-26, not 2**-57.
76145         * math/libm-test.inc (acos_test): Do not allow spurious underflow
76146         exception.
76148 2012-05-24  Jeff Law  <law@redhat.com>
76150         * stdio-common/Makefile (tests): Add bug25.
76151         * stdio-common/bug25.c: New test.
76153 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
76155         [BZ #13576]
76156         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
76157         multiple of MALLOC_ALIGNMENT in size.
76158         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
76160 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76162         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
76163         Require >= 256.
76164         (FILENAME_MAX): Use macro-int-constant.
76165         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
76166         (_IOFBF): Use macro-int-constant.
76167         (_IOLBF): Likewise.
76168         (_IONBF): Likewise.
76169         (SEEK_CUR): Likewise.
76170         (SEEK_END): Likewise.
76171         (SEEK_SET): Likewise.
76172         (TMP_MAX): Likewise.
76173         (EOF): Use macro-int-constant.  Require < 0.
76174         (NULL): Use macro-constant.  Require == 0.
76175         (stdin): Require type to be FILE *.
76176         (stdout): Likewise.
76177         (stderr): Likewise.
76178         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
76179         macro-int-constant.
76180         (EXIT_SUCCESS): Likewise.
76181         (NULL): Use macro-constant.  Require == 0.
76182         (RAND_MAX): Use macro-int-constant.
76183         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
76184         [C99-based standards] (strtof): Require function.
76185         [C99-based standards] (strtold): Likewise.
76186         [C99-based standards] (strtoll): Likewise.
76187         [C99-based standards] (strtoull): Likewise.
76188         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76189         [ISO || ISO99 || ISO11] (limits.h): Likewise.
76190         [ISO || ISO99 || ISO11] (math.h): Likewise.
76191         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
76192         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76193         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76195 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
76197         [BZ #14132]
76198         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
76199         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
76200         * intl/dgettext.c (DCGETTEXT): Likewise.
76201         * intl/gettext.c (DCGETTEXT): Likewise.
76202         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
76203         * posix/regex_internal.h (gettext): Likewise.
76204         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
76205         Remove declaration.
76206         * include/argz.h (__argz_count_internal)
76207         (__argz_stringify_internal): Remove declaration.
76208         (__argz_count, __argz_stringify): Declare hidden proto.
76209         * intl/dcgettext.c: Remove use of INTDEF.
76210         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
76211         * string/argz-stringify.c: Likewise.
76212         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
76213         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76214         Declare hidden proto.
76215         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
76216         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76217         Declare hidden proto.
76218         * include/stdio.h (__asprintf_internal): Don't declare.
76219         (__asprintf): Don't define as macro.  Declare hidden proto.
76220         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
76221         (__fsetlocking): Declare hidden proto.
76222         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
76223         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
76224         hidden proto.
76225         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
76226         (_IO_setlinebuf): Remove use of INTUSE.
76227         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
76228         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
76229         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
76230         Remove declaration.
76231         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
76232         (_IO_do_flush): Remove use of INTUSE.
76233         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
76234         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
76235         (_IO_adjust_column, _IO_least_wmarker)
76236         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
76237         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
76238         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
76239         (_IO_default_doallocate, _IO_wdefault_doallocate)
76240         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
76241         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
76242         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
76243         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
76244         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
76245         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
76246         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
76247         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
76248         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
76249         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
76250         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
76251         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
76252         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
76253         proto.
76254         (_IO_flush_all_internal, _IO_adjust_column_internal)
76255         (_IO_default_uflow_internal, _IO_default_finish_internal)
76256         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
76257         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
76258         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
76259         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
76260         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
76261         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
76262         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
76263         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
76264         (_IO_file_close_internal, _IO_file_close_it_internal)
76265         (_IO_file_underflow_internal, _IO_file_overflow_internal)
76266         (_IO_file_init_internal, _IO_file_attach_internal)
76267         (_IO_file_fopen_internal, _IO_file_read_internal)
76268         (_IO_file_sync_internal, _IO_file_seek_internal)
76269         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
76270         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
76271         (_IO_str_underflow_internal, _IO_str_overflow_internal)
76272         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
76273         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
76274         (_IO_list_all_internal, _IO_link_in_internal)
76275         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
76276         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
76277         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
76278         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
76279         (_IO_do_write_internal, _IO_padn_internal)
76280         (_IO_getline_info_internal, _IO_getline_internal)
76281         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
76282         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
76283         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
76284         (_IO_vfscanf_internal, _IO_vfprintf_internal)
76285         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
76286         (_IO_init_internal, _IO_un_link_internal): Don't declare.
76287         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
76288         with libc_hidden_ver, remove use of INTUSE.
76289         * libio/genops.c: Likewise.
76290         * libio/freopen.c: Likewise.
76291         * libio/freopen64.c: Likewise.
76292         * libio/iofclose.c: Likewise.
76293         * libio/iofdopen.c: Likewise.
76294         * libio/iofflush.c: Likewise.
76295         * libio/iofflush_u.c: Likewise.
76296         * libio/iofgets.c: Likewise.
76297         * libio/iofgets_u.c: Likewise.
76298         * libio/iofopen.c: Likewise.
76299         * libio/iofopncook.c: Likewise.
76300         * libio/iofread.c: Likewise.
76301         * libio/iofread_u.c: Likewise.
76302         * libio/ioftell.c: Likewise.
76303         * libio/iofwrite.c: Likewise.
76304         * libio/iogetline.c: Likewise.
76305         * libio/iogets.c: Likewise.
76306         * libio/iogetwline.c: Likewise.
76307         * libio/iopadn.c: Likewise.
76308         * libio/iopopen.c: Likewise.
76309         * libio/ioseekoff.c: Likewise.
76310         * libio/ioseekpos.c: Likewise.
76311         * libio/iosetbuffer.c: Likewise.
76312         * libio/iosetvbuf.c: Likewise.
76313         * libio/ioungetc.c: Likewise.
76314         * libio/ioungetwc.c: Likewise.
76315         * libio/iovdprintf.c: Likewise.
76316         * libio/iovsprintf.c: Likewise.
76317         * libio/iovsscanf.c: Likewise.
76318         * libio/memstream.c: Likewise.
76319         * libio/obprintf.c: Likewise.
76320         * libio/oldfileops.c: Likewise.
76321         * libio/oldiofclose.c: Likewise.
76322         * libio/oldiofdopen.c: Likewise.
76323         * libio/oldiofopen.c: Likewise.
76324         * libio/oldiopopen.c: Likewise.
76325         * libio/oldstdfiles.c: Likewise.
76326         * libio/putc.c: Likewise.
76327         * libio/setbuf.c: Likewise.
76328         * libio/setlinebuf.c: Likewise.
76329         * libio/stdfiles.c: Likewise.
76330         * libio/strops.c: Likewise.
76331         * libio/vasprintf.c: Likewise.
76332         * libio/vscanf.c: Likewise.
76333         * libio/vsnprintf.c: Likewise.
76334         * libio/vswprintf.c: Likewise.
76335         * libio/wfiledoalloc.c: Likewise.
76336         * libio/wfileops.c: Likewise.
76337         * libio/wgenops.c: Likewise.
76338         * libio/wmemstream.c: Likewise.
76339         * libio/wstrops.c: Likewise.
76340         * libio/__fpurge.c: Likewise.
76341         * libio/__fsetlocking.c: Likewise.
76342         * assert/assert.c: Likewise.
76343         * debug/fgets_chk.c: Likewise.
76344         * debug/fgets_u_chk.c: Likewise.
76345         * debug/fread_chk.c: Likewise.
76346         * debug/fread_u_chk.c: Likewise.
76347         * debug/gets_chk.c: Likewise.
76348         * debug/obprintf_chk.c: Likewise.
76349         * debug/vasprintf_chk.c: Likewise.
76350         * debug/vdprintf_chk.c: Likewise.
76351         * debug/vsnprintf_chk.c: Likewise.
76352         * debug/vsprintf_chk.c: Likewise.
76353         * malloc/mtrace.c: Likewise.
76354         * misc/error.c: Likewise.
76355         * misc/syslog.c: Likewise.
76356         * stdio-common/asprintf.c: Likewise.
76357         * stdio-common/fxprintf.c: Likewise.
76358         * stdio-common/getw.c: Likewise.
76359         * stdio-common/isoc99_fscanf.c: Likewise.
76360         * stdio-common/isoc99_scanf.c: Likewise.
76361         * stdio-common/isoc99_vfscanf.c: Likewise.
76362         * stdio-common/isoc99_vscanf.c: Likewise.
76363         * stdio-common/isoc99_vsscanf.c: Likewise.
76364         * stdio-common/printf-prs.c: Likewise.
76365         * stdio-common/printf_fp.c: Likewise.
76366         * stdio-common/printf_fphex.c: Likewise.
76367         * stdio-common/printf_size.c: Likewise.
76368         * stdio-common/putw.c: Likewise.
76369         * stdio-common/scanf.c: Likewise.
76370         * stdio-common/sprintf.c: Likewise.
76371         * stdio-common/tmpfile.c: Likewise.
76372         * stdio-common/vfprintf.c: Likewise.
76373         * stdio-common/vfscanf.c: Likewise.
76374         * stdlib/strfmon_l.c: Likewise.
76375         * sunrpc/openchild.c: Likewise.
76376         * sunrpc/xdr_stdio.c: Likewise.
76377         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
76378         * sysdeps/mach/hurd/tmpfile.c: Likewise.
76380 2012-05-24  Roland McGrath  <roland@hack.frob.com>
76382         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
76384         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
76385         in the third column, to generate for the shared library an IFUNC
76386         that uses _dl_vdso_vsym.
76387         * Makerules (COMPILE.c, compile-stdin.c): New variables.
76388         * Makeconfig (object-suffixes-noshared): New variable.
76390         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
76391         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
76392         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
76393         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
76395         [BZ #14132]
76396         * include/sys/time.h (__gettimeofday): Remove macro.
76397         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
76398         * time/gettimeofday.c (__gettimeofday): Remove #undef.
76399         Remove INTDEF.
76400         (__gettimeofday): Add libc_hidden_def.
76401         (gettimeofday): Add libc_hidden_weak.
76402         * sysdeps/mach/gettimeofday.c: Likewise.
76403         * sysdeps/posix/gettimeofday.c: Likewise.
76404         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
76405         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
76406         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
76407         (__gettimeofday_internal): Remove strong_alias.
76408         (__gettimeofday): Add libc_hidden_def.
76409         (gettimeofday): Add libc_hidden_weak.
76410         * sysdeps/unix/syscalls.list (gettimeofday):
76411         Remove __gettimeofday_internal alias.
76413 2012-05-24  Daniel Jacobowitz  <drow@false.org>
76414             H.J. Lu  <hongjiu.lu@intel.com>
76416         [BZ #12495]
76417         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
76418         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
76419         (largebin_index_32_big): New.
76420         (largebin_index): Use it for 16-byte alignment.
76421         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
76422         correction with front_misalign.
76424 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
76426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
76427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
76428         Likewise.
76429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
76430         Likewise.
76431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
76432         Likewise.
76433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
76434         Likewise.
76435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
76436         Likewise.
76437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
76438         Likewise.
76439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
76440         Likewise.
76441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
76442         Likewise.
76443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
76444         Likewise.
76445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
76446         Likewise.
76447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
76448         Likewise.
76449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
76450         Likewise.
76452         * scripts/data/c++-types-x32-linux-gnu.data: New file.
76453         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
76455 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76457         [BZ #10846]
76458         [BZ #14036]
76459         * math/libm-test.inc (exp_test): Add test from bug 14036.
76460         (pow_test): Add test from bug 10846.
76462         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
76463         and other flags.
76464         (special_function): Do not include flags in test name.
76465         (parse_args): Likewise.
76466         * sysdeps/i386/fpu/libm-test-ulps: Update.
76467         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76468         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
76469         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
76470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76472         * math/gen-libm-test.pl (%beautify): Add entries for underflow
76473         exceptions.
76474         * math/libm-test.inc ("Philosophy"): Update comment about
76475         exception testing.
76476         (UNDERFLOW_EXCEPTION): New macro.
76477         (UNDERFLOW_EXCEPTION_OK): Likewise.
76478         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
76479         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
76480         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
76481         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
76482         (INVALID_EXCEPTION_OK): Update value.
76483         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
76484         (OVERFLOW_EXCEPTION_OK): Likewise.
76485         (IGNORE_ZERO_INF_SIGN): Likewise.
76486         (test_exceptions): Handle underflow exceptions.
76487         (acos_test): Update for underflow exception expectations.
76488         (cexp_test): Likewise.
76489         (clog_test): Likewise.
76490         (clog10_test): Likewise.
76491         (csqrt_test): Likewise.
76492         (ctan_test): Likewise.
76493         (ctanh_test): Likewise.
76494         (exp_test): Likewise.
76495         (exp10_test): Likewise.
76496         (exp2_test): Likewise.
76497         (expm1_test): Likewise.
76498         (fma_test): Likewise.
76499         (j0_test): Likewise.
76500         (jn_test): Likewise.
76501         (nexttoward_test): Likewise.
76502         (pow_test): Likewise.
76503         (scalbn_test): Likewise.
76504         (scalbln_test): Likewise.
76505         (tan_test): Likewise.
76506         (y1_test): Likewise.
76507         * sysdeps/i386/fpu/libm-test-ulps: Update.
76508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76510 2012-05-23  David S. Miller  <davem@davemloft.net>
76512         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76513         (__libc_sigaction): Remove unused local variables.
76515 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
76517         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
76519 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
76521         mktime: avoid signed integer overflow
76522         * time/mktime.c (__mktime_internal): Do not mishandle the case
76523         where diff == INT_MIN.
76525         mktime: simplify computation of average
76526         * time/mktime.c (ranged_convert): Use new time_t_avg function
76527         instead of rolling our own (probably-slower) code.
76529         mktime: do not assume signed right shift propagates sign bit
76530         * time/mktime.c (isdst_differ): New static function.
76531         (__mktime_internal): No need to normalize tm_isdst now.
76532         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
76533         tm_isdst values.
76535         mktime: merge another wrapv change from gnulib
76536         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
76537         from some compilers.
76539         mktime: remove incorrect attempt at unusual arithmetics
76540         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
76541         The code didn't really work on such machines anyway.
76542         (TYPE_MINIMUM): Assume two's complement.
76543         (twos_complement_arithmetic): Verify that long_int and time_t
76544         are two's complement (or unsigned, in the latter case).
76546         mktime: check signed shifts on long_int and time_t, too
76547         * time/mktime.c (SHR): Check that shifts work as desired
76548         on the types long_int and time_t too, as SHR is used on
76549         such types.
76551         mktime: do not assume 'long' is wide enough
76552         * time/mktime.c (verify): Move decl up.
76553         (long_int): New type.
76554         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
76555         to remove assumption in the code that 'long' is wide enough to
76556         store year values.  This assumption is not true on x32 and on
76557         some non-glibc platforms.
76559         mktime: merge wrapv change from gnulib
76560         * time/mktime.c (WRAPV): New macro.
76561         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
76562         (guess_time_tm, __mktime_internal): Do not assume that signed
76563         integer overflow wraps around; modern compilers generate code
76564         where this assumption is no longer valid.
76566 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
76568         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
76569         Replace "jmp L(pseudo_end)" with "ret".
76570         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
76571         Likewise.
76573 2012-05-23  Andreas Jaeger  <aj@suse.de>
76575         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
76576         * sysdeps/unix/sysv/linux/poll.c: Remove file.
76578 2012-05-23  Andreas Jaeger  <aj@suse.de>
76579             Maximilian Attems  <max@stro.at>
76581         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
76582         New macros.
76584 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
76586         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
76587         code so that pseudo_end is just ret and the stack pointer is
76588         correct also for static library in error case.
76590 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
76592         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
76593         move to syscalls.list.
76594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
76595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
76596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
76597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
76599         * manual/install.texi (Running make install): Do not mention Linux
76600         kernel version for which pt_chown is not needed.
76601         (Linux): Do not mention problems with nscd with 2.0 kernels.
76602         * INSTALL: Regenerated.
76604 2012-05-23  Andreas Jaeger  <aj@suse.de>
76606         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
76607         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
76608         macro.
76609         * sysdeps/unix/sysv/linux/s390/bits/mman.h
76610         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76611         * sysdeps/unix/sysv/linux/sh/bits/mman.h
76612         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76613         * sysdeps/unix/sysv/linux/i386/bits/mman.h
76614         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76615         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
76616         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76617         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
76618         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76619         * sysdeps/unix/sysv/linux/bits/in.h
76620         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
76622 2012-05-22  Roland McGrath  <roland@hack.frob.com>
76624         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
76625         (PREPARE_VERSION): Just use assert instead, it will be elided
76626         under [NDEBUG] anyway.
76628 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76630         * sysdeps/unix/sysv/linux/Makefile: Include
76631         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
76632         (sysdep_routines): Remove sysctl.
76633         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
76634         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
76635         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
76636         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
76637         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
76639 2012-05-22  Andreas Jaeger  <aj@suse.de>
76641         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
76642         that pseudo_end is just ret and the stack pointer is correct also
76643         for static library in error case.
76645 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
76647         [BZ #14122]
76648         * nss/nsswitch.c (defconfig_entries): New variable.
76649         (__nss_database_lookup): Don't leak defconfig entries.
76650         (nss_parse_service_list): Don't leak on error paths.
76651         (free_database_entries): New function.
76652         (free_defconfig): New function.
76653         (free_mem): Move common code to free_database_entries.
76655 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76657         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
76658         Add arch_prctl.
76659         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
76661         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
76662         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
76663         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
76664         New macro.
76665         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
76666         (INTERNAL_SYSCALL_TYPES): Likewise.
76667         (LOAD_ARGS_TYPES_[1-6]): Likewise.
76668         (LOAD_REGS_TYPES_[1-6]): Likewise.
76669         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
76670         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
76672 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76674         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
76675         copysignl for GLIBC_2_0.
76676         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
76677         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
76678         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
76679         logbl for GLIBC_2_0.
76680         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
76681         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
76683 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76685         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
76686         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76688         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
76689         Use "neg %eax".
76691         * time/mktime.c: Update copyright years.
76693 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
76695         mktime: merge comment-quoting-style change from gnulib
76696         * time/mktime.c: Quote 'like this' in comments.
76697         The GNU coding standards suggest that we no longer quote `like this',
76698         as "`" and "'" are typically rendered asymmetrically nowadays.
76699         The typical gnulib style is to quote 'like this' when quoting
76700         code, and "like this" when quoting English.
76702         * time/mktime.c (compile-command): Add "-I.".
76704         mktime: merge mktime-internal.h change from gnulib
76705         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
76707         mktime: merge time_r change from gnulib
76708         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
76710         mktime: merge DEBUG change from gnulib
76711         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
76712         case system <time.h> has a #define.
76714         mktime: merge <sys/types.h> change from gnulib
76715         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
76716         since <time.t> is now guaranteed to define time_t.
76718         mktime: merge HAVE_CONFIG_H change from gnulib
76719         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
76721 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76723         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
76724         Use "neg %eax".
76726         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
76727         __rlim_t cast.
76728         (struct rusage): Use anonymous union to pad each field to
76729         __syscall_slong_t.
76731 2012-05-21  David S. Miller  <davem@davemloft.net>
76733         * Makefules (o-iterator): Remove .s cases.
76734         (compile-command.s): Delete.
76735         (COMPILE.s): Delete.
76736         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
76738 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
76740         * configure.in (libc_cv_predef_stack_protector): Only consider
76741         "foobar" and "__stack_chk_fail" lines in libc_undefs.
76742         * configure: Regenerated.
76744 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76746         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
76747         New macro.  Use R*LP on int and pointer.
76748         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
76749         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
76750         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
76751         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
76753         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
76754         [__WORDSIZE_TIME64_COMPAT32] instead of
76755         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
76756         (struct utmp): Likewise.
76757         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
76758         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
76759         Renamed to ...
76760         (__WORDSIZE_TIME64_COMPAT32): This.
76761         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
76762         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
76763         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
76764         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
76765         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
76766         (__WORDSIZE_TIME64_COMPAT32): New macro.
76768 2012-05-21  Andreas Jaeger  <aj@suse.de>
76770         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
76771         only if [SHARED]. Add prototype for __wcschr_ia32.
76773 2012-05-21  Roland McGrath  <roland@hack.frob.com>
76775         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
76776         of %rbp unmolested in the jmp_buf while mangling the low bits.
76777         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
76778         unmolested high bits of %rbp while demangling the low bits.
76779         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
76781 2012-05-21  Andreas Jaeger  <aj@suse.de>
76783         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
76784         * sunrpc/svc_simple.c: Use it for registerrpc.
76785         * sunrpc/xcrypt.c: Use it for passwd2des.
76787         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
76789 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76791         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
76792         Don't define if [__SYSCALL_WORDSIZE != 32].
76793         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
76794         New macro.
76796 2012-05-21  Bruno Haible  <bruno@clisp.org>
76797             Andreas Jaeger  <aj@suse.de>
76799         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
76800         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
76801         inptr and inend for must_buffer_ch.
76802         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
76803         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
76804         * stdio-common/Makefile (tests): Remove bug15.
76805         (bug15-ENV): Remove macro.
76806         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
76807         anymore.
76809 2012-05-19  Andreas Jaeger  <aj@suse.de>
76810             Roland McGrath  <roland@hack.frob.com>
76812         * manual/contrib.texi: Completely rewritten. It contains now an
76813         alphabetical list of contributors and their contributions.
76815 2012-05-21  Richard Henderson  <rth@twiddle.net>
76817         * misc/getauxval.c (__getauxval): Use unsigned long int.
76818         * misc/sys/auxv.h: Include <sys/cdefs.h>.
76819         (getauxval): Use unsigned long int.
76821 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76823         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
76825 2012-05-21  Roland McGrath  <roland@hack.frob.com>
76827         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
76828         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
76829         __alignof__ (long double).
76831 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76835 2012-05-20  Richard Henderson  <rth@twiddle.net>
76837         * misc/getauxval.c: New file.
76838         * misc/sys/auxv.h: New file.
76839         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
76840         (routines): Add getauxval.
76841         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
76842         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
76843         * elf/dl-sysdep.c (_dl_auxv): Remove.
76844         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
76845         * elf/dl-support.c (_dl_auxv): New variable.
76846         (_dl_aux_init): Initialize it.
76847         * manual/startup.texi (Auxiliary Vector): New node.
76848         * sysdeps/generic/bits/hwcap.h: New file.
76849         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
76850         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
76851         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
76852         * sysdeps/sparc/sysdep.h: ... here.  Include it.
76853         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
76854         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
76855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76856         Update.
76857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
76858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
76859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
76860         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
76861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
76862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
76863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
76864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
76866 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76870 2012-05-19  David S. Miller  <davem@davemloft.net>
76872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76874 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
76876         [BZ #14123]
76877         * math/s_ccosh.c: Include <float.h>
76878         (__ccosh): Avoid internal overflow calculating sinh and cosh
76879         values before multiplying by sin and cos values.
76880         * math/s_ccoshf.c: Likewise.
76881         * math/s_ccoshl.c: Likewise.
76882         * math/s_csin.c: Likewise.
76883         * math/s_csinf.c: Likewise.
76884         * math/s_csinl.c: Likewise.
76885         * math/s_csinh.c: Likewise.
76886         * math/s_csinhf.c: Likewise.
76887         * math/s_csinhl.c: Likewise.
76888         * math/libm-test.inc (ccos_test): Add more tests.
76889         (ccosh_test): Likewise.
76890         (csin_test): Likewise.
76891         (csinh_test): Likewise.
76892         * sysdeps/i386/fpu/libm-test-ulps: Update.
76893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76895 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
76897         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
76898         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
76900         * sysdeps/x86_64/x32/_itoa.h: Add comment.
76902 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
76904         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
76905         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
76906         * sysdeps/powerpc/soft-fp/Versions: Likewise.
76907         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
76908         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
76909         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
76910         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
76911         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
76912         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
76913         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
76914         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
76915         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
76916         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
76917         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
76918         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
76919         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
76920         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
76921         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
76922         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
76923         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
76924         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
76925         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
76926         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
76927         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
76928         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
76929         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
76930         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
76931         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
76932         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
76933         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
76934         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
76936 2012-05-18  Andreas Jaeger  <aj@suse.de>
76938         * csu/.gitignore: Delete.
76940 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76942         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
76943         (timex): Use __syscall_slong_t.
76945 2012-05-18  Andreas Jaeger  <aj@suse.de>
76946             Carlos O'Donell  <carlos_odonell@mentor.com>
76948         * manual/install.texi (Configuring and compiling): Update
76949         description about files modified in the source directory.
76950         * INSTALL: Regenerated.
76952 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76954         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
76955         value.  Use "or" to set return value to -1.
76956         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
76957         negate return value.
76959 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76961         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
76962         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
76963         failure if the compiler has Graphite support disabled.
76964         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
76965         Likewise.
76966         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
76967         (CFLAGS-memmove.c): Likewise.
76968         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
76969         Likewise.
76971 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76973         * sysdeps/x86_64/x32/_itoa.h: New file.
76975         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
76976         getdents system call only if kernel and user dirents have the
76977         same d_ino and d_off.
76979         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
76980         LLONG_MAX != LONG_MAX.
76981         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76982         (_fitoa_word): Likewise.
76984         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
76985         years.
76986         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
76987         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
76988         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
76990         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
76991         include <bits/wordsize.h>.  Check __x86_64__ instead of
76992         __WORDSIZE.
76993         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
76994         if __x86_64__ is defined.  Use anonymous union on fpstate.
76996         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
76997         anonymous union.
76999 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
77001         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
77002         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
77003         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
77004         Refer to _rtld_local_ro instead of _rtld_global_ro.
77005         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
77006         Likewise.
77007         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
77008         Likewise.
77009         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
77010         Likewise.
77011         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
77012         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
77013         of _rtld_global, and rtld_progname instead of _dl_argv[0].
77015         [BZ #10882]
77016         * sysdeps/powerpc/powerpc32/dl-machine.c
77017         (__elf_machine_runtime_setup) [PROF]: Don't reference
77018         _dl_prof_resolve.
77020 2012-05-18  Andreas Jaeger  <aj@suse.de>
77022         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
77023         function only available for GCCs before 3.4 since GCC 3.4
77024         introduced a builtin.
77025         (lrint): Likewise.
77026         (llrintf): Likewise.
77027         (llrint): Likewise.
77028         (fmaxf): Likewise.
77029         (fmax): Likewise.
77030         (fminf): Likewise.
77031         (fmin): Likewise.
77032         (rint): Likewise.
77033         (rintf): Likewise.
77034         (nearbyint): Likewise.
77035         (nearbyintf): Likewise.
77036         (ceil): Likewise.
77037         (ceilf): Likewise.
77038         (floor): Likewise.
77039         (floorf): Likewise.
77041 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77043         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
77044         on both fields and cast pointer to __syscall_ulong_t.
77046         * bits/types.h (__fsword_t): New type.
77047         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
77048         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
77049         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77050         (__FSWORD_T_TYPE): Likewise.
77051         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77052         (__FSWORD_T_TYPE): Likewise.
77053         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77054         (__FSWORD_T_TYPE): Likewise.
77055         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
77056         (__FSWORD_T_TYPE): Likewise.
77057         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
77058         __SWORD_TYPE with __fsword_t.
77059         (statfs64): Likewise.
77061 2012-05-17  David S. Miller  <davem@davemloft.net>
77063         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
77065 2012-05-17  Andreas Jaeger  <aj@suse.de>
77067         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
77068         warning.
77070 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77072         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
77074 2012-05-17  Andreas Jaeger  <aj@suse.de>
77076         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
77077         when it is used.
77079 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
77081         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
77083 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77085         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
77086         * sysdeps/x86_64/tst-mallocalign1.c: New file.
77088 2012-05-17  Andreas Jaeger  <aj@suse.de>
77089             Carlos O'Donell  <carlos_odonell@mentor.com>
77091         [BZ #14059]
77092         * sysdeps/x86_64/multiarch/init-arch.h
77093         (bit_YMM_Usable): Rename to...
77094         (bit_AVX_Usable): ... this.
77095         (bit_FMA4_Usable): New macro.
77096         (bit_XMM_state): New macro.
77097         (bit_YMM_state): New macro.
77098         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
77099         [__ASSEMBLER__] (index_AVX_Usable): ... this.
77100         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
77101         (CPUID_OSXSAVE): New macro.
77102         (CPUID_AVX): New macro.
77103         (CPUID_FMA4): New macro.
77104         (index_YMM_Usable): Rename to...
77105         (index_AVX_Usable): ... this.
77106         (HAS_AVX): Use HAS_ARCH_FEATURE.
77107         (HAS_FMA4): Likewise.
77108         (HAS_YMM_USABLE): Remove.
77109         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77110         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
77111         are present.
77112         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
77113         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
77114         * sysdeps/x86_64/multiarch/Makefile: Likewise.
77115         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
77116         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
77118 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
77120         * math/libm-test.c: Support platforms without multiple rounding modes.
77121         * math/bug-nextafter.c: Support platforms without FP exceptions.
77122         * math/bug-nexttoward.c: Likewise.
77123         * math/test-fenv.c: Likewise.
77124         * math/test-misc.c: Likewise.
77125         * stdlib/bug-getcontext.c: Likewise.
77127 2012-05-17  Andreas Jaeger  <aj@suse.de>
77129         * manual/examples/search.c (critter_cmp): Change signature to
77130         avoid warnings.
77131         * manual/string.texi (Collation Functions): Likewise.
77133 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77135         * bits/types.h: Fold copyright years.
77136         * bits/typesizes.h: Likewise.
77137         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
77138         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
77139         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
77140         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
77141         * time/time.h: Likewise.
77143 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
77145         [BZ #208]
77146         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
77147         in instead of returning them.  Return void.
77148         (__libc_mallinfo): Accumulate over all arenas.
77149         (__malloc_stats): Adjust for change in int_mallinfo interface.
77151 2012-05-16  Roland McGrath  <roland@hack.frob.com>
77153         [BZ #10375]
77154         * configure.in (NM): Add AC_CHECK_TOOL for it.
77155         (libc_extra_cflags): New substituted variable.
77156         Check for -fstack-protector being used implicitly.
77157         * configure: Regenerated.
77158         * config.make.in (config-extra-cflags): New variable,
77159         gets @libc_extra_cflags@.
77160         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
77162         [BZ #10375]
77163         * configure.in: Check for _FORTIFY_SOURCE being predefined.
77164         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
77165         * configure: Regenerated.
77166         * config.make.in (CPPUNDEFS): New substituted variable.
77167         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
77168         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
77169         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
77171 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77173         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
77174         (mq_attr): Use __syscall_slong_t.
77176 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77178         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
77179         Check __x86_64__ instead of __WORDSIZE.
77180         (_STAT_VER_LINUX): Likewise.
77181         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
77182         __syscall_ulong_t and __syscall_slong_t.
77183         (stat64): Likewise.
77185 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77187         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
77189 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77191         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
77193 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77195         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
77196         __syscall_ulong_t.
77198         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
77199         include <bits/wordsize.h>.  Check __x86_64__ instead of
77200         __WORDSIZE.
77201         (greg_t): Use "__extension__ long long int" if __x86_64__ is
77202         defined.
77203         (mcontext_t): Replace "unsigned long" with "unsigned long long".
77205         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
77206         include <bits/wordsize.h>.  Check __x86_64__ instead of
77207         __WORDSIZE.
77208         (user_regs_struct): Use "__extension__ unsigned long long"
77209         instead of "unsigned long" if __x86_64__ is defined.
77210         (user): Likewise.  Pad after pointer field if __ILP32__ is
77211         defined.
77213 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
77215         * configure.in (makeinfo): Require version 4.5 or later.  Allow
77216         versions 5 to 9.
77217         * configure: Regenerated.
77218         * manual/install.texi (texinfo): Increase version requirement to
77219         4.5 or later.
77220         * INSTALL: Regenerated.
77222         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
77224 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77226         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
77228         * sysdeps/x86_64/x32/ffs.c: New file.
77230         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
77231         __syscall_ulong_t.
77232         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
77233         defined.  Use __syscall_ulong_t.
77234         (shminfo): Use __syscall_ulong_t.
77235         (shm_info): Likewise.
77237         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
77238         __syscall_ulong_t.
77240         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
77241         <bits/wordsize.h>.
77242         (msgqnum_t): Use __syscall_ulong_t.
77243         (msglen_t): Likewise.
77244         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
77245         __syscall_ulong_t.
77247         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
77248         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77250         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
77252         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
77253         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
77255         * sysvipc/sys/msg.h (msgbuf): Replace long int with
77256         __syscall_slong_t.
77258         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
77259         include <bits/wordsize.h>.  Check __x86_64__ instead of
77260         __WORDSIZE.
77262         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
77263         "unsigned long long int" if __x86_64__ is defined.
77264         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
77266         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
77267         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77268         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
77270         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
77271         <stdint.h>.
77272         (GET_PC): Cast to uintptr_t first.
77273         (GET_FRAME): Likewise.
77274         (GET_STACK): Likewise.
77276         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
77277         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
77278         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
77279         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
77280         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
77281         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
77282         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
77283         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
77284         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
77285         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
77286         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
77287         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
77288         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77289         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
77290         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
77291         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
77292         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
77293         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
77294         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
77295         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
77296         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
77297         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
77298         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
77299         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
77300         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
77301         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
77302         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
77303         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
77304         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
77306 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
77308         * Makerules (+depfiles): Also collect depfiles from .oS in
77309         $(extra-objs).
77310         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
77311         .oS, $(libnldbl-routines)).
77313         * Makerules (native-compile-mkdep-flags): Define.
77314         * sunrpc/Makefile (extra-objs): Add $(addprefix
77315         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
77316         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
77317         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
77318         calling $(make-target-directory).
77320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77322         * bits/types.h (__snseconds_t): Removed.
77323         * time/time.h (struct timespec): Replace __snseconds_t with
77324         __syscall_slong_t.
77325         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
77326         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
77327         Likewise.
77328         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77329         (__SNSECONDS_T_TYPE): Likewise.
77330         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77331         (__SNSECONDS_T_TYPE): Likewise.
77332         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77333         (__SNSECONDS_T_TYPE): Likewise.
77335 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77337         * sysdeps/mach/hurd/bits/typesizes.h
77338         (__SYSCALL_SLONG_TYPE): New macro.
77339         (__SYSCALL_ULONG_TYPE): Likewise.
77341 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77343         * bits/types.h (__syscall_slong_t): New type.
77344         (__syscall_ulong_t): Likewise.
77346         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
77347         (__SYSCALL_ULONG_TYPE): Likewise.
77348         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77349         (__SYSCALL_SLONG_TYPE): Likewise.
77350         (__SYSCALL_ULONG_TYPE): Likewise.
77351         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77352         (__SYSCALL_SLONG_TYPE): Likewise.
77353         (__SYSCALL_ULONG_TYPE): Likewise.
77354         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77355         (__SYSCALL_SLONG_TYPE): Likewise.
77356         (__SYSCALL_ULONG_TYPE): Likewise.
77358 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77360         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
77361         Add sigaltstack-offsets.sym.
77362         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
77363         <sigaltstack-offsets.h>.
77364         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
77365         longjmp_msg pointer.
77366         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
77367         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
77368         signal stack.
77369         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
77371 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
77373         * elf/stackguard-macros.h: Remove file.
77374         * sysdeps/generic/stackguard-macros.h: New file.
77375         * sysdeps/i386/stackguard-macros.h: Likewise.
77376         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
77377         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
77378         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
77379         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
77380         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
77381         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
77382         * sysdeps/x86_64/stackguard-macros.h: Likewise.
77383         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
77384         <elf/stackguard-macros.h>.
77386         [BZ #14109]
77387         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
77388         __aligned__ in attribute.
77389         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
77390         (gregset_t): Likewise.
77392 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77394         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
77395         * sysdeps/x86_64/64/Implies-after: Here.  New file.
77396         * sysdeps/x86_64/x32/Implies-after: New file.
77398 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77400         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
77401         and access return value for _dl_profile_fixup.  Use R10_LP to
77402         load frame size.
77404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77406         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
77408 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77410         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
77411         * sysdeps/x86_64/x32/sysdep.h: New file.
77413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77415         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
77416         * sysdeps/x86_64/setjmp.S: Likewise.
77418 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77420         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
77421         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
77422         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
77423         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
77424         remove unused global constant.
77426 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
77428         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
77429         include of <not-cancel.h>.
77431 2012-05-15  Roland McGrath  <roland@hack.frob.com>
77433         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
77435 2012-05-15  Jeff Law  <law@redhat.com>
77436             Andreas Jaeger  <aj@suse.de>
77438         [BZ #13594]
77439         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
77440         out from...
77441         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
77442         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
77443         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
77444         code changing __hst_map_handle.map.
77446 2012-05-15  Roland McGrath  <roland@hack.frob.com>
77448         * configure.in (sysnames): Look for Implies-before and Implies-after
77449         files.
77450         * configure: Regenerated.
77452 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77454         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
77455         8-byte data alignment with LP_SIZE alignment.
77457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77459         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
77460         into R10_LP.
77462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77464         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
77466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77468         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
77469         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
77470         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
77471         Likewise.
77472         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77474 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77476         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
77477         (stackinfo_sub_sp): Likewise.
77479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77481         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
77482         RAX_LP.
77484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77486         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
77487         into R*_LP.
77489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77491         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
77492         sizes into R*_LP.
77494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77496         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
77498 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77500         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
77501         into R11_LP and load __x86_64_shared_cache_size_half into
77502         R8_LP.
77504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77506         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
77507         R8_LP.
77509 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77511         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
77512         logb for POWER7.
77513         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
77514         logbf for POWER7.
77515         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
77516         logbl for POWER7.
77517         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
77518         powerpc32/power7/fpu/s_logb.c via #include.
77519         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
77520         powerpc32/power7/fpu/s_logbf.c via #include.
77521         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
77522         powerpc32/power7/fpu/s_logbl.c via #include.
77524 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
77526         * README.libm: Remove file.
77528 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77530         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
77531         count for x32.  Use R*_LP and omit operand-size suffix.
77533 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77535         * shlib-versions: Move x86_64-.*-linux.* entries to ...
77536         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
77537         * sysdeps/x86_64/x32/shlib-versions: New file.
77539 2012-05-14  Roland McGrath  <roland@hack.frob.com>
77541         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
77542         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
77543         Use _dl_fatal_printf instead.
77545 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
77547         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
77548         set if not set by the user.  Do not allow for being unset.
77549         * sysdeps/unix/sysv/linux/configure: Regenerated.
77551 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77553         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
77554         the `q' suffix from lea and replace .quad with ASM_ADDR.
77556 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77558         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
77559         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
77560         instead of $17.
77561         (PTR_DEMANGLE): Likewise.
77563 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77565         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
77566         (LP_OP): Likewise.
77567         (ASM_ADDR): Likewise.
77568         (RAX_LP): Likewise.
77569         (RBP_LP): Likewise.
77570         (RBX_LP): Likewise.
77571         (RCX_LP): Likewise.
77572         (RDI_LP): Likewise.
77573         (RSI_LP): Likewise.
77574         (RSP_LP): Likewise.
77575         (R8_LP): Likewise.
77576         (R9_LP): Likewise.
77577         (R10_LP): Likewise.
77578         (R10_LP): Likewise.
77579         (R11_LP): Likewise.
77580         (R12_LP): Likewise.
77581         (R13_LP): Likewise.
77582         (R14_LP): Likewise.
77583         (R15_LP): Likewise.
77585 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77587         * sysdeps/x86_64/x32/dl-machine.h: New file.
77589 2012-05-14  Andreas Jaeger  <aj@suse.de>
77591         * manual/Makefile (subdir): Remove export of subdir.
77592         (all): Remove target.
77593         (.PHONY): Remove all from list.
77594         (mkinstalldirs): Remove.
77595         (.PHONY): Remove installdirs from list.
77596         ($(inst_infodir)/libc.info): Use make-target-directory.
77597         (installdirs): Remove.
77598         (subdir_%): Remove.
77599         (glibc-targets): Remove.
77600         (lib): Remove.
77601         (stubs): Remove.
77602         ($(objpfx)stubs ../po/manual.pot): Remove.
77603         ($(objpfx)stamp%): Remove.
77604         (make-target-directory): Remove.
77605         (subdir_install): Remove.
77606         (routines): Remove.
77607         (aux): Remove.
77608         (sources): Remove.
77609         (objects): Remove.
77610         (headers): Remove.
77612         [BZ #13750]
77613         * manual/.gitignore: Remove, it's not needed anymore.
77614         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
77615         all files in it.
77616         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
77617         directory.
77618         (texis): Renamed to $(objpfx)texis.
77619         (texis-path): New, contains path to generated files.
77620         (chapters.%): Use texis-path for complete path, add extra argument
77621         libc-texinfo.sh.
77622         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
77623         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
77624         (summary,texi, stamp-summary): Use complete path of
77625         files. Generate files in build dir.
77626         (dir-add.texi): Build in build dir.
77627         (libm-err.texi,stamp-libm-err): Likewise.
77628         (version.texi, stamp-version): Likewise.
77629         (.%c.texi): Likewise.
77630         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
77631         (mostlyclean): Remove target.
77632         (realclean): Remove target.
77633         (generated): Add new variable with contents from mostlyclean and
77634         realclean, remove entries duplicated in common-mostlyclean, add
77635         stamp-libm-err and stamp-version.
77636         (generated-dirs): Add libc directory.
77637         ($(inst_infodir)/libc.info): Install files from build dir.
77639         * manual/install.texi (Configuring and compiling): Adjust since
77640         the info files are not part of the tar ball anymore.
77642 2012-05-14  Andreas Jaeger  <aj@suse.de>
77644         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
77645         variable.
77647 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
77649         [BZ #13717]
77650         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77651         to 2.2.0 where earlier.
77652         * sysdeps/unix/sysv/linux/configure: Regenerated.
77653         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
77654         Remove conditional code.
77655         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
77656         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
77657         Remove conditional code.
77658         [!__NR_lchown]: Likewise.
77659         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
77660         [__NR_lchown]: Likewise.
77661         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
77662         comment referencing __ASSUME_LCHOWN_SYSCALL.
77663         * sysdeps/unix/sysv/linux/i386/sigaction.c
77664         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77665         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77666         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
77667         Remove conditional code.
77668         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
77669         (__protocol_available): Remove #if 0 code.
77670         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
77671         conditional code.
77672         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
77673         * sysdeps/unix/sysv/linux/kernel-features.h
77674         (__ASSUME_GETCWD_SYSCALL): Don't define.
77675         (__ASSUME_REALTIME_SIGNALS): Likewise.
77676         (__ASSUME_PREAD_SYSCALL): Likewise.
77677         (__ASSUME_PWRITE_SYSCALL): Likewise.
77678         (__ASSUME_POLL_SYSCALL): Likewise.
77679         (__ASSUME_LCHOWN_SYSCALL): Likewise.
77680         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
77681         non-SPARC.
77682         (__ASSUME_SIOCGIFNAME): Don't define.
77683         (__ASSUME_MSG_NOSIGNAL): Likewise.
77684         (__ASSUME_SENDFILE): Define unconditionally.
77685         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
77686         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
77687         conditional code.
77688         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
77689         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
77690         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
77691         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
77692         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
77693         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
77694         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
77695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
77696         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77697         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
77699         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77700         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
77702         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77703         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
77705         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77706         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
77708         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77709         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
77711         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77712         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
77714         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77715         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
77717         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77718         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77719         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
77720         Remove conditional code.
77721         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77722         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
77723         Remove conditional code.
77724         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77725         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
77726         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
77727         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
77728         Remove conditional code.
77729         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77730         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
77731         Remove conditional code.
77732         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77733         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
77734         Remove conditional code.
77735         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77736         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
77737         Remove conditional code.
77738         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77739         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
77740         Remove conditional code.
77741         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77742         * sysdeps/unix/sysv/linux/sh/pwrite64.c
77743         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77744         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77745         * sysdeps/unix/sysv/linux/sigaction.c
77746         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77747         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77748         * sysdeps/unix/sysv/linux/sigpending.c
77749         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77750         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77751         * sysdeps/unix/sysv/linux/sigprocmask.c
77752         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77753         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77754         * sysdeps/unix/sysv/linux/sigsuspend.c
77755         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77756         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77757         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
77758         (__libc_missing_rt_sigs): Remove.
77759         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
77760         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
77761         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
77762         Remove conditional code.
77763         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
77764         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
77765         return 1.
77766         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
77767         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
77768         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
77769         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
77771 2012-05-14  Andreas Jaeger  <aj@suse.de>
77773         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
77774         it's not used in glibc.
77775         (__coshm1): Likewise.
77776         (__acosh1p): Likewise.
77777         (__sgn): Likewise.
77779         * manual/string.texi (Copying and Concatenation): Add missing
77780         variable in concat example.
77781         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
77783 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77785         [BZ #14103]
77786         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
77787         __builtin_clzl with __builtin_clzll.
77789 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77791         [BZ #14104]
77792         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
77793         libc_freeres_ptr.
77795 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77797         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
77798         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
77799         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
77800         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
77802 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
77804         * NEWS: Update ia64 info.
77806 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
77808         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
77809         used as bcopy.
77811 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
77813         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
77814         * sysdeps/unix/syscalls.list (dup3): Likewise.
77815         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
77816         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
77818 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
77820         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
77821         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
77823 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
77825         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
77826         thread pointer.
77827         (TLS_IE): Use mov/add instead of movq/addq to load thread
77828         pointer.
77829         (TLS_GD_PREFIX): New.
77830         (TLS_GD): Use it.
77832 2012-05-11  David S. Miller  <davem@davemloft.net>
77834         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
77835         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
77836         (_FPU_SETCW): Likewise.
77838 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77840         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
77841         is 32-byte aligned.
77843 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
77845         [BZ #11837]
77846         * iconvdata/gb18030.c: Update tables.
77847         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
77848         characters specially.
77849         (BODY for TO_LOOP): Add encoding of missing ranges.
77851 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
77853         [BZ #13673]
77854         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
77855         * sysdeps/mach/hurd/dup3.c: Likewise.
77856         * sysdeps/mach/hurd/readlinkat.c: Likewise.
77857         * sysdeps/powerpc/memmove.c:: Likewise.
77859 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77861         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
77862         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
77864 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77866         * elf/elf.h (R_X86_64_RELATIVE64): New.
77867         (R_X86_64_NUM): Updated.
77868         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
77869         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
77870         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
77871         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
77872         tst-quad1pie tst-quad2pie
77873         (modules-names): Add tst-quadmod1 tst-quadmod2.
77874         ($(objpfx)tst-quad1): New dependency.
77875         ($(objpfx)tst-quad2): Likewise.
77876         ($(objpfx)tst-quad1pie): Likewise.
77877         ($(objpfx)tst-quad2pie): Likewise.
77878         * sysdeps/x86_64/tst-quad1.c: New file.
77879         * sysdeps/x86_64/tst-quad1pie.c: New file.
77880         * sysdeps/x86_64/tst-quad2.c: Likewise.
77881         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
77882         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
77883         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
77884         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
77885         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
77887 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77889         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
77890         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
77891         * streams/stropts.h (t_scalar_t): Define type.
77893         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
77894         (_PATH_PRESERVE): Set to "/var/lib".
77895         (_PATH_RWHODIR): Set to "/var/spool/rwho".
77897         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
77898         instead of int.
77900         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
77901         if __dir_mkfile succeeded.
77903         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
77904         checking for _hurd_dtablesize.  Unlock it right after having
77905         finished _hurd_dtable allocation.
77907 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77909         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
77910         * sysdeps/mach/hurd/configure: Regenerated.
77911         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
77912         special-casing to...
77913         * sysdeps/gnu/configure.in: ... this new file.
77914         * sysdeps/unix/sysv/linux/configure: Regenerated.
77915         * sysdeps/gnu/configure: New generated file.
77917         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
77918         for Linux: use nsec instead of usec, as well as:
77919         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
77920         members of type struct timespec.
77921         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
77922         New macros.
77923         (struct stat64): Likewise.
77924         (_STATBUF_ST_NSEC): New macro.
77925         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
77927         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77928         __strtoul_internal rather than strtoul.
77930 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77932         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
77933         and reject them.
77935 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77937         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
77938         which preserves existing values.
77939         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
77941 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77943         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
77944         TIMEOUT values.  Return EINVAL for NFDS values either negative or
77945         greater than FD_SETSIZE.
77947 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77949         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
77950         allocated, call __vm_protect to finish enabling the existing space, and
77951         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
77952         allocate the remainder.
77954 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77956         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
77957         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
77959 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77961         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
77962         sysdeps/mach/hurd/readlink.c.
77964         * posix/tst-sysconf.c (posix_options): Only use
77965         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
77966         _POSIX_SYNCHRONIZED_IO when they are defined
77967         * sysdeps/mach/hurd/bits/posix_opt.h:
77968         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
77969         (_XOPEN_REALTIME): Undefine macro.
77970         (_XOPEN_REALTIME_THREADS): Undefine macro.
77971         (_XOPEN_SHM): Undefine macro.
77972         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
77973         macro to -1.
77974         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
77975         macro to -1.
77976         (_POSIX_ASYNC_IO): Undefine macro.
77977         (_POSIX_PRIORITIZED_IO): Undefine macro.
77978         (_POSIX_SPIN_LOCKS): Define macro to -1.
77980         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
77981         SA_NODEFER, SA_RESETHAND.
77982         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
77983         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
77984         F_DUPFD_CLOEXEC.
77986 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77988         * elf/Makefile (pldd-modules): Define unconditionally.
77990 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77992         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
77994 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77996         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
77997         Return ENOENT when name is empty.
77998         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
78000 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78002         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
78004         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
78006 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78008         Fix mlock in all cases except non-readable pages.
78009         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
78010         instead of VM_PROT_ALL as parameter to __vm_wire function.
78012         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
78013         (__mkdir): When path is `/', just fail with EEXIST.
78014         * sysdeps/mach/hurd/mkdirat.c: Likewise.
78016 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78018         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
78019         <sys/uio.h> (for writev).
78020         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
78021         and <sys/param.h> (for MIN).
78023 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78025         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
78026         REQUESTED_TIME.  Properly set the remaining time and return EINTR
78027         if interrupted.
78029 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78031         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
78032         Depend on against $(link-rpcuserlibs).
78034 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78036         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
78037         (__libc_stack_end): Do not use attribute_relro.
78038         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
78039         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
78040         to libthread-provided value.
78041         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
78042         attribute_relro.
78044 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78046         [BZ #3748]
78047         * bits/libc-lock.h (__libc_once_get): New macro.
78048         * sysdeps/mach/bits/libc-lock.h: Likewise.
78049         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
78050         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
78051         instead of using implementation details.
78053         * libio/fileops.c: Unconditionally include <kernel-features.h>.
78054         * libio/freopen.c: Likewise.
78055         * libio/freopen64.c: Likewise.
78056         * misc/syslog.c: Likewise.
78057         * nscd/connections.c: Likewise.
78058         * nscd/netgroupcache.c: Likewise.
78059         * sysdeps/posix/getcwd.c: Likewise.
78061 2012-05-10  Roland McGrath  <roland@hack.frob.com>
78063         * math/w_ilogbf.c: Add #include <limits.h>.
78065 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78067         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
78068         path instead of returning without unlocking.
78070         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
78071         immediate-write ioctls.
78072         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
78074 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78076         * sysdeps/mach/hurd/i386/init-first.c (init): Use
78077         __builtin_frame_address instead of making assumptions about the
78078         location of the return address relative to DATA.  Force early load of
78079         the return address.
78080         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
78081         __builtin_frame_address.
78083         dup3 for GNU Hurd.
78084         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
78085         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
78086         implement dup3 and do some further code clean-ups.
78087         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
78088         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
78090 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78092         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
78094         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
78095         HURD_CRITICAL_END around holding _hurd_dtable_lock.
78096         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
78097         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
78098         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
78099         d->port.lock.
78101         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
78102         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
78103         when handler == SIG_ERR, not when handler != SIG_ERR.
78105 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78107         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
78108         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
78109         definitions.
78111         accept4 for GNU Hurd.
78112         * include/sys/socket.h (__libc_accept4): New prototype.
78113         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
78114         to implement __libc_accept4.
78115         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
78116         __libc_accept4.
78117         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
78119         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
78120         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
78121         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
78122         signal-defines.sym.
78124 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78126         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
78128 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78130         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
78131         assertion on O_CLOEXEC flag.
78132         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
78133         * hurd/intern-fd.c: Likewise.
78134         * hurd/port2fd.c: Likewise.
78136 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78138         [BZ #3906]
78139         * bits/in.h (IPV6_PKTINFO): Define new macro.
78140         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
78142 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78144         [BZ #13954]
78145         [BZ #13955]
78146         [BZ #13956]
78147         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
78148         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
78149         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
78150         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78151         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
78152         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
78153         * math/libm-test.inc (logb_test) : Additional logb tests.
78155 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
78156             Andreas Jaeger  <aj@suse.de>
78158         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
78159         * configure: Regenerated.
78160         * config.h.in (LINK_OBSOLETE_RPC): New macro.
78161         * config.make.in (link-obsolete-rpc): New substituted variable.
78162         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
78163         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
78164         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
78165         (shared-only-routines): Don't set it under [link-obsolete-rpc],
78166         so that libc.a contains the symbols.
78167         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
78168         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
78169         * sunrpc/auth_none.c: Likewise.
78170         * sunrpc/auth_unix.c: Likewise.
78171         * sunrpc/authdes_prot.c: Likewise.
78172         * sunrpc/authuxprot.c: Likewise.
78173         * sunrpc/clnt_gen.c: Likewise.
78174         * sunrpc/clnt_perr.c: Likewise.
78175         * sunrpc/clnt_raw.c: Likewise.
78176         * sunrpc/clnt_simp.c: Likewise.
78177         * sunrpc/clnt_tcp.c: Likewise.
78178         * sunrpc/clnt_udp.c: Likewise.
78179         * sunrpc/clnt_unix.c: Likewise.
78180         * sunrpc/des_crypt.c: Likewise.
78181         * sunrpc/des_soft.c: Likewise.
78182         * sunrpc/get_myaddr.c: Likewise.
78183         * sunrpc/key_call.c: Likewise.
78184         * sunrpc/key_prot.c: Likewise.
78185         * sunrpc/netname.c: Likewise.
78186         * sunrpc/pm_getmaps.c: Likewise.
78187         * sunrpc/pm_getport.c: Likewise.
78188         * sunrpc/pmap_clnt.c: Likewise.
78189         * sunrpc/pmap_prot.c: Likewise.
78190         * sunrpc/pmap_prot2.c: Likewise.
78191         * sunrpc/pmap_rmt.c: Likewise.
78192         * sunrpc/publickey.c: Likewise.
78193         * sunrpc/rpc_cmsg.c: Likewise.
78194         * sunrpc/rpc_common.c: Likewise.
78195         * sunrpc/rpc_dtable.c: Likewise.
78196         * sunrpc/rpc_prot.c: Likewise.
78197         * sunrpc/rpc_thread.c: Likewise.
78198         * sunrpc/rtime.c: Likewise.
78199         * sunrpc/svc.c: Likewise.
78200         * sunrpc/svc_auth.c: Likewise.
78201         * sunrpc/svc_raw.c: Likewise.
78202         * sunrpc/svc_run.c: Likewise.
78203         * sunrpc/svc_tcp.c: Likewise.
78204         * sunrpc/svc_udp.c: Likewise.
78205         * sunrpc/svc_unix.c: Likewise.
78206         * sunrpc/svcauth_des.c: Likewise.
78207         * sunrpc/xcrypt.c: Likewise.
78208         * sunrpc/xdr.c: Likewise.
78209         * sunrpc/xdr_array.c: Likewise.
78210         * sunrpc/xdr_float.c: Likewise.
78211         * sunrpc/xdr_intXX_t.c: Likewise.
78212         * sunrpc/xdr_mem.c: Likewise.
78213         * sunrpc/xdr_rec.c: Likewise.
78214         * sunrpc/xdr_ref.c: Likewise.
78215         * sunrpc/xdr_sizeof.c: Likewise.
78216         * sunrpc/xdr_stdio.c: Likewise.
78218 2012-05-10  Roland McGrath  <roland@hack.frob.com>
78220         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
78221         change.  Update copyright years.
78223 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
78225         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
78227 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
78228             Joseph Myers  <joseph@codesourcery.com>
78229             Paul Pluzhnikov  <ppluzhnikov@google.com>
78231         [BZ #14012]
78232         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
78233         requiring rpcgen.
78234         [cross-compiling] (extra-libs): Likewise.
78235         [cross-compiling] (extra-libs-others): Likewise.
78236         [cross-compiling] (librpcsvc-routines): Likewise.
78237         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
78238         [cross-compiling] (omit-deps): Likewise.
78239         (sunrpc-CPPFLAGS): New variable.
78240         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
78241         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
78242         (cross-rpcgen-objs): New variable.
78243         (extra-objs): Append $(cross-rpcgen-objs).
78244         ($(cross-rpcgen-objs)): New rule.
78245         ($(objpfx)cross-rpcgen): Likewise.
78246         (rpcgen-cmd): Define to use $(built-program-file).  Expand
78247         comment.
78248         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
78249         ($(objpfx)x%.stmp): Likewise.
78250         * sunrpc/proto.h [IS_IN_build] (_): Define.
78251         [IS_IN_build] (_libc_intl_domainname): Likewise.
78253 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78255         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
78256         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
78257         and R_X86_64_TPOFF64.
78259 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
78261         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
78262         sysdeps/unix/sysv/syscalls.list.
78263         (stime): Likewise.
78264         (utime): Likewise.
78265         * sysdeps/unix/sysv/syscalls.list: Remove file.
78267 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
78269         [BZ #3440]
78270         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
78271         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
78272         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
78273         (__LC_IDENTIFICATION): Make these macros useful in #if
78274         expressions, as required by C99.
78276 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
78278         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
78279         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
78280         after this.
78282 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
78284         * stdlib/longlong.h: Updated from GCC.
78286 2012-05-09  Andreas Jaeger  <aj@suse.de>
78288         * nscd/nscd.c (run_modes): Make named enum, reorder so that
78289         default is first entry.
78290         (run_mode): Set type.
78291         (main): Remove informal message about syslog.
78292         (options): Fix typo.
78294         [BZ #14053]
78295         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
78296         to asm.
78297         (lrint): Likewise.
78298         (llrintf): Likewise.
78299         (llrint): Likewise.
78300         (rint): Likewise.
78301         (rintf): Likewise.
78302         (nearbyint): Likewise.
78303         (nearbyintf): Likewise.
78305 2012-05-09  Andreas Jaeger  <aj@suse.de>
78306             Pedro Alves  <palves@redhat.com>
78308         * nscd/nscd.c (run_mode): Use enum.
78309         (main): Cleanup coding style issue.
78311 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
78312             Andreas Jaeger  <aj@suse.de>
78314         * nscd/nscd.c (go_background): Replaced with...
78315         (run_mode): ... this.
78316         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
78317         (options): Add -F --foreground.
78318         (main): Implement it.
78319         (parse_opt): Parse it.
78321 2012-05-09  Andreas Jaeger  <aj@suse.de>
78323         [BZ #14083]
78324         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
78325         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
78326         -Wconversion warning.
78327         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
78328         Likewise.
78330 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
78332         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
78333         == 0.
78334         (LC_ALL): Use macro-int-constant.
78335         (LC_COLLATE): Likewise.
78336         (LC_CTYPE): Likewise.
78337         (LC_MESSAGES): Likewise.
78338         (LC_MONETARY): Likewise.
78339         (LC_NUMERIC): Likewise.
78340         (LC_TIME): Likewise.
78341         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
78342         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
78343         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78344         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
78345         Specify type.
78346         [C99-based standards] (float_t): Expect type.
78347         [C99-based standards] (double_t): Expect type.
78348         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
78349         type.
78350         [C99-based standards] (HUGE_VALL): Likewise.
78351         [C99-based standards] (INFINITY): Likewise.
78352         [C99-based standards] (NAN): Likewise.
78353         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
78354         [C99-based standards] (FP_NAN): Likewise.
78355         [C99-based standards] (FP_NORMAL): Likewise.
78356         [C99-based standards] (FP_SUBNORMAL): Likewise.
78357         [C99-based standards] (FP_ZERO): Likewise.
78358         [C99-based standards] (FP_FAST_FMA): Use
78359         optional-macro-int-constant.  Specify type.  Require == 1.
78360         [C99-based standards] (FP_FAST_FMAF): Likewise.
78361         [C99-based standards] (FP_FAST_FMAL): Likewise.
78362         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
78363         [C99-based standards] (FP_ILOGBNAN): Likewise.
78364         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
78365         Specify type.
78366         [C99-based standards] (MATH_ERREXCEPT): Likewise.
78367         [C99-based standards] (math_errhandling): Specify type.
78368         [ISO99 || ISO11] (signgam): Do not allow.
78369         [non-C99-based standards] (copysignf): Do not allow.
78370         [non-C99-based standards] (exp2f): Likewise.
78371         [non-C99-based standards] (log2f): Likewise.
78372         [non-C99-based standards] (modff): Allow.
78373         [non-C99-based standards] (erff): Do not allow.
78374         [non-C99-based standards] (erfcf): Likewise.
78375         [non-C99-based standards] (gammaf): Likewise.
78376         [non-C99-based standards] (hypotf): Likewise.
78377         [non-C99-based standards] (j0f): Likewise.
78378         [non-C99-based standards] (j1f): Likewise.
78379         [non-C99-based standards] (jnf): Likewise.
78380         [non-C99-based standards] (lgammaf): Likewise.
78381         [non-C99-based standards] (tgammaf): Likewise.
78382         [non-C99-based standards] (y0f): Likewise.
78383         [non-C99-based standards] (y1f): Likewise.
78384         [non-C99-based standards] (ynf): Likewise.
78385         [non-C99-based standards] (isnanf): Likewise.
78386         [non-C99-based standards] (acoshf): Likewise.
78387         [non-C99-based standards] (asinhf): Likewise.
78388         [non-C99-based standards] (atanhf): Likewise.
78389         [non-C99-based standards] (cbrtf): Likewise.
78390         [non-C99-based standards] (expm1f): Likewise.
78391         [non-C99-based standards] (ilogbf): Likewise.
78392         [non-C99-based standards] (log1pf): Likewise.
78393         [non-C99-based standards] (logbf): Likewise.
78394         [non-C99-based standards] (nextafterf): Likewise.
78395         [non-C99-based standards] (remainderf): Likewise.
78396         [non-C99-based standards] (rintf): Likewise.
78397         [non-C99-based standards] (scalbf): Likewise.
78398         [non-C99-based standards] (copysignl): Likewise.
78399         [non-C99-based standards] (exp2l): Likewise.
78400         [non-C99-based standards] (log2l): Likewise.
78401         [non-C99-based standards] (modfl): Allow.
78402         [non-C99-based standards] (erfl): Do not allow.
78403         [non-C99-based standards] (erfcl): Likewise.
78404         [non-C99-based standards] (gammal): Likewise.
78405         [non-C99-based standards] (hypotl): Likewise.
78406         [non-C99-based standards] (j0l): Likewise.
78407         [non-C99-based standards] (j1l): Likewise.
78408         [non-C99-based standards] (jnl): Likewise.
78409         [non-C99-based standards] (lgammal): Likewise.
78410         [non-C99-based standards] (tgammal): Likewise.
78411         [non-C99-based standards] (y0l): Likewise.
78412         [non-C99-based standards] (y1l): Likewise.
78413         [non-C99-based standards] (ynl): Likewise.
78414         [non-C99-based standards] (isnanl): Likewise.
78415         [non-C99-based standards] (acoshl): Likewise.
78416         [non-C99-based standards] (asinhl): Likewise.
78417         [non-C99-based standards] (atanhl): Likewise.
78418         [non-C99-based standards] (cbrtl): Likewise.
78419         [non-C99-based standards] (expm1l): Likewise.
78420         [non-C99-based standards] (ilogbl): Likewise.
78421         [non-C99-based standards] (log1pl): Likewise.
78422         [non-C99-based standards] (logbl): Likewise.
78423         [non-C99-based standards] (nextafterl): Likewise.
78424         [non-C99-based standards] (remainderl): Likewise.
78425         [non-C99-based standards] (rintl): Likewise.
78426         [non-C99-based standards] (scalbl): Likewise.
78427         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78428         [non-C99-based standards] (FP_*): Do not allow.
78429         [C99-based standards] (FP_*): Change to
78430         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
78431         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78432         allow.
78433         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
78434         (SIG_ERR): Likewise.
78435         [X/Open-based standards] (SIG_HOLD): Likewise.
78436         (SIG_IGN): Likewise.
78437         (SIGABRT): Use macro-int-constant.  Specify type.  Require
78438         positive value.
78439         (SIGFPE): Likewise.
78440         (SIGILL): Likewise.
78441         (SIGINT): Likewise.
78442         (SIGSEGV): Likewise.
78443         (SIGTER): Likewise.
78444         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
78445         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
78446         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
78447         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
78448         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
78449         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
78450         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
78451         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
78452         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
78453         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
78454         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
78455         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
78456         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
78457         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
78458         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
78459         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
78460         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
78461         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
78462         [X/Open-based standards] (SIGTRAP): Likewise.
78463         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
78464         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
78465         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
78466         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
78467         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78468         allow.
78470 2012-05-08  Ian Wienand  <ianw@vmware.com>
78472         [BZ #14080]
78473         * time/tzset.c (__tzset_parse_tz): Update default rules for
78474         daylight time changes in the Energy Policy Act of 2005.
78476 2012-05-09  Andreas Jaeger  <aj@suse.de>
78478         [BZ #13983]
78479         * elf/ldconfig.c (parse_conf): Change string to make clear that
78480         ldconfig only issued a warning if ld.so.conf does not exist.
78482 2012-05-08  David S. Miller  <davem@davemloft.net>
78484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
78485         movxtod instead of popping the value on the stack.
78487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78489 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
78491         * config.h.in: Add HAVE_ARM_PCS_VFP.
78493 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
78495         [BZ #13979]
78496         * include/features.h: Warn if user requests __FORTIFY_SOURCE
78497         checking but the checks are disabled for any reason.
78499 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
78501         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
78502         and ELF64_R_TYPE with ELFW(R_TYPE).
78504 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
78506         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
78507         (ulimit): Likewise.
78509         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
78510         (settimeofday): Likewise.
78512 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
78514         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
78515         a struct th_u2 inside the union, and move tu_block/tu_code into
78516         a new th_u3 union of tu_block/tu_code inside of that.  Move
78517         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
78518         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
78519         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
78520         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
78521         (th_stuff): Change to th_u1.tu_stuff.
78522         (th_data): Define.
78523         (th_msg): Change to th_u1.th_u2.tu_data.
78525 2012-05-07  David S. Miller  <davem@davemloft.net>
78527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78529         [BZ #14074]
78530         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
78531         (SETUP_PIC_REG): Use it.
78532         (SETUP_PIC_REG_LEAF): Use it.
78534 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
78536         [BZ #13885]
78537         [BZ #13923]
78538         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
78539         USE_AS_EXPM1L.
78540         (EXPL_FINITE): Likewise.
78541         (FLDLOG): Likewise.
78542         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
78543         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
78544         e_expl.S.
78545         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
78546         USE_AS_EXPM1L.
78547         (EXPL_FINITE): Likewise.
78548         (FLDLOG): Likewise.
78549         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
78550         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
78551         e_expl.S.
78552         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
78553         test of -max_value argument for long double.
78554         * sysdeps/i386/fpu/libm-test-ulps: Update.
78555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78557 2012-05-06  David S. Miller  <davem@davemloft.net>
78559         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
78560         quad soft-float symbols whose references which are compiler
78561         generated.
78562         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
78564 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
78566         [BZ #13884]
78567         [BZ #13914]
78568         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
78569         USE_AS_EXP10L.
78570         (EXPL_FINITE): Likewise.
78571         (FLDLOG): Likewise.
78572         (c0): Likewise.
78573         (c1): Likewise.
78574         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
78575         Adjust comments for base varying.
78576         (__expl_finite): Change alias to EXPL_FINITE.
78577         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
78578         e_expl.S.
78579         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
78580         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
78581         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
78582         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
78583         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
78584         USE_AS_EXP10L.
78585         (EXPL_FINITE): Likewise.
78586         (FLDLOG): Likewise.
78587         (c0): Likewise.
78588         (c1): Likewise.
78589         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
78590         Adjust comments for base varying.
78591         (__expl_finite): Change alias to EXPL_FINITE.
78592         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
78593         tests for bugs.
78594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78596         [BZ #14064]
78597         * math/libm-test.inc (check_float_internal): Correct ulp
78598         calculation for subnormal expected results.
78600 2012-05-06  Andreas Jaeger  <aj@suse.de>
78602         * Makeconfig (+math-flags): New, set to -frounding-math.
78603         (+cflags): Add +math-flags so that all of glibc gets compiled with
78604         it.
78606         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
78608 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
78610         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
78611         Disable one test.
78613         [BZ #13787]
78614         [BZ #13922]
78615         [BZ #14036]
78616         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
78617         (__ieee754_expl): Allow for and saturate large arguments.
78618         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
78619         (u_threshold): Likewise.
78620         (__exp): Call __ieee754_exp before checking for overflow and
78621         underflow.
78622         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
78623         (u_threshold): Likewise.
78624         (__expf): Call __ieee754_expf before checking for overflow and
78625         underflow.
78626         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
78627         (u_threshold): Likewise.
78628         (__expl): Call __ieee754_expl before checking for overflow and
78629         underflow.
78630         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
78631         (__ieee754_expl): Allow for and saturate large arguments.
78632         * math/libm-test.inc (exp_test): Add another test.  Do not allow
78633         missing overflow exception on overflow.
78634         (expm1_test): Do not allow missing overflow exception on overflow.
78636         * sysdeps/i386/fpu/e_expl.c: Move to ...
78637         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
78638         rather than using inline asm.
78639         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
78640         * sysdeps/x86_64/fpu/e_expl.S: Copy from
78641         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
78643         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
78644         (nice): Likewise.
78645         (poll): Likewise.
78646         (signal): Likewise.
78647         (time): Likewise.
78648         (times): Likewise.
78650 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
78652         * sysdeps/unix/syscalls.list (adjtime): Add entry from
78653         sysdeps/unix/common/syscalls.list.
78654         (fchmod): Likewise.
78655         (fchown): Likewise.
78656         (ftruncate): Likewise.
78657         (getrusage): Likewise.
78658         (gettimeofday): Likewise.
78659         (setpgid): Likewise.
78660         (setregid): Likewise.
78661         (setreuid): Likewise.
78662         (sigaction): Likewise.
78663         (truncate): Likewise.
78664         (vhangup): Likewise.
78665         * sysdeps/unix/common/syscalls.list: Remove file.
78666         * sysdeps/unix/bsd/Implies: Don't include unix/common.
78667         * sysdeps/unix/sysv/linux/Implies: Likewise.
78669 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
78671         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
78672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
78673         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
78674         Moved to ...
78675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
78676         Here.
78677         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
78678         to ...
78679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
78680         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
78681         to ...
78682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
78683         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
78684         to ...
78685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
78686         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
78687         to ...
78688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
78689         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
78690         to ...
78691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
78692         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
78693         to ...
78694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
78695         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
78696         to ...
78697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
78698         Here.
78699         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
78700         to ...
78701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
78702         Here.
78703         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
78704         to ...
78705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
78706         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
78707         Moved to ...
78708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
78709         Here.
78710         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
78711         to ...
78712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
78714 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
78716         * sysdeps/unix/common/bits/dirent.h: Remove file.
78717         * sysdeps/unix/common/bits/fcntl.h: Likewise.
78719         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
78720         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
78721         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
78722         * sysdeps/unix/bsd/isatty.c: Likewise.
78723         * sysdeps/unix/bsd/tcdrain.c: Likewise.
78724         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
78725         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
78727 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78729         [BZ #13563]
78730         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
78731         long double comparison inaccuracies.
78732         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
78733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78735 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
78737         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
78738         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
78740 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
78742         [BZ #14049]
78743         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
78744         nonzero digits before rounding a hex value.
78745         * stdlib/tst-strtod.c (tests): Add another test.
78747 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78749         * sysdeps/s390/fpu/libm-test-ulps: Update.
78751 2012-05-03  Andreas Jaeger  <aj@suse.de>
78753         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
78754         does not get optimized out.
78755         (malloc_opt_barrier): New.
78757 2012-05-03  Andreas Jaeger  <aj@suse.de>
78758             Roland McGrath  <roland@hack.frob.com>
78760         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
78761         intermediate file deletion.
78762         (generated): Add .symlist files.
78764 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
78766         [BZ #13775]
78767         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
78768         Redirect under this condition.
78769         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
78770         [__USE_GNU] (__dprintf_chk): Not under this condition.
78771         [__USE_GNU] (__vdprintf_chk): Likewise.
78772         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
78773         under this condition.
78774         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
78775         [__USE_XOPEN2K8] (dprintf): Define under this condition.
78776         [__USE_XOPEN2K8] (vdprintf): Likewise.
78777         [__USE_GNU] (__dprintf_chk): Not under this condition.
78778         [__USE_GNU] (__vdprintf_chk): Likewise.
78779         [__USE_GNU] (dprintf): Likewise.
78780         [__USE_GNU] (vdprintf): Likewise.
78782 2012-05-03  Roland McGrath  <roland@hack.frob.com>
78784         * elf/Makefile (common-generated): Set this instead of generated for
78785         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
78786         $(all-built-dso)-derived lists.
78788 2012-05-03  Andreas Jaeger  <aj@suse.de>
78790         * sysdeps/i386/fpu/libm-test-ulps: Update.
78792         * FAQ: Removed.
78793         * FAQ.in: Likewise.
78794         * scripts/gen-FAQ.pl: Likewise.
78795         * manual/install.texi (Installation): Point to online location of
78796         FAQ.
78797         * Makefile (files-for-dist): Remove FAQ.
78798         (FAQ): Remove.
78800 2012-05-02  Allan McRae  <allan@archlinux.org>
78802         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
78803         (LDFLAGS-reldepmod5.so): Likewise.
78804         (LDFLAGS-reldep6mod1.so): Likewise.
78805         (LDFLAGS-reldep6mod4.so): Likewise.
78806         (LDFLAGS-reldep8mod3.so): Likewise.
78807         (LDFLAGS-unload4mod1.so): Likewise.
78808         (LDFLAGS-unload4mod2.so): Likewise.
78809         (LDFLAGS-tst-initorder): Likewise.
78810         (LDFLAGS-tst-initordera2.so): Likewise.
78811         (LDFLAGS-tst-initordera3.so): Likewise.
78812         (LDFLAGS-tst-initordera4.so): Likewise.
78813         (LDFLAGS-tst-initorderb2.so): Likewise.
78814         (LDFLAGS-noload): Likewise.
78815         (LDFLAGS-next): Likewise.
78816         (LDFLAGS-order2mod1.so): Likewise.
78817         (LDFLAGS-order2mod2.so): Likewise.
78818         (LDFLAGS-tst-initorder2): Likewise.
78819         (LDFLAGS-tst-initorder2a.so): Likewise.
78820         (LDFLAGS-tst-initorder2b.so): Likewise.
78821         (LDFLAGS-tst-initorder2c.so): Likewise.
78822         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
78824 2012-05-02  David S. Miller  <davem@davemloft.net>
78826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78828 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
78830         [BZ #14055]
78831         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
78833 2012-05-02  Andreas Jaeger  <aj@suse.de>
78835         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
78836         since we manipulate rounding mode.
78837         (CPPFLAGS-test-idouble.c): Likewise.
78838         (CPPFLAGS-test-ifloat.c): Likewise.
78839         (CFLAGS-test-ldouble.c): Likewise.
78840         (CFLAGS-test-double.c): Likewise.
78841         (CFLAGS-test-float.c): Likewise.
78842         (CFLAGS-test-misc.c): Likewise.
78843         (CFLAGS-test-test-fenv.c): Likewise.
78845 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78847         [BZ #2550]
78848         [BZ #2570]
78849         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
78850         comparisons to determine direction to adjust input.
78852 2012-05-01  Roland McGrath  <roland@hack.frob.com>
78854         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
78855         output to the target.
78857         * scripts/localplt.awk: New file.
78858         * elf/Makefile ($(objpfx)check-localplt): Target removed.
78859         (check-localplt-CFLAGS): Variable removed.
78860         ($(all-built-dso:=.jmprel)): New static pattern rule.
78861         (generated): Add those targets.
78862         (localplt-built-dso): New variable.
78863         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
78865         * elf/check-localplt.c: File removed.
78867         * scripts/check-execstack.awk: New file.
78868         * elf/Makefile ($(objpfx)check-execstack): Target removed.
78869         (check-execstack-CFLAGS): Variable removed.
78870         ($(objpfx)check-execstack.h): Target removed.
78871         ($(objpfx)execstack-default): New target.
78872         (generated): Add that instead of check-execstack.h.
78873         ($(all-built-dso:=.phdr)): New static pattern rule.
78874         (generated): Add those targets.
78875         * elf/check-execstack.c: File removed.
78877         * scripts/check-textrel.awk: New file.
78878         * elf/Makefile ($(objpfx)check-textrel): Target removed.
78879         (check-textrel-CFLAGS): Variable removed.
78880         (all-built-dso): Use := to define.o
78881         ($(all-built-dso:=.dyn)): New static pattern rule.
78882         (generated): Add those targets.
78883         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
78884         * config.make.in (READELF): New substituted variable.
78885         * elf/check-textrel.c: File removed.
78887 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78889         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78890         allow.
78891         * conform/data/ctype.h-data [C99-based standards] (isblank):
78892         Expect function.
78893         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
78894         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
78895         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78896         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
78897         Specify type.  Require positive value.
78898         (EILSEQ): Likewise.
78899         (ERANGE): Likewise.
78900         [ISO || POSIX] (EILSEQ): Do not expect.
78901         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
78902         Specify type.  Require positive value.
78903         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
78904         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
78905         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
78906         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
78907         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
78908         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
78909         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
78910         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
78911         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
78912         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
78913         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
78914         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
78915         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
78916         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
78917         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
78918         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
78919         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
78920         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
78921         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
78922         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
78923         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
78924         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
78925         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
78926         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
78927         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
78928         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
78929         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
78930         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
78931         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
78932         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
78933         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
78934         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
78935         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
78936         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
78937         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
78938         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
78939         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
78940         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
78941         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
78942         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
78943         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
78944         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
78945         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
78946         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
78947         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
78948         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
78949         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
78950         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
78951         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
78952         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
78953         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
78954         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
78955         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
78956         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
78957         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
78958         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
78959         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
78960         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
78961         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
78962         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
78963         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
78964         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
78965         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
78966         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
78967         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
78968         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
78969         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
78970         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
78971         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
78972         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
78973         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
78974         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
78975         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
78976         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
78977         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
78978         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
78979         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
78980         Require >= 2.
78981         (FLT_ROUNDS): Expect as macro, not constant.
78982         (FLT_MANT_DIG): Use macro-int-constant.
78983         (DBL_MANT_DIG): Likewise.
78984         (LDBL_MANT_DIG): Likewise.
78985         (FLT_DIG): Likewise.
78986         (DBL_DIG): Likewise.
78987         (LDBL_DIG): Likewise.
78988         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
78989         (DBL_MIN_EXP): Likewise.
78990         (LDBL_MIN_EXP): Likewise.
78991         (FLT_MAX_EXP): Use macro-int-constant.
78992         (DBL_MAX_EXP): Likewise.
78993         (LDBL_MAX_EXP): Likewise.
78994         (FLT_MAX_10_EXP): Likewise.
78995         (DBL_MAX_10_EXP): Likewise.
78996         (LDBL_MAX_10_EXP): Likewise.
78997         (FLT_MAX): Use macro-constant.
78998         (DBL_MAX): Likewise.
78999         (LDBL_MAX): Likewise.
79000         (FLT_EPSILON): Use macro-constant.  Give upper bound.
79001         (DBL_EPSILON): Likewise.
79002         (LDBL_EPSILON): Likewise.
79003         (FLT_MIN): Likewise.
79004         (DBL_MIN): Likewise.
79005         (LDBL_MIN): Likewise.
79006         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
79007         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
79008         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
79009         [ISO11] (FLT_HAS_SUBNORM): Likewise.
79010         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
79011         [ISO11] (DBL_DECIMAL_DIG): Likewise.
79012         [ISO11] (FLT_DECIMAL_DIG): Likewise.
79013         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
79014         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
79015         [ISO11] (FLT_TRUE_MIN): Likewise.
79016         [ISO11] (LDBL_TRUE_MIN): Likewise.
79017         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79018         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
79019         (SCHAR_MIN): Use macro-int-constant.  Specify type.
79020         (SCHAR_MAX): Likewise.
79021         (UCHAR_MAX): Likewise.
79022         (CHAR_MIN): Likewise.
79023         (CHAR_MAX): Likewise.
79024         (MB_LEN_MAX): Use macro-int-constant.
79025         (SHRT_MIN): Use macro-int-constant.  Specify type.
79026         (SHRT_MAX): Likewise.
79027         (USHRT_MAX): Likewise.
79028         (INT_MAX): Likewise.
79029         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
79030         bound negative.
79031         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79032         bound with "U".
79033         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79034         bound with "L".
79035         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
79036         bound negative.  Suffix upper bound with "L".
79037         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79038         bound with "UL".
79039         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
79040         Specify type.
79041         [C99-based standards] (LLONG_MAX): Likewise.
79042         [C99-based standards] (ULLONG_MAX): Likewise.
79043         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
79044         == 0.
79045         [ISO11] (max_align_t): Require type.
79046         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79048         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
79049         from $CFLAGS, without defining away __attribute__ calls.
79050         (checknamespace): Use $CFLAGS_namespace.
79052         * conform/conformtest.pl (@keywords): Only include C99 keywords
79053         for standards based on C99 or C11.
79055         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
79056         Disable tests.
79057         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
79058         UNIX98]: Likewise.
79060         * conform/conformtest.pl: Handle "macro-int-constant" and test for
79061         usability of symbols in #if.
79063         * conform/conformtest.pl: If macro or constant types start
79064         "promoted:", expect the symbol to be of the following type
79065         promoted by the integer promotions.
79067         * conform/conformtest.pl: Parse all "constant" and "macro" lines
79068         in one place.  Also handle "macro-constant".
79070         * conform/conformtest.pl: Only accept expected macro values with
79071         "==".  Parse all "macro" lines in one place.
79072         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
79074         * conform/conformtest.pl: Handle braced types on "constant" lines
79075         instead of handling "typed-constant".
79076         * conform/data/signal.h-data: Use "constant" instead of
79077         "typed-constant".
79079         * conform/conformtest.pl: Handle "optional-" at start of lines in
79080         one place rather than duplicating several cases.  Handle each
79081         format of "macro" line with initial "optional-".
79083         * conform/conformtest.pl: Only accept expected constant or
79084         optional-constant values with "==".  Parse all "constant" lines in
79085         one place.  Parse all "optional-constant" lines in one place.
79086         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
79087         * conform/data/fmtmsg.h-data: Likewise.
79088         * conform/data/netinet/in.h-data: Likewise.
79089         * conform/data/tar.h-data: Likewise.
79090         * conform/data/limits.h-data: Use "==" form on "constant" and
79091         "optional-constant" lines.
79093         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
79094         Use -std=c99 for XOPEN2K.
79095         (@knownproblems): Remove.
79096         (newtoken): Don't check %isknown.
79098         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
79099         Do not expect macro.
79100         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
79101         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
79102         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
79103         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
79104         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
79105         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
79106         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
79107         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
79108         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
79109         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
79110         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
79111         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
79112         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
79113         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
79114         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
79115         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
79116         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
79117         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
79118         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
79119         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
79120         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
79121         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
79122         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
79123         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
79124         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
79125         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
79126         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
79127         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
79128         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
79129         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
79130         [XPG3] (acosh): Likewise.
79131         [XPG3] (asinh): Likewise.
79132         [XPG3] (atanh): Likewise.
79133         [XPG3] (cbrt): Likewise.
79134         [XPG3] (expm1): Likewise.
79135         [XPG3] (ilogb): Likewise.
79136         [XPG3] (log1p): Likewise.
79137         [XPG3] (logb): Likewise.
79138         [XPG3] (nextafter): Likewise.
79139         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
79140         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
79141         [XPG3] (remainder): Likewise.
79142         [XPG3] (rint): Likewise.
79143         [XPG3 || XPG4 || UNIX98] (round): Likewise.
79144         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
79145         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
79146         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
79147         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
79148         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
79149         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
79150         [UNIX98 || XOPEN2K] (scalb): Expect.
79151         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
79152         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
79153         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
79154         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
79155         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
79156         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
79157         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
79158         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
79159         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
79160         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
79161         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
79162         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
79163         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
79164         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
79165         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
79166         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
79167         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
79168         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
79169         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
79170         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
79171         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
79172         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
79173         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
79174         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
79175         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
79176         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
79177         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
79178         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
79179         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
79180         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
79181         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
79182         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
79183         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
79184         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
79185         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
79186         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
79187         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
79188         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
79189         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
79190         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
79191         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
79192         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
79193         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
79194         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
79195         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
79196         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
79197         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
79198         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
79199         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
79200         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
79201         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
79202         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
79203         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
79204         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
79205         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
79206         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
79207         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
79208         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
79209         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
79210         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
79211         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
79212         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
79213         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
79214         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
79215         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
79216         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
79217         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
79218         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
79219         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
79220         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
79221         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
79222         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
79223         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
79224         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
79225         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
79226         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
79227         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
79228         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
79229         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
79230         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
79231         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
79232         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
79233         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
79234         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
79235         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
79236         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
79237         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
79238         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
79239         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
79240         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
79241         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
79242         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
79243         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
79244         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
79245         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
79246         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
79247         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
79248         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
79249         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
79250         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
79251         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
79252         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
79253         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
79254         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
79255         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
79256         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
79257         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
79258         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
79259         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
79260         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
79261         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
79262         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
79263         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
79264         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
79265         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
79266         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
79267         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
79268         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
79269         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
79270         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
79271         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
79272         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
79273         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
79274         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
79275         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
79276         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
79277         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
79278         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
79279         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
79280         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
79281         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
79282         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
79283         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
79284         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
79285         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
79286         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
79287         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
79289         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
79290         _XOPEN_SOURCE_EXTENDED for XPG4.
79292         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
79294         * Makeconfig (localtime): Remove variable.
79295         (inst_localtime-file): Likewise.
79297 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
79299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
79300         Update.
79301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79302         Update.
79303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
79304         Update.
79305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
79306         Update.
79307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
79308         Update.
79309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
79310         Update.
79311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79312         Update.
79313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
79314         Update.
79315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
79316         Update.
79318 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
79320         [BZ #2550]
79321         [BZ #2570]
79322         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
79323         comparisons to determine direction to adjust input.
79324         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
79325         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
79326         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
79327         Likewise.
79328         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
79329         Likewise.
79330         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
79331         Likewise.
79332         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
79333         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
79334         Likewise.
79335         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
79336         Likewise.
79337         * math/libm-test.inc (nexttoward_test): Add more tests.
79339 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
79341         [BZ #14040]
79342         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
79343         in version GLIBC_2.1, not GLIBC_2.0.
79344         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
79345         Likewise.
79347 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
79349         [BZ #13942]
79350         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
79351         (1 - x) * (1 + x).
79352         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
79353         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
79354         * math/libm-test.inc (acos_test): Add more tests.
79355         (asin_test): Likewise.
79356         * sysdeps/i386/fpu/libm-test-ulps: Update.
79357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79359         [BZ #14034]
79360         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
79361         of square root.
79362         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
79363         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
79364         * math/libm-test.inc (acos_test_tonearest): New function.
79365         (acos_test_towardzero): Likewise.
79366         (acos_test_downward): Likewise.
79367         (acos_test_upward): Likewise.
79368         (asin_test_tonearest): Likewise.
79369         (asin_test_towardzero): Likewise.
79370         (asin_test_downward): Likewise.
79371         (asin_test_upward): Likewise.
79372         (main): Call the new functions.
79373         * sysdeps/i386/fpu/libm-test-ulps: Update.
79374         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79376         [BZ #13884]
79377         [BZ #13924]
79378         * math/e_exp10.c: Include <float.h>.
79379         (__ieee754_exp10): Handle underflow here rather than multiplying
79380         large negative argument by M_LN10.
79381         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
79382         of __ieee754_expf.
79383         * math/e_exp10l.c: Include <float.h>.
79384         (__ieee754_exp10l): Handle underflow here rather than multiplying
79385         large negative argument by M_LN10l.
79386         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
79387         spurious overflow exception on underflow.
79389 2012-04-29  Marek Polacek  <polacek@redhat.com>
79391         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
79392         (__fortify_function): New macro.
79393         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
79394         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
79395         __extern_always_inline.
79396         * libio/bits/stdio2.h: Likewise.
79397         * libio/bits/stdio.h: Likewise.
79398         * string/string.h: Likewise.
79399         * string/bits/string3.h: Likewise.
79400         * include/stdio.h: Likewise.
79401         * stdlib/bits/stdlib.h: Likewise.
79402         * stdlib/stdlib.h: Likewise.
79403         * rt/bits/mqueue2.h: Likewise.
79404         * rt/mqueue.h: Likewise.
79405         * posix/bits/unistd.h: Likewise.
79406         * posix/unistd.h: Likewise.
79407         * io/bits/poll2.h: Likewise.
79408         * io/bits/fcntl2.h: Likewise.
79409         * io/fcntl.h: Likewise.
79410         * io/sys/poll.h: Likewise.
79411         * misc/bits/syslog.h: Likewise.
79412         * misc/bits/syslog-ldbl.h: Likewise.
79413         * misc/sys/syslog.h: Likewise.
79414         * socket/bits/socket2.h: Likewise.
79415         * socket/sys/socket.h: Likewise.
79416         * debug/tst-chk1.c: Likewise.
79417         * wcsmbs/bits/wchar2.h: Likewise.
79418         * wcsmbs/bits/wchar-ldbl.h: Likewise.
79419         * wcsmbs/wchar.h: Likewise.
79421 2012-04-29  Andreas Jaeger  <aj@suse.de>
79423         * Makerules (tests): Remove enable-check-abi protection.
79424         (check-abi-warn): Remove.
79425         (check-abi-%): Remove check-abi-warn usage.
79427         * configure.in: Remove check-abi configure option.
79428         * configure: Regenerated.
79429         * config.make.in (enable-check-abi): Remove.
79431 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
79433         [BZ #14033]
79434         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
79435         double functions to double *_finite functions.
79437         [BZ #13941]
79438         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
79439         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
79440         LDBL_MIN_EXP.
79441         * stdio-common/Makefile (tests): Add tst-sprintf3.
79442         * stdio-common/tst-sprintf3.c: New file.
79444         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
79445         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
79447 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
79449         * conform/conformtest.pl: Remove duplicate typed-constant
79450         handling.
79452 2012-04-28  David S. Miller  <davem@davemloft.net>
79454         * Makerules (%.abilist): Add vpath on sysdep_dirs.
79455         (check-abi-%): Remove AWK script prerequisite and explicit
79456         abilist directory.
79457         (check-abi): Rewrite to just diff the symlist with the abilist.
79458         (config-tls, config-abi-config): Delete, no longer used.
79459         (update-abi-%): Remove AWK script and explicit abilist directory.
79460         (update-abi): Rewrite to simply compare and conditionally copy the
79461         symlist and the sysdep abilist file.  Remove update-abi-config
79462         checks.
79463         * abilist/ld.abilist: Remove.
79464         * abilist/libBrokenLocale.abilist: Remove.
79465         * abilist/libanl.abilist: Remove.
79466         * abilist/libcrypt.abilist: Remove.
79467         * abilist/libdl.abilist: Remove.
79468         * abilist/librt.abilist: Remove.
79469         * abilist/libthread_db.abilist: Remove.
79470         * abilist/libutil.abilist: Remove.
79471         * scripts/extract-abilist.awk: Remove.
79472         * scripts/merge-abilist.awk: Remove.
79473         * sysdeps/generic/libcidn.abilist: New file.
79474         * sysdeps/generic/libnss_compat.abilist: New file.
79475         * sysdeps/generic/libnss_db.abilist: New file.
79476         * sysdeps/generic/libnss_dns.abilist: New file.
79477         * sysdeps/generic/libnss_files.abilist: New file.
79478         * sysdeps/generic/libnss_hesiod.abilist: New file.
79479         * sysdeps/generic/libnss_nis.abilist: New file.
79480         * sysdeps/generic/libnss_nisplus.abilist: New file.
79481         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
79482         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
79483         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
79484         file.
79485         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
79486         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
79487         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
79488         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
79489         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
79490         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
79491         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
79492         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
79493         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
79494         file.
79495         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
79496         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
79497         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
79498         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
79499         file.
79500         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
79501         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
79502         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
79503         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
79504         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
79505         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
79506         file.
79507         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
79508         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
79509         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
79510         file.
79511         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
79512         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
79513         New file.
79514         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
79515         New file.
79516         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
79517         New file.
79518         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
79519         New file.
79520         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
79521         New file.
79522         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
79523         New file.
79524         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
79525         New file.
79526         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
79527         New file.
79528         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
79529         New file.
79530         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
79531         New file.
79532         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
79533         New file.
79534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
79535         New file.
79536         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
79537         New file.
79538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
79539         file.
79540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
79541         New file.
79542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
79543         New file.
79544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
79545         file.
79546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
79547         New file.
79548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
79549         New file.
79550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
79551         file.
79552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
79553         New file.
79554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
79555         New file.
79556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
79557         New file.
79558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
79559         New file.
79560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
79561         New file.
79562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
79563         New file.
79564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
79565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
79566         file.
79567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
79568         New file.
79569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
79570         file.
79571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
79572         file.
79573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
79574         file.
79575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
79576         file.
79577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
79578         file.
79579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
79580         New file.
79581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
79582         file.
79583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
79584         file.
79585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
79586         New file.
79587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
79588         file.
79589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
79590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
79591         file.
79592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
79593         New file.
79594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
79595         file.
79596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
79597         file.
79598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
79599         file.
79600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
79601         file.
79602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
79603         file.
79604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
79605         New file.
79606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
79607         file.
79608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
79609         file.
79610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
79611         New file.
79612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
79613         file.
79614         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79615         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
79616         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
79617         file.
79618         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
79619         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
79620         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
79621         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
79622         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
79623         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
79624         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
79625         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
79626         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
79627         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
79628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
79629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
79630         file.
79631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
79632         New file.
79633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
79634         file.
79635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
79636         file.
79637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
79638         file.
79639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
79640         file.
79641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
79642         file.
79643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
79644         New file.
79645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
79646         New file.
79647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
79648         file.
79649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
79650         New file.
79651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
79652         file.
79653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
79654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
79655         file.
79656         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
79657         New file.
79658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
79659         file.
79660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
79661         file.
79662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
79663         file.
79664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
79665         file.
79666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
79667         file.
79668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
79669         New file.
79670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
79671         New file.
79672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
79673         file.
79674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
79675         New file.
79676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
79677         file.
79679 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
79681         * conform/conformtest.pl: Fix typo in handling typed-constant from
79682         allow-header.
79684 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
79686         * README: Cut down references to pre-2.6 Linux kernels and
79687         Linuxthreads.  Update lists of configurations in libc and ports
79688         and sort alphabetically.  Say "or newer" with Linux kernel version
79689         requirements.
79691         * config.h.in [IS_IN_build]: Allow compiling without optimization.
79693 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
79695         [BZ #887]
79696         * math/libm-test.inc (logb_test_downward): New test to expose
79697         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
79698         rounding mode.
79700 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
79702         [BZ #14027]
79703         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
79704         to be done.
79705         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
79706         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
79708 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
79710         * sysdeps/unix/i386/brk.S: Remove file.
79711         * sysdeps/unix/i386/dl-brk.S: Likewise.
79712         * sysdeps/unix/i386/pipe.S: Likewise.
79713         * sysdeps/unix/i386/sigreturn.S: Likewise.
79714         * sysdeps/unix/i386/syscall.S: Likewise.
79715         * sysdeps/unix/i386/vfork.S: Likewise.
79716         * sysdeps/unix/i386/wait.S: Likewise.
79718         * sysdeps/unix/common/tcsendbrk.c: Move to ...
79719         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
79721         * configure.in (arm*-none*): Do not allow without
79722         --enable-hacker-mode.
79723         (netbsd*): Remove case setting base_os.
79724         (386bsd*): Likewise.
79725         (freebsd*): Likewise.
79726         (bsdi*): Likewise.
79727         (osf*): Likewise.
79728         (sunos*): Likewise.
79729         (ultrix*): Likewise.
79730         (newsos*): Likewise.
79731         (dynix*): Likewise.
79732         (*bsd*): Likewise.
79733         (sysv*): Likewise.
79734         (isc*): Likewise.
79735         (esix*): Likewise.
79736         (sco*): Likewise.
79737         (minix*): Likewise.
79738         (irix4*): Likewise.
79739         (irix6*): Likewise.
79740         (solaris[2-9]*): Likewise.
79741         (none): Likewise.
79742         * configure: Regenerated.
79744 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79746         [BZ #11521]
79747         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
79748         overflow or cancellation in calculating denominator.
79749         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
79750         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
79751         down expression to avoid unexpected rounding in newer GCCs.
79752         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
79754 2012-04-26  David S. Miller  <davem@davemloft.net>
79756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
79757         long-double compat symbols.
79758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
79759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
79760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
79761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
79762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
79764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
79765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
79766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
79767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
79768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
79769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
79770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79772 2012-04-25  David S. Miller  <davem@davemloft.net>
79774         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
79775         HWCAP_* values only after the memory barriers have been defined.
79776         (atomic_full_barrier): Define.
79777         (atomic_read_barrier): Define.
79778         (atomic_write_barrier): Define.
79780 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
79782         * shlib-versions: Add libgcc_s version information.
79783         * sysdeps/generic/libgcc_s.h: Remove.
79784         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
79785         libgcc_s.h.
79786         * sysdeps/gnu/unwind-resume.c: Likewise.
79787         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
79789 2012-04-25  David S. Miller  <davem@davemloft.net>
79791         * sysdeps/unix/sparc/brk.S: Delete.
79792         * sysdeps/unix/sparc/dl-brk.S: Delete.
79793         * sysdeps/unix/sparc/pipe.S: Delete.
79794         * sysdeps/unix/sparc/sysdep.S: Delete.
79795         * sysdeps/unix/sparc/sysdep.h: Delete.
79796         * sysdeps/unix/sparc/vfork.S: Delete.
79797         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
79798         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
79799         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
79800         (ret_ERRVAL, r0, r1, MOVE): Define.
79801         (JUMPTARGET): Remove.
79802         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
79803         sysdeps/unix/sparc/sysdep.h
79804         (ENTRY, END): Remove.
79805         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79807 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
79809         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
79810         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
79811         -DIS_IN_build.
79813         * timezone/README: Update upstream location and email address for
79814         tzcode and tzdata.
79815         * timezone/zdump.c: Update from tzcode 2012b.
79816         * timezone/zic.c: Likewise.
79818         * configure.in (libc_cv_as_needed): Remove test.
79819         * configure: Regenerated.
79820         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
79821         conditional definition.
79822         [$(have-as-needed) != yes] (no-as-needed): Likewise.
79823         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
79824         * config.make.in (have-as-needed): Remove variable.
79826 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
79827             Paul Pluzhnikov  <ppluzhnikov@google.com>
79829         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
79830         strings correctly.
79832 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
79834         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
79835         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
79836         * sysdeps/sh/strlen.S: Likewise.
79838 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79840         * sysdeps/unix/fork.S: Remove file.
79841         * sysdeps/unix/i386/fork.S: Likewise.
79842         * sysdeps/unix/sparc/fork.S: Likewise.
79844         * sysdeps/unix/system.c: Remove file.
79845         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
79847         * sysdeps/unix/getegid.S: Remove file.
79848         * sysdeps/unix/geteuid.S: Likewise.
79850 2012-04-24  Roland McGrath  <roland@hack.frob.com>
79852         * scripts/check-localplt.awk: New file.
79853         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
79854         of diff.
79855         * scripts/data/localplt-generic.data: Add a comment.
79857         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
79858         NODE when __dir_mkfile failed.
79859         * sysdeps/mach/hurd/symlinkat.c: Likewise.
79860         Reported by Ludovic Courtès <ludo@gnu.org>.
79862 2012-04-24  Andreas Jaeger  <aj@suse.de>
79864         * Makerules (common-clean): Also remove gen-as-const-headers
79865         files.
79867 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79869         * Makerules (native-compile): Do not change working directory for
79870         build.  Use $(OUTPUT_OPTION) in command.
79871         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
79873 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79875         [BZ #13886]
79876         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
79877         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
79878         * math/libm-test.inc (floor_test): Add more tests.
79879         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
79881 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79883         * sysdeps/unix/getdents.c: Remove file.
79884         * sysdeps/unix/sysv/getdents.c: Likewise.
79885         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
79887         * sysdeps/unix/syscalls.list (madvise): Add syscall from
79888         sysdeps/unix/mman/syscalls.list.
79889         (mmap): Likewise.
79890         (mprotect): Likewise.
79891         (msync): Likewise.
79892         (munmap): Likewise.
79893         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
79894         * sysdeps/unix/mman/syscalls.list: Remove.
79895         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
79897         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
79898         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
79899         * configure: Regenerated.
79900         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
79901         $(libgcc_s_suffix).
79902         * config.make.in (libgcc_s_suffix): Remove variable.
79904 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
79906         * sysdeps/unix/sysv/gethostname.c: Move to ...
79907         * sysdeps/posix/gethostname.c: ... here.
79909         * sysdeps/unix/execve.S: Remove file.
79911         * sysdeps/unix/_exit.S: Remove file.
79913 2012-04-23  Andreas Jaeger  <aj@suse.de>
79915         [BZ #13739]
79916         * manual/Makefile: Remove make dist support, there's no
79917         need for a stand-alone documentation tar ball.
79918         (TEXI2DVI): Define always, it's not in Makeconfig.
79919         (dist): Removed.
79920         (tar-it): Removed.
79921         (edition): Removed.
79922         (glibc-doc-$(edition).tar): Removed
79923         (%.Z): Removed.
79924         (%.gz): Removed.
79925         (%.uu): Removed.
79926         (ETAGS): Remove, it's in Makeconfig.
79927         (move-if-change): Remove, it's in Makeconfig.
79929 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
79931         [BZ #13970]
79932         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
79933         (strtod, strtof, strtold, strtol, strtoul, strtoq)
79934         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
79935         (strtod_l, strtof_l, strtold_l): Remove __wur.
79936         It is not necessarily an error to ignore strtol's return value.
79937         One can reliably look at the stored endptr to decide whether
79938         the number had valid syntax.
79940 2012-04-21  Andreas Jaeger  <aj@suse.de>
79942         [BZ #13739]
79943         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
79945 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
79947         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
79948         * sysdeps/unix/sysv/Versions: Remove file.
79950 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
79952         [BZ #13927]
79953         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79955 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
79957         [BZ #7064]
79958         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
79959         version from __vm86.
79961 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
79963         * sysdeps/unix/common/lxstat.c: Remove file.
79964         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
79966         * sysdeps/unix/sysv/Makefile: Remove file.
79968         * sysdeps/unix/sysv/direct.h: Remove file.
79970         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
79971         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
79972         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
79973         * sysdeps/unix/sysv/bits/signum.h: Likewise.
79974         * sysdeps/unix/sysv/bits/stat.h: Likewise.
79975         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
79976         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
79978         * sysdeps/unix/sysv/setrlimit.c: Remove file.
79980         * sysdeps/unix/xmknod.c: Remove file.
79981         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
79983         * sysdeps/unix/sysv/settimeofday.c: Remove file.
79985         * sysdeps/unix/sysv/i386/time.S: Remove file.
79987         * sysdeps/unix/fxstat.c: Remove file.
79988         * sysdeps/unix/xstat.c: Likewise.
79989         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
79991         * sysdeps/unix/sysv/sigaction.c: Remove file.
79993         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
79994         (sysdep_headers): Remove variable.
79995         [termio.h not in sysdep_headers] (generated): Likewise.
79996         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
79997         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
79998         * sysdeps/unix/sysv/tcdrain.c: Likewise.
79999         * sysdeps/unix/sysv/tcflow.c: Likewise.
80000         * sysdeps/unix/sysv/tcflush.c: Likewise.
80001         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
80002         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
80003         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
80004         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
80005         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
80007         * sysdeps/unix/siglist.c: Remove file.
80009         * sysdeps/unix/getppid.S: Remove file.
80011         * sysdeps/unix/mkdir.c: Remove file.
80012         * sysdeps/unix/rmdir.c: Likewise.
80014 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
80016         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
80017         ERR_MAX value.
80018         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
80019         errlist-compat value.
80021 2012-04-18  David S. Miller  <davem@davemloft.net>
80023         * sysdeps/generic/memcopy.h (reg_char): Delete.
80024         * debug/strcat_chk.c: Use char, not reg_char.
80025         * debug/strcpy_chk.c: Likewise.
80026         * debug/strncat_chk.c: Likewise.
80027         * debug/strncpy_chk.c: Likewise.
80028         * string/memchr.c: Likewise.
80029         * string/memrchr.c: Likewise.
80030         * string/rawmemchr.c: Likewise.
80031         * string/strcat.c: Likewise.
80032         * string/strchr.c: Likewise.
80033         * string/strchrnul.c: Likewise.
80034         * string/strcmp.c: Likewise.
80035         * string/strcpy.c: Likewise.
80036         * string/strncat.c: Likewise.
80037         * string/strncmp.c: Likewise.
80038         * string/strncpy.c: Likewise.
80040 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80042         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
80043         __builtin_memcopy is called when src and dest ranges are known to not
80044         overlap.
80046 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80048         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
80049         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
80050         fwd_align_merge macro call.
80051         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
80052         bwd_align_merge macro call.
80053         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
80055 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80057         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
80058         bwd_align_merge macros.
80059         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
80060         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
80061         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
80063 2012-04-18  David S. Miller  <davem@davemloft.net>
80065         * sysdeps/sparc/sparc64/memcopy.h: Delete.
80067 2012-04-18  Andreas Jaeger  <aj@suse.de>
80069         [BZ #6794]
80070         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
80071         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
80072         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80074         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
80075         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
80076         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80078         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
80079         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
80080         Adjust for changed ldbl-128 files.
80082         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
80083         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
80084         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80086 2012-04-17  David S. Miller  <davem@davemloft.net>
80088         * sysdeps/sparc/sparc32/memcopy.h: Delete.
80090 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
80092         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
80093         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
80094         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
80095         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
80096         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
80097         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
80099 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80101         [BZ #6794]
80102         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
80103         * math/libm-test.inc: Add ilogb errno and exception tests.
80104         * math/w_ilogb.c: New file: ilogb wrapper.
80105         * math/w_ilogbf.c: New file: ilogbf wrapper.
80106         * math/w_ilogbl.c: New file: ilogbl wrapper.
80107         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
80108         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
80109         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
80110         exception being thrown with 0.0 as argument.
80111         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
80112         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
80113         exception being thrown with 0.0 as argument.
80114         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
80115         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
80116         exception being thrown with 0.0 as argument.
80117         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
80118         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
80119         exception being thrown with 0.0 as argument.
80120         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
80121         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
80122         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
80123         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
80124         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
80125         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
80126         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
80127         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
80128         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
80130 2012-04-17  Petr Baudis  <pasky@ucw.cz>
80132         * include/sys/uio.h: Change __vector to __iovec to avoid clash
80133         with altivec.
80135 2012-04-16  Marek Polacek  <polacek@redhat.com>
80137         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
80139 2012-04-16  Marek Polacek  <polacek@redhat.com>
80141         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
80142         operands of fdivp instruction.
80144 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
80146         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
80147         * elf/tst-auditmod3b.c: Likewise.
80148         * elf/tst-auditmod4b.c: Likewise.
80149         * elf/tst-auditmod5b.c: Likewise.
80150         * elf/tst-auditmod6b.c: Likewise.
80151         * elf/tst-auditmod6c.c: Likewise.
80152         * elf/tst-auditmod7b.c: Likewise.
80153         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
80154         * sysdeps/x86_64/preconfigure.in: Likewise.
80155         * sysdeps/x86_64/preconfigure: Regenerated.
80157 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
80159         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
80160         __ILP32__.
80162 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
80164         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80165         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
80167 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
80169         [BZ #13973]
80170         * locale/iso-639.def: Fix gl language name. Spotted by
80171         Yaron Shahrabani.
80173 2012-04-12  Roland McGrath  <roland@hack.frob.com>
80175         [BZ #2074]
80176         * libio/libio.h (__io_write_fn): Update comment.
80178 2012-04-12  Petr Baudis  <pasky@ucw.cz>
80180         [BZ #2074]
80181         * stdio.texi (Hook Functions): The user provided writer function
80182         is not allowed to return -1.
80184 2012-04-11  David S. Miller  <davem@davemloft.net>
80186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80188 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
80190         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
80191         Add a leading slash to rtkaio.
80193 2012-04-11  Jim Meyering  <meyering@redhat.com>
80195         [BZ #11959]
80196         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
80197         It is not necessarily an error to ignore fwrite's return
80198         value.  One can reliably use ferror to test for errors after
80199         the fact.
80201 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
80203         * bits/types.h (__snseconds_t): New type.
80204         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
80206         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
80207         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80208         (__SNSECONDS_T_TYPE): Likewise.
80209         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80210         (__SNSECONDS_T_TYPE): Likewise.
80211         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80212         (__SNSECONDS_T_TYPE): Likewise.
80214 2012-04-10  Andreas Jaeger  <aj@suse.de>
80216         [BZ #2636]
80217         * manual/time.texi (Processor Time): Return type of times is
80218         elapsed real time since an arbitrary point in the past.
80219         (CPU Time): Move CLK_TCK from here...
80220         (Processor Time): ...to here.  Correct description.
80221         * manual/conf.texi (Constants for Sysconf): Correct description of
80222         _SC_CLK_TCK.
80224 2012-04-10  David S. Miller  <davem@davemloft.net>
80226         [BZ #13967]
80227         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
80228         where the is a gap between DT_REL(A) and DT_JMPREL.
80230 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
80232         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
80233         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
80234         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
80236 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
80238         * elf/dl-support.c (_dl_inhibit_cache): New variable.
80239         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
80240         (dl_main): Handle --inhibit-cache.
80241         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
80242         _dl_inhibit_cache.
80243         * elf/dl-load.c (_dl_map_object): Use it.
80244         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
80246 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
80248         [BZ #13872]
80249         * sysdeps/i386/fpu/e_powl.S (p78): New object.
80250         (__ieee754_powl): Saturate large exponents rather than testing for
80251         overflow of y*log2(x).
80252         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80253         * math/libm-test.inc (pow_test): Do not permit spurious overflow
80254         exceptions.
80256         [BZ #11521]
80257         * math/s_ctan.c: Include <float.h>.
80258         (__ctan): Avoid internal overflow or cancellation in calculating
80259         denominator.
80260         * math/s_ctanf.c: Likewise.
80261         * math/s_ctanl.c: Likewise.
80262         * math/s_ctanh.c: Likewise.
80263         * math/s_ctanhf.c: Likewise.
80264         * math/s_ctanhl.c: Likewise.
80265         * math/libm-test.inc (ctan_test): Add more tests.
80266         (ctanh_test): Likewise.
80267         * sysdeps/i386/fpu/libm-test-ulps: Update.
80268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80270 2012-04-09  Andreas Jaeger  <aj@suse.de>
80272         [BZ #6894]
80273         * manual/filesys.texi (Directory Entries): Mention that d_namlen
80274         is an optional BSD extension.
80276         [BZ #10254]
80277         * manual/stdio.texi (Opening Streams): Document additional fopen
80278         parameters.
80280 2012-04-09  Roland McGrath  <roland@hack.frob.com>
80282         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
80283         %eax without telling the compiler.
80285 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
80287         [BZ # 13963]
80288         * manual/install.texi: Use sourceware.org.
80290 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
80292         [BZ #13873]
80293         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
80294         (__ieee754_pow): Generate overflow and underflow using huge*huge
80295         and tiny*tiny rather than just returning constant infinity or zero
80296         for large exponents.
80297         * math/libm-test.inc (pow_test): Require overflow exceptions for
80298         applicable cases of large exponents.
80300         [BZ #706]
80301         * sysdeps/i386/fpu/e_pow.S (p10): New object.
80302         (__ieee754_pow): Use iterative multiplication algorithm only for
80303         integer exponents with absolute value below 1024.  Check for odd
80304         integer exponents when using algorithm for real exponents.
80305         * math/libm-test.inc (pow_test): Add more tests.
80306         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80308 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
80310         [BZ #13705]
80311         * math/libm-test.inc (exp_test): Do not allow overflow exception
80312         on underflow test.
80314 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
80316         [BZ #13705]
80317         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
80318         instead of __kernel_standard_f.
80320 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
80322         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
80323         * sysdeps/x86_64/memset_chk.S: Likewise.
80325 2012-04-08  Andreas Jaeger  <aj@suse.de>
80327         [BZ #10153]
80328         * manual/startup.texi (Environment Access): Describe return value
80329         for putenv and setenv.
80331         [BZ #6895]
80332         * manual/filesys.texi (Directory Entries): Add description for
80333         DT_LNK.
80335         [BZ #6890]
80336         * manual/filesys.texi (Directory Entries): Clarify that it's file
80337         system not operating system in the description of DT_UNKNOWN.
80339         [BZ #6578]
80340         * manual/syslog.texi (closelog): Fix reference, it's openlog.
80342 2012-04-08  Stephen Compall  <s11@member.fsf.org>
80344         [BZ #6649]
80345         * manual/llio.texi (Opening and Closing Files): Add cross
80346         reference to explain mode argument.
80348 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
80350         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
80351         * sysdeps/x86_64/memset_chk.S: Likewise.
80353 2012-04-07  David S. Miller  <davem@davemloft.net>
80355         * elf/elf.h (R_SPARC_WDISP10): Define.
80356         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
80357         R_SPARC_SIZE32.
80358         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
80359         R_SPARC_SIZE64 and R_SPARC_H34.
80361 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
80363         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
80364         conditions and remove no longer applicable assertion.
80366 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
80368         * bits/byteswap.h: Include <features.h>.
80369         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
80370         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
80372 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
80374         * bits/byteswap.h (__bswap_16): Removed.
80375         Include <bits/byteswap-16.h> to get __bswap_16.
80376         * sysdeps/i386/bits/byteswap.h: Likewise.
80377         * sysdeps/s390/bits/byteswap.h: Likewise.
80378         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80379         * bits/byteswap-16.h: New file.
80380         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80381         * sysdeps/s390/bits/byteswap-16.h: Likewise.
80382         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
80383         * string/Makefile (headers): Add bits/byteswap-16.h.
80385 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
80387         [BZ #13895]
80388         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
80389         extra indirection.
80390         * nss/Makefile (tests-static, tests): Add tst-nss-static.
80391         * nss/tst-nss-static.c: New.
80393 2012-04-06  Robert Millan  <rmh@gnu.org>
80395         [BZ #6486]
80396         * manual/llio.texi (File Position Primitive): lseek
80397         refers to WHENCE when it really means OFFSET.
80399 2012-04-06  Andreas Jaeger  <aj@suse.de>
80401         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
80402         strncmp declarations.
80404         * abilist/libc.abilist: Add __poll and __ppoll.
80406 2012-04-05  David S. Miller  <davem@davemloft.net>
80408         * scripts/check-local-headers.sh: Accept a host triplet in the
80409         path matched by the exclude regexp.
80411         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
80412         definition.
80413         * sysdeps/powerpc/powerpc32/dl-machine.h
80414         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
80415         * sysdeps/s390/s390-32/dl-machine.h
80416         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80417         * sysdeps/sparc/sparc32/dl-machine.h
80418         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80419         * sysdeps/sparc/sparc64/dl-machine.h
80420         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80422         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
80423         lazy binding.
80424         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
80425         undefined symbol errors.
80427         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
80428         DT_NEEDED entries.
80430 2012-04-05  Michael Matz  <matz@suse.de>
80432         [BZ #13592]
80433         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
80435 2012-04-05  Andreas Jaeger  <aj@suse.de>
80437         [BZ #13908]
80438         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
80439         comment.
80441 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80443         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
80444         which ROUND is no valid rounding mode.
80446 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80448         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
80449         read again.
80450         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
80452 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80454         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
80455         an exception using FPU order intentionally.
80457 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80459         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
80460         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
80461         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
80462         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
80464 2012-04-05  Simon Josefsson  <simon@josefsson.org>
80466         [BZ #12340]
80467         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
80468         EINVAL when BUFLEN is too smal.
80470 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
80472         [BZ #13553]
80473         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
80474         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
80476 2012-04-03  Andreas Jaeger  <aj@suse.de>
80478         [BZ #13938]
80479         * manual/setjmp.texi (System V contexts): Fix sentence.
80481         [BZ #13926]
80482         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
80483         New macro for this case.
80484         [!__GNUC__] (__bswap_64): New inline function for this case.
80485         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80486         * bits/byteswap.h: Likewise.
80487         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
80488         ull, guard with __GLIBC_HAVE_LONG_LONG.
80490         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
80491         __GLIBC_HAVE_LONG_LONG.
80493         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
80494         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
80496 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
80498         [BZ #13691]
80499         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
80500         inptr and inend, rather than using last_ch.
80502 2012-04-02  David S. Miller  <davem@davemloft.net>
80504         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
80505         * stdio-common/printf-parse.h (read_int): Change return type to
80506         'int', return -1 on INT_MAX overflow.
80507         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
80508         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
80509         overflows INT_MAX.  Check for overflow of in-format-string precision
80510         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
80511         SIZE_MAX not INT_MAX for integer overflow test.
80512         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
80513         skip the construct in the format string but do not record anything.
80514         * stdio-common/bug22.c: Adjust to test both width/prevision
80515         INT_MAX overflow as well as total length INT_MAX overflow.  Check
80516         explicitly for proper errno values.
80518 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
80520         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
80521         CHAR_MAX.
80522         * string/test-strcmp.c [! WIDE]: Likewise.
80523         * time/tst-mktime2.c: Likewise for INT_MAX.
80524         * string/test-string.h: #include <sys/param.h> for MIN.
80526         * csu/init-first.c (__libc_init_first): Call __ctype_init.
80527         * sysdeps/i386/init-first.c (init): Likewise.
80528         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
80529         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
80530         * sysdeps/sh/init-first.c (init): Likewise.
80532 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
80534         * po/ru.po: Update from translation team.
80535         * po/vi.po: Likewise.
80537 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
80539         * resolv/nss_dns/dns-host.c: Merge copyright years.
80541 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80543         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80544         Optimize memcpy with prefetch if
80545         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
80546         src, dst pointers have unequal 16 byte alignments.
80548 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
80550         [BZ #13928]
80551         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
80552         from a CNAME entry and return the minimum ttl for the query.
80553         (gaih_getanswer_slice): Likewise.
80555 2012-03-30  Jeff Law  <law@redhat.com>
80557         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
80558         due to long keys.
80559         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
80560         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
80562         * resolv/nss_dns/dns-host.c: Update copyright year.
80564 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
80566         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
80567         requests to save a system call.  Fix check that all bytes are sent.
80569         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
80570         comments for sendmmsg.
80572 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80574         [BZ #13691]
80575         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
80576         with only 1 character between 0x0041 and 0x01b0.
80577         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
80578         * wcsmbs/tst-mbsnrtowcs.c: New file.
80580 2012-03-29  David S. Miller  <davem@davemloft.net>
80582         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
80583         small copies by hand.
80585 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
80587         [BZ #13761]
80588         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
80589         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
80590         group memberships.
80592 2012-03-28  David S. Miller  <davem@davemloft.net>
80594         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
80595         that branches into memcpy.
80596         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
80597         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
80598         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80599         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
80600         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
80601         bits.
80602         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
80603         implementation too.
80604         * sysdeps/sparc/mempcpy.S: New file.
80606         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
80607         the IFUNC routine in the libc case.
80608         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
80610         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
80611         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
80612         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
80613         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
80614         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
80615         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
80616         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
80617         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
80619         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
80620         loop to 256 bytes instead of 64 bytes and fix test signedness.
80622         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
80623         * sysdeps/sparc/sparc32/Makefile: rather than here...
80624         * sysdeps/sparc/sparc64/Makefile: and here.
80626 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
80628         * malloc/mallocbug.c: Avoid warnings about unused variables.
80630 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
80632         [BZ #13760]
80633         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
80634         in the right place. Discard and retry query if response is
80635         larger than input buffer size.
80637 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
80639         [BZ #369]
80640         [BZ #2678]
80641         [BZ #3866]
80642         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
80643         x for large integer exponent.
80644         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
80645         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
80646         sign of result as needed afterwards.
80647         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
80648         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
80649         result for underflowing pow the same as for overflow.
80650         (__kernel_standard_l): Handle powl overflow and underflow here
80651         rather than calling __kernel_standard.
80652         * math/libm-test.inc (pow_test): Add more tests.
80654         [BZ #3868]
80655         [BZ #13879]
80656         [BZ #13910]
80657         [BZ #13911]
80658         [BZ #13912]
80659         [BZ #13913]
80660         [BZ #13915]
80661         [BZ #13916]
80662         [BZ #13917]
80663         [BZ #13918]
80664         [BZ #13919]
80665         [BZ #13920]
80666         [BZ #13921]
80667         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
80668         * sysdeps/ieee754/k_standard.c: Include <float.h>.
80669         (__kernel_standard_l): New function.
80670         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
80671         __kernel_standard.
80672         * math/w_acosl.c (__acosl): Likewise.
80673         * math/w_asinl.c (__asinl): Likewise.
80674         * math/w_atan2l.c (__atan2l): Likewise.
80675         * math/w_atanhl.c (__atanhl): Likewise.
80676         * math/w_coshl.c (__coshl): Likewise.
80677         * math/w_exp10l.c (__exp10l): Likewise.
80678         * math/w_exp2l.c (__exp2l): Likewise.
80679         * math/w_fmodl.c (__fmodl): Likewise.
80680         * math/w_hypotl.c (__hypotl): Likewise.
80681         * math/w_j0l.c (__j0l, __y0l): Likewise.
80682         * math/w_j1l.c (__j1l, __y1l): Likewise.
80683         * math/w_jnl.c (__jnl, __ynl): Likewise.
80684         * math/w_lgammal.c (__lgammal): Likewise.
80685         * math/w_log10l.c (__log10l): Likewise.
80686         * math/w_log2l.c (__log2l): Likewise.
80687         * math/w_logl.c (__logl): Likewise.
80688         * math/w_powl.c (__powl): Likewise.
80689         * math/w_remainderl.c (__remainderl): Likewise.
80690         * math/w_scalbl.c (sysv_scalbl): Likewise.
80691         * math/w_sinhl.c (__sinhl): Likewise.
80692         * math/w_sqrtl.c (__sqrtl): Likewise.
80693         * math/w_tgammal.c (__tgammal): Likewise.
80694         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
80695         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
80696         * math/libm-test.inc (acos_test): Add more tests.
80697         (acosh_test): Likewise.
80698         (asin_test): Likewise.
80699         (atanh_test): Likewise.
80700         (exp_test): Likewise.
80701         (exp10_test): Likewise.
80702         (exp2_test): Likewise.
80703         (expm1_test): Likewise.
80704         (lgamma_test): Likewise.
80705         (log_test): Likewise.
80706         (log10_test): Likewise.
80707         (log1p_test): Likewise.
80708         (log2_test): Likewise.
80709         (pow_test): Do not allow some spurious overflow exceptions.
80710         (sqrt_test): Add more tests.
80711         (tgamma_test): Likewise.
80712         (y0_test): Likewise.
80713         (y1_test): Likewise.
80714         (yn_test): Likewise.
80716 2012-03-27  Anton Blanchard  <anton@samba.org>
80718         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
80719         MAP_HUGETLB.
80720         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
80721         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
80722         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
80724 2012-03-27  David S. Miller  <davem@davemloft.net>
80726         * conform/Makefile: Run run-conformtest.sh using $(BASH).
80728         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
80729         have-as-vis3 check.
80731 2012-03-27  Andreas Jaeger  <aj@suse.de>
80733         * sysdeps/x86_64/elf/configure.in: Moved to ...
80734         * sysdeps/x86_64/configure.in: ... here.
80735         * sysdeps/x86_64/elf/start.S: Moved to ...
80736         * sysdeps/x86_64/start.S: ... here.
80737         * sysdeps/x86_64/elf/configure: Delete.
80739         * sysdeps/x86_64/configure.in: Merge contents from
80740         sysdeps/i386/configure.in (without i686 check).
80742         * sysdeps/i386/elf/Versions: Merge into ...
80743         * sysdeps/i386/Versions: ... this.
80744         * sysdeps/i386/elf/Versions: Delete file.
80745         * sysdeps/i386/elf/start.S: Moved to ...
80746         * sysdeps/i386/start.S: ...here.
80747         * sysdeps/i386/elf/configure.in: Merge into...
80748         * sysdeps/i386/configure.in: ...here.
80749         * sysdeps/i386/elf/configure.in: Delete file.
80750         * sysdeps/i386/elf/configure: Delete file.
80752         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
80753         * debug/backtracesyms.c: ... here.
80754         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
80755         * debug/backtracesymsfd.c: ... here.
80756         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
80757         * sysdeps/generic/ifunc-sel.h: ... here.
80759         * sysdeps/unix/i386/start.c: Delete file.
80760         * sysdeps/unix/sparc/start.c: Delete file.
80761         * sysdeps/unix/start.c: Delete file.
80763         * sysdeps/sh/elf/configure.in: Moved to ...
80764         * sysdeps/sh/configure.in: ... here.
80765         * sysdeps/sh/elf/start.S: Moved to ...
80766         * sysdeps/sh/start.S: ... here.
80767         * sysdeps/sh/elf/configure: Delete file.
80769         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
80770         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
80771         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
80772         * sysdeps/powerpc/powerpc64/entry.h: ... here.
80773         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
80774         * sysdeps/powerpc/powerpc64/start.S: here.
80775         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
80776         * sysdeps/powerpc/powerpc64/Makefile: ... this.
80777         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
80778         * sysdeps/powerpc/powerpc64/configure.in: ... this.
80779         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
80781         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
80782         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
80783         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
80784         * sysdeps/powerpc/powerpc32/start.S: ... here.
80785         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
80786         * sysdeps/powerpc/powerpc32/configure.in: ... this.
80787         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
80789         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
80790         * sysdeps/powerpc/ifunc-sel.h: ... here.
80791         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
80792         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
80794         * sysdeps/sparc/elf/configure.in: Moved to ...
80795         * sysdeps/sparc/configure.in: ... here.
80796         * sysdeps/sparc/elf/configure: Delete file.
80797         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
80798         * sysdeps/sparc/sparc32/start.S: ... here.
80799         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
80800         * sysdeps/sparc/sparc64/start.S: ... here.
80801         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
80802         * sysdeps/sparc/sparc32/Makefile: ... this.
80803         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
80804         * sysdeps/sparc/sparc64/Makefile: ... this.
80806         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
80807         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
80808         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
80809         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
80810         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
80811         * sysdeps/s390/s390-32/setjmp.S: ... here.
80812         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
80813         * sysdeps/s390/s390-32/configure.in: ... here.
80814         * sysdeps/s390/s390-32/elf/configure: Delete file.
80815         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
80816         * sysdeps/s390/s390-32/start.S: ... here.
80818         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
80819         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
80820         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
80821         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
80822         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
80823         * sysdeps/s390/s390-64/setjmp.S: ... here.
80824         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
80825         * sysdeps/s390/s390-64/configure.in: ... here
80826         * sysdeps/s390/s390-64/elf/configure: Delete file.
80827         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
80828         * sysdeps/s390/s390-64/start.S: ... here.
80829         * sysdeps/s390/s390-64/elf/configure: Delete.
80831         * configure.in: Remove support for elf directories in sysdeps.
80833         * configure: Regenerated.
80834         * sysdeps/i386/configure: Regenerated.
80835         * sysdeps/powerpc/powerpc32/configure: Regenerated.
80836         * sysdeps/powerpc/powerpc64/configure: Regenerated.
80837         * sysdeps/s390/s390-32/configure: Regenerated.
80838         * sysdeps/s390/s390-64/configure: Regenerated.
80839         * sysdeps/sh/configure: Regenerated.
80840         * sysdeps/sparc/configure: Regenerated.
80841         * sysdeps/x86_64/configure: Regenerated.
80843 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
80845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80847         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
80848         denormal result into account.
80850 2012-03-25  Roland McGrath  <roland@hack.frob.com>
80852         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
80853         Reported by Allan McRae <allan@archlinux.org>.
80855 2012-03-23  Jeff Law  <law@redhat.com>
80857         * nss/getnssent.c (__nss_getent): Fix typo.
80859 2012-03-23  David S. Miller  <davem@davemloft.net>
80861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80863 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
80865         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
80866         to pad to uint64_t for each field.
80867         (dl_tls_index): Replace unsigned long with uint64_t.
80869 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
80870         Paul Pluzhnikov  <ppluzhnikov@google.com>
80872         [BZ #6528]
80873         * grp/Makefile (otherlibs): Don't set it.
80874         * inet/Makefile (otherlibs): Likewise.
80875         * login/Makefile (otherlibs): Likewise.
80876         * nscd/Makefile (otherlibs): Likewise.
80877         * posix/Makefile (otherlibs): Likewise.
80878         * pwd/Makefile (otherlibs): Likewise.
80879         * rt/Makefile (otherlibs): Likewise.
80880         * sunrpc/Makefile (otherlibs): Likewise.
80881         * nss/Makefile (otherlibs): Likewise.
80882         Add libnss_files to routines and static-only-routines.
80883         ($(objpfx)getent): Remove rule.
80884         * resolv/Makefile: Add libnss_dns and libresolv to routines and
80885         static-only-routines.
80887 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
80889         [BZ #13892]
80890         * math/s_cexp.c: Include <float.h>.
80891         (__cexp): Handle exp result overflowing not necessarily
80892         overflowing both real and imaginary parts of result.
80893         * math/s_cexpf.c: Likewise.
80894         * math/s_cexpl.c: Likewise.
80895         * math/libm-test.inc (cexp_test): Add more tests.
80896         * sysdeps/i386/fpu/libm-test-ulps: Update.
80897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80899 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80901         * include/link.h (ELFW): New macro.
80902         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
80903         Replace ELF64_R_TYPE with ELFW(R_TYPE).
80905 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80907         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
80908         with uint64_t.
80910 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80912         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
80913         declaration.
80914         (struct La_x32_retval): Likewise.
80916 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80918         * sysdeps/x86_64/preconfigure.in: New file.
80919         * sysdeps/x86_64/preconfigure: New generated file.
80921 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
80923         [BZ #13824]
80924         * math/e_exp2l.c: Include <float.h>.
80925         (__ieee754_exp2l): Handle overflow and underflow cases
80926         separately.  Only pass fractional part of argument to
80927         __ieee754_expl.
80928         * math/libm-test.inc (exp2_test): Add more tests.
80930         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
80931         negating x to take absolute value.
80932         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
80933         Likewise.
80934         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
80935         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
80936         Likewise.
80937         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
80938         computing low part if x was negated.
80939         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
80941 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80943         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
80944         la_x32_gnu_pltexit.
80945         (pltexit): Cast int_retval to ptrdiff_t.
80946         * elf/tst-auditmod3b.c: Likewise.
80947         * elf/tst-auditmod4b.c: Likewise.
80948         * elf/tst-auditmod5b.c: Likewise.
80949         * elf/tst-auditmod6b.c: Likewise.
80950         * elf/tst-auditmod6c.c: Likewise.
80951         * elf/tst-auditmod7b.c: Likewise.
80953         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
80954         and x32_gnu_pltexit.
80956         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
80957         __ELF_NATIVE_CLASS.
80958         (La_x32_regs): New macro.
80959         (La_x32_retval): Likewise.
80960         (la_x32_gnu_pltenter): New function prototype.
80961         (la_x32_gnu_pltexit): Likewise.
80963 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
80965         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
80966         exponent.
80968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80970         * configure.in (libc_cv_cc_nofma): Check for option to disable
80971         generation of FMA instructions.
80972         * configure: Regenerate.
80973         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
80974         * sysdeps/ieee754/dbl-64/Makefile: New file.
80975         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
80976         Remove brandred-fma4.
80977         (CFLAGS-brandred-fma4.c): Remove.
80978         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
80979         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
80980         define.
80981         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
80982         define.
80984 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80986         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80987         LLONG_MAX != LONG_MAX.
80988         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80989         (_fitoa_word): Likewise.
80990         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
80991         LLONG_MAX != LONG_MAX.
80992         * stdio-common/_itowa.h: Include <_itoa.h>.
80993         (_itowa_word): Use _ITOA_WORD_TYPE on value.
80994         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
80995         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
80996         only if not defined.
80997         (_ITOA_WORD_TYPE): Likewise.
80998         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80999         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
81001 2012-03-21  David S. Miller  <davem@davemloft.net>
81003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81005 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81007         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
81008         of x86_64 when setting libc_cv_slibdir, libdir and
81009         libc_cv_localedir.
81010         * sysdeps/unix/sysv/linux/configure: Regenerated.
81012 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81014         * manual/lang.texi (Old Varargs): Remove section.
81015         (How Variadic): Update menu.
81016         (va_start): Do not mention varargs.h.
81018 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
81019             Joseph Myers  <joseph@codesourcery.com>
81021         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
81022         link test.
81023         * configure: Regenerated.
81025 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
81027         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
81028         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
81029         conformtest.pl
81031 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81033         * NOTES: Remove.
81034         * Makefile (files-for-dist): Remove NOTES.
81035         (NOTES): Remove rule.
81036         * README: Don't refer to NOTES.
81037         * manual/creature.texi: Don't include macros.texi.
81038         * manual/intro.texi (creature.texi): Remove comment referring to
81039         NOTES.
81041         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
81042         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
81043         * configure: Regenerated.
81044         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
81045         LIBC_TRY_CC_OPTION.
81046         (libc_cv_as_i686): Likewise.
81047         (libc_cv_cc_avx): Likewise.
81048         (libc_cv_cc_sse2avx): Likewise.
81049         (libc_cv_cc_fma4): Likewise.
81050         (libc_cv_cc_novzeroupper): Likewise.
81051         * sysdeps/i386/configure: Regenerated.
81053         [BZ #13883]
81054         * sysdeps/i386/fpu/s_cexp.S: Remove.
81055         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81056         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81057         * math/libm-test.inc (cexp_test): Add more tests.
81058         * sysdeps/i386/fpu/libm-test-ulps: Update.
81059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81061 2012-03-21  Allan McRae  <allan@archlinux.org>
81063         * timezone/Makefile: Do not install iso3166.tab and zone.tab
81065 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81067         [BZ #13871]
81068         * math/w_exp2.c: Do not include <float.h>.
81069         (o_threshold, u_threshold): Remove.
81070         (__exp2): Calculate result before checking finiteness and calling
81071         __kernel_standard.
81072         * math/w_exp2f.c: Likewise.
81073         * math/w_exp2l.c: Likewise.
81074         * math/libm-test.inc (exp2_test): Require overflow exception for
81075         1e6 input.
81077         [BZ #3866]
81078         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
81079         range of signed 64-bit integers before using fistpll.  Remove
81080         checks for whether integers fit in mantissa bits.
81081         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
81082         the range of signed 32-bit integers before using fistpl.  Remove
81083         checks for whether integers fit in mantissa bits.
81084         * sysdeps/i386/fpu/e_powl.S (p64): New object.
81085         (__ieee754_powl): Test for y outside the range of signed 64-bit
81086         integers before using fistpll.  Reduce 64-bit values to 63-bit
81087         ones as needed.
81088         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
81089         divide-by-zero is raised for zero to large negative powers.
81090         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
81091         (__ieee754_powl): Test for y outside the range of signed 64-bit
81092         integers before using fistpll.  Reduce 64-bit values to 63-bit
81093         ones as needed.
81094         * math/libm-test.inc (pow_test): Add more tests.
81096 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81098         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
81099         <stdio-common/_itoa.h>.
81100         * debug/segfault.c: Likewise.
81101         * elf/dl-cache.c: Likewise.
81102         * elf/dl-minimal.c: Likewise.
81103         * elf/dl-misc.c: Likewise.
81104         * elf/dl-sysdep.c: Likewise.
81105         * elf/dl-version.c: Likewise.
81106         * elf/rtld.c: Likewise.
81107         * hurd/hurdsock.c: Likewise.
81108         * hurd/lookup-retry.c: Likewise.
81109         * malloc/malloc.c: Likewise.
81110         * malloc/mtrace.c: Likewise.
81111         * nscd/nscd_getgr_r.c: Likewise.
81112         * nscd/nscd_getpw_r.c: Likewise.
81113         * nscd/nscd_getserv_r.c: Likewise.
81114         * posix/getopt_init.c: Likewise.
81115         * posix/wordexp.c: Likewise.
81116         * stdio-common/_itoa.c: Likewise.
81117         * stdio-common/printf_fphex.c: Likewise.
81118         * stdio-common/vfprintf.c: Likewise.
81119         * string/_strerror.c: Likewise.
81120         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
81121         * sysdeps/i386/i686/hp-timing.h: Likewise.
81122         * sysdeps/mach/_strerror.c: Likewise.
81123         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
81124         * sysdeps/mach/hurd/sethostid.c: Likewise.
81125         * sysdeps/mach/hurd/xmknodat.c: Likewise.
81126         * sysdeps/mach/xpg-strerror.c: Likewise.
81127         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
81128         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
81129         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
81130         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
81131         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
81132         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
81133         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
81134         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
81135         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
81136         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
81137         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
81138         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
81139         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
81140         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
81141         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
81142         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
81143         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
81144         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
81145         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
81146         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
81147         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
81149         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
81151         * stdio-common/_itoa.h: Moved to ...
81152         * sysdeps/generic/_itoa.h: Here.
81154         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
81156         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
81157         instead of "_itoa.h" and "_itowa.h".
81158         * stdio-common/vfprintf.: Likewise.
81160 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81162         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
81163         <bits/wordsize.h>.
81164         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
81165         (__signbit): Likewise.
81166         (llrintf): Likewise.
81167         (llrint): Likewise.
81169 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81171         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
81172         __WORDSIZE != 64.
81174 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
81176         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
81177         OVERFLOW_EXCEPTION_OK.
81178         * math/libm-test.inc ("Philosophy"): Update comment about
81179         exception testing.
81180         (OVERFLOW_EXCEPTION): Define.
81181         (OVERFLOW_EXCEPTION_OK): Likewise.
81182         (INVALID_EXCEPTION_OK): Renumber.
81183         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81184         (IGNORE_ZERO_INF_SIGN): Likewise.
81185         (test_exceptions): Handle FE_OVERFLOW.
81186         (exp10_test): Expect overflow exceptions.
81187         (exp2_test): Likewise.
81188         (expm1_test): Likewise.
81189         (nextafter_test): Likewise.
81190         (pow_test): Likewise.
81191         (scalbn_test): Likewise.
81192         (scalbln_test): Likewise.
81194 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81196         * sysdeps/x86_64/bits/atomic.h
81197         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
81198         64bit integer.
81199         (atomic_exchange_acq): Likewise.
81200         (__arch_exchange_and_add_body): Likewise.
81201         (__arch_add_body): Likewise.
81202         (atomic_add_negative): Likewise.
81203         (atomic_add_zero): Likewise.
81205 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81207         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
81208         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
81210 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81212         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
81213         Check __x86_64__ instead of __WORDSIZE.
81215 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81217         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
81219 2012-03-19  David S. Miller  <davem@davemloft.net>
81221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81223         * sysdeps/sparc/fpu/fenv_private.h: New file.
81224         * sysdeps/sparc/fpu/math_private.h: Use it.
81225         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
81226         Remove.
81227         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
81228         (libc_feholdexcept_setroundl): Remove.
81229         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
81230         Remove.
81231         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
81232         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
81234 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81236         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
81237         int64_t instead of long int.
81238         (INSERT_WORDS64): Likewise.
81240 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81242         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
81243         _Unwind_GetCFA return to _Unwind_Ptr first.
81245 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
81247         [BZ #13629]
81248         * math/s_clog.c: Include <float.h>.
81249         (__clog): Scale large or subnormal inputs.
81250         * math/s_clogf.c: Likewise.
81251         * math/s_clogl.c: Likewise.
81252         * math/s_clog10.c: Include <float.h>.
81253         (M_LOG10_2): Define.
81254         (__clog10): Scale large or subnormal inputs.
81255         * math/s_clog10f.c: Likewise.
81256         * math/s_clog10l.c: Likewise.
81257         * math/libm-test.inc (clog_test): Add more tests.
81258         (clog10_test): Likewise.
81259         * sysdeps/i386/fpu/libm-test-ulps: Update.
81260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81262         [BZ #11451]
81263         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
81264         x and y.
81265         * math/libm-test.inc (atan2_test): Add another test.
81267         * Makerules (common-objdir-compile): Remove.
81268         * sysdeps/unix/Makefile (config-generated): Do not add
81269         $(unix-generated) to variable.
81270         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
81271         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
81272         Remove rule.
81273         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
81274         Likewise.
81275         [generic bits/local_lim.h] (before-compile): Do not append to
81276         variable.
81277         [generic bits/local_lim.h] (common-generated): Likewise.
81278         [generic sys/param.h] (before-compile): Do not append to variable.
81279         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
81280         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
81281         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
81282         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
81283         include.
81284         [generic sys/param.h] (sys/param.h-includes): Remove variable.
81285         [generic sys/param.h] (sys/param.h-includes): Remove rule.
81286         [generic sys/param.h] ($(addprefix
81287         $(common-objpfx),$(sys/param.h-includes))): Likewise.
81288         [generic sys/param.h] (common-generated): Do not append to
81289         variable.
81290         [generic sys/param.h] (sysdep_headers): Likewise.
81291         [generic bits/errno.h] (before-compile): Do not append to
81292         variable.
81293         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
81294         rule.
81295         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
81296         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
81297         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
81298         [generic bits/errno.h] (common-generated): Do not append to
81299         variable.
81300         [generic bits/ioctls.h] (before-compile): Do not append to
81301         variable.
81302         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
81303         rule.
81304         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
81305         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
81306         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
81307         rule.
81308         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
81309         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
81310         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
81311         [generic bits/ioctls.h] (common-generated): Do not append to
81312         variable.
81313         [generic sys/syscall.h] (syscall.h): Remove variable.
81314         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
81315         rule.
81316         [generic sys/syscall.h] (before-compile): Do not append to
81317         variable.
81318         [generic sys/syscall.h] (common-generated): Likewise.
81319         * sysdeps/unix/errnos-tmpl.c: Remove file.
81320         * sysdeps/unix/errnos.awk: Likewise.
81321         * sysdeps/unix/ioctls-tmpl.c: Likewise.
81322         * sysdeps/unix/ioctls.awk: Likewise.
81323         * sysdeps/unix/mk-local_lim.c: Likewise.
81324         * sysdeps/unix/snarf-ioctls: Likewise.
81326 2012-03-19  Richard Henderson  <rth@twiddle.net>
81328         * sysdeps/i386/fpu/fenv_private.h: New file.
81329         * sysdeps/i386/fpu/math_private.h: Use it.
81330         (math_opt_barrier, math_force_eval): Remove.
81331         (libc_feholdexcept_setround_53bit): Remove.
81332         (libc_feupdateenv_53bit): Remove.
81333         * sysdeps/x86_64/fpu/math_private.h: Likewise.
81334         (math_opt_barrier, math_force_eval): Remove.
81335         (libc_feholdexcept): Remove.
81336         (libc_feholdexcept_setround): Remove.
81337         (libc_fetestexcept, libc_fesetenv): Remove.
81338         (libc_feupdateenv_test): Remove.
81339         (libc_feupdateenv, libc_feholdsetround): Remove.
81340         (libc_feresetround): Remove.
81342         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
81343         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
81345         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
81346         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
81347         (libc_feupdateenv_testl): New.
81348         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
81349         (libc_feupdateenv_testf): New.
81350         (libc_feupdateenv): Use libc_feupdateenv_test.
81351         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
81352         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
81354         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
81355         (libc_feholdsetroundf, libc_feholdsetroundl): New.
81356         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
81357         (libc_feresetround_noex): New.
81358         (libc_feresetround_noexf): New.
81359         (libc_feresetround_noexl): New.
81360         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
81361         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
81362         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
81363         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
81364         SET_RESTORE_ROUND.
81365         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
81366         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
81367         (__cos): Likewise.
81368         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
81369         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
81370         SET_RESTORE_ROUND_NOEX.
81371         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
81372         SET_RESTORE_ROUND_NOEXF.
81373         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
81374         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
81375         (libc_feholdsetroundf): New.
81376         (libc_feresetround, libc_feresetroundf): New.
81378         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
81379         (libc_feholdexcept_setround_53bit): Convert from macro to function.
81380         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
81382         * sysdeps/generic/math_private.h: Include <fenv.h>.
81383         (default_libc_feholdexcept): New.
81384         (default_libc_feholdexcept_setround): New.
81385         (default_libc_fesetenv, default_libc_feupdateenv): New.
81386         (libc_feholdexcept): Only define if undefined.
81387         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
81388         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
81389         (libc_feholdexcept_setroundl): Likewise.
81390         (libc_feholdexcept_setround_53bit): Likewise.
81391         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
81392         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
81393         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
81394         (libc_feupdateenv_53bit): Likewise.
81395         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
81396         (libc_feholdexcept): Convert from macro to inline function.
81397         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
81398         (libc_fesetenv, libc_feupdateenv): Likewise.
81400         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
81401         not previously defined.
81402         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
81403         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
81404         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
81405         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
81406         * sysdeps/ieee754/flt-32/math_private.h: New file.
81407         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
81408         math_private.h below SET_FLOAT_WORD.
81409         (__isnan, __isinf_ns, __finite): Remove.
81410         (__isnanf, __isinf_nsf, __finitef): Remove.
81412 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
81414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81416 2012-03-17  David S. Miller  <davem@davemloft.net>
81418         [BZ #6471]
81419         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
81420         for 2.16.
81422 2012-03-16  David S. Miller  <davem@davemloft.net>
81424         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
81425         warnings.
81427         [BZ #6471]
81428         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
81429         properly.
81430         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
81431         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
81432         sysdep_routines when subdir is sysvipc.
81433         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
81434         __getshmlba helper.
81436         * sysdeps/sparc/fpu/libm-test/ulps: Update.
81438 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81440         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
81441         [__LP64__].
81443 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81445         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
81446         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
81447         (__lround): Renamed to ...
81448         (__llround): This.  Replace long int with long long int.
81449         Define lround functions as aliases of llround functions.
81450         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
81452 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81454         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
81455         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
81456         adresses to uintptr_t.  Replace "long int" and "unsigned long
81457         int" with "greg_t" on va_arg.
81459 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81461         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
81462         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
81464         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
81465         Move e_machine check before EI_CLASS check.  Handle x32
81466         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
81467         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
81468         SKIP_EM_IA_64 and include
81469         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
81471         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
81472         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
81473         (add_system_dir): New macro.
81475         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
81476         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
81478 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
81480         [BZ #2551]
81481         [BZ #2552]
81482         [BZ #2553]
81483         [BZ #2554]
81484         [BZ #2562]
81485         [BZ #2563]
81486         [BZ #2565]
81487         [BZ #2566]
81488         [BZ #2576]
81489         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
81490         (y0): Likewise.
81491         * math/w_j0f.c (j0f): Likewise.
81492         (y0f): Likewise.
81493         * math/w_j0l.c (__j0l): Likewise.
81494         (__y0l): Likewise.
81495         * math/w_j1.c (j1): Likewise.
81496         (y1): Likewise.
81497         * math/w_j1f.c (j1f): Likewise.
81498         (y1f): Likewise.
81499         * math/w_j1l.c (__j1l): Likewise.
81500         (__y1l): Likewise.
81501         * math/w_jn.c (jn): Likewise.
81502         (yn): Likewise.
81503         * math/w_jnf.c (jnf): Likewise.
81504         (ynf): Likewise.
81505         * math/w_jnl.c (__jnl): Likewise.
81506         (__ynl): Likewise.
81507         * math/libm-test.inc (j0_test): Add more tests.
81508         (j1_test): Likewise.
81509         (jn_test): Likewise.  Add trailing semicolon to existing test.
81510         (y0_test): Likewise.
81511         (y1_test): Likewise.
81512         * sysdeps/i386/fpu/libm-test-ulps: Update.
81513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81515         [BZ #13851]
81516         [BZ #13854]
81517         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
81518         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
81519         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
81520         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
81521         (__tanl): Set errno for infinite argument.
81522         * sysdeps/i386/fpu/mptan.c: Remove.
81523         * sysdeps/i386/fpu/s_tan.S: Likewise.
81524         * sysdeps/i386/fpu/s_tanl.S: Likewise.
81525         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
81526         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
81527         * math/libm-test.inc (tan_test): Add more tests and enable more
81528         tests for double and long double.
81529         * sysdeps/i386/fpu/libm-test-ulps: Update.
81530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81532 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
81534         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
81535         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
81537 2012-03-16  Roland McGrath  <roland@hack.frob.com>
81539         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
81540         * configure.in: Use it for both main tree and add-ons.
81541         * configure: Regenerated.
81543 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81545         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
81547 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
81549         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
81550         in comment.
81552         [BZ #13851]
81553         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
81554         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
81555         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
81556         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
81557         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
81558         infinite argument.
81559         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
81560         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
81561         != 0 for prec == 2.
81562         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
81563         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
81564         * sysdeps/i386/fpu/s_cosl.S: Likewise.
81565         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
81566         * sysdeps/i386/fpu/s_sinl.S: Likewise.
81567         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
81568         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
81569         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
81570         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
81571         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
81572         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
81573         * math/libm-test.inc (cos_test): Add more tests and enable more
81574         tests for long double.
81575         (sin_test): Likewise.
81576         (sincos_test): Likewise.
81577         * sysdeps/i386/fpu/libm-test-ulps: Update.
81578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81580 2012-03-16  David S. Miller  <davem@davemloft.net>
81582         * sysdeps/sparc/fpu/math_private.h: New file.
81584 2012-03-15  David S. Miller  <davem@davemloft.net>
81586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
81587         file.
81588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
81589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
81590         file.
81591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
81592         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
81593         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
81594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
81595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
81596         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
81597         sysdep routines.
81598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
81600         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
81601         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
81603         * sysdeps/sparc/sparc-ifunc.h: New file.
81604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
81605         sparc-ifunc.h
81606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
81607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
81608         Likewise.
81609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
81610         Likewise.
81611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
81612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
81613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
81614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
81615         Likewise.
81616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
81617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
81618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
81619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
81620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
81621         Likewise.
81622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
81623         Likewise.
81624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
81625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
81626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
81627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
81628         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
81629         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
81630         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
81631         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
81632         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
81633         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
81634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
81635         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
81636         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
81637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
81638         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
81639         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
81640         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
81641         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
81642         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
81643         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
81644         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
81645         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
81646         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
81647         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
81649 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
81651         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
81652         scaling.
81653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81655 2012-03-15  Andreas Jaeger  <aj@suse.de>
81657         [BZ #13852]
81658         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
81659         ieee754/flt-32 implementation for sin, cos and sincos.
81660         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
81661         * sysdeps/i386/fpu/s_cosf.S: Likewise.
81662         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
81663         * sysdeps/i386/fpu/s_sinf.S: Likewise.
81664         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
81665         ieee754/flt-32 implementation for tan.
81667         * math/libm-test.inc (cos_test): Enable some large input tests for
81668         float as well
81669         (sin_test): Likewise.
81670         (sincos_test): Likewise.
81671         (tan_test): Add tests for large input.
81673         * sysdeps/i386/fpu/libm-test-ulps: Update.
81675 2012-03-15  Andreas Jaeger  <aj@suse.de>
81677         [BZ #13658]
81678         * math/libm-test.inc (cos_test): Add more test cases.
81679         (sin_test): Likewise.
81680         (sincos_test): Likewise.
81682 2012-03-15  Andreas Jaeger  <aj@suse.de>
81684         [BZ #13837]
81685         * math/libm-test.inc (cos_test): Add a test case for large input
81686         value.
81687         (sin_test): Likewise.
81688         (sincos_test): Likewise.
81690 2012-03-15  Andreas Jaeger  <aj@suse.de>
81691             Joseph Myers  <joseph@codesourcery.com>
81693         [BZ #13658]
81694         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
81695         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
81696         * sysdeps/i386/fpu/branred.c: Likewise.
81697         * sysdeps/i386/fpu/dosincos.c: Likewise.
81698         * sysdeps/i386/fpu/mpa.c: Likewise.
81699         * sysdeps/i386/fpu/s_cos.S: Likewise.
81700         * sysdeps/i386/fpu/s_sin.S: Likewise.
81701         * sysdeps/i386/fpu/s_sincos.S: Likewise.
81702         * sysdeps/i386/fpu/sincos32.c: Likewise.
81704         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
81705         Define.
81706         (libc_feupdateenv_53bit): Define.
81707         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
81708         Define.
81709         (libc_feupdateenv_53bit): Define.
81711         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
81712         53 bit (without extend i386 double precision).
81714         * math/libm-test.inc (sincos_test): Add tests for large input.
81715         (sin): Likewise.
81716         (cos): Likewise.
81718         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
81720 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
81722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81724 2012-03-15  David S. Miller  <davem@davemloft.net>
81726         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
81727         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
81728         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
81729         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
81730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
81731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
81732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
81733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
81734         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
81735         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
81736         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
81737         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
81738         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
81739         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
81740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
81741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
81742         file.
81743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
81744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
81745         file.
81746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
81747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
81748         file.
81749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
81750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
81751         file.
81752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
81753         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
81754         fmin/fmax sysdep routines.
81755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
81757 2012-03-14  David S. Miller  <davem@davemloft.net>
81759         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
81760         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
81761         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
81762         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
81763         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
81764         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
81765         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
81766         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
81767         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
81768         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
81769         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
81770         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
81771         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
81772         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
81773         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
81774         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
81775         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
81776         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
81777         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
81778         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
81779         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
81780         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
81781         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
81782         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
81783         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
81784         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
81785         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
81786         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
81787         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
81788         routines.
81789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
81790         file.
81791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
81792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
81793         file.
81794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
81795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
81796         file.
81797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
81798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
81799         file.
81800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
81801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
81802         file.
81803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
81804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
81805         file.
81806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
81807         file.
81808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
81809         file.
81810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
81811         file.
81812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
81813         New file.
81814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
81815         file.
81816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
81817         file.
81818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
81819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
81820         file.
81821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
81822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
81823         file.
81824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
81825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
81826         file.
81827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
81828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
81829         VIS3 routines.
81831         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
81832         New file.
81834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81836         * sysdeps/sparc/configure.in: New file.
81837         * sysdeps/sparc/configure: Generate.
81838         * configure.in (libc_cv_sparc_as_vis3): Substitute.
81839         * configure: Regenerate.
81840         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
81841         * config.make.in (have-as-vis3): New.
81842         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
81843         available use -Av9d instead of -Av9a.
81844         * sysdeps/sparc/sparc64/Makefile: Likewise.
81845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
81846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
81847         New file.
81848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
81849         file.
81850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
81851         New file.
81852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
81853         file.
81854         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
81855         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
81856         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
81857         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
81858         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
81860         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
81861         fzeros/fnegs to load 0x80000000 into a float register instead of
81862         using the stack.
81863         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
81865 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
81867         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81868         bits/syscall.h.
81869         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
81870         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
81871         ($(inst_includedir)/bits/syscall.h): Remove rule.
81872         ($(objpfx)bits/syscall.d): Include instead of
81873         $(objpfx)syscall-list.d.
81874         (generated): Change syscall-list.h and syscall-list.d to
81875         bits/syscall.h and bits/syscall.d.
81877 2012-03-14  Roland McGrath  <roland@hack.frob.com>
81879         [BZ #13846]
81880         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
81882 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
81884         [BZ #13841]
81885         * math/s_csqrt.c: Include <float.h>.
81886         (__csqrt): Scale large or subnormal inputs.
81887         * math/s_csqrtf.c: Likewise.
81888         * math/s_csqrtl.c: Likewise.
81889         * math/libm-test.inc (csqrt_test): Add more tests.
81890         * sysdeps/i386/fpu/libm-test-ulps: Update.
81891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81893         [BZ #13840]
81894         * math/libm-test.inc (hypot_test): Add more tests.
81896 2012-03-13  David S. Miller  <davem@davemloft.net>
81898         [BZ #13840]
81899         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
81900         double-precision for the calculation instead of scaling.
81902 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
81904         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
81905         manipulate bits before adding and subtracting TWO52[sx].
81906         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
81907         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
81908         Likewise.
81909         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
81911 2012-03-13  David S. Miller  <davem@davemloft.net>
81913         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
81914         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
81915         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
81916         rtld-global-offsets.h
81917         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81919         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
81920         large parameters.
81922         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
81924         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
81925         'err' in the ifdef scope in which it is actually used.
81927         * nss/nss_db/db-init.c: Include string.h
81929 2012-03-12  David S. Miller  <davem@davemloft.net>
81931         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
81932         masking out of the most significant byte of random value used.
81933         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81934         Fix coding style in previous change.
81936         * sysdeps/unix/sysv/linux/kernel-features.h
81937         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
81938         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
81939         expression.
81940         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
81941         later.
81943 2012-03-11  David S. Miller  <davem@davemloft.net>
81945         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
81946         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
81947         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
81948         for 'resultvar' otherwise things get truncated on 64-bit.
81950         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81951         Fix masking out of the most significant byte of random value used.
81953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81955 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
81957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81959 2012-03-09  David S. Miller  <davem@davemloft.net>
81961         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
81962         variables with appropriate CPP guards.
81963         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
81964         from the frame pointer, not the stack pointer.  Correct layout
81965         comments.  Fix test on resulting framesize and the management of
81966         the outregs buffer for pltexit.  Preserve floating point return
81967         values across _dl_call_pltexit call.
81968         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
81969         framesize and the management of the outregs buffer for pltexit.
81970         Preserve floating point return values across _dl_call_pltexit
81971         call.
81972         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
81973         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
81974         (la_sparc64_gnu_pltexit): New functions.
81975         (print_exit): Fix format string for return register value.
81977 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
81979         * sunrpc/Makefile (others): Add rpcgen.
81980         ($(objpfx)rpcgen): Remove special build rule and dependency on
81981         libc.
81982         * sunrpc/rpcgen.c: New file.
81984 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
81986         [BZ #13673]
81987         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
81988         * stdio-common/bug-vfprintf-nargs.c: Likewise.
81989         * sysdeps/i386/crti.S: Likewise.
81990         * sysdeps/i386/crtn.S: Likewise.
81991         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
81992         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
81993         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
81994         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
81995         * sysdeps/sh/crti.S: Likewise.
81996         * sysdeps/sh/crtn.S: Likewise.
81997         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
81999         [BZ #13673]
82000         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
82001         with URL.
82002         * locale/programs/locfile-kw.gperf: Likewise.
82003         * locale/programs/charmap-kw.h: Regenerated.
82004         * locale/programs/locfile-kw.h: Likewise.
82006         [BZ #13673]
82007         * intl/plural.y: Replace FSF snail mail address with URL.
82008         * intl/plural.c: Regenerated.
82010 2012-03-09  Richard Henderson  <rth@twiddle.net>
82012         * include/math_private.h: Remove file.
82013         * math/math_private.h: Move file ...
82014         * sysdeps/generic/math_private.h: ... here.
82016         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
82017         * sysdeps/powerpc/fpu/math_private.h: Likewise.
82018         * sysdeps/x86_64/fpu/math_private.h: Likewise.
82020         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
82021         and <math_private.h>.
82022         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82023         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82024         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82025         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82026         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82027         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
82028         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
82029         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82030         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82031         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82032         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82033         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82034         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82035         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82036         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82037         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82038         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82039         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82040         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82041         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82042         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82043         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82044         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82045         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82046         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
82047         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82048         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82049         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82050         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82051         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82052         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82053         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82054         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
82055         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
82056         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82057         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82058         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
82059         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82060         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82061         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82062         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
82063         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82064         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82065         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
82066         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
82067         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82068         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
82069         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
82070         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
82071         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82072         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
82073         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
82074         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
82075         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82076         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
82077         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82078         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82079         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
82080         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
82081         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
82082         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82083         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
82084         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82085         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82086         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
82087         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82088         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82089         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82090         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
82091         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
82092         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
82093         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82094         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
82095         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82096         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
82097         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
82098         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
82099         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82100         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
82101         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
82102         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
82103         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
82104         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
82105         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82106         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
82107         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
82108         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
82109         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
82110         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82111         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82112         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82113         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82114         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82115         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82116         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82117         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82118         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82119         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82120         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82121         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82122         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82123         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82124         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82125         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82126         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82127         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82128         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82129         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82130         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82131         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82132         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82133         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82134         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82135         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82136         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
82137         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82138         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82139         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82140         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82141         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
82142         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82143         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82144         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82145         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
82146         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82147         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82148         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82149         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
82150         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82151         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
82152         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
82153         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
82154         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82155         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
82156         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
82157         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82158         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
82159         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82160         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
82161         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82162         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82163         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82164         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82165         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
82166         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
82167         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82168         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82169         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82170         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
82171         * sysdeps/ieee754/k_standard.c: Likewise.
82172         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82173         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82174         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82175         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82176         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82177         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82178         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82179         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82180         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82181         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82182         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82183         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82184         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82185         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82186         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82187         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82188         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
82189         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82190         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82191         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
82192         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
82193         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
82194         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82195         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82196         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
82197         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
82198         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82199         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82200         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82201         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82202         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
82203         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82204         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82205         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82206         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
82207         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82208         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82209         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
82210         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
82211         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82212         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
82213         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
82214         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
82215         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82216         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
82217         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
82218         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82219         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82220         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82221         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82222         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82223         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
82224         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82225         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
82226         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82227         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82228         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
82229         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
82230         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82231         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82232         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82233         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
82234         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82235         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82236         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82237         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82238         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82239         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82240         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82241         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82242         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82243         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82244         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82245         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82246         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82247         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82248         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
82249         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82250         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82251         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
82252         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
82253         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
82254         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82255         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82256         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
82257         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82258         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82259         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
82260         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
82261         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82262         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
82263         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82264         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
82265         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
82266         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82267         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82268         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
82269         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
82270         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
82271         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
82272         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82273         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82274         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82275         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82276         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
82277         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82278         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82279         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
82280         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
82281         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82282         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82283         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82284         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82285         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82286         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82287         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82288         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82289         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82290         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82291         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82292         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82293         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82294         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82295         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82296         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82297         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
82298         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82299         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82300         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82301         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82302         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82303         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82304         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82305         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
82306         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82307         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82308         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
82309         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
82310         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82311         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
82312         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
82313         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82314         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
82315         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
82316         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82317         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82318         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82319         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82320         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82321         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
82322         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82323         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
82324         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82325         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82326         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
82327         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
82328         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82329         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82330         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82331         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
82332         * sysdeps/ieee754/s_lib_version.c: Likewise.
82333         * sysdeps/ieee754/s_matherr.c: Likewise.
82334         * sysdeps/ieee754/s_signgam.c: Likewise.
82335         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82336         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82337         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
82338         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
82339         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
82340         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
82341         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
82342         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
82343         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
82344         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
82345         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
82346         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
82347         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82348         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82349         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
82350         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
82351         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
82352         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
82353         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
82354         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82355         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82357 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
82359         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
82360         * sunrpc/rpc_main.c: Likewise.
82361         * sunrpc/rpc_svcout.c: Likewise.
82363 2012-03-09  David S. Miller  <davem@davemloft.net>
82365         * include/math_private.h: New file.
82367 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
82369         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
82370         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
82371         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
82372         from <bits/socket_type.h>.
82373         (enum __socket_type): Don't define here.
82374         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
82375         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82376         bits/socket_type.h.
82378         [BZ #13566]
82379         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
82380         checking __USE_GNU.
82382         * Makerules ($(inst_includedir)/%.h): New rule.
82383         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
82384         (install-others): Remove variable setting.
82385         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
82387 2012-03-08  Richard Henderson  <rth@twiddle.net>
82389         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
82390         from macro to inline function; merge with the
82391         !__LIBC_INTERNAL_MATH_INLINES version.
82392         (__ieee754_sqrtf): Likewise.
82394         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
82395         to inline function.
82396         (__rintf, __floor, __floorf): Likewise.
82398         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
82399         macro to inline function.
82400         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
82402         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
82403         not <math/math_private.h>.
82405 2012-03-08  David S. Miller  <davem@davemloft.net>
82407         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
82408         copyright year.
82409         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
82411 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
82413         * resolv/gai_misc.c (handle_requests): Fix struct timespec
82414         normalization.
82415         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
82416         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
82418 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
82420         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
82421         be defined individually, they must be defined as a block.  Define
82422         S for printing a string instead of hidint the different by using a
82423         macro for adding the 'l'.
82424         * stdio-common/tst-fphex-wide.c: Adjust.
82426 2012-03-07  Marek Polacek  <polacek@redhat.com>
82428         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
82430 2012-03-08  Marek Polacek  <polacek@redhat.com>
82432         [BZ #13806]
82433         * stdio-common/Makefile (tests): Add tst-fphex-wide.
82434         * stdio-common/tst-fphex.c: Define a few macros to make the
82435         test reusable.  Use them.
82436         * stdio-common/tst-fphex-wide.c: New file.
82438 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
82440         [BZ #6911]
82441         * manual/macros.texi (gnusystems): New macro.
82442         (nongnusystems): Likewise.
82443         (gnulinuxhurdsystems): Likewise.
82444         (gnuhurdsystems): Likewise..
82445         (gnulinuxsystems): Likewise.
82446         * manual/charset.texi: Use new macros or @theglibc{} to refer to
82447         variants of the GNU system, not "GNU system".
82448         * manual/conf.texi: Likewise.
82449         * manual/errno.texi: Likewise.  Update example of errno macro
82450         expansion.
82451         * manual/filesys.texi: Likewise.
82452         (getumask): Document as specific to GNU/Hurd.
82453         * manual/install.texi: Likewise.  Reword some references to
82454         GNU/Linux.
82455         * manual/intro.texi: Likewise.
82456         * manual/io.texi: Likewise.
82457         (File Name Portability): Detail which constraints are inapplicable
82458         to all GNU systems and which are only inapplicable to GNU/Hurd.
82459         * manual/job.texi: Likewise.
82460         * manual/llio.texi: Likewise.
82461         (O_NOCTTY): Document as present on GNU/Linux.
82462         * manual/maint.texi: Likewise.
82463         * manual/memory.texi: Likewise.
82464         * manual/pattern.texi: Likewise.
82465         * manual/pipe.texi: Likewise.
82466         * manual/process.texi: Likewise.
82467         * manual/resource.texi: Likewise.
82468         (RUSAGE_CHILDREN): Remove statement about specifying a particular
82469         child on GNU/Hurd.
82470         * manual/setjmp.texi: Likewise.
82471         * manual/signal.texi: Likewise.
82472         * manual/startup.texi: Likewise.
82473         * manual/stdio.texi: Likewise.
82474         * manual/terminal.texi: Likewise.
82475         (ONLCR): Document as POSIX.
82476         (OXTABS): Document availability on GNU/Linux as XTABS.
82477         (ONOEOT): Document availability separately from other bits.
82478         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
82479         * manual/time.texi: Likewise.
82480         * manual/users.texi: Likewise.
82481         * INSTALL: Regenerated.
82482         * sysdeps/gnu/errlist.c: Regenerated.
82484         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
82485         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
82486         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
82487         puts.
82488         * configure: Regenerated.
82490 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
82492         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
82493         default includes instead of AC_HEADER_CHECK.
82494         * sysdeps/i386/configure: Regenerated.
82496         [BZ #10716]
82497         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
82498         * math/s_cacoshf.c (__cacoshf): Likewise.
82499         * math/s_cacoshl.c (__cacoshl): Likewise.
82500         * math/s_casinh.c (__casinh): Set signs of result from argument.
82501         * math/s_casinhf.c (__casinhf): Likewise.
82502         * math/s_casinhl.c (__casinhl): Likewise.
82503         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
82504         (casinh_test): Add more tests.
82505         * sysdeps/i386/fpu/libm-test-ulps: Update.
82506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82508 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
82510         * po/zh_TW.po: Update from translation team.
82512         * login/Makefile (distribute): Remove variable.
82513         * catgets/Makefile: Likewise.
82514         * mach/Makefile: Likewise.
82515         * malloc/Makefile: Likewise.
82516         * misc/Makefile: Likewise.
82517         * iconv/Makefile: Likewise.
82518         * nscd/Makefile: Likewise.
82519         * hurd/Makefile: Likewise.
82520         * manual/Makefile: Likewise.
82521         * locale/Makefile: Likewise.
82522         * intl/Makefile: Likewise.
82523         * conform/Makefile: Likewise.
82524         * nss/Makefile: Likewise.
82525         * time/Makefile: Likewise.
82526         * soft-fp/Makefile: Likewise.
82527         * dirent/Makefile: Likewise.
82528         * gmon/Makefile: Likewise.
82529         * po/Makefile: Likewise.
82530         * rt/Makefile: Likewise.
82531         * socket/Makefile: Likewise.
82532         * math/Makefile: Likewise.
82533         * signal/Makefile: Likewise.
82534         * debug/Makefile: Likewise.
82535         * elf/Makefile: Likewise.
82536         * timezone/Makefile: Likewise.
82537         * stdlib/Makefile: Likewise.
82538         * iconvdata/Makefile: Likewise.
82539         * sunrpc/Makefile: Likewise.
82540         * io/Makefile: Likewise.
82541         * argp/Makefile: Likewise.
82542         * inet/Makefile: Likewise.
82543         * hesiod/Makefile: Likewise.
82544         * grp/Makefile: Likewise.
82545         * csu/Makefile: Likewise.
82546         * wctype/Makefile: Likewise.
82547         * crypt/Makefile: Likewise.
82548         * libio/Makefile: Likewise.
82549         * string/Makefile: Likewise.
82550         * nis/Makefile: Likewise.
82551         * resolv/Makefile: Likewise.
82552         * stdio-common/Makefile: Likewise.
82553         * wcsmbs/Makefile: Likewise.
82554         * dlfcn/Makefile: Likewise.
82555         * posix/Makefile: Likewise.
82557         [BZ #6959]
82558         * timezone/Makefile: Don't install timezone files, just the programs
82559         and scripts.
82561 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
82563         * nss/databases.def: Add missing gshadow entry.
82565         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
82567 2012-03-06  Marek Polacek  <polacek@redhat.com>
82569         [BZ #13726]
82570         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
82571         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
82572         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
82573         * stdio-common/tst-long-dbl-fphex.c: New file.
82575 2012-03-06  David S. Miller  <davem@davemloft.net>
82577         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
82578         (set_obp_int): New function.
82579         (get_obp_int): New function.
82580         (__get_clockfreq_via_dev_openprom): Likewise.
82581         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
82582         Avoid unused variable warnings on 'val' and use builtin_expect.
82583         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
82584         __builtin_expect.
82585         (INLINE_CLONE_SYSCALL): Likewise.
82587 2012-03-05  David S. Miller  <davem@davemloft.net>
82589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82591 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
82593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82595         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
82596         only for |x| >= 40.
82597         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82599 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
82601         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
82602         Replace gettimeofday with __vdso_gettimeofday.
82604         * sysdeps/unix/sysv/linux/x86_64/init-first.c
82605         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
82606         __vdso_clock_gettime and __vdso_getcpu.
82608         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
82609         time with __vdso_time.
82611 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
82613         * manual/lang.texi (size_t): Note types to which size_t may be
82614         equivalent with the GNU C Library, but do not describe when
82615         differences between them are significant.
82617 2012-03-05  Andreas Jaeger  <aj@suse.de>
82619         * sysdeps/i386/fpu/libm-test-ulps: Update.
82621 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
82623         [BZ #3976]
82624         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
82625         (__ieee754_pow): Save and restore rounding mode and use
82626         round-to-nearest for main computations.
82627         * math/libm-test.inc (pow_test_tonearest): New function.
82628         (pow_test_towardzero): Likewise.
82629         (pow_test_downward): Likewise.
82630         (pow_test_upward): Likewise.
82631         (main): Call the new functions.
82632         * sysdeps/i386/fpu/libm-test-ulps: Update.
82633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82635         [BZ #3976]
82636         * math/libm-test.inc (cosh_test_tonearest): New function.
82637         (cosh_test_towardzero): Likewise.
82638         (cosh_test_downward): Likewise.
82639         (cosh_test_upward): Likewise.
82640         (sinh_test_tonearest): Likewise.
82641         (sinh_test_towardzero): Likewise.
82642         (sinh_test_downward): Likewise.
82643         (sinh_test_upward): Likewise.
82644         (main): Call the new functions.
82645         * sysdeps/i386/fpu/libm-test-ulps: Update.
82646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82648 2012-03-05  Tom de Vries  <tom@codesourcery.com>
82650         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
82651         default stack guard is set in last bytes.
82652         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
82654 2012-03-05  Kees Cook  <keescook@chromium.org>
82656         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
82658         [BZ #13656]
82659         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
82660         possibly allocate from heap instead of stack.
82661         * stdio-common/bug-vfprintf-nargs.c: New file.
82662         * stdio-common/Makefile (tests): Add nargs overflow test.
82664 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
82666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82668 2012-03-03  Marek Polacek  <polacek@redhat.com>
82670         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
82671         * math/math_private.h: Likewise.
82672         * stdlib/tst-strtod.c: Likewise.
82673         * sysdeps/i386/i486/bits/atomic.h: Likewise.
82674         * sysdeps/x86_64/bits/atomic.h: Likewise.
82676 2012-03-02  David S. Miller  <davem@davemloft.net>
82678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
82679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
82680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
82681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
82682         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
82683         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
82684         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
82685         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
82687 2012-03-02  Roland McGrath  <roland@hack.frob.com>
82689         [BZ #13792]
82690         * manual/examples/README: New file, says the example source files
82691         can be used under GPL>=2.
82692         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
82693         line containing just "*/".
82694         * manual/examples/add.c: Add copyright header (GPL>=2).
82695         * manual/examples/argp-ex1.c: Likewise.
82696         * manual/examples/argp-ex2.c: Likewise.
82697         * manual/examples/argp-ex3.c: Likewise.
82698         * manual/examples/argp-ex4.c: Likewise.
82699         * manual/examples/atexit.c: Likewise.
82700         * manual/examples/db.c: Likewise.
82701         * manual/examples/dir.c: Likewise.
82702         * manual/examples/dir2.c: Likewise.
82703         * manual/examples/execinfo.c: Likewise.
82704         * manual/examples/filecli.c: Likewise.
82705         * manual/examples/filesrv.c: Likewise.
82706         * manual/examples/fmtmsgexpl.c: Likewise.
82707         * manual/examples/genpass.c: Likewise.
82708         * manual/examples/inetcli.c: Likewise.
82709         * manual/examples/inetsrv.c: Likewise.
82710         * manual/examples/isockad.c: Likewise.
82711         * manual/examples/longopt.c: Likewise.
82712         * manual/examples/memopen.c: Likewise.
82713         * manual/examples/memstrm.c: Likewise.
82714         * manual/examples/mkfsock.c: Likewise.
82715         * manual/examples/mkisock.c: Likewise.
82716         * manual/examples/mygetpass.c: Likewise.
82717         * manual/examples/pipe.c: Likewise.
82718         * manual/examples/popen.c: Likewise.
82719         * manual/examples/rprintf.c: Likewise.
82720         * manual/examples/search.c: Likewise.
82721         * manual/examples/select.c: Likewise.
82722         * manual/examples/setjmp.c: Likewise.
82723         * manual/examples/sigh1.c: Likewise.
82724         * manual/examples/sigusr.c: Likewise.
82725         * manual/examples/stpcpy.c: Likewise.
82726         * manual/examples/strdupa.c: Likewise.
82727         * manual/examples/strftim.c: Likewise.
82728         * manual/examples/strncat.c: Likewise.
82729         * manual/examples/subopt.c: Likewise.
82730         * manual/examples/swapcontext.c: Likewise.
82731         * manual/examples/termios.c: Likewise.
82732         * manual/examples/testopt.c: Likewise.
82733         * manual/examples/testpass.c: Likewise.
82734         * manual/examples/timeval_subtract.c: Likewise.
82736         [BZ #13792]
82737         * manual/time.texi (Elapsed Time): Move timeval_subtract example
82738         function to ...
82739         * manual/timeval_subtract.c.texi: ... here, new file.
82741 2012-03-02  David S. Miller  <davem@davemloft.net>
82743         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
82745 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
82747         [BZ #3976]
82748         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
82749         (__sin): Save and restore rounding mode and use round-to-nearest
82750         for all computations.
82751         (__cos): Save and restore rounding mode and use round-to-nearest
82752         for all computations.
82753         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
82754         <fenv.h>.
82755         (tan): Save and restore rounding mode and use round-to-nearest for
82756         all computations.
82757         * math/libm-test.inc (cos_test_tonearest): New function.
82758         (cos_test_towardzero): Likewise.
82759         (cos_test_downward): Likewise.
82760         (cos_test_upward): Likewise.
82761         (sin_test_tonearest): Likewise.
82762         (sin_test_towardzero): Likewise.
82763         (sin_test_downward): Likewise.
82764         (sin_test_upward): Likewise.
82765         (tan_test_tonearest): Likewise.
82766         (tan_test_towardzero): Likewise.
82767         (tan_test_downward): Likewise.
82768         (tan_test_upward): Likewise.
82769         (main): Call the new functions.
82770         * sysdeps/i386/fpu/libm-test-ulps: Update.
82771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82773         [BZ #10135]
82774         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
82775         small n, then large n, before computing and testing k+n.
82776         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
82777         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
82778         Likewise.
82779         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
82780         Likewise.
82781         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
82782         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
82783         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
82784         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
82785         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
82786         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
82787         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
82788         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
82789         * math/libm-test.inc (scalbn_test): Add more tests.
82790         (scalbln_test): Likewise.
82792         * manual/filesys.texi (mode_t): Describe constraints on size and
82793         signedness, not exact equivalence to a particular type.
82794         (ino_t): Likewise.
82795         (ino64_t): Likewise.
82796         (dev_t): Likewise.
82797         (nlink_t): Likewise.
82798         (blkcnt_t): Likewise.
82799         (blkcnt64_t): Likewise.
82800         * manual/llio.texi (off_t): Likewise.
82802         [BZ #3976]
82803         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
82804         (__ieee754_exp): Save and restore rounding mode and use
82805         round-to-nearest for all computations.
82806         * math/libm-test.inc (exp_test_tonearest): New function.
82807         (exp_test_towardzero): Likewise.
82808         (exp_test_downward): Likewise.
82809         (exp_test_upward): Likewise.
82810         (main): Call the new functions.
82811         * sysdeps/i386/fpu/libm-test-ulps: Update.
82812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82814 2012-03-01  Chris Demetriou  <cgd@google.com>
82816         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
82817         have predictable order.
82819 2012-03-01  David S. Miller  <davem@davemloft.net>
82821         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
82823         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
82824         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
82825         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
82826         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
82828         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
82829         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
82830         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
82831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
82832         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
82833         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
82834         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
82835         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
82836         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
82838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82840         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
82841         * sysdeps/sparc/fpu/libm-test-ulps: to here.
82842         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
82844         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
82845         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
82846         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82847         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
82848         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
82849         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
82850         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
82851         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
82852         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82853         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
82854         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
82855         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82856         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
82857         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82858         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82859         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82860         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
82861         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
82862         * sysdeps/sparc/elf/configure: Regenerated.
82864 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
82866         * configure.in (AS, LD): Require binutils 2.20 or later.
82867         * configure: Regenerated.
82868         * manual/install.texi (Tools for Compilation): Give binutils 2.20
82869         as required minimum version.
82870         * INSTALL: Regenerated.
82872         [BZ #2541]
82873         [BZ #4108]
82874         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
82875         before squaring exponent.
82876         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
82877         bottom long double and 27 bits of top long double before squaring
82878         exponent.
82879         * math/libm-test.inc (erfc_test): Add more tests.
82880         * sysdeps/i386/fpu/libm-test-ulps: Update.
82881         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82884 2012-03-01  Kai Tietz  <ktietz@redhat.com>
82886         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
82887         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
82888         containing bit-fields.
82889         * soft-fp/extended.h (_FP_UNION_E): Likewise.
82890         * soft-fp/single.h (_FP_UNION_S): Likewise.
82891         * soft-fp/double.h (_FP_UNION_D): Likewise.
82893 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82895         [BZ #13786]
82896         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
82897         not include ../strcmp.S.
82898         [USE_AS_STRNCASECMP_L]: Likewise.
82899         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
82900         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
82901         * sysdeps/i386/i686/multiarch/strncase_l-c.c
82902         (__strncasecmp_l_ia32): Define as alias to
82903         __strncasecmp_l_nonascii.
82905         [BZ #5794]
82906         * math/libm-test.inc (expm1_test): Add test for bug 5794.
82907         * sysdeps/i386/fpu/libm-test-ulps: Update.
82908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82910         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
82911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82913 2012-02-29  Jeff Law  <law@redhat.com>
82915         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
82916         out of bounds read.
82918 2012-02-29  Marek Polacek  <polacek@redhat.com>
82920         [BZ #13706]
82921         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
82922         * elf/Makefile: Add rules to run tst-unused-dep.out.
82924 2012-02-28  David S. Miller  <davem@davemloft.net>
82926         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
82927         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
82928         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
82929         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
82930         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
82931         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
82933 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82935         * math/libm-test.inc (llround_test): Move one test from
82936         lround_test.  Use TEST_f_L in moved test.
82937         (lround_test): Move misplaced test to llround_test.  Add testcase
82938         from bug 2561.
82940 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
82942         * sysdeps/x86_64/fpu/e_expf.S: New file.
82943         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
82945 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
82947         [BZ #13637]
82948         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
82949         of remain_len that may cause incomplete multi-byte character and
82950         false match.
82951         * posix/bug-regex33.c: New file.
82952         * posix/Makefile (tests): Add bug-regex33.
82954 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
82956         * manual/macros.texi: New file.
82957         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
82958         * manual/libc.texinfo: Include macros.texi.
82959         * manual/creatute.texi: Likewise.
82960         * manual/install.texi: Likewise.
82961         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
82962         @glibcadj{} in references to the GNU C Library.
82963         * manual/charset.texi: Likewise.
82964         * manual/conf.texi: Likewise.
82965         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
82966         when not using those macros.
82967         * manual/creature.texi: Likewise.
82968         * manual/crypt.texi: Likewise.
82969         * manual/errno.texi: Likewise.
82970         * manual/filesys.texi: Likewise.
82971         * manual/header.texi: Likewise.
82972         * manual/install.texi: Likewise.
82973         * manual/intro.texi: Likewise.
82974         * manual/io.texi: Likewise.
82975         * manual/job.texi: Likewise.
82976         * manual/lang.texi: Likewise.
82977         * manual/libc.texiinfo: Likewise.
82978         * manual/llio.texi: Likewise.
82979         * manual/locale.texi: Likewise.
82980         * manual/maint.texi: Likewise.
82981         * manual/math.texi: Likewise.
82982         * manual/memory.texi: Likewise.
82983         * manual/message.texi: Likewise.
82984         * manual/nss.texi: Likewise.
82985         * manual/pattern.texi: Likewise.
82986         * manual/process.texi: Likewise.
82987         * manual/resource.texi: Likewise.
82988         * manual/search.texi: Likewise.
82989         * manual/setjmp.texi: Likewise.
82990         * manual/signal.texi: Likewise.
82991         * manual/socket.texi: Likewise.
82992         * manual/startup.texi: Likewise.
82993         * manual/stdio.texi: Likewise.
82994         * manual/string.texi: Likewise.
82995         * manual/sysinfo.texi: Likewise.
82996         * manual/syslog.texi: Likewise.
82997         * manual/terminal.texi: Likewise.
82998         * manual/time.texi: Likewise.
82999         * manual/users.texi: Likewise.
83000         * INSTALL: Regenerated.
83001         * NOTES: Regenerated.
83002         * sysdeps/gnu/errlist.c: Regenerated.
83004 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
83006         * include/dirent.h: Include <dirstream.h> before
83007         <dirent/dirent.h>.
83009 2012-02-28  David S. Miller  <davem@davemloft.net>
83011         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
83012         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
83013         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
83014         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
83016 2012-02-27  David S. Miller  <davem@davemloft.net>
83018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
83019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
83020         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
83021         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
83023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
83024         frame pointer instead of stack pointer relative arg slot.
83025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
83026         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
83027         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
83029 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
83031         [BZ #3992]
83032         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
83034 2012-02-27  David S. Miller  <davem@davemloft.net>
83036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
83037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
83038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
83039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
83040         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
83041         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
83042         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
83043         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
83045 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
83047         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
83048         later.  Allow versions 5-9.
83049         * configure: Regenerated.
83050         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
83051         required minimum version and 4.6 as recommended version.  Do not
83052         mention bugs in GCC 2.7 and 2.8.
83053         * INSTALL: Regenerated.
83055 2012-02-27  David S. Miller  <davem@davemloft.net>
83057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
83058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
83059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
83060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
83061         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
83062         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
83063         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
83064         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
83066         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
83067         manipulate bits before adding and subtracting TWO112[sx].
83068         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
83070 2012-02-27  Roland McGrath  <roland@hack.frob.com>
83072         [BZ #13775]
83073         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
83074         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
83075         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
83076         being in POSIX, because they are in 1003.1-2008.
83078         * rt/tst-aio.c: Include <fcntl.h>.
83079         * rt/tst-aio7.c: Likewise.
83080         * rt/tst-aio64.c: Likewise.
83082         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
83084 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
83086         * manual/install.texi (--with-headers): Describe headers as
83087         interface headers, not private headers.
83088         (Specific advice for GNU/Linux systems): Describe use of headers
83089         from "make headers_install", not private headers from older
83090         kernels.
83091         * INSTALL: Regenerated.
83092         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
83093         Change to 2.6.19.
83094         * sysdeps/unix/sysv/linux/configure: Regenerated.
83096         * manual/llio.texi (fclean): Remove documentation.
83098         * manual/Makefile (libc-texi-generated): New variable.  Include
83099         version.texi.
83100         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
83101         $(libc-texi-generated), not duplicated list of files.
83102         (version.texi, stamp-version): New rules.
83103         (realclean): Remove $(libc-texi-generated), not individual files
83104         from that list.  Do not remove dir-add.texinfo.
83105         * manual/libc.texinfo: Comment out uses of edition numbers and
83106         references to printed manual.  Remove last-updated dates.
83107         (EDITION): Comment out.
83108         (ISBN): Likewise.
83109         (VERSION, UPDATED): Remove.
83110         (version.texi): Include.
83112 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
83114         * sysdeps/posix/spawni.c: Include <signal.h>.
83115         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
83116         * sysdeps/pthread/aio_fsync.c: Likewise.
83118 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
83120         * conform/Makefile (tests): Run only when not cross-compiling and
83121         when fast-check is not defined.
83123         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
83124         * conform/data/limits.h-data: Fixes for POSIX2008.
83125         * conform/run-conformtest.sh: Run all tests.
83126         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
83127         headers.
83128         * include/bits/dlfcn.h: Likewise.
83129         * include/langinfo.h: Likewise.
83130         * include/monetary.h: Likewise.
83131         * include/sys/poll.h: Likewise.
83133         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
83134         for __USE_GNU.
83135         * posix/spawn.h: Define __need_sigset_t.
83136         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
83137         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
83138         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
83139         to get sigevent_t only.
83140         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
83141         only for __USE_GNU.
83142         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83143         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83144         process_vm_writev only for __USE_GNU.
83145         * termios/termios.h: Declare tcgetsid also for POSIX2008.
83147         * conform/Makefile: For now ignore errors from run-conformtest.
83148         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
83149         POSIX to avoid namespace pollution.  Don't prepend headers.
83150         * conform/data/aio.h-data: Fixes for POSIX testing.
83151         * conform/data/fcntl.h-data: Likewise.
83152         * conform/data/glob.h-data: Likewise.
83153         * conform/data/grp.h-data: Likewise.
83154         * conform/data/pthread.h-data: Likewise.
83155         * conform/data/pwd.h-data: Likewise.
83156         * conform/data/signal.h-data: Likewise.
83157         * conform/data/spawn.h-data: Likewise.
83158         * conform/data/stdio.h-data: Likewise.
83159         * conform/data/stdlib.h-data: Likewise.
83160         * conform/data/stropts.h-data: Likewise.
83161         * conform/data/sys/mman.h-data: Likewise.
83162         * conform/data/sys/stat.h-data: Likewise.
83163         * conform/data/sys/types.h-data: Likewise.
83164         * conform/data/sys/wait.h-data: Likewise.
83165         * conform/data/time.h-data: Likewise.
83166         * conform/data/unistd.h-data: Likewise.
83167         * conform/data/utime.h-data: Likewise.
83169         * io/sys/stat.h: fchmod was always in POSIX.
83170         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
83171         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
83172         * rt/aio.h: Define __need_timespec before including <time.h>.
83173         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
83174         struct.  Add forward declaration of pthread_attr_t and use it in
83175         sigevent.
83176         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83177         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83178         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
83179         always remove CLK_TCK definition.
83181 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
83183         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
83185 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
83187         * conform/run-conformtest.sh: New file.
83188         * conform/Makefile: Run run-conformtest for tests.
83189         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
83190         support.
83192         * conform/data/uchar.h-data: New file.
83193         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
83194         * conform/data/arpa/inet.h-data: Likewise.
83195         * conform/data/assert.h-data: Likewise.
83196         * conform/data/complex.h-data: Likewise.
83197         * conform/data/cpio.h-data: Likewise.
83198         * conform/data/ctype.h-data: Likewise.
83199         * conform/data/dirent.h-data: Likewise.
83200         * conform/data/dlfcn.h-data: Likewise.
83201         * conform/data/errno.h-data: Likewise.
83202         * conform/data/fcntl.h-data: Likewise.
83203         * conform/data/float.h-data: Likewise.
83204         * conform/data/fmtmsg.h-data: Likewise.
83205         * conform/data/fnmatch.h-data: Likewise.
83206         * conform/data/ftw.h-data: Likewise.
83207         * conform/data/glob.h-data: Likewise.
83208         * conform/data/grp.h-data: Likewise.
83209         * conform/data/iconv.h-data: Likewise.
83210         * conform/data/inttypes.h-data: Likewise.
83211         * conform/data/langinfo.h-data: Likewise.
83212         * conform/data/libgen.h-data: Likewise.
83213         * conform/data/limits.h-data: Likewise.
83214         * conform/data/locale.h-data: Likewise.
83215         * conform/data/math.h-data: Likewise.
83216         * conform/data/monetary.h-data: Likewise.
83217         * conform/data/mqueue.h-data: Likewise.
83218         * conform/data/ndbm.h-data: Likewise.
83219         * conform/data/net/if.h-data: Likewise.
83220         * conform/data/netdb.h-data: Likewise.
83221         * conform/data/netinet/in.h-data: Likewise.
83222         * conform/data/nl_types.h-data: Likewise.
83223         * conform/data/poll.h-data: Likewise.
83224         * conform/data/pthread.h-data: Likewise.
83225         * conform/data/pwd.h-data: Likewise.
83226         * conform/data/regex.h-data: Likewise.
83227         * conform/data/sched.h-data: Likewise.
83228         * conform/data/search.h-data: Likewise.
83229         * conform/data/semaphore.h-data: Likewise.
83230         * conform/data/setjmp.h-data: Likewise.
83231         * conform/data/signal.h-data: Likewise.
83232         * conform/data/spawn.h-data: Likewise.
83233         * conform/data/stdarg.h-data: Likewise.
83234         * conform/data/stdio.h-data: Likewise.
83235         * conform/data/stdlib.h-data: Likewise.
83236         * conform/data/string.h-data: Likewise.
83237         * conform/data/strings.h-data: Likewise.
83238         * conform/data/stropts.h-data: Likewise.
83239         * conform/data/sys/ipc.h-data: Likewise.
83240         * conform/data/sys/mman.h-data: Likewise.
83241         * conform/data/sys/msg.h-data: Likewise.
83242         * conform/data/sys/resource.h-data: Likewise.
83243         * conform/data/sys/select.h-data: Likewise.
83244         * conform/data/sys/sem.h-data: Likewise.
83245         * conform/data/sys/shm.h-data: Likewise.
83246         * conform/data/sys/socket.h-data: Likewise.
83247         * conform/data/sys/stat.h-data: Likewise.
83248         * conform/data/sys/statvfs.h-data: Likewise.
83249         * conform/data/sys/time.h-data: Likewise.
83250         * conform/data/sys/timeb.h-data: Likewise.
83251         * conform/data/sys/times.h-data: Likewise.
83252         * conform/data/sys/types.h-data: Likewise.
83253         * conform/data/sys/uio.h-data: Likewise.
83254         * conform/data/sys/un.h-data: Likewise.
83255         * conform/data/sys/utsname.h-data: Likewise.
83256         * conform/data/sys/wait.h-data: Likewise.
83257         * conform/data/syslog.h-data: Likewise.
83258         * conform/data/tar.h-data: Likewise.
83259         * conform/data/termios.h-data: Likewise.
83260         * conform/data/utime.h-data: Likewise.
83261         * conform/data/utmpx.h-data: Likewise.
83262         * conform/data/varargs.h-data: Likewise.
83263         * conform/data/wchar.h-data: Likewise.
83264         * conform/data/wctype.h-data: Likewise.
83265         * conform/data/wordexp.h-data: Likewise.
83267         * include/stropts.h: New file.
83268         * include/uchar.h: New file.
83269         * include/aio.h: Changes to allow conformtest.pl to use the headers.
83270         * include/assert.h: Likewise.
83271         * include/ctype.h: Likewise.
83272         * include/dirent.h: Likewise.
83273         * include/dlfcn.h: Likewise.
83274         * include/fcntl.h: Likewise.
83275         * include/fnmatch.h: Likewise.
83276         * include/glob.h: Likewise.
83277         * include/grp.h: Likewise.
83278         * include/libio.h: Likewise.
83279         * include/locale.h: Likewise.
83280         * include/math.h: Likewise.
83281         * include/net/if.h: Likewise.
83282         * include/netdb.h: Likewise.
83283         * include/netinet/in.h: Likewise.
83284         * include/pthread.h: Likewise.
83285         * include/pwd.h: Likewise.
83286         * include/regex.h: Likewise.
83287         * include/sched.h: Likewise.
83288         * include/search.h: Likewise.
83289         * include/setjmp.h: Likewise.
83290         * include/signal.h: Likewise.
83291         * include/stdio.h: Likewise.
83292         * include/stdlib.h: Likewise.
83293         * include/string.h: Likewise.
83294         * include/sys/cdefs.h: Likewise.
83295         * include/sys/mman.h: Likewise.
83296         * include/sys/msg.h: Likewise.
83297         * include/sys/resource.h: Likewise.
83298         * include/sys/select.h: Likewise.
83299         * include/sys/socket.h: Likewise.
83300         * include/sys/stat.h: Likewise.
83301         * include/sys/statvfs.h: Likewise.
83302         * include/sys/time.h: Likewise.
83303         * include/sys/times.h: Likewise.
83304         * include/sys/uio.h: Likewise.
83305         * include/sys/utsname.h: Likewise.
83306         * include/sys/wait.h: Likewise.
83307         * include/termios.h: Likewise.
83308         * include/time.h: Likewise.
83309         * include/ulimit.h: Likewise.
83310         * include/unistd.h: Likewise.
83311         * include/utime.h: Likewise.
83312         * include/wchar.h: Likewise.
83313         * include/wctype.h: Likewise.
83314         * include/wordexp.h: Likewise.
83316         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
83318         * time/time.h: TIME_UTC must be a macro.
83319         Make timespec_get available for ISO C11 only as well.
83321 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
83323         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
83324         Reported by Peng Haitao <penght@cn.fujitsu.com>.
83326 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83328         * configure.in: Use -o not -a in test for unsupported multi-arch.
83330 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83332         * manual/texinfo.tex: Update to version 2012-01-19.16.
83334 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83336         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
83338 2012-02-24  Roland McGrath  <roland@hack.frob.com>
83340         [BZ #13738]
83341         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
83342         * manual/fdl-1.3.texi: New file.
83343         * manual/fdl-1.1.texi: File removed.
83345         [BZ #13738]
83346         * manual/libc.texinfo (FDL_VERSION): New @set.
83347         Use it for mention of FDL in cover text.
83348         (Documentation License): Use it in @include file name.
83350 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83351             Roland McGrath  <roland@hack.frob.com>
83353         [BZ #5461]
83354         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
83355         (not LONG_LONG_MAX and LONG_LONG_MIN.
83356         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
83357         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
83358         name.
83359         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
83361 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83363         [BZ #2547]
83364         [BZ #11365]
83365         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
83366         manipulate bits before adding and subtracting TWO23[sx].
83367         * math/libm-test.inc (nearbyint_test): Add more tests.
83369 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83371         [BZ #2548]
83372         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
83373         bits before adding and subtracting TWO23[sx].
83374         * math/libm-test.inc (rint_test): Add more tests.
83375         (rint_test_tonearest): Likewise.
83376         (rint_test_towardzero): Likewise.
83377         (rint_test_downward): Likewise.
83378         (rint_test_upward: Likewise.
83380 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83382         [BZ #10110]
83383         * include/stdc-predef.h: New file.  Extracted from features.h.
83384         * include/features.h: Include stdc-predef.h.
83385         * Makefile (headers): Add stdc-predef.h.
83386         * CONFORMANCE (Compiler limitations): Update.
83388 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83390         * manual/libc.texinfo (VERSION, UPDATED): Revert.
83392 2012-02-21  David S. Miller  <davem@davemloft.net>
83394         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
83395         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
83397 2012-02-20  David S. Miller  <davem@davemloft.net>
83399         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
83400         using a normal save/restore sequence, rather than allocating a
83401         dummy stack frame just to store a frame pointer and restore.
83402         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83404 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83406         * manual/install.texi: Fix stray word in line-wrapped comment.
83408 2012-02-20  David S. Miller  <davem@davemloft.net>
83410         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
83411         both binutils and gcc support GOTDATA.
83413         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
83414         "rd %pc" in the PIC register setup sequences.
83416         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
83417         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
83418         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
83419         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
83420         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83421         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83422         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83423         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83424         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
83425         (SYSCALL_ERROR_HANDLER): Likewise.
83426         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
83427         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
83428         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
83429         (SYSCALL_ERROR_HANDLER): Likewise.
83431         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
83432         (HAVE_GCC_GOTDATA): New.
83433         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
83434         relocation support in both binutils and gcc.
83435         * sysdeps/sparc/elf/configure: Regenerate.
83437         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
83438         * sysdeps/sparc/sparc32/elf/configure: Delete.
83439         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
83440         * sysdeps/sparc/sparc64/elf/configure: Delete.
83441         * sysdeps/sparc/elf/configure.in: New file.
83442         * sysdeps/sparc/elf/configure: Generate.
83444         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
83445         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
83446         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
83447         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
83448         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
83450 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83452         * manual/install.texi: Do not mention specific glibc version
83453         numbers.
83454         * manual/libc.texinfo (VERSION, UPDATED): Update.
83455         (@copying): Use @copyright{} and range of years.
83457 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83459         [BZ #13695]
83460         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
83461         [crti.S not in sysdirs] (generated): Do not append.
83462         [crti.S not in sysdirs] (omit-deps): Likewise.
83463         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
83464         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
83465         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
83466         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
83467         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
83468         Likewise.
83469         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
83470         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
83471         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
83472         * csu/defs.awk: Remove file.
83473         * sysdeps/generic/initfini.c: Likewise.
83474         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
83475         variable.
83476         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
83477         Likewise.
83479 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83481         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
83482         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
83483         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
83484         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
83485         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83486         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
83487         <bits/epoll.h>.
83488         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
83489         (__EPOLL_PACKED): Define to empty if not defined by
83490         <bits/epoll.h>.
83491         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
83492         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83493         bits/epoll.h.
83495 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83497         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
83498         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
83499         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
83500         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
83501         <bits/timerfd.h>.
83502         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
83503         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83504         bits/timerfd.h.
83506 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83508         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
83509         in C locale.
83510         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
83511         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
83512         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
83513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83515 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
83517         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83518         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
83520 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
83522         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
83523         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
83524         defined.
83525         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
83526         Likewise.
83527         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
83528         entry for 2.16.
83530 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
83532         * math/w_acos.c: Use non-signaling floating-point comparisons.
83533         * math/w_acosf.c: Likewise.
83534         * math/w_acosh.c: Likewise.
83535         * math/w_acoshf.c: Likewise.
83536         * math/w_acoshl.c: Likewise.
83537         * math/w_acosl.c: Likewise.
83538         * math/w_asin.c: Likewise.
83539         * math/w_asinf.c: Likewise.
83540         * math/w_asinl.c: Likewise.
83541         * math/w_atanh.c: Likewise.
83542         * math/w_atanhf.c: Likewise.
83543         * math/w_atanhl.c: Likewise.
83544         * math/w_exp2.c: Likewise.
83545         * math/w_exp2f.c: Likewise.
83546         * math/w_exp2l.c: Likewise.
83547         * math/w_j0.c: Likewise.
83548         * math/w_j0f.c: Likewise.
83549         * math/w_j0l.c: Likewise.
83550         * math/w_j1.c: Likewise.
83551         * math/w_j1f.c: Likewise.
83552         * math/w_j1l.c: Likewise.
83553         * math/w_jn.c: Likewise.
83554         * math/w_jnf.c: Likewise.
83555         * math/w_log.c: Likewise.
83556         * math/w_log10.c: Likewise.
83557         * math/w_log10f.c: Likewise.
83558         * math/w_log10l.c: Likewise.
83559         * math/w_log2.c: Likewise.
83560         * math/w_log2f.c: Likewise.
83561         * math/w_log2l.c: Likewise.
83562         * math/w_logf.c: Likewise.
83563         * math/w_logl.c: Likewise.
83564         * math/w_sqrt.c: Likewise.
83565         * math/w_sqrtf.c: Likewise.
83566         * math/w_sqrtl.c: Likewise.
83567         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83568         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
83569         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83570         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
83571         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
83573 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
83575         [BZ #9739]
83576         * manual/string.texi (strnlen): Use correct parameter name in
83577         equivalent expression.
83579 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
83581         [BZ #11174]
83582         * manual/users.texi (seteuid): Consistently use neweuid for
83583         argument name.
83585 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
83587         [BZ #13704]
83588         * manual/nss.texi (Services in the NSS configuration): Correct
83589         list of services in example configuration file.
83591 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
83593         [BZ #11322]
83594         * manual/arith.texi: Remove statements about negative zero
83595         behaving identically to zero.
83597 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
83599         [BZ #5993]
83600         * manual/install.texi: Do not document upgrading from libc5.
83602 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
83604         [BZ #4596]
83605         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
83607 2012-02-18  David S. Miller  <davem@davemloft.net>
83609         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
83610         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
83611         %o7 across the call.
83612         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
83613         instead.
83614         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
83615         SETUP_PIC_REG_LEAF.
83616         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83617         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
83618         * sysdeps/sparc/crtn.S: Likewise.
83620 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
83622         * aout/Makefile: Remove.
83624 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
83626         [BZ #13058]
83627         * manual/examples/argp-ex1.c (main): Format definition in GNU
83628         style.
83629         * manual/examples/argp-ex2.c (main): Likewise.
83630         * manual/examples/argp-ex3.c (main): Likewise.
83631         * manual/examples/argp-ex4.c (main): Likewise.
83632         * manual/examples/longopt.c (main): Use new-style prototype
83633         definition.
83634         * manual/examples/strncat.c (main): Specify return type and use
83635         (void) for arguments.
83636         * manual/examples/subopt.c (main): Use char **argv argument.
83638 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83640         [BZ #5077]
83641         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
83642         rounding modes.
83644 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
83646         [BZ #6907]
83647         * manual/string.texi (strchr): Change when strchrnul is
83648         recommended.
83650 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
83652         [BZ #174]
83653         * manual/locale.texi (setlocale): Document LOCPATH.
83655 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83657         [BZ #10210]
83658         * manual/process.texi (execle): Move @dots{} before last argument.
83660 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
83662         [BZ #12047]
83663         * manual/charset.texi (Generic Charset Conversion): Fix typo
83664         (LC_TYPE -> LC_CTYPE).
83666 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
83668         [BZ #5805]
83669         * manual/arith.texi (scalbn): Use @var{} on parameter names.
83670         (scalbnf): Likewise.
83671         (scalbnl): Likewise.
83672         (scalbln): Likewise.
83673         (scalblnf): Likewise.
83674         (scalblnl): Likewise.
83675         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
83676         (vwarnx): Likewise.
83677         (verr): Likewise.
83678         (verrx): Likewise.
83679         * manual/filesys.texi (telldir): Use braces around return type.
83680         * manual/llio.texi (mmap): Add space after comma.
83681         (mmap64): Likewise.
83682         * manual/math.texi (jn): Use @var{} on parameter names.
83683         (jnf): Likewise.
83684         (jnl): Likewise.
83685         (yn): Likewise.
83686         (ynf): Likewise.
83687         (ynl): Likewise.
83688         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
83689         line.
83690         * manual/resource.texi (ulimit): Use @dots{} instead of literal
83691         "...".
83692         (sched_get_priority_min): Remove semicolon on @deftypefun line.
83693         (sched_get_priority_max): Likewise.
83694         * manual/signal.texi (sigvec): Add space after comma.
83695         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
83696         names.
83697         (if_indextoname): Likewise.
83698         (if_freenameindex): Likewise.
83699         (sendto): Use ',' instead of '.' in prototype.
83700         * manual/startup.texi (syscall): Use @dots{} instead of literal
83701         "...".
83702         * manual/stdio.texi (__fpending): Separate initial words of
83703         paragraph from @deftypefun line.
83704         * manual/syslog.texi (syslog): Use @dots{} instead of literal
83705         "...".
83706         (vsyslog): Use @var{} on parameter names.
83707         * manual/terminal.texi (stty): Use @var{} on parameter names.
83708         * manual/users.texi (getutmp): Use @var{} on parameter names.
83709         (getutmpx): Likewise.
83711 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83713         [BZ #6884]
83714         * manual/stdio.texi (fopen): Fix typos in description of
83715         ",ccs=STRING".
83717 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
83719         [BZ #4026]
83720         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
83721         get clock_id definition.
83723 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
83725         [BZ #4822]
83726         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
83727         (madvise): Cast every argument to void on its own.
83729 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83731         [BZ #9902]
83732         * manual/startup.texi (Exit Status): Fix typo.
83734 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83736         [BZ #10140]
83737         * manual/examples/argp-ex1.c: Include <stdlib.h>.
83738         * manual/examples/argp-ex2.c: Likewise.
83739         * manual/examples/argp-ex3.c: Likewise.
83741 2012-02-16  Richard Henderson  <rth@redhat.com>
83743         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
83744         * sysdeps/s390/s390-32/initfini.c: Remove.
83745         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
83746         * sysdeps/s390/s390-64/initfini.c: Remove.
83748 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
83750         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
83751         compiler output for sysdeps/generic/initfini.c.
83752         * sysdeps/sh/elf/initfini.c: Remove file.
83754 2012-02-16  David S. Miller  <davem@davemloft.net>
83756         [BZ #11494]
83757         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
83759         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
83760         * sysdeps/sparc/crti.S: New file.
83761         * sysdeps/sparc/crtn.S: New file.
83762         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
83763         * sysdeps/sparc/sparc64/Makefile: Likewise.
83765 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
83767         [BZ #3335]
83768         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
83770 2012-02-15  Roland McGrath  <roland@hack.frob.com>
83772         [BZ #4822]
83773         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
83775         * mach/devstream.c (cookie_io_functions_t): Macro removed.
83776         (write, read, close): Likewise.
83777         Patch by Aurelien Jarno <aurelien@aurel32.net>.
83779 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
83781         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
83782         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
83783         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
83784         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
83785         <bits/signalfd.h>.
83786         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
83787         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83788         bits/signalfd.h.
83790 2012-02-14  Marek Polacek  <polacek@redhat.com>
83792         * sysdeps/x86_64/crti.S: New file.
83793         * sysdeps/x86_64/crtn.S: New file.
83794         * sysdeps/x86_64/elf/initfini.c: Remove file.
83796 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
83798         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
83799         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
83800         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
83801         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
83802         <bits/inotify.h>.
83803         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
83804         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83805         bits/inotify.h.
83807 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
83809         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
83810         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
83811         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
83812         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
83813         <bits/eventfd.h>.
83814         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
83815         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83816         bits/eventfd.h.
83818 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
83820         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
83821         __feraiseexcept instead of feraiseexcept.
83823         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
83824         nanosleep invocations.
83825         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
83826         strings, and add error checking for a nanosleep invocations.
83828 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
83830         Replace FSF snail mail address with URLs, as per GNU coding standards.
83831         Most of the snail mail addresses were wrong anyway, and omitting
83832         them makes the source code easier to maintain.  Almost all of the
83833         changes are to license notices and to locale LC_IDENTIFICATION
83834         addresses, except for this one:
83835         * manual/libc.texinfo: In "Published by", give the FSF's URL,
83836         not its snail mail address.
83838 2012-02-09  Richard Henderson  <rth@twiddle.net>
83840         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
83841         of kernel-features.h.
83843         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
83845 2012-02-08  Marek Polacek  <polacek@redhat.com>
83847         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
83848         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
83849         * sysdeps/gnu/_G_config.h: Likewise.
83850         * sysdeps/generic/_G_config.h: Likewise.
83852 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
83854         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
83855         tests.
83856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83858         * sysdeps/powerpc/powerpc32/crti.S: New file.
83859         * sysdeps/powerpc/powerpc32/crtn.S: New file.
83860         * sysdeps/powerpc/powerpc64/crti.S: New file.
83861         * sysdeps/powerpc/powerpc64/crtn.S: New file.
83863         * Makeconfig (have-initfini): Don't set.
83864         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
83865         * configure.in (nopic_initfini): Don't substitute.
83866         * config.h.in (HAVE_INITFINI): Don't #undef.
83867         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
83868         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
83870 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
83872         Support crti.S and crtn.S provided directly by architectures.
83873         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
83874         [crti.S in sysdirs] (omit-deps): Likewise.
83875         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
83876         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
83877         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
83878         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
83879         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
83880         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
83881         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
83882         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
83883         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
83884         compiler output for sysdeps/generic/initfini.c.
83885         * sysdeps/i386/elf/Makefile: Remove file.
83886         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
83888 2012-02-07  Marek Polacek  <polacek@redhat.com>
83890         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
83891         * sysdeps/gnu/_G_config.h: Likewise.
83892         * sysdeps/mach/hurd/_G_config.h: Likewise.
83894 2012-02-07  Marek Polacek  <polacek@redhat.com>
83896         * math/Makefile (tests): Add tst-CMPLX2.
83897         * math/tst-CMPLX2.c: New file.
83899 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
83901         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83903         * math/libm-test.inc (jn_test): Add missing L suffix.
83905 2012-02-06  Marek Polacek  <polacek@redhat.com>
83907         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
83908         * sysdeps/i386/fpu/e_powf.S: Likewise.
83909         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83910         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
83911         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83912         * sysdeps/i386/fpu/e_pow.S: Likewise.
83913         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
83914         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83915         * sysdeps/i386/fpu/s_expm1.S: Likewise.
83916         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
83917         * sysdeps/i386/fpu/e_log2.S: Likewise.
83918         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83919         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83920         * sysdeps/i386/fpu/e_powl.S: Likewise.
83921         * sysdeps/i386/fpu/s_log1p.S: Likewise.
83922         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83923         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
83924         * sysdeps/i386/fpu/e_logl.S: Likewise.
83925         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
83926         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
83927         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
83928         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
83929         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83930         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83931         * sysdeps/i386/fpu/e_log.S: Likewise.
83932         * sysdeps/i386/fpu/s_cexp.S: Likewise.
83933         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83934         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
83935         * sysdeps/i386/fpu/e_logf.S: Likewise.
83936         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83937         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83938         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
83939         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
83940         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
83941         * sysdeps/i386/fpu/e_log10.S: Likewise.
83942         * sysdeps/i386/fpu/s_frexp.S: Likewise.
83943         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83944         * sysdeps/i386/fpu/s_asinh.S: Likewise.
83945         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
83946         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83947         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
83948         * sysdeps/i386/asm-syntax.h: Likewise.
83949         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
83950         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83951         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
83952         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
83953         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
83954         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
83955         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
83956         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
83957         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
83958         * sysdeps/powerpc/sysdep.h: Likewise.
83959         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
83960         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
83962 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83964         [BZ #411]
83965         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
83967 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83969         * sysdeps/i386/sysdep.h: Include <features.h>.
83970         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
83971         version.
83973 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
83975         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
83976         Define.
83977         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
83978         LOAD_PIC_REG_STR.
83980 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83982         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
83983         (SETUP_PIC_REG): Use GET_PC_THUNK.
83984         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
83985         macro.
83987 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83989         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
83990         for non-PIC compilation.
83991         (SETUP_PIC_REG): Add .p2align directive.
83992         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
83993         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
83994         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
83995         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
83996         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
83997         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
83998         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
83999         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
84000         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
84001         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
84002         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
84003         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
84004         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
84005         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
84006         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
84007         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
84008         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
84009         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
84010         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
84011         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
84012         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
84013         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
84014         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
84015         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
84016         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
84017         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
84018         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84019         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
84020         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
84021         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
84022         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
84023         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84024         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
84025         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
84026         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
84027         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
84028         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
84029         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
84030         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
84031         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
84032         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
84034 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84036         * math/tst-CMPLX.c: Include <stdio.h>.
84038 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
84040         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
84041         float.
84042         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
84043         * sysdeps/sparc/bits/mathdef.h: Likewise.
84045 2012-01-31  Marek Polacek  <polacek@redhat.com>
84047         * libio/libio.h: Don't define _PARAMS.
84048         * locale/programs/config.h: Don't define PARAMS.
84049         * stdlib/strtol_l.c: Likewise.
84050         (__strtol_l): Remove PARAMS from the prototype.
84052 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
84054         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
84055         names.  Just use the correct names.  Remove unnecessary wrapper
84056         functions.
84057         * malloc/arena.c: Likewise.
84058         * malloc/hooks.c: Likewise.
84060         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
84061         ARENA_TEST says not to.  Simplify test for creation of a new arena.
84062         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
84064 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
84066         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
84067         into tail calls.
84068         (update_get_addr): New function.
84069         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
84070         GET_ADDR_MODULE parameter.
84072 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
84074         * crypt/cert.c: Remove __STDC__ conditionals.
84075         * crypt/crypt-entry.c: Likewise.
84076         * crypt/crypt_util.c: Likewise.
84077         * libio/filedoalloc.c: Likewise.
84078         * libio/fileops.c: Likewise.
84079         * libio/genops.c: Likewise.
84080         * libio/iofclose.c: Likewise.
84081         * libio/iofdopen.c: Likewise.
84082         * libio/iofopen.c: Likewise.
84083         * libio/iofopen64.c: Likewise.
84084         * libio/iogetdelim.c: Likewise.
84085         * libio/iopopen.c: Likewise.
84086         * libio/obprintf.c: Likewise.
84087         * libio/oldfileops.c: Likewise.
84088         * libio/oldiofclose.c: Likewise.
84089         * libio/oldiofdopen.c: Likewise.
84090         * libio/oldiofopen.c: Likewise.
84091         * libio/oldiopopen.c: Likewise.
84092         * libio/wfiledoalloc.c: Likewise.
84093         * libio/wgenops.c: Likewise.
84094         * locale/programs/xmalloc.c: Likewise.
84095         * misc/syslog.c: Likewise.
84096         * stdio-common/xbug.c: Likewise.
84097         * string/memchr.c: Likewise.
84098         * string/memcmp.c: Likewise.
84099         * string/memrchr.c: Likewise.
84100         * string/rawmemchr.c: Likewise.
84101         * sysdeps/posix/getcwd.c: Likewise.
84102         * time/strftime_l.c: Likewise.
84104 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
84106         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
84107         * config.make.in (config-cflags-sse2avx): Define.
84108         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
84109         Fix typo.
84111 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
84113         * scripts/config.guess: Update from upstream config git repository.
84114         * scripts/config.sub: Likewise.
84116 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
84118         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
84119         (EM_NUM): Update.
84120         (R_TILEPRO_*, R_TILEGX_*): New macros.
84122         * scripts/firstversions.awk: Fix bug in version range handling.
84124         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
84126         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
84128         * include/sys/epoll.h: New file.
84129         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
84130         libc_hidden_def.
84132 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
84134         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
84135         Avoid unnecessary __WORDSIZE == 64 test.
84136         (fmaxf): Use VEX format if possible.
84137         (fmax): Likewise.
84138         (fminf): Likewise.
84139         (fmin): Likewise.
84141         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
84142         * math/math_private.h: Remove libc_fegetround* and
84143         libc_fesetround*.
84144         * sysdeps/i386/configure.in: Check for -msse2avx.
84145         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
84146         also if SSE2AVX is defined.
84147         Remove libc_fegetround* and libc_fesetround*.
84148         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
84149         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
84150         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
84151         of HAS_YMM_USABLE.
84152         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84153         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84154         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84155         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84156         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84158         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
84160 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84162         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
84163         size is not set.
84164         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84166 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
84168         [BZ #13618]
84169         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
84170         relocation.
84171         * Makeconfig (libm): Define.
84172         * elf/Makefile: Add rules to build and run tst-relsort1.
84173         * elf/tst-relsort1.c: New file.
84174         * elf/tst-relsort1mod1.c: New file.
84175         * elf/tst-relsort1mod2.c: New file.
84177 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
84179         * math/s_ldexp.c: Remove __STDC__ conditionals.
84180         * math/s_ldexpf.c: Likewise.
84181         * math/s_ldexpl.c: Likewise.
84182         * math/s_nextafter.c: Likewise.
84183         * math/s_nexttowardf.c: Likewise.
84184         * math/s_significand.c: Likewise.
84185         * math/s_significandf.c: Likewise.
84186         * math/s_significandl.c: Likewise.
84187         * math/w_jnl.c: Likewise.
84188         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
84189         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
84190         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
84191         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
84192         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
84193         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
84194         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
84195         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
84196         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
84197         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
84198         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
84199         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84200         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
84201         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
84202         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
84203         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
84204         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
84205         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
84206         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
84207         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84208         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84209         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
84210         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
84211         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
84212         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
84213         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
84214         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
84215         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
84216         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
84217         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
84218         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
84219         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
84220         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
84221         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
84222         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
84223         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
84224         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
84225         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
84226         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
84227         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
84228         * sysdeps/ieee754/k_standard.c: Likewise.
84229         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84230         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
84231         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
84232         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
84233         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84234         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
84235         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
84236         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
84237         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
84238         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
84239         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
84240         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
84241         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
84242         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
84243         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
84244         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
84245         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
84246         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
84247         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
84248         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
84249         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
84250         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
84251         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
84252         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
84253         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
84254         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
84255         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84256         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84257         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84258         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84259         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84260         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
84261         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84262         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84263         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84264         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84265         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
84266         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84267         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84268         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
84269         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
84270         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84271         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
84272         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
84273         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84274         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
84275         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
84276         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84277         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84278         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
84279         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
84280         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84281         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84282         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84283         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84284         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84285         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
84286         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84287         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84288         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84289         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84290         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84291         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84292         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84293         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84294         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84295         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84296         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84297         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84298         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84299         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84300         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84301         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84302         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84303         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84304         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84305         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84306         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84307         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84308         * sysdeps/ieee754/s_matherr.c: Likewise.
84309         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84310         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84311         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84312         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84314 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
84316         * crypt/md5.h: Remove __STDC__ conditionals.
84317         * libio/libioP.h: Likewise.
84318         * locale/programs/config.h: Likewise.
84319         * sysdeps/generic/sysdep.h: Likewise.
84320         * sysdeps/i386/asm-syntax.h: Likewise.
84321         * sysdeps/s390/asm-syntax.h: Likewise.
84322         * sysdeps/unix/sysdep.h: Likewise.
84323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
84324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
84326 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
84328         * libio/libio.h: Remove __STDC__ conditionals.
84329         * malloc/obstack.h: Likewise.
84330         * math/complex.h: Likewise.
84331         * math/math.h: Likewise.
84332         * sysdeps/generic/_G_config.h: Likewise.
84333         * sysdeps/gnu/_G_config.h: Likewise.
84334         * sysdeps/mach/hurd/_G_config.h: Likewise.
84335         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84336         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
84337         * sysdeps/sparc/bits/mathdef.h: Likewise.
84339 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
84341         [BZ #13583]
84342         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
84343         Clean up HAS_* macros.
84344         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
84345         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
84346         possible.
84347         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
84348         HAS_AVX.
84349         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84350         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84351         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84352         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84353         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84355 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
84357         * elf/tst-unique3.cc (gets): Remove declaration.
84358         * elf/tst-unique3lib.cc (gets): Likewise.
84359         * elf/tst-unique3lib2.cc (gets): Likewise.
84360         * elf/tst-unique4.cc (gets): Likewise.
84362 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
84364         * include/stdio.h: Add C++ protection.  Add gets declarations and
84365         definitions.
84366         * debug/tst-chk1.c: Don't declare gets here.
84367         * stdio-common/tst-gets.c: Likewise.
84369 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
84371         * posix/glob: Remove directory.
84373 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
84375         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
84377 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
84379         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
84380         of the non-standard EPFNOSUPPORT.
84382 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84384         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
84385         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
84386         ANYWHERE set to 1 only on KERN_NO_SPACE error.
84388 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
84390         * wcsmbs/uchar.h: Test __STDC_VERSION__.
84392 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
84394         * nscd/aicache.c (addhstaiX): Do not cache negative results of
84395         transient errors.
84396         * nscd/grpcache.c (cache_addgr): Likewise.
84397         * nscd/hstcache.c (cache_addhst): Likewise.
84398         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84399         * nscd/pwdcache.c (cache_addpw): Likewise.
84400         * nscd/servicescache.c (cache_addserv): Likewise.
84402 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
84404         * malloc/malloc.c: Various cleanups.
84405         * malloc/hooks.c: Likewise.
84407         * stdlib/Makefile (tests): Add bug-fmtmsg1.
84408         * stdlib/bug-fmtmsg1.c: New file.
84410         * stdlib/fmtmsg.c (init): Add missing unlock.
84411         Patch by Peng Haitao <penght@cn.fujitsu.com>.
84413 2012-01-12  Marek Polacek  <polacek@redhat.com>
84415         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
84416         and _GNU_SOURCE.
84418 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84420         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
84421         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
84422         macro to ensure uniqueness of label name.
84423         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
84424         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
84426 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
84428         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
84430         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
84431         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
84432         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84433         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
84435 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
84437         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
84439         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
84440         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
84441         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84443         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
84445         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
84446         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
84447         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84448         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
84450         * math/bits/math-finite.h: Add ldexp support.
84452 2012-01-10  Marek Polacek  <polacek@redhat.com>
84454         * locale/programs/localedef.h (show_archive_content): Add noreturn
84455         attribute.
84457 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
84459         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
84461 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84463         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
84465         * io/Makefile (headers): Add bits/poll2.h.
84467 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
84469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
84470         typo #include statement.
84472 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84474         * include/sys/cdefs.h: Define __attribute_alloc_size.
84475         * catgets/gencat.c: Add alloc_size attribute and apply consistently
84476         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
84477         * elf/pldd.c: Likewise.
84478         * iconv/iconv_charmap.c: Likewise.
84479         * iconv/iconvconfig.c: Likewise.
84480         * iconv/strtab.c: Likewise.
84481         * locale/programs/locale.c: Likewise.
84482         * locale/programs/localedef.h: Likewise.
84483         * locale/programs/simple-hash.c: Likewise.
84484         * nscd/nscd.h: Likewise.
84485         * nss/makedb.c: Likewise.
84486         * sysdeps/generic/ldconfig.h: Likewise.
84487         * locale/programs/localedef.c: Remove xmalloc prototype.
84488         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
84490 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
84492         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
84493         appropriate.
84495 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84497         * math/Makefile (tests): Add tst-CMPLX.
84498         * math/tst-CMPLX.c: New file.
84500         * math/complex.h (CMPLXL): Fix typo.
84502         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
84503         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
84504         GLIBC_2.16.
84505         * debug/tst-chk1.c: Add poll and ppoll tests.
84506         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
84507         * include/sys/poll.h: Add hidden proto for ppoll.
84508         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
84509         * sysdeps/mach/hurd/ppoll.c: Likewise.
84510         * io/ppoll.c: Likewise.
84511         * debug/poll_chk.c: New file.
84512         * debug/ppoll_chk.c: New file.
84513         * include/bits/poll2.h: New file.
84514         * io/bits/poll2.h: New file.
84516         [BZ #1350]
84517         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
84519         * configure.in: static is always set to yes.  Remove.
84520         * config.make.in: Don't set build-static.
84521         * Makeconfig: Remove use of build-static.
84522         * dlfcn/Makefile: Likewise.
84523         * elf/Makefile: Likewise.
84524         * math/Makefile: Likewise.
84525         * misc/Makefile: Likewise.
84526         * nptl/Makefile: Likewise.
84527         * sysdeps/mach/hurd/Makefile: Likewise.
84529         * configure.in: PWD_P is not used anymore.
84530         * config.make.in: Remove PWD_P entry.
84532         * configure.in: Remove last remnants of RANLIB.
84533         No need to check for signed size_t anymore.
84534         Don't set libc_commonpagesize and libc_relro_required here for Alpha
84535         and IA-64.
84536         Remove __builtin_expect test because we require at least gcc 3.4.
84537         * aclocal.m4: Likewise.
84539         * wcsmbs/mbrtoc16.c: Implement using towc function.
84540         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
84541         * wcsmbs/wcsmbsload.c: Likewise.
84542         * iconv/gconv_simple.c: Likewise.
84543         * iconv/gconv_int.h: Likewise.
84544         * iconv/gconv_builtin.h: Likewise.
84545         * iconv/iconv_prog.c: Remove CHAR16 handling.
84547         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
84549         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
84551         * configure.in: Remove --with-elf and --enable-bounded options.
84552         Dont set base_machine for ia64.  More non-ELF conditions removed.
84553         Remove testing and setting of leading underscore information.
84554         * config.make.in (build-bounded): Set to no.
84555         * config.h.in: Remove NO_UNDERSCORES entry.
84556         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
84557         them.
84558         * csu/start.c: Remove !NO_UNDERSCORE code.
84559         * locale/localeinfo.h: Likewise.
84560         * sysdeps/generic/machine-gmon.h: Likewise.
84561         * sysdeps/generic/sysdep.h: Likewise.
84562         * sysdeps/i386/sysdep.h: Likewise.
84563         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
84564         * sysdeps/mach/sysdep.h: Likewise.
84565         * sysdeps/s390/s390-32/sysdep.h: Likewise.
84566         * sysdeps/s390/s390-64/sysdep.h: Likewise.
84567         * sysdeps/sh/sysdep.h: Likewise.
84568         * sysdeps/sparc/sparc32/alloca.S: Likewise.
84569         * sysdeps/unix/i386/sysdep.S: Likewise.
84570         * sysdeps/unix/sparc/start.c: Likewise.
84571         * sysdeps/unix/sparc/sysdep.S: Likewise.
84572         * sysdeps/unix/sparc/sysdep.h: Likewise.
84573         * sysdeps/unix/start.c: Likewise.
84574         * sysdeps/unix/x86_64/sysdep.S: Likewise.
84575         * sysdeps/x86_64/sysdep.h: Likewise.
84577 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
84579         [BZ #13553]
84580         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
84581         for non-gcc.
84582         * argp/argp-fmtstream.h: Use const instead __const.
84583         * argp/argp.h: Likewise.
84584         * assert/assert.h: Likewise.
84585         * bits/fenv.h: Likewise.
84586         * bits/sched.h: Likewise.
84587         * bits/sigset.h: Likewise.
84588         * bits/sigthread.h: Likewise.
84589         * catgets/nl_types.h: Likewise.
84590         * conform/data/pthread.h-data: Likewise.
84591         * crypt/crypt-private.h: Likewise.
84592         * crypt/crypt.h: Likewise.
84593         * crypt/crypt_util.c: Likewise.
84594         * ctype/ctype.h: Likewise.
84595         * debug/execinfo.h: Likewise.
84596         * debug/mbsnrtowcs_chk.c: Likewise.
84597         * debug/mbsrtowcs_chk.c: Likewise.
84598         * debug/wcsnrtombs_chk.c: Likewise.
84599         * debug/wcsrtombs_chk.c: Likewise.
84600         * debug/wcstombs_chk.c: Likewise.
84601         * dirent/dirent.h: Likewise.
84602         * dlfcn/dlfcn.h: Likewise.
84603         * elf/neededtest4.c: Likewise.
84604         * grp/grp.h: Likewise.
84605         * gshadow/gshadow.h: Likewise.
84606         * iconv/gconv.h: Likewise.
84607         * iconv/gconv_int.h: Likewise.
84608         * iconv/gconv_simple.c: Likewise.
84609         * iconv/iconv.h: Likewise.
84610         * iconv/loop.c: Likewise.
84611         * iconv/skeleton.c: Likewise.
84612         * include/aio.h: Likewise.
84613         * include/aliases.h: Likewise.
84614         * include/argz.h: Likewise.
84615         * include/arpa/inet.h: Likewise.
84616         * include/assert.h: Likewise.
84617         * include/dirent.h: Likewise.
84618         * include/dlfcn.h: Likewise.
84619         * include/execinfo.h: Likewise.
84620         * include/fcntl.h: Likewise.
84621         * include/fenv.h: Likewise.
84622         * include/glob.h: Likewise.
84623         * include/grp.h: Likewise.
84624         * include/libintl.h: Likewise.
84625         * include/mntent.h: Likewise.
84626         * include/netdb.h: Likewise.
84627         * include/pwd.h: Likewise.
84628         * include/rpc/netdb.h: Likewise.
84629         * include/sched.h: Likewise.
84630         * include/search.h: Likewise.
84631         * include/shadow.h: Likewise.
84632         * include/signal.h: Likewise.
84633         * include/stdio.h: Likewise.
84634         * include/stdlib.h: Likewise.
84635         * include/string.h: Likewise.
84636         * include/sys/socket.h: Likewise.
84637         * include/sys/stat.h: Likewise.
84638         * include/sys/statfs.h: Likewise.
84639         * include/sys/statvfs.h: Likewise.
84640         * include/sys/syslog.h: Likewise.
84641         * include/sys/time.h: Likewise.
84642         * include/sys/uio.h: Likewise.
84643         * include/time.h: Likewise.
84644         * include/unistd.h: Likewise.
84645         * include/utmp.h: Likewise.
84646         * include/wchar.h: Likewise.
84647         * include/wctype.h: Likewise.
84648         * inet/aliases.h: Likewise.
84649         * inet/arpa/inet.h: Likewise.
84650         * inet/netinet/ether.h: Likewise.
84651         * inet/netinet/in.h: Likewise.
84652         * intl/libintl.h: Likewise.
84653         * io/bits/fcntl2.h: Likewise.
84654         * io/fcntl.h: Likewise.
84655         * io/ftw.h: Likewise.
84656         * io/sys/poll.h: Likewise.
84657         * io/sys/stat.h: Likewise.
84658         * io/sys/statfs.h: Likewise.
84659         * io/sys/statvfs.h: Likewise.
84660         * io/utime.h: Likewise.
84661         * libio/bits/stdio.h: Likewise.
84662         * libio/bits/stdio2.h: Likewise.
84663         * libio/libio.h: Likewise.
84664         * libio/libioP.h: Likewise.
84665         * libio/stdio.h: Likewise.
84666         * locale/lc-ctype.c: Likewise.
84667         * locale/locale.h: Likewise.
84668         * login/utmp.h: Likewise.
84669         * malloc/arena.c: Likewise.
84670         * malloc/malloc.c: Likewise.
84671         * malloc/malloc.h: Likewise.
84672         * malloc/mcheck.c: Likewise.
84673         * malloc/mtrace.c: Likewise.
84674         * math/bits/mathcalls.h: Likewise.
84675         * math/fenv.h: Likewise.
84676         * math/math_private.h: Likewise.
84677         * misc/bits/error.h: Likewise.
84678         * misc/bits/syslog.h: Likewise.
84679         * misc/err.h: Likewise.
84680         * misc/error.h: Likewise.
84681         * misc/fstab.h: Likewise.
84682         * misc/mntent.h: Likewise.
84683         * misc/regexp.h: Likewise.
84684         * misc/search.h: Likewise.
84685         * misc/sgtty.h: Likewise.
84686         * misc/sys/mman.h: Likewise.
84687         * misc/sys/syslog.h: Likewise.
84688         * misc/sys/uio.h: Likewise.
84689         * misc/sys/xattr.h: Likewise.
84690         * misc/ttyent.h: Likewise.
84691         * nis/rpcsvc/ypclnt.h: Likewise.
84692         * nss/nss.h: Likewise.
84693         * posix/bits/unistd.h: Likewise.
84694         * posix/fnmatch.h: Likewise.
84695         * posix/glob.h: Likewise.
84696         * posix/sched.h: Likewise.
84697         * posix/spawn.h: Likewise.
84698         * posix/sys/wait.h: Likewise.
84699         * posix/unistd.h: Likewise.
84700         * posix/wordexp.h: Likewise.
84701         * pwd/pwd.h: Likewise.
84702         * resolv/netdb.h: Likewise.
84703         * resource/sys/resource.h: Likewise.
84704         * rt/aio.h: Likewise.
84705         * rt/bits/mqueue2.h: Likewise.
84706         * rt/mqueue.h: Likewise.
84707         * shadow/shadow.h: Likewise.
84708         * signal/signal.h: Likewise.
84709         * socket/send.c: Likewise.
84710         * socket/sendto.c: Likewise.
84711         * socket/sys/socket.h: Likewise.
84712         * stdio-common/printf.h: Likewise.
84713         * stdlib/bits/stdlib.h: Likewise.
84714         * stdlib/fmtmsg.h: Likewise.
84715         * stdlib/monetary.h: Likewise.
84716         * stdlib/stdlib.h: Likewise.
84717         * stdlib/ucontext.h: Likewise.
84718         * streams/stropts.h: Likewise.
84719         * string/argz.h: Likewise.
84720         * string/bits/string2.h: Likewise.
84721         * string/string.h: Likewise.
84722         * string/strings.h: Likewise.
84723         * sunrpc/rpc/auth.h: Likewise.
84724         * sunrpc/rpc/auth_des.h: Likewise.
84725         * sunrpc/rpc/clnt.h: Likewise.
84726         * sunrpc/rpc/netdb.h: Likewise.
84727         * sunrpc/rpc/pmap_clnt.h: Likewise.
84728         * sunrpc/rpc/xdr.h: Likewise.
84729         * sysdeps/generic/inttypes.h: Likewise.
84730         * sysdeps/generic/net/if.h: Likewise.
84731         * sysdeps/generic/sys/swap.h: Likewise.
84732         * sysdeps/gnu/net/if.h: Likewise.
84733         * sysdeps/gnu/utmpx.h: Likewise.
84734         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
84735         * sysdeps/i386/i486/bits/string.h: Likewise.
84736         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
84737         * sysdeps/s390/bits/string.h: Likewise.
84738         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
84739         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
84740         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
84741         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
84742         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
84743         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
84744         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
84745         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
84746         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
84747         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
84748         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
84749         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
84750         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
84751         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
84752         * sysdeps/unix/sysv/linux/readv.c: Likewise.
84753         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
84754         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
84755         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84756         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
84757         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
84758         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
84759         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
84760         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
84761         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
84762         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
84763         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
84764         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
84765         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84766         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
84767         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
84768         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
84769         * sysvipc/sys/ipc.h: Likewise.
84770         * sysvipc/sys/msg.h: Likewise.
84771         * sysvipc/sys/sem.h: Likewise.
84772         * sysvipc/sys/shm.h: Likewise.
84773         * termios/termios.h: Likewise.
84774         * time/sys/time.h: Likewise.
84775         * time/time.h: Likewise.
84776         * wcsmbs/bits/wchar2.h: Likewise.
84777         * wcsmbs/uchar.h: Likewise.
84778         * wcsmbs/wchar.h: Likewise.
84779         * wctype/wctype.h: Likewise.
84781         [BZ #13551]
84782         * Makeconfig: Remove all but ELF support including AIX support.
84783         * Makerules: Likewise.
84784         * config.h.in: Likewise.
84785         * config.make.in: Likewise.
84786         * configure: Likewise.
84787         * configure.in: Likewise.
84788         * csu/Makefile: Likewise.
84789         * csu/version.c: Likewise.
84790         * debug/Makefile: Likewise.
84791         * dlfcn/Makefile: Likewise.
84792         * elf/Makefile: Likewise.
84793         * extra-lib.mk: Likewise.
84794         * iconv/Makefile: Likewise.
84795         * include/libc-symbols.h: Likewise.
84796         * include/shlib-compat.h: Likewise.
84797         * resolv/Makefile: Likewise.
84798         * resolv/res_libc.c: Likewise.
84799         * rt/Makefile: Likewise.
84800         * sysdeps/i386/asm-syntax.h: Likewise.
84801         * sysdeps/i386/sysdep.h: Likewise.
84802         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
84803         * sysdeps/mach/sysdep.h: Likewise.
84804         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
84805         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
84806         * sysdeps/s390/asm-syntax.h: Likewise.
84807         * sysdeps/s390/s390-32/sysdep.h: Likewise.
84808         * sysdeps/s390/s390-64/sysdep.h: Likewise.
84809         * sysdeps/sh/sysdep.h: Likewise.
84810         * sysdeps/unix/sparc/sysdep.h: Likewise.
84811         * sysdeps/wordsize-32/divdi3.c: Likewise.
84812         * sysdeps/x86_64/sysdep.h: Likewise.
84814         * argp/Versions: Remove _argp_unlock_xxx.
84816         [BZ #13559]
84817         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
84818         * abilist/libBrokenLocale.abilist: Likewise.
84819         * abilist/libanl.abilist: Likewise.
84820         * abilist/libc.abilist: Likewise.
84821         * abilist/libcrypt.abilist: Likewise.
84822         * abilist/libdl.abilist: Likewise.
84823         * abilist/libm.abilist: Likewise.
84824         * abilist/libnsl.abilist: Likewise.
84825         * abilist/libpthread.abilist: Likewise.
84826         * abilist/libresolv.abilist: Likewise.
84827         * abilist/librt.abilist: Likewise.
84828         * abilist/libthread_db.abilist: Likewise.
84829         * abilist/libutil.abilist: Likewise.
84830         * abilist/libnss_db.abilist: New file.
84832         * scripts/abilist.awk: Add support for indirect functions.
84834         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
84836         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
84838         * shlib-versions: Remove entries for ports architectures.
84840         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
84841         files in ports.
84842         * elf/stackguard-macros.h: Remove support for IA-64.
84843         * elf/tst-auditmod1.c: Likewise.
84844         * sysdeps/generic/ldsodefs.h: Likewise.
84846         * sysdeps/unix/sysv/linux/configure.in: Ports should define
84847         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
84848         configure files.
84850         [BZ #13552]
84851         * configure.in: Remove --enable-omitfp support.
84852         * FAQ.in: Adjust.
84853         * config.make.in: Likewise.
84854         * Makeconfig: Likewise.
84855         * manual/install.texi: Likewise.
84857         In case anyone cares, the IA-64 architecture could move to ports.
84858         * sysdeps/ia64/*: Removed.
84859         * sysdeps/unix/sysv/linux/ia64/*: Removed.
84860         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
84862         [BZ #13555]
84863         * configure.in: Remove entries for unsupported architectures.
84865         [BZ #13533]
84866         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
84867         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
84868         routines.
84869         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
84870         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
84871         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
84872         fall back to using wcrtomb.
84873         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
84874         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
84875         renaming.
84876         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
84877         * wcsmbs/tst-c16c32-1.c: New file.
84879         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
84880         local variable.
84882         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
84884         * elf/tst-unique3.cc: Add explicit declaration of gets.
84885         * elf/tst-unique3lib.cc: Likewise.
84886         * elf/tst-unique3lib2.cc: Likewise.
84887         * elf/tst-unique4.cc: Likewise.
84889         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
84891 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
84893         [BZ #13566]
84894         * assert/assert.h (static_assert): Don't define for C++.
84895         * libio/stdio.h (gets): Do declare for C++ <= C++11.
84896         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
84898 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
84900         * iconv/loop.c (single loop): Fix assertion in storing of
84901         remaining bytes.
84903         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
84905 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
84907         * posix/getconf.c: Update copyright year.
84908         * nss/getent.c: Likewise.
84909         * nss/makedb.c: Likewise.
84910         * iconv/iconvconfig.c: Likewise.
84911         * iconv/iconv_prog.c: Likewise.
84912         * elf/ldconfig.c: Likewise.
84913         * elf/pldd.c: Likewise.
84914         * elf/sotruss.ksh: Likewise.
84915         * catgets/gencat.c: Likewise.
84916         * csu/version.c: Likewise.
84917         * elf/ldd.bash.in: Likewise.
84918         * elf/sprof.c (print_version): Likewise.
84919         * locale/programs/locale.c: Likewise.
84920         * locale/programs/localedef.c: Likewise.
84921         * login/programs/pt_chown.c: Likewise.
84922         * nscd/nscd.c (print_version): Likewise.
84923         * debug/xtrace.sh: Likewise.
84924         * malloc/memusage.sh: Likewise.
84925         * malloc/mtrace.pl: Likewise.
84926         * debug/catchsegv.sh: Likewise.
84928 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
84930         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
84931         pure attribute.
84933 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
84935         [BZ #13533]
84936         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
84937         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
84938         transformations.
84939         * iconv/gconv_int.h: Likewise.
84940         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
84941         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
84942         from libc for GLIBC_2.16.
84943         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
84944         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
84945         * wcsmbs/uchar.h: Really define mbstate_t.
84946         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
84947         * wcsmbs/c16rtomb.c: New file.
84948         * wcsmbs/mbrtoc16.c: New file.
84949         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
84950         for C/POSIX locale.
84951         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
84952         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
84954         * wcsmbs/wchar.h: Add missing __restrict.
84956 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84958         [BZ #13532]
84959         * time/Makefile (routines): Add timespec_get.
84960         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
84961         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
84962         timespec for ISO C11.
84963         * time/timespec_get.c: New file.
84964         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
84965         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
84967         [BZ #13531]
84968         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
84969         * stdlib/stdlib.h: Declare aligned_alloc.
84970         * Versions.def: Add GLIBC_2.16 for libc.
84971         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
84973         [BZ 13527]
84974         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
84975         ISO C11.
84977         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
84978         code.
84980         [BZ #13528]
84981         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
84983         [BZ #13529]
84984         * assert/assert.h (static_assert): Define.
84986         * version.h: Update for 2.16 development version.
84988         [BZ #13526]
84989         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
84990         _ISOC11_SOURCE.
84992         * version.h (RELEASE): Bump for 2.15 release.
84993         * include/features.h (__GLIBC_MINOR__): Bump to 15.
84995         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
84996         Patch by Marek Polacek <mpolacek@redhat.com>.
84998         * bits/byteswap.h: Protect long long constants with __extension__.
84999         * sysdeps/i386/bits/byteswap.h: Likewise.
85000         * sysdeps/ia64/bits/byteswap.h: Likewise.
85001         * sysdeps/s390/bits/byteswap.h: Likewise.
85002         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85004 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85006         [BZ #13540]
85007         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
85008         destination buffer.
85009         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
85011 2011-12-23  Marek Polacek  <polacek@redhat.com>
85013         * elf/dl-addr.c (determine_info): Add inline keyword.
85014         * elf/tst-auditmod4b.c (check_avx): Likewise.
85015         * elf/tst-auditmod6b.c (check_avx): Likewise.
85016         * elf/tst-auditmod6c.c (check_avx): Likewise.
85017         * elf/tst-auditmod7b.c (check_avx): Likewise.
85019 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
85021         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
85022         !__SSE_MATH__.
85024 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85026         [BZ #13540]
85027         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
85028         processing for last bytes.
85030 2011-08-06  Bruno Haible  <bruno@clisp.org>
85032         [BZ #13061]
85033         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
85034         U+0385, not to U+1FEE.
85036         [BZ #13062]
85037         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
85038         entry for U+00A5 U+0301.
85040 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
85042         [BZ #13166]
85043         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
85044         buffer for the output is too small.
85046         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
85047         optimization.
85049         [BZ #13185]
85050         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
85051         SSE flags if possible.
85053 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85055         [BZ #13540]
85056         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
85057         processing for last bytes.
85059 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
85061         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
85062         (syscall-list-default-options, syscall-list-default-condition)
85063         (syscall-list-includes): Define.
85064         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
85065         list of ABIs and options and #if conditions for each ABI.  Do not
85066         handle common syscalls between ABIs specially.
85067         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
85068         Remove.
85069         (syscall-list-variants, syscall-list-32bit-options)
85070         (syscall-list-32bit-condition, syscall-list-64bit-options)
85071         (syscall-list-64bit-condition): Define.
85072         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
85073         (syscall-list-variants, syscall-list-32bit-options)
85074         (syscall-list-32bit-condition, syscall-list-64bit-options)
85075         (syscall-list-64bit-condition): Define.
85076         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
85077         Remove.
85078         (syscall-list-variants, syscall-list-32bit-options)
85079         (syscall-list-32bit-condition, syscall-list-64bit-options)
85080         (syscall-list-64bit-condition): Define.
85081         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
85082         Remove.
85083         (syscall-list-variants, syscall-list-32bit-options)
85084         (syscall-list-32bit-condition, syscall-list-64bit-options)
85085         (syscall-list-64bit-condition): Define.
85087 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
85089         * locale/iso-639.def: Add brx entry.
85091         [BZ #13328]
85092         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
85093         Proposed by Mariusz_Cukr <marcukr@op.pl>.
85095         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
85096         __feraiseexcept_renamed.
85098 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
85100         [BZ #13538]
85101         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
85102         EPOLLET with unsigned values.
85103         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85104         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85106         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
85107         to large cancellation.
85108         * math/s_cacoshf.c: Likewise.
85109         * math/s_cacoshl.c: Likewise.
85111 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
85113         [BZ #13305]
85114         [BZ #12786]
85115         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
85116         * math/s_cacoshf.c: Likewise.
85117         * math/s_cacoshl.c: Likewise.
85119 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
85121         [BZ #13439]
85122         * iconv/gconv.h: Define __GCONV_SWAP.
85123         * iconvdata/unicode.c: The swap bit must be stored in __flags.
85124         * iconvdata/utf-16.c: Likewise.
85125         * iconvdata/utf-32.c: Likewise.
85127 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
85129         [BZ #13524]
85130         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
85131         numerator after shifting it by one limb.
85133 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
85135         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
85136         under [__USE_EXTERN_INLINES].
85138 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
85140         [BZ #13446]
85141         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
85143 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85145         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
85146         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
85147         optimized code.
85148         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
85149         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
85150         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
85151         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
85152         for strncasecmp/strncasecmp_l compilation.
85153         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
85154         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
85156 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
85158         [BZ #13484]
85159         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
85160         of __asm__.
85162 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
85164         [BZ #13506]
85165         * time/tzfile.c (__tzfile_read): Check values from file header.
85167 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
85169         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
85170         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
85171         * powerpc/powerpc32/dl-start.S: Likewise.
85172         * powerpc/powerpc32/elf/start.S: Likewise.
85173         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
85174         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
85175         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
85176         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
85177         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
85178         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
85179         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
85180         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
85181         * powerpc/powerpc32/fpu/s_round.S: Likewise.
85182         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
85183         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
85184         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
85185         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
85186         * powerpc/powerpc32/memset.S: Likewise.
85187         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
85188         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
85189         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
85190         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
85191         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
85192         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
85193         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
85194         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
85195         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
85196         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
85197         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
85198         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85199         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85201 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85203         * math/libm-test.inc: Added more nearbyint tests.
85204         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
85205         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
85206         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
85207         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
85209 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
85211         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
85212         FD_CLOEXEC.
85214 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85216         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
85217         Add wcscpy-ssse3 wcscpy-c.
85218         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
85219         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
85220         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
85221         * sysdeps/x86_64/wcschr.S: New file.
85222         * sysdeps/x86_64/wcsrchr.S: New file.
85223         * string/test-strcmp.c: Remove checking of wcscmp function for
85224         wrong alignments.
85225         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
85226         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
85227         wcsrchr-sse2 wcsrchr-c.
85228         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
85229         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
85230         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
85231         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
85232         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
85233         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
85234         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
85235         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
85236         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
85237         * wcsmbc/wcschr.c (WCSCHR): New macro.
85239 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85241         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
85242         * wcsmbs/test-wcsrchr.c: New file.
85243         * string/test-strrchr.c: Add wcsrchr support.
85244         (WIDE): New macro.
85245         * wcsmbs/test-wcscpy.c: New file.
85246         * string/test-strcpy.c: Add wcscpy support.
85247         (WIDE): New macro.
85249 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
85251         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
85252         the inner loop.
85254 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
85256         [BZ #13472]
85257         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
85259 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
85261         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
85262         Minor optimizations.
85264         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
85265         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
85266         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
85268 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
85270         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
85271         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
85272         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
85273         for gcc to avoid warnings.
85274         * inet/Makefile (tests): Add tst-checks.
85275         * inet/tst-checks.c: New file.
85277         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
85278         warning.
85280         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
85281         __wmemcmp_sse2.
85283         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
85284         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
85286         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
85288 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
85290         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
85291         problem.
85293         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
85295 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
85297         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
85298         conditional on GCC version.
85299         (__arch_compare_and_exchange_val_8_acq)
85300         (__arch_compare_and_exchange_val_16_acq)
85301         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
85302         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
85303         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
85305 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
85307         * sysdeps/sh/backtrace.c: New file.
85309 2011-12-02  Andreas Schwab  <schwab@redhat.com>
85311         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
85312         parenthesis.
85314 2011-12-01  Andreas Schwab  <schwab@redhat.com>
85316         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
85317         falling back to utime.
85319 2011-11-30  Andreas Schwab  <schwab@redhat.com>
85321         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
85322         expectations for float.
85324 2011-11-29  Andreas Schwab  <schwab@redhat.com>
85326         * locale/weight.h (findidx): Add parameter len.
85327         * locale/weightwc.h (findidx): Likewise.
85328         * posix/fnmatch_loop.c (FCT): Adjust caller.
85329         * posix/regcomp.c (build_equiv_class): Likewise.
85330         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
85331         * posix/regexec.c (check_node_accept_bytes): Likewise.
85332         * string/strcoll_l.c (STRCOLL): Likewise.
85333         * string/strxfrm_l.c (STRXFRM): Likewise.
85335 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
85337         * Makefile.in: Remove CVSOPT handling.
85338         * configure.in: Remove use of AC_REVISION.
85339         * iconvdata/Makefile (distribute): No need to filter out CVS.
85340         * scripts/list-sources.sh: Remove CVS, subversion and monotone
85341         handling.
85343 2011-11-16  Andreas Schwab  <schwab@redhat.com>
85345         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
85346         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
85347         [USE_AS_STRNCASECMP_L]: Likewise.
85348         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
85349         NO_TLS_DIRECT_SEG_REFS.
85350         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
85351         Fix argument offsets for non-PIC.
85352         [USE_AS_STRNCASECMP_L]: Likewise.
85353         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
85354         NO_TLS_DIRECT_SEG_REFS.
85356 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
85358         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
85359         O_CLOEXEC.
85360         * locale/loadlocale.c (_nl_load_locale): Likewise.
85362 2011-11-15  Andreas Schwab  <schwab@redhat.com>
85364         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
85365         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
85366         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
85367         (SYSCALL_GETTIME): Set errno on error.
85369         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
85370         count references to noai6ai_cached.
85372 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
85374         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
85376         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
85377         FD_CLOEXEC for /proc/self/maps.
85379         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
85380         FD_CLOEXEC for /proc/meminfo.
85382         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
85383         gai.conf.
85385         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
85386         FD_CLOEXEC for given file.
85388         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
85390         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
85391         FD_CLOEXEC for /etc/hosts.
85392         (_gethtent): Likewise.
85394         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
85396         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
85397         cancellation and set FD_CLOEXEC for /etc/netgroup.
85399         * nss/nss_files/files-key.c (search): Don't allow cancellation when
85400         reading /etc/publickey.
85402         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
85403         allow cancellation when reading /etc/group.
85405         * nss/nss_files/files-alias.c (internal_setent): Don't allow
85406         cancellation.
85407         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
85409         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
85410         when using data file.
85412         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
85414         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
85415         (write_nis_obj): Use "c" and "e" in fopen.
85417         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
85419         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
85421         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
85423         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
85425         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
85426         locale.alias.
85428         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
85430         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
85432         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
85434         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
85435         file parsing and set FD_CLOEXEC.
85437 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
85439         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
85441 2011-11-14  Andreas Schwab  <schwab@redhat.com>
85443         * malloc/arena.c (arena_get2): Don't call reused_arena when
85444         _int_new_arena failed.
85446 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
85448         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
85449         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
85450         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
85451         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85452         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85453         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
85454         to compile strcasecmp and strncasecmp.
85455         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
85456         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
85458         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
85460 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
85462         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
85463         locale-defines.sym to gen-as-const-headers.
85464         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
85465         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
85466         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
85467         to compile strcasecmp and strncasecmp.
85468         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
85469         strcasecmp_l and strncasecmp_l.
85470         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
85471         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
85472         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
85473         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
85474         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
85475         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
85476         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
85477         * sysdeps/i386/i686/multiarch/strncase.S: New file.
85478         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
85479         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
85480         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
85482 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
85484         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
85485         result of SYSDEP_GETTIME_CPU to retval.
85486         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
85487         parameter list to macro.  Remove trailing semicolon.  Adjust users.
85489         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
85490         variable.
85492         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
85493         mantissa words.
85494         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
85496         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
85497         from unused variable.
85499         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
85500         DWARF definitions.
85501         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
85502         for assembling.
85504         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
85505         over namespaces.
85507         * sunrpc/rpc_prot.c (rejected): Fix case value.
85509         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
85510         unsigned long long int to avoid warnings in shift.
85512         * posix/regex_internal.c (re_string_reconstruct): Actually use result
85513         of use of trans.
85514         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
85515         variable tmp.
85517         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
85518         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
85519         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
85521         * nis/nis_table.c (nis_list): Use variable of correct type for
85522         result of __follow_path call.
85524 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85526         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
85527         of math functions ceil, trunc, floor, round, and sqrt, when
85528         avaliable on the platform.
85529         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
85530         name clash.
85531         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85532         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85533         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85535 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
85537         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
85538         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
85540 2011-11-11  Roland McGrath  <roland@hack.frob.com>
85542         * include/unistd.h: Fix __readlink return type.
85543         Reported by Chris Metcalf <cmetcalf@tilera.com>.
85545 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
85547         * stdlib/ucontext.h: Undo last change for makecontext.
85549 2011-11-11  Andreas Schwab  <schwab@redhat.com>
85551         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
85553         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
85554         * setjmp/setjmp.h: Mark functions as non-leaf.
85555         * setjmp/bits/setjmp2.h: Likewise.
85556         * stdlib/ucontext.h: Likewise.
85558 2011-11-10  Andreas Schwab  <schwab@redhat.com>
85560         * malloc/arena.c (_int_new_arena): Don't increment narenas.
85561         (reused_arena): Don't check arena limit.
85562         (arena_get2): Atomically check arena limit.
85564 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
85566         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
85567         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
85569         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
85570         instructions.
85572 2011-11-07  Andreas Schwab  <schwab@redhat.com>
85574         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
85575         handler when locking.
85577         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85578         Fix size of allocated buffer.
85580 2011-11-04  Andreas Schwab  <schwab@redhat.com>
85582         [BZ #10103]
85583         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
85584         declarations for long double functions.
85585         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
85587         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
85589 2011-11-03  Andreas Schwab  <schwab@redhat.com>
85591         * nscd/nscd.c (main): Don't start AVC thread until credentials are
85592         installed.
85594         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
85595         is disabled.
85597 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85599         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
85601 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
85603         * include/alloca.h (stackinfo_alloca_round): Define.
85604         (extend_alloca): Use it.
85605         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
85606         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
85607         here.
85609         * scripts/check-local-headers.sh: Ignore libaudit.h.
85611         * nscd/Makefile (extra-objs): Make recursively expanded.
85613 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
85615         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
85616         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
85618         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
85619         * posix/tst-rfc3484-2.c: Likewise.
85620         * posix/tst-rfc3484-3.c: Likewise.
85622         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
85623         process_vm_writev.
85624         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
85625         process_vm_writev.
85626         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
85627         process_vm_writev from libc using GLIBC_2.15 version.
85629         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
85631 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
85633         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
85634         stack usage.
85636 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
85638         [BZ #13367]
85639         * nss/getent.c (initgroups_keys): Show error message in case no group
85640         names are given.
85642         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
85643         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
85644         __bump_nl_timestamp.
85645         * nscd/connections (nscd_init): When host database is served open
85646         netlink socket and request notification about configuration changes.
85647         (main_loop_poll): Track netlink file descriptor and bump timestamp
85648         in case data becomes available.
85649         (main_loop_epoll): Likewise.
85650         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
85651         (database_pers_head): Add extra_data fileds.
85652         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
85653         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
85654         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
85655         Adjust caller.
85656         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
85657         in6ai data, call __free_in6ai.
85658         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
85659         Add -DHAVE_NETLINK.
85660         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
85661         interface information.  Reuse previous data if netlink timestamp
85662         is not changed.
85663         (__bump_nl_timestamp): New function.
85664         (__free_in6ai): New function.
85666 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
85668         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
85669         close_not_cancel_no_status here.
85670         (__check_pf): Reorganize code a bit to not call close twice if OOM.
85672 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
85674         [BZ #13276]
85675         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
85676         return value.
85678         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
85679         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
85680         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
85682 2011-07-03  Andreas Jaeger  <aj@suse.de>
85684         [BZ #10709]
85685         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
85686         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
85687         * math/libm-test.inc (sin_test): Add test case.
85689 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
85691         [BZ #13337]
85692         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
85693         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
85695         * elf/chroot_canon.c (chroot_canon): Cleanups.
85697         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
85699         [BZ #13335]
85700         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
85701         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
85703         * string/test-strchr.c: Make usable for strchrnul testing.
85704         * string/test-strchrnul.c: New file.
85705         * string/Makefile (strop-tests): Add strchrnul.
85707         * po/it.po: Update from translation team.
85708         * po/es.po: Likewise.
85710 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
85712         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
85713         the three constants needed as parameters.  Drop the others.
85714         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
85715         __m128i_strloadu_tolower.
85716         Create and initialize variable zero and use it in all the places
85717         where _mm_setzero_si128 was used.
85719         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
85720         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
85721         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
85722         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
85723         anymore.
85724         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
85725         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
85726         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
85727         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
85728         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
85729         __mpranred, __mptan.
85730         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
85731         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
85732         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
85733         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
85734         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
85735         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
85736         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
85737         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
85738         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
85740 2011-10-28  Andreas Schwab  <schwab@redhat.com>
85742         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
85743         redefine if SHARED.
85744         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
85746         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
85747         wide char related routines to wcsmbs subdir.
85749 2011-10-27  Andreas Schwab  <schwab@redhat.com>
85751         [BZ #13344]
85752         * misc/sys/cdefs.h (__THROWNL): Define.
85753         * posix/unistd.h: Use __THREADNL instead of __THREAD
85754         for memory synchronization functions.
85756 2011-10-26  Roland McGrath  <roland@hack.frob.com>
85758         [BZ #13349]
85759         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
85760         doesn't exist.
85761         * manual/stdio.texi (Obstack Streams): Node removed.
85763 2011-10-26  Andreas Schwab  <schwab@redhat.com>
85765         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
85766         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85767         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85769         * math/math_private.h (math_force_eval): Allow non-addressable
85770         arguments.
85771         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
85773 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85775         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
85776         file is not needed.
85778         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
85779         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
85780         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85781         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85782         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85783         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85784         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85785         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
85786         Add AVX variants.
85787         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
85788         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
85789         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
85790         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
85791         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
85792         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
85793         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
85794         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
85795         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
85796         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
85797         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
85798         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
85799         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
85800         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
85801         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
85802         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
85803         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
85804         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
85805         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
85807         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
85808         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
85810         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
85811         place.  Use VEX encoding when compiling for AVX.
85813 2011-10-25  Andreas Schwab  <schwab@redhat.com>
85815         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
85816         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
85818         * string/test-strchr.c (do_test): Don't generate NUL bytes.
85820 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85822         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
85823         useless if() expression.
85824         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85825         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85826         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85827         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85828         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85829         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85830         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85831         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85832         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85833         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85834         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85835         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85836         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85837         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85838         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85839         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85840         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85841         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85842         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
85844         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
85846 2011-10-25  Andreas Schwab  <schwab@redhat.com>
85848         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
85849         condition.
85850         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85852 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85854         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
85855         .text section.  Avoid duplicate constants.
85856         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85857         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85858         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85859         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85860         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85861         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85862         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85863         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85864         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
85865         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
85866         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
85867         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
85868         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
85869         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
85870         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
85871         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
85872         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
85873         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
85874         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85875         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85876         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85877         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85878         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85879         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
85880         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
85881         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
85882         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
85883         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
85884         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
85885         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
85886         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
85887         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
85888         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
85889         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
85890         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
85891         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
85892         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
85893         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
85894         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
85895         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
85896         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
85897         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
85898         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
85899         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
85900         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
85902 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
85904         * sysdeps/x86_64/dla.h: Move to ...
85905         * sysdeps/x86_64/fpu/dla.h: ...here.
85906         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
85907         situations.  Use __builtin_fma only for gcc 4.6 and up.
85909         * config.make.in: Add have-mfma4 entry.
85910         * configure.in: Substitute libc_cv_cc_fma4.
85911         * math/Makefile (dbl-only-routines): Add sincostab.
85912         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
85913         Use __sincostab not sincos.
85914         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
85915         name is a macro.
85916         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85917         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85918         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85919         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
85920         using __copysign.
85921         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
85922         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
85923         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
85924         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
85925         and __inv.
85926         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
85927         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
85928         __copysign.
85929         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
85930         define aliases when function name is a macro.
85931         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
85932         sysdeps/ieee754/dbl-64/sincos.tbl.
85933         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
85934         fma4-enabled routines.
85935         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
85936         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
85937         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
85938         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
85939         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
85940         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
85941         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
85942         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
85943         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
85944         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
85945         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
85946         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
85947         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
85948         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
85949         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
85950         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
85951         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
85952         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
85953         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
85954         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
85955         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
85956         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
85957         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
85958         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
85959         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
85960         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
85961         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
85962         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
85963         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
85964         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
85966         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
85967         rename.
85968         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85969         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85970         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85971         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85972         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85973         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85974         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85975         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85977 2011-10-24  Andreas Schwab  <schwab@redhat.com>
85979         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
85981 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85983         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
85985         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
85986         prediction.
85987         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
85989         * string/strnlen.c: Don't define STRNLEN, reverse logic.
85990         Remove unused variable magic_bits.
85991         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
85993         * string/strnlen.c: Define and use STRNLEN macro.
85994         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
85995         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
85996         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
85997         * wcsmbs/wcslen.c: Define and use WCSLEN.
85998         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
85999         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
86000         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
86001         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
86002         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
86003         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
86004         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86006 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86008         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86009         strnlen-sse2-no-bsf.
86010         Rename strlen-no-bsf to strlen-sse2-no-bsf.
86011         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
86012         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
86013         Add strnlen support.
86014         (USE_AS_STRNLEN): New macro.
86015         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
86016         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
86017         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
86018         * sysdeps/x86_64/wcslen.S: New file.
86020 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
86022         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
86023         XMM-moves are used for copying on small sizes.
86025 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86027         * wcsmbs/Makefile (strop-tests): Add wcschr.
86028         * wcsmbs/test-wcschr.c: New file.
86029         * string/test-strchr.c: Update.
86030         Add wcschr support.
86031         (WIDE): New macro.
86033 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86035         * wcsmbs/Makefile (strop-tests): Add wcslen.
86036         * wcsmbs/test-wcslen.c: New file.
86037         * string/test-strlen.c: Update.
86038         Add wcslen support.
86039         (WIDE): New macro.
86041 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86043         * po/it.po: Update from translation team.
86045 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86047         * sysdeps/x86_64/wcscmp.S: Update.
86048         Fix wrong comparison semantics.
86049         wcscmp shall use signed comparison not unsigned.
86050         Don't use substraction to avoid overflow bug.
86051         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
86052         * wcsmbc/wcscmp.c: Likewise.
86053         * string/test-strcmp.c: Likewise.
86054         Add new tests to check cases with negative values.
86056 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86058         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
86059         * sysdeps/x86_64/dla.h: ...here.  New file.
86060         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
86061         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86062         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86063         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86064         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86065         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86066         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86067         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86068         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86070 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
86072         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
86073         __ynl_finite aliases.
86075 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
86077         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
86079         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
86080         define DLA_FMA.
86081         [DLA_FMA] (EMULV): Use DLA_FMA.
86082         [DLA_FMA] (MUL12): Use EMULV.
86083         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
86084         that are not needed.
86085         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86086         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86087         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86088         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86089         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86090         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86091         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86093 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
86095         * math/s_nan.c: Undef __nan.
86096         * math/s_nanf.c: Undef __nanf.
86097         * math/s_nanl.c: Undef __nanl.
86098         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
86099         "math_private.h".
86101 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
86103         * math/s_catan.c: Add branch predictions.
86104         * math/s_catanf.c: Likewise.
86105         * math/s_catanh.c: Likewise.
86106         * math/s_catanhf.c: Likewise.
86107         * math/s_catanhl.c: Likewise.
86108         * math/s_catanl.c: Likewise.
86109         * math/s_cexp.c: Likewise.
86110         * math/s_cexpf.c: Likewise.
86111         * math/s_cexpl.c: Likewise.
86112         * math/s_clog.c: Likewise.
86113         * math/s_clog10.c: Likewise.
86114         * math/s_clog10f.c: Likewise.
86115         * math/s_clog10l.c: Likewise.
86116         * math/s_clogf.c: Likewise.
86117         * math/s_clogl.c: Likewise.
86118         * math/s_csqrt.c: Likewise.
86119         * math/s_csqrtf.c: Likewise.
86120         * math/s_csqrtl.c: Likewise.
86121         * math/s_ctanf.c: Likewise.
86122         * math/s_ctanh.c: Likewise.
86123         * math/s_ctanhf.c: Likewise.
86124         * math/s_ctanhl.c: Likewise.
86125         * math/s_ctanl.c: Likewise.
86127         * math/math_private.h: Define __nan, __nanf, __nanl.
86128         * math/s_cacosh.c: Include <math_private.h>.
86129         * math/s_cacoshl.c: Likewise.
86130         * math/s_casinh.c: Likewise.
86131         * math/s_casinhf.c: Likewise.
86132         * math/s_casinhl.c: Likewise.
86133         * math/s_ccos.c: Rely entire on ccosh.
86134         * math/s_ccosf.c: Rely entire on ccoshf.
86135         * math/s_ccosl.c: Rely entirely on ccoshl.
86136         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
86137         Remove tests for FE_INVALID.
86138         * math/s_ccoshf.c: Likewise.
86139         * math/s_ccoshl.c: Likewise.
86140         * math/s_csin.c: Likewise.
86141         * math/s_csinf.c: Likewise.
86142         * math/s_csinh.c Likewise.
86143         * math/s_csinhf.c: Likewise.
86144         * math/s_csinhl.c: Likewise.
86145         * math/s_csinl.c: Likewise.
86146         * math/s_ctan.c: Likewise.
86147         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
86148         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
86149         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
86151 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
86153         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
86154         compilation problems.
86156         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
86157         __builtin_expect.
86159 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
86161         * sysdeps/i386/configure.in: Test for -mfma4 option.
86162         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
86163         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
86164         COMMON_CPUID_INDEX_80000001.
86165         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
86166         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
86167         use it if FMA3 is not supported.
86168         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
86170         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
86171         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86173 2011-10-20  Andreas Schwab  <schwab@redhat.com>
86175         [BZ #12892]
86176         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
86177         it would create a cycle with a link time dependency.
86179 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
86181         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
86182         instruction.
86183         * string/Makefile (strop-tests): Add rawmemchr.
86184         * string/test-rawmemchr.c: New file.
86186         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
86187         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
86188         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
86189         when compiling str{,n}casecmp and when AVX is available.  Hook up
86190         new optimized code in initializers.
86192 2011-10-19  Andreas Schwab  <schwab@redhat.com>
86194         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
86195         __feraiseexcept instead of feraiseexcept.
86197 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
86199         * math/math_private.h: Define defaults for libc_fetestexcept and
86200         libc_feupdateenv.
86201         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
86202         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
86203         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
86204         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
86205         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86206         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
86207         libc_fetestexcept and libc_feupdateenv.
86209         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
86210         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
86211         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
86212         * sysdeps/x86_64/fpu/math_private.h: Define special version of
86213         libc_feholdexcept_setround.
86215         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
86216         Add s_nearbyint-c and s_nearbyintf-c.
86217         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
86218         nearbyintf inlines.
86219         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
86220         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
86221         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
86222         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
86224         * math/math_private.h: Define defaults for libc_fegetround,
86225         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
86226         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
86227         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
86228         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
86229         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
86230         standard functions.
86231         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
86232         Remove comments and hacks for old compiler versions.
86233         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
86234         libc_fegetround, libc_fesetround, libc_feholdexcept, and
86235         libc_feholdexceptl.
86237 2011-10-18  Andreas Schwab  <schwab@redhat.com>
86239         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
86240         (__feraiseexcept_renamed): Add __NTH.
86241         (feraiseexcept): Add __NTH.  Rename local variables to fix
86242         namespace violations.
86244 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
86246         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
86248         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
86250         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
86251         recently added interfaces.
86252         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
86254         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
86255         about macro parameter expansion.
86257         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
86258         __NO_MATH_INLINES is defined.  Cleanups.
86260         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
86261         and __floorf is target has SSE4.1.
86262         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
86263         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
86264         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
86265         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
86267         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
86268         name.
86269         (floorf): Likewise.
86271         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
86273 2011-10-17  Andreas Schwab  <schwab@redhat.com>
86275         * misc/sys/cdefs.h: Fix last change.
86277         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
86278         database lookup.
86280 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
86282         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
86284         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
86285         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86286         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86287         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86288         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86289         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86290         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86291         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86292         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86293         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
86294         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
86295         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
86296         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
86297         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
86298         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
86299         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
86300         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
86301         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
86302         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
86303         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
86304         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
86305         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
86307         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
86308         ceil, ceilf, floor, floorf.
86310         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
86311         Perform IRELATIVE relocations last.
86313         * elf/do-rel.h: Add another parameter nrelative, replacing the
86314         local variable with the same name.  Change name of the function
86315         to end in Rel or Rela (uppercase).
86316         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
86317         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
86318         elf_dynamic_do_##reloc function.
86320 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
86322         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
86323         is sufficient, at least on modern CPUs.
86325         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
86327         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
86328         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
86330         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
86331         __expl_finite.
86332         * math/bits/math-finite.h: Add entries for exp.
86333         * math/e_expl.c: Add __*_finite alias.
86334         * sysdeps/i386/fpu/e_exp.S: Likewise.
86335         * sysdeps/i386/fpu/e_expf.S: Likewise.
86336         * sysdeps/i386/fpu/e_expl.c: Likewise.
86337         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86338         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
86339         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
86340         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
86341         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
86342         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86343         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86345         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
86346         is sufficient, at least on modern CPUs.
86348         * ctype/ctype-info.c (__ctype_init): Define.
86349         * include/ctype.h (__ctype_init): Declare.
86350         (__ctype_b_loc): The variable is always initialized.
86351         (__ctype_toupper_loc): Likewise.
86352         (__ctype_tolower_loc): Likewise.
86353         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
86354         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
86356 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
86358         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
86360         * configure.in: Also look in $cxxmachine/include for C++ system
86361         headers.
86363 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86365         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
86366         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
86367         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
86368         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
86369         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
86370         (USE_AS_WMEMCMP): New macro.
86371         Fixing indents.
86372         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
86373         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
86374         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
86375         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
86376         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86377         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
86378         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
86379         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
86380         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
86381         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
86382         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
86383         (USE_AS_WMEMCMP): New macro.
86384         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
86385         * sysdeps/string/test-memcmp.c: Update.
86386         Fix simple_wmemcmp.
86387         Add new tests.
86388         * wcsmbs/wmemcmp.c: Update.
86389         (WMEMCMP): New macro.
86390         Fix overflow bug.
86392 2011-10-12  Andreas Jaeger  <aj@suse.de>
86394         [BZ #13268]
86395         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
86397 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
86399         * libio/iofwide.c (do_length): Avoid warning.
86401         * ctype/ctype.h (__isctype_f): Add missing __THROW.
86403 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
86405         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
86407         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
86408         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
86409         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
86410         * sysdeps/i386/i686/fpu/e_log.S: New file.
86411         * sysdeps/i386/i686/fpu/e_logf.S: New file.
86412         * sysdeps/i386/i686/fpu/e_logl.S: New file.
86414         * ctype/ctype.h: Add support for inlined isXXX functions when
86415         compiling C++ code.
86417 2011-10-14  Andreas Schwab  <schwab@redhat.com>
86419         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86421         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
86423 2011-10-13  Roland McGrath  <roland@hack.frob.com>
86425         [BZ #13291]
86426         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
86428 2011-10-13  Andreas Schwab  <schwab@redhat.com>
86430         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
86431         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
86432         feraiseexcept.
86434         * sysdeps/x86_64/memrchr.S: Check for zero size.
86436         * string/stratcliff.c: Add memrchr tests.
86438 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86440         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86441         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
86442         rawmemchr-sse2 rawmemchr-sse2-bsf.
86443         * sysdeps/i386/i686/multiarch/memchr.S: New file.
86444         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
86445         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
86446         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
86447         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
86448         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
86449         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
86450         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
86451         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
86452         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
86453         * string/memrchr.c (MEMRCHR): New macro.
86455 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
86457         Add integration with gcc's -ffinite-math-only and optimize wrapper
86458         functions in libm.
86459         * Versions.def: Define GLIBC_2.15 version for libm.
86460         * math/Makefile (headers): Add bits/math-finite.h.
86461         * math/bits/math-finite.h: New file.
86462         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
86463         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
86464         * math/e_acoshl.c: Add __*_finite alias.
86465         * math/e_acosl.c: Likewise.
86466         * math/e_asinl.c: Likewise.
86467         * math/e_atan2l.c: Likewise.
86468         * math/e_atanhl.c: Likewise.
86469         * math/e_coshl.c: Likewise.
86470         * math/e_exp10.c: Likewise.
86471         * math/e_exp10f.c: Likewise.
86472         * math/e_exp10l.c: Likewise.
86473         * math/e_exp2l.c: Likewise.
86474         * math/e_fmodl.c: Likewise.
86475         * math/e_gammal_r.c: Likewise.
86476         * math/e_hypotl.c: Likewise.
86477         * math/e_j0l.c: Likewise.
86478         * math/e_j1l.c: Likewise.
86479         * math/e_jnl.c: Likewise.
86480         * math/e_lgammal_r.c: Likewise.
86481         * math/e_log10l.c: Likewise.
86482         * math/e_log2l.c: Likewise.
86483         * math/e_logl.c: Likewise.
86484         * math/e_powl.c: Likewise.
86485         * math/e_sinhl.c: Likewise.
86486         * math/e_sqrtl.c: Likewise.
86487         * math/e_scalb.c: Completely rewritten and optimized.
86488         * math/e_scalbf.c: Likewise.
86489         * math/e_scalbl.c: Likewise.
86490         * math/w_acos.c: Likewise.
86491         * math/w_acosf.c: Likewise.
86492         * math/w_acosl.c: Likewise.
86493         * math/w_acosh.c: Likewise.
86494         * math/w_acoshf.c: Likewise.
86495         * math/w_acoshl.c: Likewise.
86496         * math/w_asin.c: Likewise.
86497         * math/w_asinf.c: Likewise.
86498         * math/w_asinl.c: Likewise.
86499         * math/w_atan2.c: Likewise.
86500         * math/w_atan2f.c: Likewise.
86501         * math/w_atan2l.c: Likewise.
86502         * math/w_atanh.c: Likewise.
86503         * math/w_atanhf.c: Likewise.
86504         * math/w_atanhl.c: Likewise.
86505         * math/w_exp10.c: Likewise.
86506         * math/w_exp10f.c: Likewise.
86507         * math/w_exp10l.c: Likewise.
86508         * math/w_fmod.c: Likewise.
86509         * math/w_fmodf.c: Likewise.
86510         * math/w_fmodl.c: Likewise.
86511         * math/w_j0.c: Likewise.
86512         * math/w_j0f.c: Likewise.
86513         * math/w_j0l.c: Likewise.
86514         * math/w_j1.c: Likewise.
86515         * math/w_j1f.c: Likewise.
86516         * math/w_j1l.c: Likewise.
86517         * math/w_jn.c: Likewise.
86518         * math/w_jnf.c: Likewise.
86519         * math/w_log.c: Likewise.
86520         * math/w_logf.c: Likewise.
86521         * math/w_logl.c: Likewise.
86522         * math/w_log10.c: Likewise.
86523         * math/w_log10f.c: Likewise.
86524         * math/w_log10l.c: Likewise.
86525         * math/w_log2.c: Likewise.
86526         * math/w_log2f.c: Likewise.
86527         * math/w_log2l.c: Likewise.
86528         * math/w_pow.c: Likewise.
86529         * math/w_powf.c: Likewise.
86530         * math/w_powl.c: Likewise.
86531         * math/w_remainder.c: Likewise.
86532         * math/w_remainderf.c: Likewise.
86533         * math/w_remainderl.c: Likewise.
86534         * math/w_scalb.c: Likewise.
86535         * math/w_scalbf.c: Likewise.
86536         * math/w_scalbl.c: Likewise.
86537         * math/w_sqrt.c: Likewise.
86538         * math/w_sqrtf.c: Likewise.
86539         * math/w_sqrtl.c: Likewise.
86540         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
86541         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
86542         used.
86543         * math/math_private.h: Declare __kernel_standard_f.
86544         * math/w_cosh.c: Remove cruft and optimize a bit.
86545         * math/w_coshf.c: Likewise.
86546         * math/w_coshl.c: Likewise.
86547         * math/w_exp2.c: Likewise.
86548         * math/w_exp2f.c: Likewise.
86549         * math/w_exp2l.c: Likewise.
86550         * math/w_hypot.c: Likewise.
86551         * math/w_hypotf.c: Likewise.
86552         * math/w_hypotl.c: Likewise.
86553         * math/w_lgamma.c: Likewise.
86554         * math/w_lgamma_r.c: Likewise.
86555         * math/w_lgammaf.c: Likewise.
86556         * math/w_lgammaf_r.c: Likewise.
86557         * math/w_lgammal.c: Likewise.
86558         * math/w_lgammal_r.c: Likewise.
86559         * math/w_sinh.c: Likewise.
86560         * math/w_sinhf.c: Likewise.
86561         * math/w_sinhl.c: Likewise.
86562         * math/w_tgamma.c: Likewise.
86563         * math/w_tgammaf.c: Likewise.
86564         * math/w_tgammal.c: Likewise.
86565         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86566         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86567         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
86568         Minor optimizations.  Pretty printing.  Remove cruft.
86569         * sysdeps/i386/fpu/e_acosf.S: Likewise.
86570         * sysdeps/i386/fpu/e_acosh.S: Likewise.
86571         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
86572         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
86573         * sysdeps/i386/fpu/e_acosl.c: Likewise.
86574         * sysdeps/i386/fpu/e_asin.S: Likewise.
86575         * sysdeps/i386/fpu/e_asinf.S: Likewise.
86576         * sysdeps/i386/fpu/e_atan2.S: Likewise.
86577         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
86578         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
86579         * sysdeps/i386/fpu/e_atanh.S: Likewise.
86580         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
86581         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
86582         * sysdeps/i386/fpu/e_exp10.S: Likewise.
86583         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
86584         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
86585         * sysdeps/i386/fpu/e_exp2.S: Likewise.
86586         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
86587         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
86588         * sysdeps/i386/fpu/e_fmod.S: Likewise.
86589         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
86590         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
86591         * sysdeps/i386/fpu/e_hypot.S: Likewise.
86592         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
86593         * sysdeps/i386/fpu/e_log.S: Likewise.
86594         * sysdeps/i386/fpu/e_log10.S: Likewise.
86595         * sysdeps/i386/fpu/e_log10f.S: Likewise.
86596         * sysdeps/i386/fpu/e_log10l.S: Likewise.
86597         * sysdeps/i386/fpu/e_log2.S: Likewise.
86598         * sysdeps/i386/fpu/e_log2f.S: Likewise.
86599         * sysdeps/i386/fpu/e_log2l.S: Likewise.
86600         * sysdeps/i386/fpu/e_logf.S: Likewise.
86601         * sysdeps/i386/fpu/e_logl.S: Likewise.
86602         * sysdeps/i386/fpu/e_pow.S: Likewise.
86603         * sysdeps/i386/fpu/e_powf.S: Likewise.
86604         * sysdeps/i386/fpu/e_powl.S: Likewise.
86605         * sysdeps/i386/fpu/e_remainder.S: Likewise.
86606         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
86607         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
86608         * sysdeps/i386/fpu/e_scalb.S: Likewise.
86609         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
86610         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
86611         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
86612         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
86613         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
86614         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86615         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86616         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86617         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86618         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
86619         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86620         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
86621         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86622         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86623         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86624         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86625         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86626         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86627         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86628         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86629         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86630         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86631         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86632         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86633         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86634         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86635         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86636         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86637         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86638         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86639         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86640         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
86641         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86642         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
86643         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86644         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86645         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86646         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86647         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86648         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86649         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86650         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86651         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86652         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86653         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86654         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86655         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86656         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86657         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86658         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86659         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86660         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86661         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86662         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86663         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
86664         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86665         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86666         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86667         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86668         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86669         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86670         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86671         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86672         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86673         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86674         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86675         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86676         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86677         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86678         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86679         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86680         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86681         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86682         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
86683         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86684         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86685         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86686         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86687         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86688         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86689         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86690         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
86691         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86692         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86693         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86694         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86695         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86696         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
86697         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86698         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86699         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86700         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86701         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86702         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86703         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86704         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86705         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86706         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86707         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
86708         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86709         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86710         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86711         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
86712         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
86713         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
86714         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
86715         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
86716         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
86717         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
86718         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
86719         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
86720         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
86721         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
86722         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
86723         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
86724         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
86725         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
86726         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
86727         (__isnanf): Likewise.
86728         (__isinf_ns): Likewise.
86729         (__isinf_nsf): Likewise.
86730         (__finite): Likewise.
86731         (__finitef): Likewise.
86732         (__ieee754_sqrt): Define as macro.
86733         (__ieee754_sqrtf): Define as macro.
86734         (__ieee754_sqrtl): Define as macro.
86735         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
86736         inlined copy.
86737         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
86738         __FINITE_MATH_ONLY__ consistent.
86739         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
86741 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
86743         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
86744         of rawmemchr.
86746         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
86748 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
86750         * po/ja.po: Update from translation team.
86752 2011-10-08  Roland McGrath  <roland@hack.frob.com>
86754         * locale/programs/locarchive.c (prepare_address_space): New function.
86755         (create_archive, enlarge_archive, open_archive): Use it.
86757         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
86758         inside [SHARED], where it is used.
86760         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
86762         * nss/getent.c (netgroup_keys): Remove unused variable.
86763         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86765 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
86767         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
86768         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
86769         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
86770         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
86771         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
86772         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
86773         * math/Makefile (libm-calls): Add s_isinf_ns.
86774         * math/divtc3.c: Use __isinf_nsl instead of isinf.
86775         * math/multc3.c: Likewise.
86776         * math/s_casin.c: Likewise.
86777         * math/s_casinf.c: Likewise.
86778         * math/s_casinl.c: Likewise.
86779         * math/s_ccos.c: Likewise.
86780         * math/s_ccosf.c: Likewise.
86781         * math/s_ccosl.c: Likewise.
86782         * math/s_ctan.c: Likewise.
86783         * math/s_ctanf.c: Likewise.
86784         * math/s_ctanh.c: Likewise.
86785         * math/s_ctanhf.c: Likewise.
86786         * math/s_ctanhl.c: Likewise.
86787         * math/s_ctanl.c: Likewise.
86788         * math/w_fmod.c: Likewise.
86789         * math/w_fmodf.c: Likewise.
86790         * math/w_fmodl.c: Likewise.
86791         * math/w_remainder.c: Likewise.
86792         * math/w_remainderf.c: Likewise.
86793         * math/w_remainderl.c: Likewise.
86794         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
86795         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
86796         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
86797         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
86798         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
86799         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
86800         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
86801         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
86803         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
86804         of the number.
86805         * stdio-common/printf_fphex.c: Likewise.
86806         * stdio-common/printf_size.c: Likewise.
86808         * math/e_exp10.c: Include math_private.h using <...> not "...".
86809         * math/e_exp10f.c: Likewise.
86810         * math/e_exp10l.c: Likewise.
86811         * math/e_exp2l.c: Likewise.
86812         * math/e_j0l.c: Likewise.
86813         * math/e_j1l.c: Likewise.
86814         * math/e_jnl.c: Likewise.
86815         * math/e_lgammal_r.c: Likewise.
86816         * math/e_rem_pio2l.c: Likewise.
86817         * math/e_scalb.c: Likewise.
86818         * math/e_scalbf.c: Likewise.
86819         * math/e_scalbl.c: Likewise.
86820         * math/k_cosl.c: Likewise.
86821         * math/k_sinl.c: Likewise.
86822         * math/k_tanl.c: Likewise.
86823         * math/s_cacoshf.c: Likewise.
86824         * math/s_catan.c: Likewise.
86825         * math/s_catanf.c: Likewise.
86826         * math/s_catanh.c: Likewise.
86827         * math/s_catanhf.c: Likewise.
86828         * math/s_catanhl.c: Likewise.
86829         * math/s_catanl.c: Likewise.
86830         * math/s_ccosh.c: Likewise.
86831         * math/s_ccoshf.c: Likewise.
86832         * math/s_ccoshl.c: Likewise.
86833         * math/s_cexp.c: Likewise.
86834         * math/s_cexpf.c: Likewise.
86835         * math/s_cexpl.c: Likewise.
86836         * math/s_clog.c: Likewise.
86837         * math/s_clog10.c: Likewise.
86838         * math/s_clog10f.c: Likewise.
86839         * math/s_clog10l.c: Likewise.
86840         * math/s_clogf.c: Likewise.
86841         * math/s_clogl.c: Likewise.
86842         * math/s_csin.c: Likewise.
86843         * math/s_csinf.c: Likewise.
86844         * math/s_csinh.c: Likewise.
86845         * math/s_csinhf.c: Likewise.
86846         * math/s_csinhl.c: Likewise.
86847         * math/s_csinl.c: Likewise.
86848         * math/s_csqrt.c: Likewise.
86849         * math/s_csqrtf.c: Likewise.
86850         * math/s_csqrtl.c: Likewise.
86851         * math/s_ctan.c: Likewise.
86852         * math/s_ctanf.c: Likewise.
86853         * math/s_ctanh.c: Likewise.
86854         * math/s_ctanhf.c: Likewise.
86855         * math/s_ctanhl.c: Likewise.
86856         * math/s_ctanl.c: Likewise.
86857         * math/s_ldexp.c: Likewise.
86858         * math/s_ldexpf.c: Likewise.
86859         * math/s_ldexpl.c: Likewise.
86860         * math/s_significand.c: Likewise.
86861         * math/s_significandf.c: Likewise.
86862         * math/s_significandl.c: Likewise.
86863         * math/w_acos.c: Likewise.
86864         * math/w_acosf.c: Likewise.
86865         * math/w_acosh.c: Likewise.
86866         * math/w_acoshf.c: Likewise.
86867         * math/w_acoshl.c: Likewise.
86868         * math/w_acosl.c: Likewise.
86869         * math/w_asin.c: Likewise.
86870         * math/w_asinf.c: Likewise.
86871         * math/w_asinl.c: Likewise.
86872         * math/w_atan2.c: Likewise.
86873         * math/w_atan2f.c: Likewise.
86874         * math/w_atan2l.c: Likewise.
86875         * math/w_atanh.c: Likewise.
86876         * math/w_atanhf.c: Likewise.
86877         * math/w_atanhl.c: Likewise.
86878         * math/w_cosh.c: Likewise.
86879         * math/w_coshf.c: Likewise.
86880         * math/w_coshl.c: Likewise.
86881         * math/w_dremf.c: Likewise.
86882         * math/w_exp10.c: Likewise.
86883         * math/w_exp10f.c: Likewise.
86884         * math/w_exp10l.c: Likewise.
86885         * math/w_exp2.c: Likewise.
86886         * math/w_exp2f.c: Likewise.
86887         * math/w_fmod.c: Likewise.
86888         * math/w_fmodf.c: Likewise.
86889         * math/w_fmodl.c: Likewise.
86890         * math/w_hypot.c: Likewise.
86891         * math/w_hypotf.c: Likewise.
86892         * math/w_hypotl.c: Likewise.
86893         * math/w_j0.c: Likewise.
86894         * math/w_j0f.c: Likewise.
86895         * math/w_j0l.c: Likewise.
86896         * math/w_j1.c: Likewise.
86897         * math/w_j1f.c: Likewise.
86898         * math/w_j1l.c: Likewise.
86899         * math/w_jn.c: Likewise.
86900         * math/w_jnf.c: Likewise.
86901         * math/w_jnl.c: Likewise.
86902         * math/w_lgamma.c: Likewise.
86903         * math/w_lgamma_r.c: Likewise.
86904         * math/w_lgammaf.c: Likewise.
86905         * math/w_lgammaf_r.c: Likewise.
86906         * math/w_lgammal.c: Likewise.
86907         * math/w_lgammal_r.c: Likewise.
86908         * math/w_log.c: Likewise.
86909         * math/w_log10.c: Likewise.
86910         * math/w_log10f.c: Likewise.
86911         * math/w_log10l.c: Likewise.
86912         * math/w_log2.c: Likewise.
86913         * math/w_log2f.c: Likewise.
86914         * math/w_log2l.c: Likewise.
86915         * math/w_logf.c: Likewise.
86916         * math/w_logl.c: Likewise.
86917         * math/w_pow.c: Likewise.
86918         * math/w_powf.c: Likewise.
86919         * math/w_powl.c: Likewise.
86920         * math/w_remainder.c: Likewise.
86921         * math/w_remainderf.c: Likewise.
86922         * math/w_remainderl.c: Likewise.
86923         * math/w_scalb.c: Likewise.
86924         * math/w_scalbf.c: Likewise.
86925         * math/w_scalbl.c: Likewise.
86926         * math/w_sinh.c: Likewise.
86927         * math/w_sinhf.c: Likewise.
86928         * math/w_sinhl.c: Likewise.
86929         * math/w_sqrt.c: Likewise.
86930         * math/w_sqrtf.c: Likewise.
86931         * math/w_sqrtl.c: Likewise.
86932         * math/w_tgamma.c: Likewise.
86933         * math/w_tgammaf.c: Likewise.
86934         * math/w_tgammal.c: Likewise.
86936         * po/ja.po: Update from translation team.
86938 2011-09-29  Andreas Jaeger  <aj@suse.de>
86940         [BZ #13179]
86941         * sunrpc/netname.c (netname2host): Fix logic.
86943         [BZ #6779]
86944         [BZ #6783]
86945         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
86946         correctly.
86947         * math/w_remainder.c (__remainder): Likewise.
86948         * math/w_remainderf.c (__remainderf): Likewise.
86949         * math/libm-test.inc (remainder_test): Add test cases.
86951 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86953         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
86954         sdiv_qrnnd.
86956 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86958         * string/test-memcmp.c: Avoid unncessary #defines.
86959         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86961 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86963         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
86964         Use new sse2 version for core i3 - i7 as it's faster
86965         than sse42 version.
86966         (bit_Prefer_PMINUB_for_stringop): New.
86967         * sysdeps/x86_64/rawmemchr.S: Update.
86968         Replace with faster SSE2 version.
86969         * sysdeps/x86_64/memrchr.S: New file.
86970         * sysdeps/x86_64/memchr.S: Update.
86971         Replace with faster SSE2 version.
86973 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
86975         * elf/dl-load.c (lose): Add cast to avoid warning.
86977 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86979         * po/ca.po: Update from translation team.
86981         * inet/getnetgrent_r.c: Hook up nscd.
86982         * nscd/Makefile (routines): Add nscd_netgroup.
86983         (nscd-modules): Add netgroupcache.
86984         (CFLAGS-netgroupcache.c): Define.
86985         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
86986         (cache_search): Add const to second parameter.
86987         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
86988         INNETGR.
86989         (dbs): Add netgrdb entry.
86990         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
86991         (verify_persistent_db): Handle netgrdb.
86992         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
86993         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
86994         GETFDNETGR.
86995         (netgroup_response_header): Define.
86996         (innetgroup_response_header): Define.
86997         (datahead): Add netgroup_response_header and innetgroup_response_header
86998         elements.
86999         * nscd/nscd.conf: Add entries for netgroup cache.
87000         * nscd/nscd.h (dbtype): Add netgrdb.
87001         (_PATH_NSCD_NETGROUP_DB): Define.
87002         (netgroup_iov_disabled): Declare.
87003         (xmalloc, xcalloc, xrealloc): Move declarations here.
87004         (cache_search): Adjust prototype.
87005         Add netgroup-related prototypes.
87006         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
87007         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
87008         (__nscd_innetgr): Declare.
87009         * nscd/selinux.c (perms): Use access_vector_t as element type and
87010         add netgroup-related initializers.
87011         * nscd/netgroupcache.c: New file.
87012         * nscd/nscd_netgroup.c: New file.
87013         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
87014         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
87015         For four parameters use innetgr.
87016         * nss/nss_files/files-init.c: Add definition and callback for netgr.
87017         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
87018         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
87019         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
87021         * nscd/connections.c (register_traced_file): Don't register file
87022         for disabled databases.
87024 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
87026         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
87028         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
87029         from tree and freeing node.
87031 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
87033         * nss/nsswitch.c (__nss_database_lookup): Handle
87034         nss_parse_service_list out of memory case.
87036 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
87038         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
87039         out of memory case.
87041 2011-10-04  Andreas Schwab  <schwab@redhat.com>
87043         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
87044         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
87045         pass it down.
87046         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
87047         elf_machine_rela, elf_machine_lazy_rel.
87048         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
87049         (ELF_DYNAMIC_DO_REL): Likewise.
87050         (ELF_DYNAMIC_DO_RELA): Likewise.
87051         (ELF_DYNAMIC_RELOCATE): Likewise.
87052         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
87053         to ELF_DYNAMIC_DO_REL.
87054         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
87055         (dl_main): In trace mode always set __RTLD_NOIFUNC.
87056         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
87057         elf_machine_rela.
87058         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
87059         skip_ifunc, don't call ifunc function if non-zero.
87060         (elf_machine_rela): Likewise.
87061         (elf_machine_lazy_rel): Likewise.
87062         (elf_machine_lazy_rela): Likewise.
87063         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
87064         (elf_machine_lazy_rel): Likewise.
87065         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
87066         Likewise.
87067         (elf_machine_lazy_rel): Likewise.
87068         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87069         Likewise.
87070         (elf_machine_lazy_rel): Likewise.
87071         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
87072         (elf_machine_lazy_rel): Likewise.
87073         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
87074         (elf_machine_lazy_rel): Likewise.
87075         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
87076         (elf_machine_lazy_rel): Likewise.
87077         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
87078         (elf_machine_lazy_rel): Likewise.
87079         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
87080         (elf_machine_lazy_rel): Likewise.
87081         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
87082         (elf_machine_lazy_rel): Likewise.
87084 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
87086         * nss/nss_files/files-init.c (_nss_files_init): Use static
87087         initialization for all the *_traced_file variables.
87089 2011-09-28  Andreas Schwab  <schwab@redhat.com>
87091         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87093 2011-09-27  Roland McGrath  <roland@hack.frob.com>
87095         [BZ #13226]
87096         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
87098 2011-09-27  Andreas Schwab  <schwab@redhat.com>
87100         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87101         Reread the line before reparsing it.
87103 2011-09-26  Andreas Schwab  <schwab@redhat.com>
87105         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
87107 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
87108             Maxim Kuvyrkov  <maxim@codesourcery.com>
87109             Joseph Myers  <joseph@codesourcery.com>
87111         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
87112         if needed for __stack_chk_guard.
87114 2011-09-19  Roland McGrath  <roland@hack.frob.com>
87116         * sysdeps/posix/spawni.c (script_execute): Always define it.
87117         It will be optimized away if unused.
87118         (maybe_script_execute): New function.
87119         (__spawni): Call it.
87121         * Makerules: Don't include tls.make.
87122         (config-tls): Always set to thread.
87123         * tls.make.c: File removed.
87125 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
87127         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
87128         * config.make.in (CPPFLAGS-config): New substituted variable.
87130 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
87132         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
87134         [BZ #13192]
87135         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
87136         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
87138 2011-09-15  Roland McGrath  <roland@hack.frob.com>
87140         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
87141         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
87142         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87143         (CALL_FAIL): Likewise.
87144         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
87145         (CALL_FAIL): Macro removed.
87146         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
87148 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
87150         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
87151         for __FINITE_MATH_ONLY__ == 1.
87153 2011-09-15  Andreas Schwab  <schwab@redhat.com>
87155         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
87156         __ieee754_sqrt instead of sqrt.
87157         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
87158         __ieee754_sqrtf instead of sqrtf.
87159         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
87160         __floorf instead of floorf.
87161         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
87162         __floorf, __truncf instead of floorf, truncf.
87164 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
87166         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
87168         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
87169         __extern_always_inline.
87170         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
87171         32-bit.
87173 2011-09-14  Andreas Schwab  <schwab@redhat.com>
87175         * elf/rtld.c (dl_main): Also relocate in dependency order when
87176         doing symbol dependency testing.
87178 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
87180         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87181         Always define `refsym'.
87183 2011-09-13  Andreas Schwab  <schwab@redhat.com>
87185         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
87186         (__FD_ELT): Renamed from __FDELT.
87187         * misc/bits/select2.h (__FD_ELT): Likewise.
87188         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
87189         __FD_MASK instead of __FDELT, __FDMASK.
87190         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
87191         Likewise.
87192         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
87193         Likewise.
87195         * elf/Makefile (gen-ldd): Fix pattern.
87197         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
87198         (init_tls): Likewise.
87200 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
87202         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
87204 2011-09-12  Andreas Schwab  <schwab@redhat.com>
87206         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
87207         `struct cmsghdr *' instead of `void *'.
87208         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
87209         Likewise.
87211 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
87213         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
87214         if non-absolute.
87215         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
87216         ldd_rewrite_script.
87218 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
87220         * configure.in: Remove --with-tls option.
87221         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
87222         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
87223         out in case it is missing.
87224         * sysdeps/ia64/elf/configure.in: Likewise.
87225         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
87226         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
87227         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
87228         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
87229         * sysdeps/sh/elf/configure.in: Likewise.
87230         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
87231         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87232         * sysdeps/x86_64/elf/configure.in: Likewise.
87233         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
87234         * sysdeps/mach/hurd/tls.h: Likewise.
87236         [BZ #13067]
87237         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
87239         [BZ #13090]
87240         * configure.in: Fix use of AC_INIT.
87242         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
87244 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
87246         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
87247         __set_errno.
87248         * malloc/hooks.c: Likewise.
87250         [BZ #11929]
87251         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
87252         variables statically.
87253         (narenas): Initialize.
87254         (list_lock): Initialize.
87255         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
87256         initializtion of main_arena and list_lock.  Small cleanups.
87257         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
87258         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
87259         Add initializers to main_arena and mp_.
87260         (malloc_state): Remove pagesize member.  Change all users to use
87261         GLRO(dl_pagesize).
87263         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
87264         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
87265         is always initialized.
87267         * malloc/malloc.c: Removed unused configurations and dead code.
87268         * malloc/arena.c: Likewise.
87269         * malloc/hooks.c: Likewise.
87270         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
87272         * include/tls.h: Removed.  USE___THREAD must always be defined.
87273         * bits/libc-tsd.h: Don't handle !USE___THREAD.
87274         * elf/dl-libc.c: Likewise.
87275         * elf/dl-tsd.c: Likewise.
87276         * include/errno.h: Likewise.
87277         * include/netdb.h: Likewise.
87278         * include/resolv.h: Likewise.
87279         * inet/herrno-loc.c: Likewise.
87280         * inet/herrno.c: Likewise.
87281         * malloc/arena.c: Likewise.
87282         * malloc/hooks.c: Likewise.
87283         * malloc/malloc.c: Likewise.
87284         * resolv/res-state.c: Likewise.
87285         * resolv/res_libc.c: Likewise.
87286         * sysdeps/i386/dl-machine.h: Likewise.
87287         * sysdeps/ia64/dl-machine.h: Likewise.
87288         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
87289         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
87290         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
87291         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
87292         * sysdeps/sh/dl-machine.h: Likewise.
87293         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87294         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87295         * sysdeps/unix/i386/sysdep.S: Likewise.
87296         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
87297         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
87298         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
87299         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
87300         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
87301         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
87302         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
87303         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87304         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87305         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
87306         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87307         * sysdeps/x86_64/dl-machine.h: Likewise.
87308         * tls.make.c: Likewise.
87310         * configure.in: Remove --with-__thread option.  Make tests for
87311         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
87312         tls_model attribute fail if no support is available.  Remove
87313         USE_IN_LIBIO.
87314         * Makeconfig: Adjust for dropped configure option.  All features are
87315         now mandatory.
87316         * Makerules: Likewise.
87317         * Versions.def: Likewise.
87318         * argp/argp-fmtstream.c: Likewise.
87319         * argp/argp-fmtstream.h: Likewise.
87320         * argp/argp-help.c: Likewise.
87321         * assert/assert.c: Likewise.
87322         * config.h.in: Likewise.
87323         * config.make.in: Likewise.
87324         * configure: Likewise.
87325         * configure.in: Likewise.
87326         * csu/Versions: Likewise.
87327         * csu/init.c: Likewise.
87328         * elf/tst-audit2.c: Likewise.
87329         * elf/tst-tls10.c: Likewise.
87330         * elf/tst-tls10.h: Likewise.
87331         * elf/tst-tls11.c: Likewise.
87332         * elf/tst-tls12.c: Likewise.
87333         * elf/tst-tls14.c: Likewise.
87334         * elf/tst-tlsmod11.c: Likewise.
87335         * elf/tst-tlsmod12.c: Likewise.
87336         * elf/tst-tlsmod13.c: Likewise.
87337         * elf/tst-tlsmod13a.c: Likewise.
87338         * elf/tst-tlsmod14a.c: Likewise.
87339         * elf/tst-tlsmod15b.c: Likewise.
87340         * elf/tst-tlsmod16a.c: Likewise.
87341         * elf/tst-tlsmod16b.c: Likewise.
87342         * elf/tst-tlsmod7.c: Likewise.
87343         * elf/tst-tlsmod8.c: Likewise.
87344         * elf/tst-tlsmod9.c: Likewise.
87345         * gmon/gmon.c: Likewise.
87346         * grp/fgetgrent_r.c: Likewise.
87347         * grp/putgrent.c: Likewise.
87348         * hurd/fopenport.c: Likewise.
87349         * include/libc-symbols.h: Likewise.
87350         * include/tls.h: Likewise.
87351         * intl/gettextP.h: Likewise.
87352         * intl/loadinfo.h: Likewise.
87353         * locale/global-locale.c: Likewise.
87354         * locale/localeinfo.h: Likewise.
87355         * mach/devstream.c: Likewise.
87356         * malloc/arena.c: Likewise.
87357         * malloc/set-freeres.c: Likewise.
87358         * misc/err.c: Likewise.
87359         * misc/getttyent.c: Likewise.
87360         * misc/mntent_r.c: Likewise.
87361         * posix/getopt.c: Likewise.
87362         * posix/wordexp.c: Likewise.
87363         * pwd/fgetpwent_r.c: Likewise.
87364         * resolv/Versions: Likewise.
87365         * resolv/res_hconf.c: Likewise.
87366         * shadow/fgetspent_r.c: Likewise.
87367         * shadow/putspent.c: Likewise.
87368         * stdio-common/printf_fphex.c: Likewise.
87369         * stdio-common/tmpfile.c: Likewise.
87370         * stdlib/abort.c: Likewise.
87371         * stdlib/fmtmsg.c: Likewise.
87372         * sunrpc/auth_unix.c: Likewise.
87373         * sunrpc/clnt_perr.c: Likewise.
87374         * sunrpc/clnt_tcp.c: Likewise.
87375         * sunrpc/clnt_udp.c: Likewise.
87376         * sunrpc/clnt_unix.c: Likewise.
87377         * sunrpc/openchild.c: Likewise.
87378         * sunrpc/svc_simple.c: Likewise.
87379         * sunrpc/svc_tcp.c: Likewise.
87380         * sunrpc/svc_udp.c: Likewise.
87381         * sunrpc/svc_unix.c: Likewise.
87382         * sunrpc/xdr.c: Likewise.
87383         * sunrpc/xdr_array.c: Likewise.
87384         * sunrpc/xdr_rec.c: Likewise.
87385         * sunrpc/xdr_ref.c: Likewise.
87386         * sunrpc/xdr_stdio.c: Likewise.
87388 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87390         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87392 2011-07-03  Andreas Jaeger  <aj@suse.de>
87394         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
87395         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
87396         regenerate with gen-libm-tests.pl.
87398 2010-05-12  Petr Baudis  <pasky@suse.cz>
87400         [BZ #11589]
87401         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
87402         around j0() zero points by switching to j1().
87403         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87404         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87405         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87406         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87408 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87410         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
87411         instead of 0.
87412         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
87413         instead of 0.
87414         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87415         Patch in part by Pavel Roskin <proski@gnu.org>.
87417         [BZ #13138]
87418         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
87419         realloc.
87420         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
87421         Free memory block if necessary.
87423         [BZ #12847]
87424         * libio/genops.c (INTDEF): For string streams the _lock pointer can
87425         be NULL.  Don't lock in this case.
87427 2011-09-09  Roland McGrath  <roland@hack.frob.com>
87429         * elf/elf.h (ELFOSABI_GNU): New macro.
87430         (ELFOSABI_LINUX): Define to that.
87432 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
87434         * string/strncat.c (strncat): Undef the symbol in case it has been
87435         defined in bits/string.h.
87437 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87439         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
87441         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
87442         link map.
87444 2011-08-17  Andreas Jaeger  <aj@suse.de>
87446         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
87448 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
87449             Ian Lance Taylor  <iant@google.com>
87451         * math/libm-test.inc (lround_test): New testcase.
87452         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
87454 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
87456         * Makefile: Remove support for automatic cvs check-ins.
87457         * Makerules: Likewise.
87458         * config.make.in: Likewise.
87459         * configure.in: Likewise.
87460         * intl/Makefile: Likewise.
87461         * locale/Makefile: Likewise.
87462         * po/Makefile: Likewise.
87463         * posix/Makefile: Likewise.
87464         * sysdeps/gnu/Makefile: Likewise.
87465         * sysdeps/mach/hurd/Makefile: Likewise.
87466         * sysdeps/sparc/sparc32/Makefile: Likewise.
87468         [BZ #13118]
87469         * posix/Makefile (bug-regex32-ENV): Define.
87470         Patch by John Stanley <jpsinthemix@verizon.net>.
87472         * misc/Makefile (headers): Add bits/select2.h.
87473         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
87474         * misc/bits/select2.h: New file.
87475         * include/bits/select2.h: New file.
87476         * debug/Makefile (routines): Add fdelt_chk.
87477         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
87478         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
87479         FD_ISSET.
87480         * debug/fdelt_chk.c: New file.
87482         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
87483         * wcsmbs/test-wmemcmp.c: Likewise.
87484         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
87485         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
87487 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87489         * string/Makefile (strop-tests): Add memcmp.
87490         * string/test-wmemcmp.c: New file.
87491         * string/test-memcmp.c: Add wmemcmp support.
87493 2011-09-08  Roland McGrath  <roland@hack.frob.com>
87495         [BZ #13153]
87496         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
87497         2011-07-19 change.
87499         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
87500         garbage value in a __mach_port_mod_refs call in the cases of the
87501         task-self and thread-self ports.
87503 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87505         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
87507 2011-09-08  Andreas Schwab  <schwab@redhat.com>
87509         * elf/dl-load.c (lose): Check for non-null L.
87511 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
87513         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
87515         * elf/dl-libc.c (dlerror_run): Pass back error code from
87516         dl_catch_error.
87518         [BZ #13123]
87519         * elf/dl-load.c (lose): Free l_origin if it is valid.
87521         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
87522         names.
87523         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
87524         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
87525         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
87526         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
87527         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
87528         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
87530 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87532         * sysdeps/powerpc/fpu/e_hypot.c: New file.
87533         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
87534         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
87535         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
87536         * sysdeps/powerpc/fpu/k_cosf.c: New file.
87537         * sysdeps/powerpc/fpu/k_sinf.c: New file.
87538         * sysdeps/powerpc/fpu/s_cosf.c: New file.
87539         * sysdeps/powerpc/fpu/s_sinf.c: New file.
87540         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
87541         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
87543 2011-08-15  Alan Modra  <amodra@gmail.com>
87545         [BZ #13092]
87546         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
87547         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
87548         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
87549         ppc_mcount to static-only-routines.
87550         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
87551         __mcount_internal.
87552         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
87553         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
87555 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
87557         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
87558         for finite and infinity parameters.
87560 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
87562         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
87563         and add nop instructions for throughput optimization.
87564         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
87566 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
87568         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
87569         aligned copy for power7 with vector-scalar instructions.
87570         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
87572 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
87574         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
87575         AVX check.
87577 2011-09-07  Andreas Schwab  <schwab@redhat.com>
87579         [BZ #13144]
87580         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
87581         last change.
87583 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
87585         * sysdeps/unix/sysv/linux/x86_64/init-first.c
87586         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
87587         syscall wrapper around clock_gettime in __vdso_clock_gettime.
87588         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
87589         clock_gettime.
87591 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
87593         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
87594         Forgot to demangle the pointer.
87596         * sysdeps/i386/sysdep.h: Define atom_text_section.
87597         * sysdeps/x86_64/sysdep.h: Likewise.
87598         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
87599         section with atom_text_section.
87600         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
87601         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
87602         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
87603         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
87604         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
87606         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
87607         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
87608         already be defined.  Change to take two parameters and don't assign
87609         result to variable.  Adjust all users.
87610         Define INTERNAL_GETTIME if not already defined.
87611         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
87612         call.
87613         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
87614         HAVE_CLOCK_GETTIME_VSYSCALL.
87615         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
87617         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
87618         gettimeofday vsyscall, just use time.
87620 2011-09-06  Andreas Schwab  <schwab@redhat.com>
87622         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
87623         <errno.h>.
87625 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
87627         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
87628         syscall on x86-64.
87629         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
87630         syscall.
87631         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
87632         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
87633         syscall if possible.
87635 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
87637         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
87638         e_ident.  Don't pass to find_mapsXX.
87639         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
87641 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87643         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87644         strchr-sse2-no-bsf strrchr-sse2-no-bsf
87645         * sysdeps/x86_64/multiarch/strchr.S: Update.
87646         Check bit_slow_BSF bit.
87647         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
87648         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
87649         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
87651 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
87653         [BZ #13134]
87654         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
87655         before glibc 2.15.
87656         (tryshell): Define.
87657         (__spawni): Change last parameter to be flag.  Test
87658         SPAWN_XFLAGS_USE_PATH flag to use path or not.
87659         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
87660         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
87661         * posix/spawni.c: Likewise.
87662         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
87663         * posix/spawnp.c: Likewise.  Change normal version to use
87664         SPAWN_XFLAGS_USE_PATH.
87665         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
87666         SPAWN_XFLAGS_TRY_SHELL.
87668         [BZ #13150]
87669         * posix/glob.h: Remove gcc 1.x support.
87671         [BZ #13068]
87672         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
87674 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87676         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87677         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
87678         strrchr-sse2-bsf
87679         * sysdeps/i386/i686/multiarch/strchr.S: New file.
87680         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
87681         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
87682         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
87683         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
87684         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
87686 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87688         * sysdeps/x86_64/wcscmp.S: New file.
87690         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
87691         wcscmp-c wcscmp-sse2
87692         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
87693         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
87694         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
87695         * wcsmbs/wcscmp.c: Allow renaming.
87697 2011-09-05  David S. Miller  <davem@davemloft.net>
87699         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
87700         stack slot, rather than the struct return pointer slot.
87701         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
87702         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
87703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
87704         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
87706 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
87708         * po/ja.po: Update from translation team.
87710         [BZ #13144]
87711         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
87712         kernel in 64-bit binaries.
87714 2011-09-01  David S. Miller  <davem@davemloft.net>
87716         * elf/elf.h (HWCAP_SPARC_*): Move to..
87717         * sysdeps/sparc/sysdep.h: this new file and add new values.
87718         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
87719         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
87720         _DL_HWCAP_COUNT to 24.
87721         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
87722         entries.
87723         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
87724         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
87725         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
87726         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
87727         instead of magic constants.
87728         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
87730 2011-08-31  David S. Miller  <davem@davemloft.net>
87732         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
87733         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
87734         Reimplement to do errno handling inline.
87735         (SYSCALL_ERROR_HANDLER): New macro.
87736         (__SYSCALL_STRING): Do not do errno handling in asm.
87737         (__CLONE_SYSCALL_STRING): Delete.
87738         (__INTERNAL_SYSCALL_STRING): Delete.
87739         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
87740         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
87741         (PSEUDO): Reimplement to do errno handling inline.
87742         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
87743         (SYSCALL_ERROR_HANDLER): New macro.
87744         (__SYSCALL_STRING): Do not do errno handling in asm.
87745         (__CLONE_SYSCALL_STRING): Delete.
87746         (__INTERNAL_SYSCALL_STRING): Delete.
87747         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
87748         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
87749         i386.
87750         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
87751         (inline_syscall*): Add 'err' argument.
87752         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
87753         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
87754         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
87755         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
87757         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
87758         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
87760 2011-08-30  Andreas Schwab  <schwab@redhat.com>
87762         * elf/rtld.c (dl_main): Relocate objects in dependency order.
87764 2011-08-29  Jiri Olsa <jolsa@redhat.com>
87766         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
87767         directive.
87769 2011-08-24  David S. Miller  <davem@davemloft.net>
87771         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
87773 2011-08-24  Andreas Schwab  <schwab@redhat.com>
87775         * elf/Makefile: Add rules to build and run unload8 test.
87776         * elf/unload8.c: New file.
87777         * elf/unload8mod1.c: New file.
87778         * elf/unload8mod1x.c: New file.
87779         * elf/unload8mod2.c: New file.
87780         * elf/unload8mod3.c: New file.
87782         * elf/dl-close.c (_dl_close_worker): Reset private search list if
87783         it wasn't used.
87785 2011-08-23  David S. Miller  <davem@davemloft.net>
87787         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
87788         subtract stack bias.
87789         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
87790         %sp not %fp in calculations.
87791         (_JMPBUF_UNWINDS_ADJ): Likewise.
87793         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
87794         (aio_suspend): Call it to force an exception region around the
87795         AIO_MISC_WAIT() invocation.
87797 2011-08-23  Andreas Schwab  <schwab@redhat.com>
87799         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
87800         backslash.
87802 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
87804         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
87805         protection macro.
87806         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
87807         and <dl-machine.h>.
87808         (Elf64_FuncDesc): Remove.
87810 2011-08-22  David S. Miller  <davem@davemloft.net>
87812         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
87813         sigaltstack check, add missing cfi directives.
87814         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
87815         missing cfi directives, and sigaltstack handling.
87817 2011-08-16  Andreas Schwab  <schwab@redhat.com>
87819         [BZ #11724]
87820         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
87821         object is seen twice.
87822         * elf/dl-fini.c (_dl_sort_fini): Likewise.
87824         * elf/Makefile (distribute): Add tst-initorder2.c.
87825         (tests): Add tst-initorder2.
87826         (modules-names): Add tst-initorder2a tst-initorder2b
87827         tst-initorder2c tst-initorder2d.  Add rules to build them.
87828         ($(objpfx)tst-initorder2.out): New rule.
87829         * elf/tst-initorder2.c: New file.
87830         * elf/tst-initorder2.exp: New file.
87832 2011-08-22  Andreas Schwab  <schwab@redhat.com>
87834         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
87836         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
87837         dependencies back to end of function.
87839         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87840         $(elfobjdir)/ld.so.
87842 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
87844         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
87845         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
87846         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
87847         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
87848         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
87849         of __vdso_gettimeofday.
87850         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
87851         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
87852         attribute_hidden.
87853         (_libc_vdso_platform_setup): Remove initialization of
87854         __vdso_gettimeofday and __vdso_time.
87856 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
87858         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
87859         and fgetc_unlocked.
87860         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
87861         getc_unlocked.
87863         * elf/dl-open.c (add_to_global): Report additions to the global scope
87864         for LD_DEBUG=scopes.
87865         (dl_open_worker): Also print scope of newly loaded dependencies.
87866         (_dl_show_scope): Indicate if there is no scope.
87868         [BZ #13114]
87869         * stdio-common/Makefile (tests): Add bug24.
87870         * stdio-common/bug24.c: New file.
87872 2011-08-19  Andreas Jaeger  <aj@suse.de>
87874         [BZ #13114]
87875         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
87876         non-existant file when using close-on-exec mode.
87878 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
87880         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
87881         the very first instruction.
87883         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
87884         the CFI state in the end.
87885         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
87886         inclusion of dl-trampoline.h.
87887         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
87889 2011-08-19  Andreas Schwab  <schwab@redhat.com>
87891         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
87892         expectations for long double.
87894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
87895         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
87897 2011-08-14  David S. Miller  <davem@davemloft.net>
87899         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
87900         artificual limit depends upon the system page size.
87902 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87904         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
87905         * resolv/Makefile: Define CFLAGS-libresolv.
87907 2011-08-17  Andreas Schwab  <schwab@redhat.com>
87909         * nss/makedb.c (compute_tables): Make variables used in nested
87910         function static.
87912 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87914         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
87915         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
87916         if buffer was too small.
87918         * elf/pldd.c (main): Attach to all threads in the process.
87919         Rewrite /proc handling to use *at functions.
87921 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
87923         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
87924         specifies first scope to show.
87925         (dl_open_worker): Update callers.  Move printing scope of new
87926         object to before the relocation.
87927         * elf/rtld.c (dl_main): Update _dl_show_scope call.
87928         * sysdeps/generic/ldsodefs.h: Update declaration.
87930         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
87931         string for the scope number.
87933 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
87935         * nscd/servicescache.c (cache_addserv): Make sure written is always
87936         initialized.
87938 2011-08-14  Roland McGrath  <roland@hack.frob.com>
87940         * sysdeps/i386/i486/bits/atomic.h
87941         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
87942         statement expression, so as to suppress "set but not used" warning.
87943         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
87945         * string/strncat.c (STRNCAT): Use prototype definition.
87947         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
87948         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
87949         -Iprograms here.
87950         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
87951         (localedef-modules): Add localedef.
87952         (locale-modules): Add locale.
87954         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
87955         * elf/rtld.c (dl_main): Invert order of assignment in last change,
87956         to avoid a warning.
87958 2011-08-14  David S. Miller  <davem@davemloft.net>
87960         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
87961         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
87963 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
87965         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
87966         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
87967         * elf/rtld.c (dl_main): Set l_name of vDSO.
87968         Call _dl_show_scope when DL_DEBUG_SCOPES.
87969         (process_dl_debug): Recognize scopes flag and also set it for all.
87970         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
87971         Declare _dl_show_scope.
87973         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
87974         (do_dlopen): Pass caller_dlopen to dl_open.
87975         (__libc_dlopen_mode): Initialize caller_dlopen.
87977         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
87978         of libc.  Make tolower call locale-independent.  Optimize a bit by
87979         using isdigit instead of isalnum.
87980         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
87982 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
87984         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
87985         was a dependency or dynamically loaded.
87987 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
87989         * intl/l10nflist.c: Allow architecture-specific pop function.
87990         * sysdeps/x86_64/l10nflist.c: New file.
87992         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
87993         classification.
87995 2011-08-10  Andreas Schwab  <schwab@redhat.com>
87997         * include/dirent.h: Add libc_hidden_proto for scandirat and
87998         scandirat64.  Don't declare __scandirat64.
87999         * dirent/scandirat.c: Add libc_hidden_def.
88000         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
88001         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
88003 2011-08-10  David S. Miller  <davem@davemloft.net>
88005         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
88006         enum.
88007         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
88008         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
88009         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
88011 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
88013         * Versions.def [libc]: Add GLIBC_2.15.
88014         * dirent/Makefile (routines): Add scandirat and scandirat64.
88015         * dirent/Versions [libc]: Export scandirat and scandirat64 for
88016         GLIBC_2.15.
88017         * dirent/dirent.h: Declare scandirat and scandirat64.
88018         * dirent/scandirat.c: New file.
88019         * dirent/scandirat64.c: New file.
88020         * sysdeps/wordsize-64/scandirat.c: New file.
88021         * sysdeps/wordsize-64/scandirat64.c: New file.
88022         * dirent/opendir.c: Define opendirat.
88023         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
88024         using scandirat.
88025         * dirent/scandir64.c: Adjust for scandir.c change.
88026         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
88027         __scandirat64, and __scandir_cancel_handler.
88028         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
88029         additional parameter and use openat instead of open (outside of ld.so).
88030         Add new __opendir as wrapper around __opendirat.
88031         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
88032         here without requiring old scandirat implementation.
88034 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
88036         * dirent/scandir.c (cancel_handler): Renamed to
88037         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
88038         defined.  Adjust users.
88039         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
88040         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
88042 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
88044         * string/test-string.h (IMPL): Use __STRING to expand name and then
88045         stringify it.
88047         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
88048         of cleanups.
88050 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88052         * string/Makefile: Update.
88053         (strop-tests): Append strncat.
88054         * string/test-wcscmp.c: New file.
88055         New comprehensive test for wcscmp.
88056         * string/test-strcmp.c: Update.
88057         (WIDE): New define.
88059 2011-07-22  Andreas Schwab  <schwab@redhat.com>
88061         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
88062         line.
88064 2011-07-26  Andreas Schwab  <schwab@redhat.com>
88066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88067         encoding to ACE if AI_IDN.
88069 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
88071         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
88072         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
88074 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88076         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
88077         Fix overflow bug in strncat.
88078         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
88080         * string/test-strncat.c: Update.
88081         Add new tests for checking overflow bugs.
88083 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88085         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88086         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
88087         * sysdeps/i386/i686/multiarch/strcat.S: New file.
88088         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
88089         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
88090         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
88091         * sysdeps/i386/i686/multiarch/strncat.S: New file.
88092         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
88093         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
88095         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
88096         (USE_AS_STRCAT): Define.
88097         Add strcat and strncat support.
88098         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88100 2011-07-25  Andreas Schwab  <schwab@redhat.com>
88102         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
88103         __n bigger than INT_MAX+1.
88104         (__strncmp_g): Likewise.
88106 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
88108         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
88109         * libio/stido.h: Likewise.
88111         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
88112         (AF_NFC): Define.
88113         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
88114         (AF_NFC): Define.
88116         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
88117         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
88118         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
88119         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
88120         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
88122         [BZ #13021]
88123         * scripts/test-installation.pl: Don't expect libnss_test1 to be
88124         installed.
88126         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
88127         typo.
88128         (_dl_x86_64_save_sse): Likewise.
88130 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
88132         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
88133         OSXSAVE.
88134         (_dl_x86_64_save_sse): Likewise.
88136         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
88138         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
88140 2011-07-21  Andreas Schwab  <schwab@redhat.com>
88142         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
88143         change.
88144         (_dl_x86_64_save_sse): Use correct AVX check.
88146 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88148         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
88149         bug in strncpy/strncat.
88150         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
88152 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
88154         * string/tester.c (test_strcat): Add tests for different alignments
88155         of source and destination.
88156         (test_strncat): Likewise.
88158 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
88160         [BZ #12852]
88161         * posix/glob.c (glob): Check passed in values before using them in
88162         expressions to avoid some overflows.
88163         (glob_in_dir): Likewise.
88165         [BZ #13007]
88166         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
88167         check for AVX enablement so that we don't crash with old kernels and
88168         new hardware.
88169         * elf/tst-audit4.c: Add same checks here.
88170         * elf/tst-audit6.c: Likewise.
88172         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
88174 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
88176         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
88178 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
88180         * po/cs.po: Update from translation team.
88181         * po/bg.po: Likewise.
88183 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
88185         * misc/sys/cdefs.h: Add support for const attribute.
88186         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
88187         to gnu_dev_{major,minor,makedev} functions.
88189 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
88191         * intl/dcigettext.c (get_output_charset): Add missing bracket.
88193 2011-07-20  Andreas Schwab  <schwab@redhat.com>
88195         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
88196         strlen results.
88198 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88200         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
88201         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
88202         register in order to avoid conflicts with the soft frame pointer
88203         being held in r11 when necessary.
88204         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
88205         (INTERNAL_VSYSCALL_NCS): Likewise.
88207 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
88209         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
88210         * elf/dl-fini.c (_dl_fini): Adjust caller.
88211         * elf/dl-close.c (_dl_close_worker): Likewise.
88212         * sysdeps/generic/ldsodefs.h: Adjust declaration.
88214 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
88216         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
88217         "aux_cache->nlibs < 0".
88219         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
88220         in the reload-count case.
88222 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88225         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
88226         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
88227         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
88228         * sysdeps/x86_64/multiarch/strcat.S: New file.
88229         * sysdeps/x86_64/multiarch/strncat.S: New file.
88230         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
88231         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
88232         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
88233         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
88234         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
88235         (USE_AS_STRCAT): Define.
88236         Add strcat and strncat support.
88237         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88238         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
88239         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
88240         * string/strncat.c: Update.
88241         (USE_AS_STRNCAT): Define.
88242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88243         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
88244         and i7.
88245         * sysdeps/x86_64/multiarch/init-arch.h
88246         (bit_Prefer_PMINUB_for_stringop): New.
88247         (index_Prefer_PMINUB_for_stringop): Likewise.
88248         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
88249         bit_Prefer_PMINUB_for_stringop.
88251 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
88253         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
88254         buffer64.
88255         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
88256         of casting of buffer.
88257         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
88258         buffer32 and buffer64.
88259         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
88260         writes instead of casting of buffer.
88261         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
88262         buffer32.
88263         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
88264         casting of buffer.
88266 2011-07-19  Andreas Schwab  <schwab@redhat.com>
88268         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
88270 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
88272         * nscd/nscd.c (termination_handler): Don't do anything for a database
88273         if it has not yet been initialized.
88275 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
88277         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
88279 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
88281         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
88283 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
88285         * po/nl.po: Update from translation team.
88286         * po/sv.po: Likewise.
88288 2011-07-16  Roland McGrath  <roland@hack.frob.com>
88290         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
88291         now disallowed by GCC.
88293         * configure.in (use-default-link): Default to yes if a test -shared
88294         link meets our qualifications.
88295         * configure: Regenerated.
88297         * config.make.in (output-format): New variable.
88298         * configure.in: Check for ld --print-output-format support.
88299         * configure: Regenerated.
88300         * Makerules ($(common-objpfx)format.lds)
88301         [$(output-format) != unknown]: Just use $(output-format),
88302         instead of the linker-script munging.
88304 2011-07-14  Roland McGrath  <roland@hack.frob.com>
88306         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
88307         of $(common-objpfx)shlib.lds.
88308         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
88310         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
88311         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
88313         * configure.in (-z relro check): Adjust test code to add a large
88314         writable data section after it.
88315         * configure: Regenerated.
88317 2011-07-11  Roland McGrath  <roland@hack.frob.com>
88319         * configure.in (-z relro check): Fix test code to make the variable
88320         truly const.
88321         * configure: Regenerated.
88323 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
88325         * nscd/nscd.h (struct traced_file): Define.
88326         (struct database_dyn): Remove inotify_descr, reset_res, and filename
88327         elements.  Add traced_files.
88328         (inotify_fd): Declare.
88329         (register_traced_file): Declare.
88330         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
88331         (inotify_fd): Export.
88332         (resolv_conf_descr): Remove.
88333         (nscd_init): Move inotify descriptor creation to main.
88334         Don't register files for notification here.
88335         (register_traced_file): New function.
88336         (invalidate_cache): Don't use reset_res to determine whether to call
88337         res_init, go through the list of registered files.
88338         (main_loop_poll): The inotify descriptors are now stored in the
88339         structures for the traced files.
88340         (main_loop_epoll): Likewise.
88341         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
88342         to __nss_disable_nscd.
88343         * nscd/cache.c (prune_cache): There is no single inotify descriptor
88344         for a database anymore.  Check the records for all the registered
88345         files instead.
88346         * nss/Makefile (libnss_files-routines): Add files-init.
88347         (libnss_db-routines): Add db-init.
88348         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
88349         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
88350         * nss/nss_db/db-init.c: New file.
88351         * nss/nss_files/files-init.c: New file.
88352         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
88353         __nss_lookup_function.
88354         (__nss_lookup_function): Call nss_load_library.
88355         (nss_load_all_libraries): New function.
88356         (__nss_disable_nscd): Take parameter with callback function for files
88357         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
88358         used for the cached services.
88359         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
88360         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
88361         options for features to all the files in nscd.
88363         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
88365 2011-07-10  Roland McGrath  <roland@hack.frob.com>
88367         * csu/elf-init.c (__libc_csu_init): Comment typo.
88369 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
88371         * po/pl.po: Update from translation team.
88372         * po/ja.po: Likewise.
88373         * po/ru.po: Likewise.
88374         * po/ko.po: Likewise.
88375         * po/fr.po: Likewise.
88377 2011-07-09  Roland McGrath  <roland@hack.frob.com>
88379         * configure.in (.ctors/.dtors header and trailer check):
88380         Use an empirical test on a built program.
88381         * configure: Regenerated.
88383         * configure.in (-z relro check): Use an empirical test on a built DSO.
88384         Detect, but do not require, on ia64.
88385         * configure: Regenerated.
88387         * configure.in (READELF): Find it with AC_CHECK_TOOL.
88388         Update tests that use readelf to use $READELF instead.
88389         * configure: Regenerated.
88391 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
88393         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
88394         if the result is not used.
88396 2011-07-05  Andreas Jaeger  <aj@suse.de>
88398         [BZ #9696]
88399         * stdlib/tst-strtod.c: Add testcase.
88401 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
88403         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
88404         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
88405         The latter has a higher limit.  Take additional parameter to pass to
88406         the new function.
88407         (__pathconf): Pass file to __statfs_link_max.
88408         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
88409         __statfs_link_max.
88410         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
88411         __statfs_link_max.
88413         [BZ #12868]
88414         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
88415         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88416         Handle Lustre.
88417         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
88418         (__statfs_filesize_max): Likewise.
88419         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
88421 2011-07-05  Andreas Jaeger  <aj@suse.de>
88423         * resolv/res_comp.c (dn_skipname): Remove unused variable.
88425 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
88427         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
88428         `status' variable.
88429         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
88430         Likewise.
88432 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
88434         * Makefile (strop-tests): Add strncat.
88435         * string/test-strncat.c: New file.
88437 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
88439         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
88441 2011-06-21  Andreas Jaeger  <aj@suse.de>
88443         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
88444         Copy rule from iconvdata/Makefile.
88446 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
88448         [BZ #12922]
88449         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
88450         but no long options are defined, just return 'W'.
88452 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
88454         [BZ #9696]
88455         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
88457 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
88459         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
88460         netgroups to read.
88461         (innetgr): Likewise.
88463 2011-07-05  Roland McGrath  <roland@hack.frob.com>
88465         * config.make.in (install_root): Default to $(DESTDIR).
88467 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
88469         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
88471 2011-07-02  Roland McGrath  <roland@hack.frob.com>
88473         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
88475         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
88476         containing directory rather than embedding absolute directory names.
88478         * scripts/check-local-headers.sh: Rewritten using awk.
88479         Match by word, not by line.  Print error messages for matches.
88480         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
88482         * Makerules [shlib-lds-flags empty]:
88483         ($(common-objpfx)libc_pic.opts): New target.
88484         ($(common-objpfx)libc_pic.os.clean): New target.
88485         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
88487         * config.make.in (OBJCOPY): New variable.
88488         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
88489         * configure: Regenerated.
88491         * config.make.in (use-default-link): New variable.
88492         * configure.in (use_default_link): Grok --with-default-link to set it.
88493         * configure: Regenerated.
88494         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
88495         (shlib-lds, shlib-lds-flags): Define to empty.
88497         * Makerules (shlib-lds): New variable.
88498         (shlib-lds-flags): New variable.
88499         (build-shlib, build-moduile, build-module-asneeded): Use it.
88500         ($(common-objpfx)libc.so): Use $(shlib-lds).
88501         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
88502         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
88504         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
88505         DT_FLAGS/DT_FLAGS_1 with zero flags.
88507         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
88508         linker script munging.
88510 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
88512         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
88513         as 128-bit value.
88514         * crypt/sha512.c (sha512_process_block): Perform total addition using
88515         128-bit if possible.
88516         (__sha512_finish_ctx): Likewise.
88517         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
88518         as 64-bit value.
88519         * crypt/sha256.c (SWAP64): Define.
88520         (sha256_process_block): Perform total addition using 64-bit if
88521         possible.
88522         (__sha256_finish_ctx): Likewise.
88524 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
88526         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
88527         * nscd/initgrcache.c (addinitgroupsX): Likewise.
88528         * nscd/hstcache.c (cache_addhst): Likewise.
88529         * nscd/grpcache.c (cache_addgr): Likewise.
88530         * nscd/aicache.c (addhstaiX): Likewise.
88531         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
88533 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
88535         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
88536         * nscd/initgrcache.c (addinitgroupsX): Likewise.
88537         * nscd/hstcache.c (cache_addhst): Likewise.
88538         * nscd/grpcache.c (cache_addgr): Likewise.
88539         * nscd/aicache.c (addhstaiX): Likewise.
88541 2011-07-01  Andreas Schwab  <schwab@redhat.com>
88543         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
88544         domain only when needed.
88546 2011-06-30  Andreas Schwab  <schwab@redhat.com>
88548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
88549         is always restored.
88551 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
88553         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
88554         are re-adding the entry.
88555         * nscd/servicescache.c (cache_addserv): Likewise.
88557 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
88559         * sysdeps/generic/dl-irel.h: fix protection against multiple
88560         inclusions.
88561         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
88563 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
88565         [BZ #12935]
88566         * malloc/memusage.sh: Fix quoting in message.
88567         * debug/xtrace.sh: Likewise.
88569         * configure.in: Remove support for --experimental-malloc option, make
88570         it the default.
88571         * config.make.in: Likewise.
88572         * malloc/Makefile: Likewise.
88574 2011-06-27  Andreas Schwab  <schwab@redhat.com>
88576         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
88577         two-byte characters.
88579 2011-06-27  Roland McGrath  <roland@hack.frob.com>
88581         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
88582         AC_CACHE_CHECK invocation.
88583         * configure: Regenerated.
88585         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
88587 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
88589         [BZ #12350]
88590         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
88591         bit from old_res_options.
88593         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
88595         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
88596         value type for setfct.
88598 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
88600         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
88601         __gettimeofday instead of gettimeofday.
88603 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
88605         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
88607 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
88609         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
88611         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
88612         info.
88614 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
88616         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88617         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
88618         strcpy-sse2-unaligned strncpy-sse2-unaligned
88619         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
88620         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
88621         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
88622         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
88623         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
88624         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
88625         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
88626         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
88627         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
88628         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
88629         (STRCPY): Support SSE2 and SSSE3 versions.
88631 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
88633         [BZ #12874]
88634         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
88635         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
88636         kernels which artificially limit size of requests.
88638 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
88640         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88641         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
88642         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
88643         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
88644         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
88645         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
88646         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
88647         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
88648         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
88649         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
88650         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
88651         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
88652         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
88653         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
88654         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
88655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88656         Enable unaligned load optimization for Intel Core i3, i5 and i7
88657         processors.
88658         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
88659         Define.
88660         (index_Fast_Unaligned_Load): Define.
88661         (HAS_FAST_UNALIGNED_LOAD): Define.
88663 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
88665         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
88667 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
88669         [BZ #12907]
88670         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
88671         until it is clear that the information is realy needed.
88672         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
88674 2011-06-22  Andreas Schwab  <schwab@redhat.com>
88676         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
88678 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
88680         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
88681         /sys/devices/system/cpu/online if it is usable.
88683         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
88684         reading the information from the /proc filesystem to once a second.
88686 2011-06-21  Andreas Jaeger  <aj@suse.de>
88688         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
88689         NULL after inclusion of kernel headers.
88691 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
88693         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
88694         calls to internal_setent.
88696         [BZ #12885]
88697         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
88698         addresses using gethostbyname4_r ignore IPv4 addresses.
88700         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
88701         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
88703         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
88705 2011-06-20  David S. Miller  <davem@davemloft.net>
88707         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
88708         inclusions.
88709         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
88711         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
88712         (elf_irel): Use it.
88713         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
88714         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
88715         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
88716         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
88717         * sysdeps/x86_64/dl-irel.h: Likewise.
88719         * elf/dl-runtime.c: Use elf_ifunc_invoke.
88720         * elf/dl-sym.c: Likewise.
88722 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
88724         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
88725         need to dereference resplen2.
88727 2011-06-14  Andreas Schwab  <schwab@redhat.com>
88729         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
88731 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
88733         * Makeconfig: Define vardbdir and inst_vardbdir.
88734         * nss/Makefile: Add rules to install db-Makefile.
88736         * nss/nss_db/db-XXX.c: Cleanup.
88738         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
88739         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
88740         GLIBC_PRIVATE.
88741         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
88742         * nss/makedb.c: Implement -g option to specify that value strings
88743         are generated and should not be added to table iterated over for
88744         get*ent calls.
88745         * nss/nss_db/db-initgroups.c: New file.
88747         * nss/getent.c: Add support for initgroups lookups through getgrouplist
88748         interface.
88750         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
88751         (internal_getgrouplist): Adjust to name change.
88752         Update use_initgroups_entry if this is not the first call.
88753         * nss/databases.def: Add initgroups entry.
88755         * nss/makedb.c (compute_tables): Check result of multiple hash table
88756         sizes to minimize maximum chain length.
88758 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
88760         * Versions.def: Add entry for libnss_db.
88761         * shlib-versions: Likewise.
88762         * nss/Makefile: Add rules to build libnss_db.
88763         * nss/Versions: Add libnss_db information.  Organize libnss_files
88764         entries better.
88765         * nss/db-Makefile: Add gshadow support.  Change rules for the new
88766         makedb progra.  Some minor improvements to generate smaller files.
88767         * nss/nss_db/nss_db.h: Move NSS database header data structures to
88768         here from...
88769         * nss/makedb.c: ...here.
88770         Improve database format to be smaller and require less memory at
88771         runtime.
88772         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
88773         db anymore.
88774         * nss/nss_db/db-netgrp.c: Likewise.
88775         * nss/nss_db/db-open.c: Likewise.
88776         * nss/nss_files/flies-XXX.x: Adjust comments.
88777         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
88778         * nss/nss_files/files-grp.c: Likewise.
88779         * nss/nss_files/files-hosts.c: Likewise.
88780         * nss/nss_files/files-network.c: Likewise.
88781         * nss/nss_files/files-proto.c: Likewise.
88782         * nss/nss_files/files-pwd.c: Likewise.
88783         * nss/nss_files/files-rpc.c: Likewise.
88784         * nss/nss_files/files-service.c: Likewise.
88785         * nss/nss_files/files-sgrp.c: Likewise.
88786         * nss/nss_files/files-spwd.c: Likewise.
88787         * nss/nss_db/db-alias.c: Removed.
88788         * nss/nss_db/dummy-db.h: Removed.
88790 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
88792         * nss/makedb.c: Rewritten to not use database library.
88793         * nss/Makefile: Update to build new makedb program.
88795 2011-06-14  Andreas Jaeger  <aj@suse.de>
88797         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
88798         memset declaration.
88800 2011-06-10  Andreas Schwab  <schwab@redhat.com>
88802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
88803         tmpbuf.
88805 2011-06-10  Roland McGrath  <roland@hack.frob.com>
88807         * Makerules (shlib.lds): Fail if the linker script comes out empty.
88808         * elf/Makefile ($(objpfx)ld.so): Likewise.
88810         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
88811         Don't list ld.so twice in dependencies.
88813         * posix/bug-regex31.c: Include <stdlib.h>.
88815         * nscd/hstcache.c (cache_addhst): Remove unused variable.
88817         * nis/nss_compat/compat-spwd.c
88818         (getspent_next_nss_netgr): Remove unused variable.
88819         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
88821         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
88822         nonmembers" output to use the right array.
88824         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
88826         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
88828         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
88829         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
88830         * catgets/gencat.c (read_input_file): Likewise.
88831         * locale/programs/locarchive.c (enlarge_archive): Likewise.
88833         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
88834         variable definition inside #if's controlling its use.
88836         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
88838         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
88840         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
88842         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
88843         unreachable code.
88845         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
88847         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
88848         * configure: Regenerated.
88850         * Makerules: Revert last change.
88851         * elf/Makefile: Likewise.
88853 2011-06-09  Roland McGrath  <roland@hack.frob.com>
88855         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
88856         * elf/Makefile ($(objpfx)librtld.os): Likewise.
88857         (reloc-link): Likewise.
88859 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
88861         * elf/Makefile: Add rules to build pldd.
88862         * elf/pldd.c: New file.
88863         * elf/pldd-xx.c: New file.
88865 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
88867         * version.h: Update for 2.15 development version.
88869 2011-06-07  David S. Miller  <davem@davemloft.net>
88871         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
88872         ifuncs.
88873         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
88874         elf_machine_lazy_rel): Likewise.
88875         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
88876         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
88877         elf_machine_lazy_rel): Likewise.
88878         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
88879         dl_hwcap via passed in argument.
88880         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
88881         Likewise.
88883 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88885         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
88887 2011-06-06  Roland McGrath  <roland@hack.frob.com>
88889         [BZ #12849]
88890         * manual/fdl-1.1.texi: New file, verbatim from:
88891         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
88892         * manual/lgpl-2.1.texi: New file, verbatim from:
88893         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
88894         * manual/Makefile (licenses): New variable, list those new file names.
88895         (texis): Use it.
88896         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
88898         * manual/fdl.texi: File removed.
88899         * manual/lesser.texi: File removed.
88900         * manual/libc.texinfo (Copying, Documentation License):
88901         Use new @include file names, put @appendix directive before @include.
88903 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
88905         [BZ #12841]
88906         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
88907         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
88908         (mq_open): Add __NTH.
88910 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
88912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88913         Assume Intel Core i3/i5/i7 processor if AVX is available.
88915 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88917         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
88918         typo.
88920 2011-05-31  Andreas Schwab  <schwab@redhat.com>
88922         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
88923         memory.  Use alloca_account.  Fix memory leak when retrying.
88925 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88927         * version.h (RELEASE): Bump for 2.14 release.
88928         * include/features.h (__GLIBC_MINOR__): Bump to 14.
88930         * config.make.in (RANLIB): Remove entry.
88932 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
88934         * po/Makefile (po-sed-cmd): Add ksh to extensions.
88935         (libc.pot): Work around missing support for .ksh extension in xgettext.
88937         [BZ #12684]
88938         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
88939         if both request failed.
88940         (send_dg): In case of server errors clear resplen or *resplen2.
88942         [BZ #12454]
88943         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
88944         when there are multiple maps.
88945         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
88946         (_dl_fini): Remove test here.
88948         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
88950 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
88952         [BZ #12350]
88953         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
88954         bit from old_res_options.
88955         (gaih_inet): Likewise.
88957         [BZ #11099]
88958         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
88959         as signed.
88961         * resolv/res_init.c (res_setoptions): Make the code more compact.
88963         [BZ #11558]
88964         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
88965         set RES_USEVC.
88967         [BZ #11634]
88968         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
88970         * malloc/malloc.h: Mark malloc hook variables as deprecated.
88972         [BZ #11781]
88973         * malloc/malloc.h: Declare malloc hook variables as volatile.
88975         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
88976         in last patch.
88978         [BZ #11799]
88979         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
88980         raise in the comment.
88981         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88982         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88983         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
88985 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
88987         [BZ #12811]
88988         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
88989         grow the buffers more if it already has to be sufficient.
88990         (build_wcs_upper_buffer): Likewise.
88991         * posix/regexec.c (check_matching): Likewise.
88992         (clean_state_log_if_needed): Likewise.
88993         (extend_buffers): Don't enlarge buffers beyond size of the input
88994         buffer.
88995         Patches mostly by Emil Wojak <emil@wojak.eu>.
88996         * posix/bug-regex32.c: New file.
88997         * posix/Makefile (tests): Add bug-regex32.
88999         * locale/findlocale.c (_nl_find_locale): Return right away if
89000         _nl_explode_name failed.
89001         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
89003         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
89005         * debug/xtrace.sh: Unify messages.
89006         * malloc/memusage.sh: Likewise.
89008         [BZ #12813]
89009         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
89010         time symbol from vDSO.  Substitute with vsyscall if not available.
89011         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
89012         __vdso_time.
89014         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
89015         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
89016         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
89017         Add sendmmsg and internal_sendmmsg.
89018         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
89019         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
89020         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
89022         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
89023         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
89024         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
89026 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
89028         [BZ #12813]
89029         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
89030         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
89031         available.
89032         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
89033         __vdso_getcpu.
89035         [BZ #12814]
89036         * iconvdata/Makefile (tests): Add bug-iconv9.
89037         * iconvdata/bug-iconv9.c: New file.
89039 2011-05-27  Andreas Schwab  <schwab@redhat.com>
89041         [BZ #12814]
89042         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
89044 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
89046         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
89047         (struct user_regs_struct): Change intcs field back to cs.
89049 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
89051         * po/ja.po: Update from translation team.
89053 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
89055         [BZ #12795]
89056         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
89057         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
89059 2011-05-20  Andreas Schwab  <schwab@redhat.com>
89061         * stdlib/longlong.h: Update from GCC.
89063 2011-05-23  Andreas Schwab  <schwab@redhat.com>
89065         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
89066         parameter name.
89067         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
89068         Add parameter name.
89069         (__sysconf): Pass it down.
89071 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
89073         [BZ #12671]
89074         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
89075         some situations.
89076         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
89077         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
89078         add in in __libc_use_alloca calls.  Adjust callers.
89079         (glob): Use malloc in some situations.
89081         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
89082         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
89083         pltexit.
89085 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
89087         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
89088         and CLOCK_BOOTTIME_ALARM.
89090         [BZ #12782]
89091         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
89092         is returned.
89094         * string/_strerror.c (__strerror_r): Print negative errors as signed
89095         numbers.
89097         [BZ #12777]
89098         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
89099         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
89100         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
89102         * configure.in: Fix typo in redirection and correct removal of test
89103         files in two cases.
89105         [BZ #12788]
89106         * locale/setlocale.c (new_composite_name): Fix test to check for
89107         identical name of all categories.
89109         [BZ #12792]
89110         * libio/filedoalloc.c (local_isatty): New function.
89111         (_IO_file_doallocate): Use local_isatty.
89112         * stdio-common/perror.c (perror): In case a new stream is used
89113         forward the stream error.
89114         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
89115         error flag.
89117 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
89119         [BZ #11884]
89120         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
89121         alloca.
89122         * include/alloca.h (extend_alloca_account): Define.
89124         [BZ #11857]
89125         * posix/regex.h: Fix comments with documentation of user-accessible
89126         fields after compilation and describe correct free'ing of pattern
89127         after re_compile_pattern.
89128         Patch by Reuben Thomas <rrt@sc3d.org>.
89130 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
89132         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
89133         and -mno-altivec to prevent the compiler from using Altivec and/or
89134         VSX instructions when the corresponding registers are not available.
89136 2011-05-19  Andreas Schwab  <schwab@redhat.com>
89138         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
89140 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
89142         * libio/freopen.c (freopen): Use __dup2, not dup2.
89143         * libio/freopen64.c (freopen64): Likewise.
89145 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
89147         [BZ #12775]
89148         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
89149         * math/Makefile (tests): Add test-powl.
89150         (CFLAGS-test-powl.c): Define.
89151         * math/test-powl.c: New file.
89153 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
89155         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
89157 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
89159         [BZ #11837]
89160         * iconvdata/gb18030.c: Update to GB18020-2005.
89162 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
89164         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
89165         RE_SYNTAX_POSIX_AWK): Update to match recent development.
89166         Patch by Aharon Robbins <arnold@skeeve.com>.
89168         [BZ #11892]
89169         * stdlib/putenv.c (putenv): Don't always create copy of the variable
89170         on the stack.
89172         [BZ #11895]
89173         * misc/pselect.c (__pselect): Handle timeout value errors hidden
89174         through underflows.
89176         [BZ #12766]
89177         * misc/error.c (error_at_line): Ensure file_name and old_file_name
89178         point to strings before performing equality test for error_one_per_line
89179         mode.
89181         [BZ #11697]
89182         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
89184         [BZ #11820]
89185         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
89186         (struct user_fpregs_struct): Avoid __uint*_t types.
89188         [BZ #6420]
89189         * malloc/mtrace.c (tr_where): Add additional parameter to point to
89190         symbol info.  Use it instead of calling _dl_addr locally.
89191         (lock_and_info): New function.
89192         (tr_freehook): Call lock_and_info and pass symbol info as additional
89193         parameter to tr_where.
89194         (tr_mallochook): Likewise.
89195         (tr_reallochook): Likewise.
89196         (tr_memalignhook): Likewise.
89198         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
89199         used and couldn't be at all thread-safe.
89201 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
89203         * libio/freopen.c (freopen): Don't close old file descriptor
89204         before the new one is opened.  Instead dup the new file descriptor
89205         to the old one after the new stream is created.
89206         * libio/freopen64.c (freopen64): Likewise.
89207         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
89208         * libio/fileops.c (_IO_new_file_close_it): Handle new
89209         _IO_FLAGS2_NOCLOSE flag.
89210         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
89211         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
89212         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
89213         _IO_FLAGS2_NOCLOSE flag.
89214         * include/unistd.h: Add hidden_proto for dup3.
89215         Define __have_dup3.
89216         * io/dup3.c: Define hidden symbol.
89217         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
89219         [BZ #7101]
89220         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
89221         when an incomplete long option is used.
89222         * posix/tst-getopt_long1.c: New file.
89223         * posix/Makefile (tests): Add tst-getopt_long1.
89225         [BZ #10138]
89226         * scripts/config.guess: Update from autoconf-2.68.
89227         * scripts/config.sub: Likewise.
89229         [BZ #10157]
89230         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
89231         tests into ...
89232         (has_cpuclock): ...this.  New function.
89233         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
89234         macro here based on has_cpuclock code.
89236         [BZ #10149]
89237         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
89238         First byte (not low byte) is now always NUL.
89239         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
89241         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
89242         Use non-cancelable interfaces.
89244         [BZ #9809]
89245         * locale/iso-639.def: Add entry for Sorani.
89247         [BZ #11901]
89248         * include/stdlib.h: Move include protection to the right place.
89249         Define abort_msg_s.  Declare __abort_msg with it.
89250         * stdlib/abort.c (__abort_msg): Adjust type.
89251         * assert/assert.c (__assert_fail_base): New function.  Majority
89252         of code from __assert_fail.  Allocate memory for __abort_msg with
89253         mmap.
89254         (__assert_fail): Now call __assert_fail_base.
89255         * assert/assert-perr.c: Remove bulk of implementation.  Use
89256         __assert_fail_base.
89257         * include/assert.hL Declare __assert_fail_base.
89258         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
89259         mmap.
89260         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
89262 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
89264         [BZ #11952]
89265         [BZ #12453]
89266         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
89267         until all modules are registered in the DTV.
89268         * elf/Makefile: Add rules to build and run tst-tls19.
89269         * elf/tst-tls19.c: New file.
89270         * elf/tst-tls19mod1.c: New file.
89271         * elf/tst-tls19mod2.c: New file.
89272         * elf/tst-tls19mod3.c: New file.
89273         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
89275         [BZ #12083]
89276         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
89277         correctly.
89279         [BZ #12601]
89280         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
89281         two-byte sequence errors.
89282         * iconvdata/Makefile (tests): Add bug-iconv8.
89283         * iconvdata/bug-iconv8.c: New file.
89285         [BZ #12626]
89286         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
89287         buf2 definition.
89289         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
89291         [BZ #12432]
89292         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
89293         (dummy_getcfa): New function.
89294         (init): Get _Unwind_GetCFA address, use dummy if not found.
89295         (backtrace_helper): In recursion check, also check whether CFA changes.
89296         (__backtrace): Completely initialize arg.
89298         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
89299         storing incomplete byte sequence in state object.  Avoid testing for
89300         guaranteed too small input if we know there is enough data available.
89302 2011-05-11  Andreas Schwab  <schwab@redhat.com>
89304         * Makeconfig (+link-pie): Indent.
89305         * Rules (binaries-pie): Define if $(have-fpie) and
89306         $(build-shared).
89307         (binaries-shared): Also filter out $(binaries-pie).
89308         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
89309         * nscd/Makefile (others-pie): Add nscd.
89310         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
89311         ($(objpfx)nscd): Remove command override.
89312         * login/Makefile (others-pie): Add pt_chown.
89313         ($(objpfx)pt_chown): Remove command override.
89314         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
89315         remove command overrides.
89317 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
89319         * libio/tst_putwc.c: Fix error messages.
89321         [BZ #12724]
89322         * libio/fileops.c (_IO_new_file_close_it): Always flush when
89323         currently writing and seek to current position when not.
89324         * libio/Makefile (tests): Add bug-fclose1.
89325         * libio/bug-fclose1.c: New file.
89327 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
89329         [BZ #12511]
89330         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
89331         don't set DF_1_NODELETE here.
89332         (do_lookup_x): When entering new entry test for copy relocation
89333         and if necessary set DF_1_NODELETE flag.
89334         * elf/tst-unique4.cc: New file.
89335         * elf/tst-unique4.h: New file.
89336         * elf/tst-unique4lib.cc: New file.
89337         * elf/Makefile: Add rules to build and run tst-unique4.
89338         Patch by Piotr Bury <pbury@goahead.com>.
89340 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
89342         [BZ #12052]
89343         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
89345         [BZ #12625]
89346         * misc/mntent_r.c (addmntent): Flush the stream after the output
89348         [BZ #12393]
89349         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
89350         (is_trusted_path_normalize): Skip initial colon.  Append slash
89351         to empty buffer.  Duplicate is_trusted_path code but allow
89352         constructed patch to be prefix.
89353         (is_dst): Allow $ORIGIN followed by /.
89354         (_dl_dst_substitute): Correct clearing of check_for_trusted.
89355         Correct testing of result of is_trusted_path_normalize
89356         (decompose_rpath): Fix warning.
89358 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
89360         [BZ #11257]
89361         * grp/initgroups.c (internal_getgrouplist): When we found the service
89362         list through the initgroups entry in nsswitch.conf do not always
89363         continue on a successful lookup.  Don't always use the
89364         __nss_group_database value if it is set.
89365         * nss/nsswitch.conf (initgroups): Change action for successful db
89366         lookup to continue for compatibility.
89368 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
89370         [BZ #11532]
89371         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
89372         and CP774 modules.
89373         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
89374         and CP774 modules.
89375         * iconvdata/tst-tables.sh: Likewise.
89376         * iconvdata/cp770.c: New file.
89377         * iconvdata/cp771.c: New file.
89378         * iconvdata/cp772.c: New file.
89379         * iconvdata/cp773.c: New file.
89380         * iconvdata/cp774.c: New file.
89381         * iconvdata/testdata/CP770: New file.
89382         * iconvdata/testdata/CP770..UTF8: New file.
89383         * iconvdata/testdata/CP771: New file.
89384         * iconvdata/testdata/CP771..UTF8: New file.
89385         * iconvdata/testdata/CP772: New file.
89386         * iconvdata/testdata/CP772..UTF8: New file.
89387         * iconvdata/testdata/CP773: New file.
89388         * iconvdata/testdata/CP773..UTF8: New file.
89389         * iconvdata/testdata/CP774: New file.
89390         * iconvdata/testdata/CP774..UTF8: New file.
89392         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
89393         END CHARMAP line.
89394         * iconvdata/gen-8bit-gap.sh: Likewise.
89395         * iconvdata/gen-8bit.sh: Likewise.
89397         * locale/iso-639.def: Add ary entry.
89399         [BZ #11258]
89400         * locale/C-translit.h.in: Add U20A1 transliteration.
89402         [BZ #12178]
89403         * locale/iso-639.def: Add wae entry.
89404         Patch by Kevin Bortis <bortis@translate-wae.ch>.
89406         [BZ #12545]
89407         * locale/programs/localedef.c (construct_output_path): Use ssize_t
89408         for n.
89410         [BZ #12711]
89411         * locale/C-translit.h.in: Add entry for U20B9.
89412         Patch by pravin.d.s@gmail.com.
89414 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
89416         [BZ #12713]
89417         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
89418         ENAMETOOLONG use generic getcwd.
89419         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
89420         in rtld.  Use *stat64.
89421         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
89422         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
89423         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
89424         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
89425         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
89426         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
89427         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
89428         __fstatat64 macros.
89429         * include/dirent.h: Add libc_hidden_proto for rewinddir.
89430         * dirent/rewinddir.c: Add libc_hidden_def.
89431         * sysdeps/mach/hurd/rewinddir.c: Likewise.
89432         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
89434         * include/dirent.h (__alloc_dir): Add flags parameter.
89435         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
89436         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
89437         __alloc_dir.
89438         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
89439         from fdopendir if O_CLOEXEC is already set.
89441 2011-03-15  Alan Modra  <amodra@gmail.com>
89443         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
89444         l_tls_firstbyte_offset non-zero.  Save padding offset in
89445         l_tls_firstbyte_offset for later use.
89446         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
89447         freeing static tls block.
89449 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
89451         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
89452         where #ifdef was intended.  The intent is to prevent ARG_MAX from
89453         being defined by the kernel headers.
89455 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
89457         [BZ #12734]
89458         * resolv/resolv.h: Define RES_NOTLDQUERY.
89459         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
89460         no-tld-query and set RES_NOTLDQUERY.
89461         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
89462         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
89463         modern BIND to search name as TLD unless forbidden.
89465 2011-05-07  Petr Baudis  <pasky@suse.cz>
89466             Ulrich Drepper  <drepper@gmail.com>
89468         [BZ #12393]
89469         * elf/dl-load.c (fillin_rpath): Move trusted path check...
89470         (is_trusted_path): ...to here.
89471         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
89472         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
89473         using is_trusted_path_normalize() in setuid scripts.
89475 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
89477         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
89478         __BEGIN/__END_DECLS.
89480 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
89482         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
89483         NSS_STATUS_NOTFOUND if no record was found.
89485 2011-05-05  Andreas Schwab  <schwab@redhat.com>
89487         * sunrpc/Makefile (headers): Add rpc/netdb.h.
89488         (headers-not-in-tirpc): Remove rpc/netdb.h
89489         * resolv/netdb.h: Revert last change.
89491 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
89493         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
89494         circular dependency between libgcc.a and libc.a.
89496 2011-05-05  Andreas Schwab  <schwab@redhat.com>
89498         * resolv/netdb.h: Don't include <rpc/netdb.h>.
89499         * nis/Makefile: Don't install rpcsvc/*.
89500         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
89501         instead of <rpc/types.h>.
89502         (MAXHOSTNAMELEN): Define.
89504 2011-05-03  Andreas Schwab  <schwab@redhat.com>
89506         * elf/ldconfig.c (add_dir): Don't crash on empty path.
89508 2011-04-28  Maciej Babinski  <mbabinski@google.com>
89510         [BZ #12714]
89511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
89512         gethostbyname4_r when IPv6 results are possible.
89514 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
89516         [BZ #12723]
89517         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
89518         _PC_PIPE_BUF handling.
89520 2011-04-30  Bruno Haible  <bruno@clisp.org>
89522         [BZ #12717]
89523         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
89524         * resolv/netdb.h (getnameinfo): Change type of flags parameter
89525         to 'int'.
89526         * inet/getnameinfo.c (getnameinfo): Likewise.
89528 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
89530         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
89531         to groups setting in database lookup.
89532         * nss/nsswitch.conf: Add initgroups entry.
89534 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
89536         [BZ #12685]
89537         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
89538         mode string.
89539         Patch by Eric Blake <eblake@redhat.com>.
89541 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
89543         * sunrpc/Makefile (need-export-routines): Add svc_run.
89544         (routines): Remove svc_run.
89545         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
89546         * sunrpc/clnt_perr.c (clnt_perrno): Export.
89547         * sunrpc/svc_run.c (svc_run): Likewise.
89548         * sunrpc/svc_udp.c (svcudp_create): Likewise.
89550 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
89552         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
89553         problem in reallocation in last patch.
89555 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
89557         * sunrpc/Makefile: Move inclusion of Rules.
89559 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
89561         * nss/nss_files/files-initgroups.c: New file.
89562         * nss/Makefile (libnss_files-routines): Add files-initgroups.
89563         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
89564         _nss_files_initgroups_dyn.
89566 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
89568         * elf/elf.h (R_ARM_IRELATIVE): Define.
89570 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
89572         * po/ru.po: Update from translation team.
89574 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
89576         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
89577         dependencies.
89579 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
89581         [BZ #12653]
89582         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
89583         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
89584         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
89585         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
89586         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
89588 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
89590         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
89591         differing bytes.
89592         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
89593         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
89594         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
89596 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
89598         [BZ #12420]
89599         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
89600         storing it.
89601         * stdlib/bug-getcontext.c: New file.
89602         * stdlib/Makefile: Add rules to build and run bug-getcontext.
89604 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89606         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
89607         instructions into .machine "z9-109".
89608         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
89609         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
89611 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89613         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
89614         between environment variables and auxiliary vector.
89616 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
89618         * Makefile: Add rules to build linkobj/libc.so.
89619         * include/libc-symbols.h: Define libc_hidden_nolink.
89620         * include/rpc/auth.h: Mark functions which are to be hidden.
89621         * include/rpc/auth_des.h: Likewise.
89622         * include/rpc/auth_unix.h: Likewise.
89623         * include/rpc/clnt.h: Likewise.
89624         * include/rpc/des_crypt.h: Likewise.
89625         * include/rpc/key_prot.h: Likewise.
89626         * include/rpc/pmap_clnt.h: Likewise.
89627         * include/rpc/pmap_prot.h: Likewise.
89628         * include/rpc/pmap_rmt.h: Likewise.
89629         * include/rpc/rpc_msg.h: Likewise.
89630         * include/rpc/svc.h: Likewise.
89631         * include/rpc/svc_auth.h: Likewise.
89632         * include/rpc/xdr.h: Likewise.
89633         * nis/Makefile: Link all DSOs against linkobj/libc.so.
89634         * nss/Makefile: Likewise.
89635         * sunrpc/Makefile: Don't install headers.  Build library with normal
89636         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
89637         * sunrpc/auth_des.c: Hide exported symbols by default, export some
89638         for the compat linking library.  Remove use of INTDEF/INTUSE.
89639         * sunrpc/auth_none.c: Likewise.
89640         * sunrpc/auth_unix.c: Likewise.
89641         * sunrpc/authdes_prot.c: Likewise.
89642         * sunrpc/authuxprot.c: Likewise.
89643         * sunrpc/clnt_gen.c: Likewise.
89644         * sunrpc/clnt_perr.c: Likewise.
89645         * sunrpc/clnt_raw.c: Likewise.
89646         * sunrpc/clnt_simp.c: Likewise.
89647         * sunrpc/clnt_tcp.c: Likewise.
89648         * sunrpc/clnt_udp.c: Likewise.
89649         * sunrpc/clnt_unix.c: Likewise.
89650         * sunrpc/des_crypt.c: Likewise.
89651         * sunrpc/des_soft.c: Likewise.
89652         * sunrpc/get_myaddr.c: Likewise.
89653         * sunrpc/key_call.c: Likewise.
89654         * sunrpc/key_prot.c: Likewise.
89655         * sunrpc/netname.c: Likewise.
89656         * sunrpc/pm_getmaps.c: Likewise.
89657         * sunrpc/pm_getport.c: Likewise.
89658         * sunrpc/pmap_clnt.c: Likewise.
89659         * sunrpc/pmap_prot.c: Likewise.
89660         * sunrpc/pmap_prot2.c: Likewise.
89661         * sunrpc/pmap_rmt.c: Likewise.
89662         * sunrpc/publickey.c: Likewise.
89663         * sunrpc/rpc_cmsg.c: Likewise.
89664         * sunrpc/rpc_common.c: Likewise.
89665         * sunrpc/rpc_dtable.c: Likewise.
89666         * sunrpc/rpc_prot.c: Likewise.
89667         * sunrpc/rpc_thread.c: Likewise.
89668         * sunrpc/rtime.c: Likewise.
89669         * sunrpc/svc.c: Likewise.
89670         * sunrpc/svc_auth.c: Likewise.
89671         * sunrpc/svc_authux.c: Likewise.
89672         * sunrpc/svc_raw.c: Likewise.
89673         * sunrpc/svc_run.c: Likewise.
89674         * sunrpc/svc_simple.c: Likewise.
89675         * sunrpc/svc_tcp.c: Likewise.
89676         * sunrpc/svc_udp.c: Likewise.
89677         * sunrpc/svc_unix.c: Likewise.
89678         * sunrpc/svcauth_des.c: Likewise.
89679         * sunrpc/xcrypt.c: Likewise.
89680         * sunrpc/xdr.c: Likewise.
89681         * sunrpc/xdr_array.c: Likewise.
89682         * sunrpc/xdr_float.c: Likewise.
89683         * sunrpc/xdr_intXX_t.c: Likewise.
89684         * sunrpc/xdr_mem.c: Likewise.
89685         * sunrpc/xdr_rec.c: Likewise.
89686         * sunrpc/xdr_ref.c: Likewise.
89687         * sunrpc/xdr_sizeof.c: Likewise.
89688         * sunrpc/xdr_stdio.c: Likewise.
89690 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
89692         [BZ #12650]
89693         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
89694         * sysdeps/ia64/dl-tls.h: Likewise.
89695         * sysdeps/powerpc/dl-tls.h: Likewise.
89696         * sysdeps/s390/dl-tls.h: Likewise.
89697         * sysdeps/sh/dl-tls.h: Likewise.
89698         * sysdeps/sparc/dl-tls.h: Likewise.
89699         * sysdeps/x86_64/dl-tls.h: Likewise.
89700         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
89702 2011-03-14  Andreas Schwab  <schwab@redhat.com>
89704         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
89705         rpath element also skip the following colon.
89706         (expand_dynamic_string_token): Add is_path parameter and pass
89707         down to DL_DST_REQUIRED and _dl_dst_substitute.
89708         (decompose_rpath): Call expand_dynamic_string_token with
89709         non-zero is_path.  Ignore empty rpaths.
89710         (_dl_map_object_from_fd): Call expand_dynamic_string_token
89711         with zero is_path.
89713 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
89715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
89716         Make cancelable.
89718 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
89720         [BZ #12655]
89721         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
89722         Patch by Filipe David Manana <fdmanana@apache.org>.
89724 2011-04-07  Andreas Schwab  <schwab@redhat.com>
89726         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
89727         Maintain aligned stack.
89728         (CHECK_RSP): Remove unused macro.
89730 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
89732         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
89733         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
89735 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
89737         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
89739         * include/features.h: Mention __USE_XOPEN2K8 in comment.
89741 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
89743         [BZ #12518]
89744         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
89745         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
89746         * sysdeps/x86_64/memmove.c: New file.
89747         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
89748         (memcpy): Renamed to ...
89749         (__new_memcpy): This.
89750         (memcpy): Provide GLIBC_2_14 memcpy.
89751         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
89752         (memcpy): Provide GLIBC_2_2_5 memcpy.
89754 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89756         [BZ #12631]
89757         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
89759 2011-03-30  Andreas Schwab  <schwab@redhat.com>
89761         * misc/syncfs.c: New file.
89762         * misc/Makefile (routines): Add syncfs.
89763         * posix/unistd.h: Declare syncfs.
89764         * sysdeps/unix/syscalls.list: Add syncfs.
89766 2011-04-01  Andreas Schwab  <schwab@redhat.com>
89768         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
89769         open_by_handle_at.
89770         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89771         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89772         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89773         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89774         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89775         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
89776         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89778 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89780         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
89781         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89782         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
89783         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89784         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89785         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89786         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89788         * io/Makefile: Compile fallocate.c, fallocate64.c, and
89789         sync_file_range.c with -fexceptions.
89790         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
89791         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
89792         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
89793         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
89794         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
89795         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
89796         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
89797         sync_file_range as cancellation point
89798         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
89799         now a wrapper around __call_sync_file_range with cancellation handling.
89800         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
89801         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
89802         function name to __call_sync_file_range.
89803         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
89804         Add call_sync_file_range.
89806 2011-04-01  Andreas Schwab  <schwab@redhat.com>
89808         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
89809         bits/timex.h.
89811 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89813         * iconv/iconv.h: Fix typo in comment.
89814         * io/fcntl.h: Likewise.
89815         * libio/stdio.h: Likewise.
89816         * posix/spawn.h: Likewise.
89817         * posix/unistd.h: Likewise.
89818         * stdlib/stdlib.h: Likewise.
89819         * time/time.h: Likewise.
89820         * wcsmbs/wchar.h: Likewise.
89822         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
89823         open_by_handle): Add.
89824         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
89825         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
89826         Augment a few comments.
89827         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89828         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89829         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89830         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89831         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89832         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
89833         open_by_handle.
89835         * io/fcntl.h (AT_EMPTY_PATH): Define.
89837 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
89839         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
89840         * sysdeps/unix/sysv/linux/bits/time.h: New file.
89841         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
89842         to...
89843         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
89844         * Versions.def: Add GLIBC_2.14.
89845         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
89846         Export.
89848 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
89850         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
89851         round counter.
89852         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
89854 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
89856         [BZ #12597]
89857         * string/test-strncmp.c (do_page_test): New function.
89858         (check2): Likewise.
89859         (test_main): Call check2.
89860         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
89862 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
89864         [BZ #12587]
89865         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
89866         Handle cache information in CPU leaf 4.
89867         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
89869 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
89871         [BZ #12583]
89872         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
89873         character representation.
89874         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
89876 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
89878         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
89879         END(__isnan) to END(__isnanf) to match function entry point/label
89880         EALIGN(__isnanf,...).
89882 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
89884         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
89886 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
89888         [BZ #12510]
89889         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
89890         copy from the symbol referenced in the relocation to initialize the
89891         used variable.
89892         Patch by Piotr Bury <pbury@goahead.com>.
89893         * elf/Makefile: Add rules to build and tst-unique3.
89894         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
89895         * elf/tst-unique3.cc: New file.
89896         * elf/tst-unique3.h: New file.
89897         * elf/tst-unique3lib.cc: New file.
89898         * elf/tst-unique3lib2.cc: New file.
89900         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
89902 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
89904         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
89905         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
89906         to _start.
89908 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
89910         * elf/dl-load.c (_dl_map_object): If we are looking for the first
89911         to-be-loaded object along a path to loader is ld.so.
89913 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89914             Ulrich Drepper  <drepper@gmail.com>
89916         * sysdeps/x86_64/memset.S: After aligning destination, code
89917         branches to different locations depending on the value of
89918         misalignment, when multiarch is enabled. Fix this.
89920 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89922         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
89923         Set _x86_64_preferred_memory_instruction for AMD processsors.
89924         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89925         Set bit_Prefer_SSE_for_memop for AMD processors.
89927 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
89929         * libio/fmemopen.c (fmemopen): Optimize a bit.
89931 2011-03-03  Andreas Schwab  <schwab@redhat.com>
89933         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
89935 2011-03-03  Roland McGrath  <roland@redhat.com>
89937         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
89939 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
89941         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
89942         __bzero_ultra1 instead of __memset_ultra1.
89944 2011-02-23  Andreas Schwab  <schwab@redhat.com>
89945             Ulrich Drepper  <drepper@gmail.com>
89947         [BZ #12509]
89948         * include/link.h (struct link_map): Add l_orig_initfini.
89949         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
89950         returning unsuccessfully.
89951         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
89952         close of a file loaded at startup, restore the original l_initfini
89953         list.
89954         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
89955         list, store the pointer.
89956         * elf/Makefile ($(objpfx)noload-mem): New rule.
89957         (noload-ENV): Define.
89958         (tests): Add $(objpfx)noload-mem.
89959         * elf/noload.c: Include <memcheck.h>.
89960         (main): Call mtrace.  Close all opened handles.
89962 2011-02-17  Andreas Schwab  <schwab@redhat.com>
89964         [BZ #12454]
89965         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
89966         dependencies are missing.
89968 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89970         Fix __if_freereq crash: Unlike the generic version which uses free,
89971         Hurd needs munmap.
89972         * sysdeps/mach/hurd/ifreq.h: New file.
89974 2011-01-27  Petr Baudis  <pasky@suse.cz>
89975             Ulrich Drepper  <drepper@gmail.com>
89977         [BZ 12445]#
89978         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
89979         to extend_alloca().
89980         * stdio-common/bug23.c: New file.
89981         * stdio-common/Makefile (tests): Add bug23.
89983 2010-09-28  Andreas Schwab  <schwab@redhat.com>
89984             Ulrich Drepper  <drepper@gmail.com>
89986         [BZ #12489]
89987         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
89988         before performing relro protection.  At old place add assertion
89989         to make sure nothing changed.
89991 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
89992             Glauber de Oliveira Costa  <glommer@gmail.com>
89994         * elf/elf.h: Add new ARM TLS relocs.
89996 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
89998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
89999         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
90000         cast from r3.
90001         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
90002         'tests' variable.
90003         * sysdeps/wordsize-64/tst-writev.c: New file.
90005 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
90007         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
90008         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
90009         insns in _dl_start to prevent a TOC reference before relocs are
90010         resolved.
90012 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
90014         [BZ #12469]
90015         * Makeconfig: Remove RANLIB definition.
90016         * Makerules: Don't use RANLIB.
90017         * aclocal.m4: Remove ranlib test.
90018         * configure.in: No need to check for ranlib.
90019         * elf/rtld-Rules: Don't use RANLIB.
90021 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90023         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
90024         protection macro.
90025         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
90026         inclusion protection macro.
90028         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
90029         SIGRTMIN and SIGRTMAX and print information in that case only when
90030         SIGRTMIN is defined.
90032 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
90034         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
90035         arginfo fn returning -1.
90037         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
90038         and thousands string is zero terminated.
90040 2011-02-03  Andreas Schwab  <schwab@redhat.com>
90042         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
90043         sysdeps/unix/sysv/linux/bits/socket.h.
90045 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90047         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
90048         (__CPU_COUNT): Remove old macros.
90049         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
90050         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
90051         (__CPU_ALLOC, __CPU_FREE): Add macros.
90052         (__sched_cpualloc, __sched_cpufree): Add declarations.
90054 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
90056         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
90057         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
90058         * nscd/aicache.c (addhstaiX): Return timeout of added value.
90059         (readdhstai): Return value of addhstaiX call.
90060         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
90061         (addgrbyX): Return value returned by cache_addgr.
90062         (readdgrbyname): Return value returned by addgrbyX.
90063         (readdgrbygid): Likewise.
90064         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
90065         (addpwbyX): Return value returned by cache_addpw.
90066         (readdpwbyname): Return value returned by addhstbyX.
90067         (readdpwbyuid): Likewise.
90068         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
90069         (addservbyX): Return value returned by cache_addserv.
90070         (readdservbyname): Return value returned by addservbyX:
90071         (readdservbyport): Likewise.
90072         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
90073         (addhstbyX): Return value returned by cache_addhst.
90074         (readdhstbyname): Return value returned by addhstbyX.
90075         (readdhstbyaddr): Likewise.
90076         (readdhstbynamev6): Likewise.
90077         (readdhstbyaddrv6): Likewise.
90078         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
90079         (readdinitgroups): Return value returned by addinitgroupsX.
90080         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
90081         (prune_cache): Keep track of timeout value of re-added entries.
90082         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
90083         * nscd/nscd.h: Adjust prototypes of readd* functions.
90085 2011-02-04  Roland McGrath  <roland@redhat.com>
90087         * nis/nis_server.c (nis_servstate): Use the right name for 0.
90088         (nis_stats): Likewise.
90089         * nis/nis_modify.c (nis_modify): Likewise.
90090         * nis/nis_remove.c (nis_remove): Likewise.
90091         * nis/nis_add.c (nis_add): Likewise.
90093         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
90095         * posix/fnmatch_loop.c: Add some consts.
90097         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
90099 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
90101         [BZ #12460]
90102         * config.make.in (config-cflags-novzeroupper): Define.
90103         * configure.in: Substitute libc_cv_cc_novzeroupper.
90104         * elf/Makefile (AVX-CFLAGS): Define.
90105         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
90106         (CFLAGS-tst-auditmod4a.c): Likewise.
90107         (CFLAGS-tst-auditmod4b.c): Likewise.
90108         (CFLAGS-tst-auditmod6b.c): Likewise.
90109         (CFLAGS-tst-auditmod6c.c): Likewise.
90110         (CFLAGS-tst-auditmod7b.c): Likewise.
90111         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
90113 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
90115         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
90116         function to the callback.
90117         Patch partly by Jiri Olsa <jolsa@redhat.com>.
90119 2011-02-02  Andreas Schwab  <schwab@redhat.com>
90121         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
90122         of errno.
90124 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
90126         [BZ #11724]
90127         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
90128         of constructors.
90129         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
90130         of destructors.
90131         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
90133         [BZ #11724]
90134         * elf/Makefile: Add rules to build and run new test.
90135         * elf/tst-initorder.c: New file.
90136         * elf/tst-initorder.exp: New file.
90137         * elf/tst-initordera1.c: New file.
90138         * elf/tst-initordera2.c: New file.
90139         * elf/tst-initordera3.c: New file.
90140         * elf/tst-initordera4.c: New file.
90141         * elf/tst-initorderb1.c: New file.
90142         * elf/tst-initorderb2.c: New file.
90143         * elf/tst-order-a1.c: New file.
90144         * elf/tst-order-a2.c: New file.
90145         * elf/tst-order-a3.c: New file.
90146         * elf/tst-order-a4.c: New file.
90147         * elf/tst-order-b1.c: New file.
90148         * elf/tst-order-b2.c: New file.
90149         * elf/tst-order-main.c: New file.
90150         New test case by George Gensure <werkt0@gmail.com>.
90152 2010-10-01  Andreas Schwab  <schwab@redhat.com>
90154         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
90155         decoding ACE if AI_CANONIDN.
90157 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
90159         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
90161 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
90163         * version.h (RELEASE): Bump for 2.13 release.
90164         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
90166         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
90168         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
90169         MADV_NOHUGEPAGE.
90170         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
90171         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
90172         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
90173         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
90174         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
90175         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
90177         * posix/getconf.c: Update copyright year.
90178         * catgets/gencat.c: Likewise.
90179         * csu/version.c: Likewise.
90180         * debug/catchsegv.sh: Likewise.
90181         * debug/xtrace.sh: Likewise.
90182         * elf/ldconfig.c: Likewise.
90183         * elf/ldd.bash.in: Likewise.
90184         * elf/sprof.c (print_version): Likewise.
90185         * iconv/iconv_prog.c: Likewise.
90186         * iconv/iconvconfig.c: Likewise.
90187         * locale/programs/locale.c: Likewise.
90188         * locale/programs/localedef.c: Likewise.
90189         * malloc/memusage.sh: Likewise.
90190         * malloc/mtrace.pl: Likewise.
90191         * nscd/nscd.c (print_version): Likewise.
90192         * nss/getent.c: Likewise.
90194         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
90195         PF_CAIF, and PF_ALG.
90196         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90198 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
90200         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
90201         (modules-names): Use them.
90202         (ifunc-test-modules, ifunc-pie-tests): Define.
90203         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
90204         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
90205         (test-extras): Likewise.
90206         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
90207         $(compile-command.c).
90208         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
90209         (all-built-dso): Define.
90210         (check-textrel.out, check-execstack.out): Depend on it.
90212         * configure.in: Don't override --enable-multi-arch.
90214 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
90216         [BZ #6812]
90217         * nscd/hstcache.c (tryagain): Define.
90218         (cache_addhst): Return tryagain not notfound for temporary errors.
90219         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
90220         failed.
90222 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
90224         [BZ #10563]
90225         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
90226         to make the syscall.
90227         * sysdeps/unix/sysv/linux/setgroups.c: New file.
90229         [BZ #12378]
90230         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
90231         and fall back to matching as normal character if the string ends before
90232         the matching ']' is found.  This is what POSIX requires.
90233         * posix/testfnm.c: Adjust test result.
90234         * posix/globtest.sh: Adjust test result.  Add new test.
90235         * posix/tst-fnmatch.input: Likewise.
90236         * posix/tst-fnmatch2.c: Add new test.
90238 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
90240         * elf/Makefile (check-execstack): Revert last change.  Depend on
90241         check-execstack.h.
90242         (check-execstack.h): New target.
90243         (generated): Add check-execstack.h.
90244         * elf/check-execstack.c: Include "check-execstack.h".
90245         (main): Revert last change.
90246         (handle_file): Return zero if GNU_STACK is absent and
90247         DEFAULT_STACK_PERMS doesn't include PF_X.
90249 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
90251         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
90252         in child fails because the descriptor is already closed.
90253         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
90254         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
90255         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
90257         [BZ #12397]
90258         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
90259         syscall.
90261         [BZ #10484]
90262         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
90263         temporary buffer used to handle multi lookups locally.
90264         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
90266 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
90268         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
90269         loader is ld.so.
90271 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
90273         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
90274         alignment for SSE2.
90276 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
90278         [BZ #12394]
90279         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
90280         characters.  When rounding increased number of integer digits recompute
90281         number of groups.
90282         * stdio-common/tst-grouping.c: New file.
90283         * stdio-common/Makefile: Add rules to build and run tst-grouping.
90285 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
90287         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
90288         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
90290         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
90291         void.
90292         * bits/select.h: Likewise.
90294 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
90296         * po/ja.po: Update from translation team.
90298 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
90300         [BZ #11155]
90301         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
90302         implementation just like for lxstat, fxstatat, et al.
90304 2010-12-27  Jim Meyering  <meyering@redhat.com>
90306         [BZ #12348]
90307         * posix/regexec.c (build_trtable): Return failure indication upon
90308         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
90310 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
90312         [BZ #12201]
90313         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
90314         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
90315         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
90316         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
90318         [BZ #12207]
90319         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
90321         [BZ #12204]
90322         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
90323         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
90325 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
90327         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
90328         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
90329         script has SORT_BY_INIT_PRIORITY.
90330         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
90331         NO_CTORS_DTORS_SECTIONS is defined.
90332         * elf/soinit.c: Likewise.
90333         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
90334         NO_CTORS_DTORS_SECTIONS is defined.
90335         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
90336         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
90337         * sysdeps/sh/init-first.c: Likewise.
90338         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
90340 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
90342         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
90343         always use the slow path.
90345 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
90347         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
90348         similar rule which adds the sysdep directories to the header search in
90349         order to pick up the correct platform stackinfo.h.
90350         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
90351         perform test if it is, otherwise return successfully without testing.
90352         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
90353         DEFAULT_STACK_PERMS define in stackinfo.h.
90354         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
90355         defined in stackinfo.h.
90356         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
90357         DEFAULT_STACK_PERMS defined in stackinfo.h.
90358         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
90359         * sysdeps/ia64/stackinfo.h: Likewise.
90360         * sysdeps/s390/stackinfo.h: Likewise.
90361         * sysdeps/sh/stackinfo.h: Likewise.
90362         * sysdeps/sparc/stackinfo.h: Likewise.
90363         * sysdeps/x86_64/stackinfo.h: Likewise.
90364         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
90365         PF_X for powerpc64.  Retain PF_X for powerpc32.
90367 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
90369         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
90370         accurately.
90371         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
90372         GETDENTS_64BIT_ALIGNED.
90374 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
90376         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
90378 2010-12-10  Andreas Schwab  <schwab@redhat.com>
90380         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
90381         _GNU_SOURCE.
90383         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
90384         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
90385         Remove __restrict.
90386         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
90387         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
90389 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
90391         [BZ #11655]
90392         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
90393         are initialized.
90395 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
90397         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
90399 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
90401         * po/it.po: Update from translation team.
90403 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
90405         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
90406         unused codes.
90408 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
90410         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
90412 2010-11-24  Andreas Schwab  <schwab@redhat.com>
90414         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
90415         specially.
90416         (gaih_getanswer_slice): Likewise.
90418 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
90420         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
90422 2010-05-31  Petr Baudis  <pasky@suse.cz>
90424         [BZ #11149]
90425         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
90426         silently even in the chroot mode.
90428 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
90430         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
90431         last patch a bit.  Pretty printing
90433 2010-05-31  Petr Baudis <pasky@suse.cz>
90435         [BZ #10085]
90436         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
90437         initialization of skip_initgroups_dyn.
90439 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
90441         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
90442         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
90444 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
90446         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
90448 2010-11-11  Andreas Schwab  <schwab@redhat.com>
90450         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
90451         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
90452         (tst-fnmatch-ENV): Set MALLOC_TRACE.
90453         ($(objpfx)tst-fnmatch-mem): New rule.
90454         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
90455         * posix/tst-fnmatch.c (main): Call mtrace.
90457 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
90459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90460         Support Intel processor model 6 and model 0x2c.
90462 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
90464         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
90465           signed comparison.
90467 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
90469         [BZ #12205]
90470         * string/test-strncasecmp.c (check_result): New function.
90471         (do_one_test): Use it.
90472         (check1): New function.
90473         (test_main): Use it.
90474         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
90475         Support strcasecmp and strncasecmp.
90477 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
90479         [BZ #12194]
90480         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
90481         * sysdeps/x86_64/bits/byteswap.h: Likewise.
90483 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
90485         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
90486         IFUNC support.
90487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90488         memset-x86-64.
90489         * sysdeps/x86_64/multiarch/bzero.S: New file.
90490         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
90491         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
90492         * sysdeps/x86_64/multiarch/memset.S: New file.
90493         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
90494         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90495         Set bit_Prefer_SSE_for_memop for Intel processors.
90496         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
90497         Define.
90498         (index_Prefer_SSE_for_memop): Define.
90499         (HAS_PREFER_SSE_FOR_MEMOP): Define.
90501 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
90503         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
90504         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
90506 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
90508         [BZ #12191]
90509         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
90510         (__x86_64_raw_data_cache_size_half): Likewise.
90511         (__x86_64_raw_shared_cache_size): Likewise.
90512         (__x86_64_raw_shared_cache_size_half): Likewise.
90514         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
90515         (__x86_64_raw_data_cache_size_half): Likewise.
90516         (__x86_64_raw_shared_cache_size): Likewise.
90517         (__x86_64_raw_shared_cache_size_half): Likewise.
90518         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
90519         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
90520         and __x86_64_raw_shared_cache_size_half.  Round
90521         __x86_64_data_cache_size_half, __x86_64_data_cache_size
90522         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
90523         to multiple of 256 bytes.
90525 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
90527         [BZ #12167]
90528         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
90529         of inacessible symlinks.  Verify result of symlink before returning it.
90530         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
90531         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
90533 2010-10-28  Erich Ritz  <erichritz@gmail.com>
90535         * math/math.h (isinf): Fix typo in comment.
90537 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
90539         * po/da.po: Update from translation team.
90541 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
90543         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
90544         is added to the list.
90546 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90547             Ulrich Drepper  <drepper@gmail.com>
90549         * elf/dl-object.c (_dl_new_object): Don't append the new object to
90550         the global list here.  Move code to...
90551         (_dl_add_to_namespace_list): ...here.  New function.
90552         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
90553         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
90554         * elf/dl-load.c (lose): Don't remove the element from the list.
90555         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
90556         (_dl_map_object): Likewise.
90558 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
90560         [BZ #12159]
90561         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
90562         into all bytes of SSE register.
90563         Patch by Richard Li <richardpku@gmail.com>.
90565 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
90567         [BZ #12140]
90568         * malloc/malloc.c (_int_free): Fill correct number of bytes when
90569         perturbing.
90571 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
90573         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
90574         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
90575         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
90576         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
90577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
90578         submachine.
90579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
90581 2010-10-22  Andreas Schwab  <schwab@redhat.com>
90583         * include/dlfcn.h (__RTLD_SECURE): Define.
90584         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
90585         mode & __RTLD_SECURE instead.
90586         (open_path): Rename preloaded parameter to secure.
90587         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
90588         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
90589         * elf/dl-deps.c (openaux): Likewise.
90590         * elf/rtld.c (struct map_args): Remove is_preloaded.
90591         (map_doit): Don't use it.
90592         (dl_main): Likewise.
90593         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
90594         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
90596 2010-09-09  Andreas Schwab  <schwab@redhat.com>
90598         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
90599         (sysd-rules-targets): Remove duplicates.
90600         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
90601         rtld-%.$o dependency.
90603 2010-10-18  Andreas Schwab  <schwab@redhat.com>
90605         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
90606         _dl_map_object do it.
90608 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
90610         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
90611         fast fma builtins, define the macros in the C99 standard.
90612         (FP_FAST_FMAF): Likewise.
90613         (FP_FAST_FMAL): Likewise.
90614         * sysdeps/x86_64/bits/mathdef.h: Likewise.
90616         * bits/mathdef.h: Update copyright year.
90617         * sysdeps/powerpc/bits/mathdef.h: Likewise.
90619 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
90621         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
90622         builtins, define the macros in the C99 standard.
90623         (FP_FAST_FMAF): Likewise.
90624         (FP_FAST_FMAL): Likewise.
90625         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
90626         multiply/add.
90627         (FP_FAST_FMAF): Likewise.
90629 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
90631         [BZ #3268]
90632         * math/libm-test.inc (fma_test): Some new testcases.
90633         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
90634         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
90635         y and infinite z.  Do multiplication by C already in long double.
90636         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
90637         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
90638         y and infinite z.  Do bitwise or of inexact bit into u.d.
90639         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
90640         * sysdeps/i386/fpu/s_fmaf.S: Removed.
90641         * sysdeps/i386/fpu/s_fma.S: Removed.
90642         * sysdeps/i386/fpu/s_fmal.S: Removed.
90644 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
90646         [BZ #3268]
90647         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
90648         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
90649         computation is not scheduled after fetestexcept.  Fix value
90650         of minimum denormal long double.
90652 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
90654         [BZ #3268]
90655         * math/libm-test.inc (fma_test): Add some more tests.
90656         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
90657         correctly.
90659 2010-10-15  Andreas Schwab  <schwab@redhat.com>
90661         * scripts/data/localplt-s390-linux-gnu.data: New file.
90662         * scripts/data/localplt-s390x-linux-gnu.data: New file.
90664 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
90666         [BZ #3268]
90667         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
90668         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
90669         instead of dbl-64.
90670         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
90671         inlines.
90672         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
90673         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
90674         if one of x and y is very large and the other is subnormal.
90675         * sysdeps/s390/fpu/s_fmaf.c: New file.
90676         * sysdeps/s390/fpu/s_fma.c: New file.
90677         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
90678         * sysdeps/powerpc/fpu/s_fma.S: New file.
90679         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
90680         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
90681         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
90683 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
90685         [BZ #3268]
90686         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
90687         fma tests.
90688         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
90689         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
90690         * sysdeps/i386/i686/multiarch/s_fma.c: Include
90691         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
90692         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
90693         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
90694         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
90696 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
90698         [BZ #12078]
90699         * posix/regcomp.c (parse_branch): One more memory leak plugged.
90700         * posix/bug-regex31.input: Add test case.
90702 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
90704         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
90705         * posix/bug-regex31.input: New file.
90707         [BZ #12078]
90708         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
90709         (parse_sub_exp): Fix last change, use postorder.
90711         * posix/bug-regex31.c: New file.
90712         * posix/Makefile: Add rules to build and run bug-regex31.
90714         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
90716         [BZ #12078]
90717         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
90719         [BZ #12108]
90720         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
90721         to have entries in sys_siglist.
90723         [BZ #12093]
90724         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
90725         be NULL.
90727 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
90729         [BZ #3268]
90730         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
90731         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
90732         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
90733         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
90734         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90735         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
90736         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
90737         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
90738         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
90739         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
90740         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
90741         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
90742         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
90743         * math/ftestexcept.c (fetestexcept): Likewise.
90744         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
90745         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
90746         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
90747         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
90748         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
90749         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
90750         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
90752 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
90754         [BZ #12107]
90755         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
90756         newline.
90758 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
90760         * string/bug-strstr1.c: New file.
90761         * string/Makefile: Add rules to build and run bug-strstr1.
90763 2010-10-05  Eric Blake  <eblake@redhat.com>
90765         [BZ #12092]
90766         * string/str-two-way.h (two_way_long_needle): Always clear memory
90767         when skipping input due to the shift table.
90769 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
90771         [BZ #12005]
90772         * malloc/mcheck.c: Handle large requests.
90774         [BZ #12077]
90775         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
90776         for strncmp and strncasecmp.
90777         * string/stratcliff.c: Add tests for strcmp and strncmp.
90778         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
90780 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
90782         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
90783         __set_fpscr.
90785 2010-09-30  Andreas Jaeger  <aj@suse.de>
90787         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
90788         (CGROUP_SUPER_MAGIC): Define.
90789         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90790         Handle btrfs and cgroup file systems.
90791         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
90792         Likewise.
90794 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
90796         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
90797         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
90799 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90801         [BZ #12067]
90802         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
90803         trying to locate the ELF header.
90805 2010-09-27  Andreas Schwab  <schwab@redhat.com>
90807         [BZ #11611]
90808         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
90809         Mask out sign-bit copies when constructing f_fsid.
90811 2010-09-24  Petr Baudis <pasky@suse.cz>
90813         * debug/stack_chk_fail_local.c: Add missing licence exception.
90814         * debug/warning-nop.c: Likewise.
90816 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
90818         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
90819         implementing getdents64 using getdents syscall, set d_type if
90820         __ASSUME_GETDENTS32_D_TYPE.
90822 2010-09-16  Andreas Schwab  <schwab@redhat.com>
90824         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
90825         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
90827 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
90829         [BZ #12037]
90830         * posix/unistd.h: Undo change of feature selection for ftruncate from
90831         2010-01-11.
90833 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
90835         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
90836         detection.
90838 2010-09-20  Andreas Schwab  <schwab@redhat.com>
90840         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
90841         fanotify_mark.
90842         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
90844 2010-09-14  Andreas Schwab  <schwab@redhat.com>
90846         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
90847         variables after CHECK_SP call.
90848         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
90850 2010-09-13  Andreas Schwab  <schwab@redhat.com>
90851             Ulrich Drepper  <drepper@redhat.com>
90853         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
90854         re-relocationg ld.so.
90855         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
90856         _dl_init_paths call.
90857         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
90858         here anymore.
90860 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
90862         * resolv/res_init.c (__res_vinit): Count the default server we added.
90864 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
90865             Ulrich Drepper  <drepper@redhat.com>
90867         [BZ #11968]
90868         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90869         (____longjmp_chk): Use %ebx for saving value across system call.
90870         Add unwind info.
90872 2010-09-06  Andreas Schwab  <schwab@redhat.com>
90874         * manual/Makefile: Don't mix pattern rules with normal rules.
90876 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
90878         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
90879         operation.
90880         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
90881         * libio/iofopncook.c (_IO_cookie_init): Likewise.
90882         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
90883         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
90884         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90885         Likewise.
90887 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
90889         [BZ #11979]
90890         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
90891         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
90893 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
90895         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
90896         * sysdeps/x86_64/addmul_1.S: Likewise.
90897         * sysdeps/x86_64/lshift.S: Likewise.
90898         * sysdeps/x86_64/mul_1.S: Likewise.
90899         * sysdeps/x86_64/rshift.S: Likewise.
90900         * sysdeps/x86_64/sub_n.S: Likewise.
90901         * sysdeps/x86_64/submul_1.S: Likewise.
90903 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90905         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
90906         Define __sched_param instead of SCHED_* and sched_param when
90907         <bits/sched.h> is included with __need_schedparam defined.
90908         * bits/sched.h [__need_schedparam]
90909         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
90910         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
90911         (__defined_schedparam): Define to 1.
90912         (__sched_param): New structure, identical to sched_param.
90913         (__need_schedparam): Undefine.
90915 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
90917         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
90918         (epoll_create1): Declare.
90920         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
90922 2010-08-31  Andreas Schwab  <schwab@redhat.com>
90924         [BZ #7066]
90925         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
90926         shifting retval into place.
90928 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
90930         * nis/rpcsvc/nis.h: Update copyright notice.
90931         * nis/rpcsvc/nis.x: Likewise.
90932         * nis/rpcsvc/nis_callback.h: Likewise.
90933         * nis/rpcsvc/nis_callback.x: Likewise.
90934         * nis/rpcsvc/nis_object.x: Likewise.
90935         * nis/rpcsvc/nis_tags.h: Likewise.
90936         * nis/rpcsvc/yp.h: Likewise.
90937         * nis/rpcsvc/yp.x: Likewise.
90938         * nis/rpcsvc/ypupd.h: Likewise.
90939         * nis/yp_xdr.c: Likewise.
90940         * nis/ypupdate_xdr.c: Likewise.
90942         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
90943         mainly the body of pmap_getport.  Add parameters to specify timeouts.
90944         (pmap_getport): Use __libc_rpc_getport.
90945         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
90946         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
90947         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
90949 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
90951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
90952         fanotify_mark.
90954 2010-08-27  Roland McGrath  <roland@redhat.com>
90956         * sysdeps/i386/i686/multiarch/Makefile
90957         (CFLAGS-varshift.c): New variable.
90959 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
90961         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
90962         * sysdeps/i386/i686/multiarch/varshift.c: New file.
90964         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
90966         * sysdeps/x86_64/strlen.S: Minimal code improvement.
90968 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
90970         * sysdeps/x86_64/strlen.S: Unroll the loop.
90971         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90972         strlen-sse2 strlen-sse2-bsf.
90973         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
90974         __strlen_no_bsf if bit_Slow_BSF is set.
90975         (__strlen_sse42): Removed.
90976         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
90977         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
90979 2010-08-25  Roland McGrath  <roland@redhat.com>
90981         * sysdeps/x86_64/multiarch/varshift.S: File removed.
90982         * sysdeps/x86_64/multiarch/varshift.c: New file.
90983         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
90984         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
90985         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
90986         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
90988 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
90990         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90991         strlen-sse2 strlen-sse2-bsf.
90992         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
90993         __strlen_sse2_bsf if bit_Slow_BSF is unset.
90994         (__strlen_sse2): Removed.
90995         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
90996         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
90997         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
90998         bit_Slow_BSF for Atom.
90999         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
91000         (index_Slow_BSF): Define.
91001         (HAS_SLOW_BSF): Define.
91003 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
91005         [BZ #10851]
91006         * resolv/res_init.c (__res_vinit): When no server address at all
91007         is given default to loopback.
91009 2010-08-24  Roland McGrath  <roland@redhat.com>
91011         * configure.in: Remove config-name.h generation.
91012         * configure: Regenerated.
91013         * config-name.in: File removed.
91014         * scripts/config-uname.sh: New file.
91015         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
91016         ($(objdir)config-name.h): New target.
91018         * sunrpc/rpc_parse.h: Avoid nested comment.
91020 2010-08-24  Richard Henderson  <rth@redhat.com>
91021             Ulrich Drepper  <drepper@redhat.com>
91022             H.J. Lu  <hongjiu.lu@intel.com>
91024         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
91025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
91026         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
91027         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
91028         _mm_alignr_epi8 with _mm_loadu_si128.
91029         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
91030         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
91031         (__m128i_shift_right): Removed.
91032         * sysdeps/i386/i686/multiarch/varshift.h: New file.
91033         * sysdeps/i386/i686/multiarch/varshift.S: New file.
91034         * sysdeps/x86_64/multiarch/varshift.h: New file.
91035         * sysdeps/x86_64/multiarch/varshift.S: New file.
91037 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
91039         * configure.in: Move assembler checks to before sysdep dir checking.
91041 2010-08-20  Petr Baudis  <pasky@suse.cz>
91043         * LICENSES: Sync the sunrpc license.
91045 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
91047         * sunrpc/auth_des.c: Update copyright notice once again.
91048         * sunrpc/auth_none.c: Likewise.
91049         * sunrpc/auth_unix.c: Likewise.
91050         * sunrpc/authdes_prot.c: Likewise.
91051         * sunrpc/authuxprot.c: Likewise.
91052         * sunrpc/bindrsvprt.c: Likewise.
91053         * sunrpc/clnt_gen.c: Likewise.
91054         * sunrpc/clnt_perr.c: Likewise.
91055         * sunrpc/clnt_raw.c: Likewise.
91056         * sunrpc/clnt_simp.c: Likewise.
91057         * sunrpc/clnt_tcp.c: Likewise.
91058         * sunrpc/clnt_udp.c: Likewise.
91059         * sunrpc/clnt_unix.c: Likewise.
91060         * sunrpc/des_crypt.c: Likewise.
91061         * sunrpc/des_soft.c: Likewise.
91062         * sunrpc/get_myaddr.c: Likewise.
91063         * sunrpc/getrpcport.c: Likewise.
91064         * sunrpc/key_call.c: Likewise.
91065         * sunrpc/key_prot.c: Likewise.
91066         * sunrpc/openchild.c: Likewise.
91067         * sunrpc/pm_getmaps.c: Likewise.
91068         * sunrpc/pm_getport.c: Likewise.
91069         * sunrpc/pmap_clnt.c: Likewise.
91070         * sunrpc/pmap_prot.c: Likewise.
91071         * sunrpc/pmap_prot2.c: Likewise.
91072         * sunrpc/pmap_rmt.c: Likewise.
91073         * sunrpc/rpc/auth.h: Likewise.
91074         * sunrpc/rpc/auth_unix.h: Likewise.
91075         * sunrpc/rpc/clnt.h: Likewise.
91076         * sunrpc/rpc/des_crypt.h: Likewise.
91077         * sunrpc/rpc/key_prot.h: Likewise.
91078         * sunrpc/rpc/netdb.h: Likewise.
91079         * sunrpc/rpc/pmap_clnt.h: Likewise.
91080         * sunrpc/rpc/pmap_prot.h: Likewise.
91081         * sunrpc/rpc/pmap_rmt.h: Likewise.
91082         * sunrpc/rpc/rpc.h: Likewise.
91083         * sunrpc/rpc/rpc_des.h: Likewise.
91084         * sunrpc/rpc/rpc_msg.h: Likewise.
91085         * sunrpc/rpc/svc.h: Likewise.
91086         * sunrpc/rpc/svc_auth.h: Likewise.
91087         * sunrpc/rpc/types.h: Likewise.
91088         * sunrpc/rpc/xdr.h: Likewise.
91089         * sunrpc/rpc_clntout.c: Likewise.
91090         * sunrpc/rpc_cmsg.c: Likewise.
91091         * sunrpc/rpc_common.c: Likewise.
91092         * sunrpc/rpc_cout.c: Likewise.
91093         * sunrpc/rpc_dtable.c: Likewise.
91094         * sunrpc/rpc_hout.c: Likewise.
91095         * sunrpc/rpc_main.c: Likewise.
91096         * sunrpc/rpc_parse.c: Likewise.
91097         * sunrpc/rpc_parse.h: Likewise.
91098         * sunrpc/rpc_prot.c: Likewise.
91099         * sunrpc/rpc_sample.c: Likewise.
91100         * sunrpc/rpc_scan.c: Likewise.
91101         * sunrpc/rpc_scan.h: Likewise.
91102         * sunrpc/rpc_svcout.c: Likewise.
91103         * sunrpc/rpc_tblout.c: Likewise.
91104         * sunrpc/rpc_util.c: Likewise.
91105         * sunrpc/rpc_util.h: Likewise.
91106         * sunrpc/rpcinfo.c: Likewise.
91107         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
91108         * sunrpc/rpcsvc/key_prot.x: Likewise.
91109         * sunrpc/rpcsvc/klm_prot.x: Likewise.
91110         * sunrpc/rpcsvc/mount.x: Likewise.
91111         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
91112         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
91113         * sunrpc/rpcsvc/rex.x: Likewise.
91114         * sunrpc/rpcsvc/rstat.x: Likewise.
91115         * sunrpc/rpcsvc/rusers.x: Likewise.
91116         * sunrpc/rpcsvc/sm_inter.x: Likewise.
91117         * sunrpc/rpcsvc/spray.x: Likewise.
91118         * sunrpc/rpcsvc/yppasswd.x: Likewise.
91119         * sunrpc/rtime.c: Likewise.
91120         * sunrpc/svc.c: Likewise.
91121         * sunrpc/svc_auth.c: Likewise.
91122         * sunrpc/svc_authux.c: Likewise.
91123         * sunrpc/svc_raw.c: Likewise.
91124         * sunrpc/svc_run.c: Likewise.
91125         * sunrpc/svc_simple.c: Likewise.
91126         * sunrpc/svc_tcp.c: Likewise.
91127         * sunrpc/svc_udp.c: Likewise.
91128         * sunrpc/svc_unix.c: Likewise.
91129         * sunrpc/svcauth_des.c: Likewise.
91130         * sunrpc/xcrypt.c: Likewise.
91131         * sunrpc/xdr.c: Likewise.
91132         * sunrpc/xdr_array.c: Likewise.
91133         * sunrpc/xdr_float.c: Likewise.
91134         * sunrpc/xdr_mem.c: Likewise.
91135         * sunrpc/xdr_rec.c: Likewise.
91136         * sunrpc/xdr_ref.c: Likewise.
91137         * sunrpc/xdr_sizeof.c: Likewise.
91138         * sunrpc/xdr_stdio.c: Likewise.
91140         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
91141         handling.
91143 2010-08-19  Andreas Schwab  <schwab@redhat.com>
91145         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
91147 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
91149         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
91150         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
91151         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
91152         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
91153         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
91154         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
91155         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
91156         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
91157         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
91158         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
91159         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
91160         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
91161         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
91162         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
91164 2010-07-26  Anton Blanchard  <anton@samba.org>
91166         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
91167         * malloc/arena.c (heap_trim): Likewise.
91169 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
91171         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
91172         here.  Not...
91173         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
91174         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
91176 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
91178         * sysdeps/i386/elf/Makefile: New file.
91180 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
91182         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
91183         from fanotify_init.
91184         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
91185         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
91187 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
91189         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
91190         of strncasecmp_l.
91191         * sysdeps/multiarch/strcmp.S: Likewise.
91193 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
91195         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
91196         strncase_l-nonascii.
91197         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
91198         Add strncase_l-ssse3.
91199         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
91200         * sysdeps/x86_64/strcmp.S: Likewise.
91201         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
91202         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
91203         * sysdeps/x86_64/strncase.S: New file.
91204         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
91205         * sysdeps/x86_64/strncase_l.S: New file.
91206         * string/Makefile (strop-tests): Add strncasecmp.
91207         * string/test-strncasecmp.c: New file.
91209         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
91210         warning.
91212         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
91213         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
91215 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
91217         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
91219 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
91221         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
91222         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
91223         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
91225 2010-05-01  Alan Modra  <amodra@gmail.com>
91227         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
91228         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
91229         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
91230         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
91231         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
91232         tidying.  Don't tail-call __sigjmp_save for static lib.
91233         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
91234         save location.
91235         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
91236         (CALL_MCOUNT): Add eh info, and nop after bl.
91237         (TAIL_CALL_SYSCALL_ERROR): New macro.
91238         (PSEUDO_RET): Use it.
91239         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
91240         Correct save location of integer regs and cr.
91241         (_dl_profile_resolve): Correct cr save location.  Delete nops
91242         after bl when SHARED.  Reduce cfi size a little by better
91243         placement of cfi directives.
91244         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
91245         make a stack frame.  Instead use parm save area as a temp.
91246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
91247         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
91248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
91249         Don't make a stack frame for parent, use parm save area.
91250         Increase child stack frame to 112 bytes.  Don't save unused reg,
91251         and adjust reg usage.  Set up cfi on error recovery and
91252         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
91253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
91254         (__makecontext): Add dummy nop after jump to exit.
91255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
91256         Use correct parm save area and cr save, reduce stack frame.
91257         Correct cfi for possible PSEUDO_RET frame setup.
91258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
91259         Branch to local label emitted by PSEUDO_RET rather than
91260         __syscall_error.
91262 2010-08-12  Andreas Schwab  <schwab@redhat.com>
91264         [BZ #11904]
91265         * locale/programs/locale.c (print_assignment): New function.
91266         (show_locale_vars): Use it.
91268 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
91270         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
91271         field.
91272         (struct statfs64): Likewise.
91273         (_STATFS_F_FLAGS): Define.
91274         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
91275         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91276         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
91277         (ST_VALID): Define locally.
91278         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
91279         __statvfs_getflags, use the provided value.
91280         * sysdeps/unix/sysv/linux/kernel-features.h: Define
91281         __ASSUME_STATFS_F_FLAGS.
91283         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
91285         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
91286         Add sys/fanotify.h.
91287         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
91288         fanotify_mask for GLIBC_2.13.
91289         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
91290         fanotify_init and fanotify_mark.
91291         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
91292         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
91294         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
91295         Add prlimit.
91296         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
91297         prlimit64 for GLIBC_2.13.
91298         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
91299         prlimit64.
91300         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
91301         syscall.
91302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
91303         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91304         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
91305         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
91306         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
91307         add prlimit alias.
91308         * sysdeps/unix/sysv/linux/prlimit.c: New file.
91310         [BZ #11903]
91311         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
91312         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
91314         * nss/Makefile: Add rules to build and run tst-nss-test1.
91315         * shlib-versions: Add entry for libnss_test1.
91316         * nss/nss_test1.c: New file.
91317         * nss/tst-nss-test1.c: New file.
91319         * nss/nsswitch.c (__nss_database_custom): Define new variable.
91320         (__nss_configure_lookup): Set appropriate entry in
91321         __nss_configure_lookup to true.
91322         * nss/nsswitch.h: Define enum with indeces of databases in
91323         databases and __nss_database_custom arrays.  Declare
91324         __nss_database_custom.
91325         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
91326         to avoid using nscd when custom rules are installed.
91327         * nss/getXXbyYY_r.c: Likewise.
91328         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
91330         * nss/nss_files/files-parse.c: Whitespace fixes.
91332 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
91334         [BZ #11883]
91335         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
91336         * posix/fnmatch_loop.c: Likewise.
91338 2010-07-17  Andi Kleen  <ak@linux.intel.com>
91340         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
91341         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
91342         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
91343         * Versions.def [GLIBC_2.13]: Add.
91345 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
91347         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
91348         Also fail if tpwd after pwuid call is NULL.
91350 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91352         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
91353         when converting to ms.
91355 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91357         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
91358         EOPNOTSUPP errors with ENOTTY.
91359         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
91360         EOPNOTSUPP errors with ENOTTY.
91362 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
91364         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
91365         Add strcasecmp_l-ssse3.
91366         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
91367         strcasecmp.
91368         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
91369         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
91370         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
91372 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
91374         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
91376         * string/Makefile (strop-tests): Add strcasecmp.
91377         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
91378         strcasecmp_l-nonascii.
91379         (gen-as-const-headers): Add locale-defines.sym.
91380         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
91381         * sysdeps/x86_64/strcasecmp.S: New file.
91382         * sysdeps/x86_64/strcasecmp_l.S: New file.
91383         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
91384         * sysdeps/x86_64/locale-defines.sym: New file.
91385         * string/test-strcasecmp.c: New file.
91387         * string/test-strcasestr.c: Test both ends of the range of characters.
91388         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
91390 2010-07-29  Roland McGrath  <roland@redhat.com>
91392         [BZ #11856]
91393         * manual/locale.texi (Yes-or-No Questions): Fix example code.
91395 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
91397         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
91398         for ld.so.
91400 2010-07-27  Andreas Schwab  <schwab@redhat.com>
91402         * manual/memory.texi (Malloc Tunable Parameters): Document
91403         M_PERTURB.
91405 2010-07-26  Roland McGrath  <roland@redhat.com>
91407         [BZ #11840]
91408         * configure.in (-fgnu89-inline check): Set and substitute
91409         gnu89_inline, not libc_cv_gnu89_inline.
91410         * configure: Regenerated.
91411         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
91413 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
91415         * string/test-strnlen.c: New file.
91416         * string/Makefile (strop-tests): Add strnlen.
91417         * string/tester.c (test_strnlen): Add a few more test cases.
91418         * string/tst-strlen.c: Better error reporting.
91420         * sysdeps/x86_64/strnlen.S: New file.
91422 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
91424         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
91425         lower-latency instructions.
91427 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
91429         * string/test-strcasestr.c: New file.
91430         * string/test-strstr.c: New file.
91431         * string/Makefile (strop-tests): Add strstr and strcasestr.
91432         * string/str-two-way.h: Don't undefine MAX.
91433         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
91435 2010-07-21  Andreas Schwab  <schwab@redhat.com>
91437         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91438         strcasestr-nonascii.
91439         (CFLAGS-strcasestr-nonascii.c): Define.
91440         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
91441         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
91442         Remove unused attribute.
91444 2010-07-20  Roland McGrath  <roland@redhat.com>
91446         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
91447         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
91448         ld.so.cache was broken.  With it, there is no way to disable dsocaps
91449         like LD_HWCAP_MASK can disable hwcaps.
91451 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
91453         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
91455 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
91457         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
91458         call in strcasestr.
91459         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
91460         __strcasestr_sse42_nonascii.
91461         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
91462         strcasestr-nonascii.c.
91463         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
91465 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
91467         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
91468         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
91469         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
91470         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
91472 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
91474         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
91475         fcntl.
91477 2010-07-06  Andreas Schwab  <schwab@redhat.com>
91479         [BZ #11577]
91480         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
91481         dl_signal_cerror.
91483 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
91485         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
91486         _PC_PIPE_BUF using F_GETPIPE_SZ.
91488 2010-07-05  Roland McGrath  <roland@redhat.com>
91490         * manual/arith.texi (Rounding Functions): Fix rint description
91491         implicit in round description.
91493 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
91495         * elf/Makefile: Fix linking for a few tests to make recent linker
91496         happy.
91498 2010-06-30  Andreas Schwab  <schwab@redhat.com>
91500         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91501         $(common-objpfx)libc_nonshared.a.
91503 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
91505         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
91506         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
91507         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
91508         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
91509         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
91510         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
91511         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
91512         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
91513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
91514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
91515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
91516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
91517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
91518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
91519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
91520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
91521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
91522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
91523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
91524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
91525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
91526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
91527         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
91528         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
91529         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
91530         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
91531         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
91532         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
91533         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
91534         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
91535         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
91536         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
91537         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
91538         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
91539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
91540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
91541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
91542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
91543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
91544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
91545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
91546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
91547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
91548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
91549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
91550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
91551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
91552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
91554 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
91556         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
91557         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
91558         * string/memmove.c (memmove): Renamed to ...
91559         (MEMMOVE): ...this.  Default to memmove.
91560         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
91561         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
91562         (END_CHK): Define.
91563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91564         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
91565         mempcpy-ssse3-back memmove-ssse3-back.
91566         * sysdeps/x86_64/multiarch/bcopy.S: New file .
91567         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
91568         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
91569         * sysdeps/x86_64/multiarch/memcpy.S: New file.
91570         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
91571         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
91572         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
91573         * sysdeps/x86_64/multiarch/memmove.c: New file.
91574         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
91575         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
91576         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
91577         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
91578         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
91579         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
91580         Define.
91581         (index_Fast_Copy_Backward): Define.
91582         (HAS_ARCH_FEATURE): Define.
91583         (HAS_FAST_REP_STRING): Define.
91584         (HAS_FAST_COPY_BACKWARD): Define.
91586 2010-06-21  Andreas Schwab  <schwab@redhat.com>
91588         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
91589         Restore proper fallback handling.
91591 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
91593         [BZ #11701]
91594         * posix/group_member.c (__group_member): Correct checking loop.
91596         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
91597         OOM in getpwuid_r correctly.  Return error number when the caller
91598         should return, otherwise -1.
91599         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
91600         call returning > 0 value.
91601         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
91603 2010-06-07  Andreas Schwab  <schwab@redhat.com>
91605         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
91606         libc_nonshared.a from targets in modules-names.
91608 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
91610         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
91611         requires it.
91613 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
91615         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
91616         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
91617         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
91618         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
91620 2010-06-02  Andreas Schwab  <schwab@redhat.com>
91622         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
91624 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
91626         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
91627         and F_GETPIPE_SZ.
91628         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
91629         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91630         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91631         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91632         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91633         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91635 2010-06-14  Roland McGrath  <roland@redhat.com>
91637         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
91639 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
91641         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
91642         __REDIRECT followed by __THROW.
91643         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
91644         * posix/getopt.h (getopt): Likewise.
91646 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
91648         * hurd/lookup-at.c (__file_name_lookup_at): Accept
91649         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
91650         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
91651         in AT_FLAGS.
91652         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
91653         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
91655 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
91657         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
91659 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
91661         [BZ #11640]
91662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91663         Properly check family and model.
91665 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
91667         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
91669 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
91671         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
91673 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
91675         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
91676         symbol reference.
91678 2010-05-19  Andreas Schwab  <schwab@redhat.com>
91680         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
91681         symbol reference.
91683 2010-05-21  Andreas Schwab  <schwab@redhat.com>
91685         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
91686         and internal_recvmmsg.
91687         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
91688         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
91689         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
91690         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
91692         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
91693         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
91694         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
91696 2010-05-20  Andreas Schwab  <schwab@redhat.com>
91698         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
91700 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
91702         POWER7 optimizations.
91703         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
91704         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
91706 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
91708         * version.h: Update for 2.13 development version.
91710 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
91712         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
91713         exceptions.  Return 0.
91715 2010-05-07  Roland McGrath  <roland@redhat.com>
91717         * elf/ldconfig.c (main): Add a const.
91719 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
91721         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
91722         (args_options): Add no-idn option.
91723         (ahosts_keys_int): Add idn_flags to ai_flags.
91724         (parse_option): Handle 'i' option to clear idn_flags.
91726         * malloc/malloc.c (_int_free): Possible race in the most recently
91727         added check.  Only act on the data if no current modification
91728         happened.
91730 See ChangeLog.17 for earlier changes.